Re: Lyx 1.1.6fix4

2002-01-14 Thread Wilbert Berendsen

On Mon, 14 Jan 2002 15:05:05 +0100
"Stephan E. Schlierf" <[EMAIL PROTECTED]> wrote:

> Hello Wilbert, hello Aide,
> 
> thank you very much for your quick response.
> But as the INSTALL.TXT says, you are able to test lyx before installing 
> it by starting the program from the "src"-directory (and I really would 
> like to test the installation before installing it because I _need_
> LyX).

Maybe you should then go to the /opt/lyx-1.1.6fix4/ dir and enter:

src/lyx

The current directory matters, i think.

succes,
Wilbert

-- 
Wilbert Berendsen (http://www.xs4all.nl/~wbsoft/)



Re: Lyx 1.1.6fix4

2002-01-14 Thread Wilbert Berendsen

On Mon, 14 Jan 2002 14:35:00 +0100
"Stephan E. Schlierf" <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I got the new lyx-1.1.6fix4.tar.gz and did a configure and make without 
> any visible errors.
> But when I Try to start lyx from /opt/lyx-1.1.6fix4/src/ I get the 
> following error messages:
> Unable to find icon `buffer-open'
> Unable to find icon `buffer-write'
> Unable to find icon `buffer-print'
> (... etc)

I think lyx will have to be installed to work properly. Be sure to
know where it installs (/usr or /usr/local). Maybe you have to rpm -e
the old lyx beforehand.

regards,

-- 
Wilbert Berendsen (http://www.xs4all.nl/~wbsoft/)



Re: I'm a newbie

2002-01-09 Thread Wilbert Berendsen

On Wed, 9 Jan 2002 22:59:09 +0100
Christian Beermann <[EMAIL PROTECTED]> wrote:

> Thanks at all for Your help.
> My problem was:
> 
> Hello, I'm working with lyx since one week and everything went good,
> but today I wanted to display a text as dvi (which worked before)
> and I got an Latex Error, "LAtex Error: Missing \begin{document}"
> one time at the first line of this document and the second time
> within the doc. I dont know what's wrong. Does anybody know what
> I can do now to display my docs, cause I tested other documents
> and classes and I got the same error. I'm working with Version
> 1.1.5fix1.

The problem may be that there are spaces in the filename of your
document or in the full path to it.

E.g. /home/you/My Documents/Lyx Docs/mydoc.lyx will cause problems
when running LaTeX, because LaTeX doesn't like spaces in pathnames :(

succes!

-- 
Wilbert Berendsen (http://www.xs4all.nl/~wbsoft/)

Error: Your keyboard is not connected!
   Press any key to continue.



Re: Trying to install

2001-08-27 Thread Wilbert Berendsen

Friday at 9:21am, Athail Rangel Pulino Filho said:

> Hi!
>
> I am trying to install the latest version of lyx into a Conectiva
> linux distribution. A dependency problem appears related to
>
> libforms.so.0.8
> libstdc++-libc6.2-2.so.3

You must install xforms (a closed source GUI toolkit) In the case of
libstdc++, you might be able to make a symlink in the /usr/lib directory
to a (newer) version in the same dir.

regards,

-- 
Wilbert Berendsen
http://www.xs4all.nl/~wbsoft/




Re: CUPS doesn't seem to like dvips output.

2001-04-06 Thread Wilbert Berendsen

Today at 1:09pm, Dekel Tsur said:

> On Fri, Apr 06, 2001 at 10:37:15AM +0200, Wilbert Berendsen wrote:
> > Yes!!!
> >
> > LyX calls dvips with `-t a4' argument. CUPS does not like that. But I
> > don't understand why, because I set `media=A4' for cups by default, so
> > things should not conflict.
>
> Let me see if I understand your problem:
> You have an a4 paper printer, but a Postscript file generated with
> 'dvips -t a4' doesn't print, while a file generated with 'dvips' does print.
>
> >
> > My question: How do I stop LyX from calling dvips with `-t a4'.  Can I
> > just change the print-route in lyx to use the converter DVI->PostScript,
> > and then just simply call lpr with the options?
>
> Save the following script as mydvips:
> 
> #!/bin/sh
> if [ $1 == "-t" ]; then
>  dvips $3 $4 $5 $6 $7 $8 $9
> else
>  dvips $*
> fi
> --
> and then change the dvi->ps converter (converters->converters tab) and the
> print command (output->printer tab) to mydvips.
>

Thanks! That looks like a working solution! But I managed to solve the
problem already, and, FYI, this is what I did:

I removed these lines from /usr/share/texmf/dvips/config/config.ps:

@ letter 8.5in 11in
@+ %%BeginPaperSize: Letter
@+ letter
@+ %%EndPaperSize

@ legal 8.5in 14in
@+ ! %%DocumentPaperSizes: Legal
@+ %%BeginPaperSize: Legal
@+ legal
@+ %%EndPaperSize

@ ledger 17in 11in
@+ ! %%DocumentPaperSizes: Ledger
@+ %%BeginPaperSize: Ledger
@+ ledger
@+ %%EndPaperSize

@ tabloid 11in 17in
@+ ! %%DocumentPaperSizes: Tabloid
@+ %%BeginPaperSize: Tabloid
@+ 11x17
@+ %%EndPaperSize

@ a4 210mm 297mm
@+ ! %%DocumentPaperSizes: a4
@+ %%BeginPaperSize: a4
@+ a4
@+ %%EndPaperSize

@ a3 297mm 420mm
@+ ! %%DocumentPaperSizes: a3
@+ %%BeginPaperSize: a3
@+ a3
@+ %%EndPaperSize

Now dvips warns 'no match for a4', but things work fine now!

Thanks,
Wilbert.





About the CUPS problem...

2001-04-06 Thread Wilbert Berendsen

Hi,

I read from the manpage of dvips:

   -t papertype
  This sets the paper type to papertype.  The  paper-
  type  should be defined in one of the configuration
  files, along with the appropriate  code  to  select
  it.   (Currently known types include letter, legal,

  (...)

 Note that executing  the  letter  or  a4  or
  other PostScript operators cause the document to be
  nonconforming and can cause it not to print on cer-
  tain printers, so the paper size should not execute
  such an operator if at all possible.


So this is why CUPS (with its customized gs interp inside) does not like
the `-t a4' used by LyX to call dvips.

Now, I've another question: The CUPS lpr command has many many options,
(like selecting pages, rotation, etc.). How do I configure lyx to use
`lpr' as the printcommand (not just spoolcommand) instead of dvips? Can I
tell LyX to convert to ps first (using dvips as the converter) and then
call lpr with all the appropriate options?

Thanks

Wilbert




-- 
 /"\  . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  /"\
 \ /   ASCII Ribbon Campaign   Wilbert Berendsen \ /
  X   - NO HTML/RTF in e-mail  http://www.xs4all.nl/~wbsoft   X
 / \  - NO MSWord docs in e-mail   http://linuxathome.nl / \




Re: CUPS doesn't seem to like dvips output.

2001-04-06 Thread Wilbert Berendsen

Wednesday at 7:35pm, Dekel Tsur said:

> On Tue, Apr 03, 2001 at 11:38:50PM +0200, Wilbert Berendsen wrote:
> > I have a (not really lyx) problem. When I export a LyX file as ps, then
> > lpr that file:
> >
> > lpr file.ps
> >
> > (or directly print from within LyX, which I managed to configure with
> > CUPS) CUPS (Common Unix Printing System) does nothing. However, other PS
> > files created by other applications are printed without problem.  Also,
> > sometimes LyX _does_ print fine. But not always.
> >
> > Anybody a hint?
>
> Maybe you set the wrong papersize in your lyx document ?
>
Yes!!!

LyX calls dvips with `-t a4' argument. CUPS does not like that. But I
don't understand why, because I set `media=A4' for cups by default, so
things should not conflict.

My question: How do I stop LyX from calling dvips with `-t a4'.  Can I
just change the print-route in lyx to use the converter DVI->PostScript,
and then just simply call lpr with the options?

Thanks,

Wilbert





-- 
 /"\  . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  /"\
 \ /   ASCII Ribbon Campaign   Wilbert Berendsen \ /
  X   - NO HTML/RTF in e-mail  http://www.xs4all.nl/~wbsoft   X
 / \  - NO MSWord docs in e-mail   http://linuxathome.nl / \




CUPS doesn't seem to like dvips output.

2001-04-03 Thread Wilbert Berendsen


Hi,

I have a (not really lyx) problem. When I export a LyX file as ps, then
lpr that file:

lpr file.ps

(or directly print from within LyX, which I managed to configure with
CUPS) CUPS (Common Unix Printing System) does nothing. However, other PS
files created by other applications are printed without problem.  Also,
sometimes LyX _does_ print fine. But not always.

Anybody a hint?

Thanks,
Wilbert


-- 
 /"\  . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  /"\
 \ /   ASCII Ribbon Campaign   Wilbert Berendsen \ /
  X   - NO HTML/RTF in e-mail  http://www.xs4all.nl/~wbsoft   X
 / \  - NO MSWord docs in e-mail   http://linuxathome.nl / \




Date in title (was: LyX deletes text)

2001-03-01 Thread Wilbert Berendsen

Yesterday at 12:12pm, EagleIce said:

> Hello LyX users!
> 
> One other thing I would like to ask is: how can I get LyX to stop including 
> the date on the title page, this is a stupid function that I would like to 
> permanently delete.

Put:

\date{}

in the LaTeX preamble (Layout-->LaTeX Preamble).

Or, just type it in your document, just before the title, in LateX mode
(red). Set LaTeX mode from the pull-down menu, or by hitting Ctrl-L.

-- 
Wilbert Berendsen (http://www.xs4all.nl/~wbsoft/)
  "Economics is the study of what people do when nothing
   more important than money is at stake." -- RMS 23-11-1999






Re: View problem, bug maybe.

2001-01-09 Thread Wilbert Berendsen

Today at 2:07pm, Joeri R. Verbiest said:

> Lyx users,
> 
> I have a problem with view dvi or pdf.
> 
> I have installed lyx version 1.1.6.pre3.
> 
> When I open a new file and to view dvi and pdf than it works.
> But if I save the document newfile to newfile.lyx or another file name,
> and if I to view pdf or dvi, than it doesn't work, gives error: missing
> \begin{document}.
> Stange. Is this a bug?
> 
> I have reinstalled lyx and also reconfigure, it doesn't help.

I have had the same problem with older lyx version. This was my solution:

--> Don't use directory names containing spaces. I think LyX quotes them
not right when calling LateX. (a bug, ihmo)

> Joeri
success,
Wilbert




Compiled 1.1.6pre3, seems to work, but BIG!

2001-01-07 Thread Wilbert Berendsen


Hi *

I just compiled 1.1.6pre3 w. xforms, is seems to work, but the executable
is so big:

---
  nutnix:~ # dir /usr/local/bin/lyx
  -rwxr-xr-x   1 root root 46771689 Jan  7 21:27 /usr/local/bin/lyx
---

46M! is this normal?

Greetings, Wilbert

PS: there went something wrong with `listerrors', perhaps has to do with
it? This is a log:

---
  make[2]: Entering directory `/home/wilbert/src/lyx-1.1.6pre3/lib'
  ./build-listerrors .
  
  Textclass error
  The document uses an unknown textclass "literate-article".
  LyX will not be able to produce output correctly.
  
  About to handle -x 'buffer-export literate'
  
  Can not export file
  No information for exporting to NoWeb
  
  
  We are done!
---




console postscript viewer

2000-12-24 Thread Wilbert Berendsen

Hi *,

I know that this isn't really a lyx question, but i like further
processing my converted LaTeX docs from the console. But I can't get
GhostScript (with libvga and x11 support) to work on the console (also not
as root).

Does anybody know about a good Postscript viewer that can be run from the
console?

(I tried PSV, but i can't get framebuffer/ggi to work on my old S3)

Thanks,

Wilbert




Re: Lots of LaTeX errors...

2000-12-09 Thread Wilbert Berendsen

Today at 2:15pm, Wilbert Berendsen said:
> 
> Latex won't accept filename paths containing spaces !! :mad:
> 
> I renamed my dirs to be more elegant (with spaces) and since then I had
> the problems.
> 
> Well. This should be improved in latex, or lyx should call latex with
> relative paths.

Exporting tex then run latex manually works. So it is LyX that does'nt
quote the filenames well when calling latex.

wilbert





Re: Lots of LaTeX errors...

2000-12-09 Thread Wilbert Berendsen

Today at 1:08pm, Wilbert Berendsen said:

> Hi, everybody,
> 
> I'm new to the list. I've a strange problem. Suddenly I can't print/export
> anymore, because there are many errors during the run, in documents that
> always were ok.
> 
> All errors say something like:
> 
> LaTeX Error: Missing \begin{document}.
> \begin{document}
> 
> You're in trouble here. (...)
> 
> Anybody a hint? I use the LyX and LaTeX that comes with SuSE7.0
> meanwhile i'll try to reinstall and reconfigure those packages.

I think I found the solution:

Latex won't accept filename paths containing spaces !! :mad:

I renamed my dirs to be more elegant (with spaces) and since then I had
the problems.

Well. This should be improved in latex, or lyx should call latex with
relative paths.

thanks anyway
wilbert




Lots of LaTeX errors...

2000-12-09 Thread Wilbert Berendsen

Hi, everybody,

I'm new to the list. I've a strange problem. Suddenly I can't print/export
anymore, because there are many errors during the run, in documents that
always were ok.

All errors say something like:

LaTeX Error: Missing \begin{document}.
\begin{document}

You're in trouble here. (...)

Anybody a hint? I use the LyX and LaTeX that comes with SuSE7.0
meanwhile i'll try to reinstall and reconfigure those packages.

thanks,
Wilbert