Re: Compiling under Solaris 7 (x86)

1999-04-08 Thread Stephan Witt

Lars Gullik Bjønnes wrote:
 
Apostolos Syropoulos writes:
   AS LIBS = $(LYX_LIBS) -lSM -lICE -liberty -ldl -lc -lm -lforms
   AS -L/usr/openwin/lib -R/usr/openwin/lib -lX -lX11 -lXpm -lsocket
   AS -lnsl
 
 What libraries were used by LyX?
 
 Lgb

AFAIK there is a "real" X11.R6 shipped with Solaris 7 and derfor
the libX11 needs the libraries libSM.so and libICE.so.

The "real" means I don't know what the Sun developers did with the
code to support Display Postscript and so on. Normally they sell
a modified version of X11 with some potentially headache for
programmers. But I can't understand why the configure didn't
detect the X11 library list completely.

Stephan
 
---
[EMAIL PROTECTED]  | beusen unternehmensgruppe senkel
fon: +49 30 549932-62 | Landsberger Allee 392
fax: +49 30 549932-29 | 12681 Berlin, Germany
---



Re: Documentation Style Sheet: Update

1999-04-08 Thread Jean-Marc Lasgouttes

 "John" == John Weiss [EMAIL PROTECTED] writes:

John --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii

John I've just modified the Style Sheet to take the new
John menu-separator into account.  For v1.0.2, the new Style Sheet
John applies to all docs.  That means that the old "-" character
John sequence shall be replaced with the menu separator for v1.0.2
John [or v1.0.3, which would be a doc-update only].

I added that to the lyxdoc repository.

JMarc



Re: Bug when printing multiple copies with duplex printers

1999-04-08 Thread Jean-Marc Lasgouttes

 "Ben" == Ben Cazzolato [EMAIL PROTECTED] writes:

Ben Hi Guys,

Ben Using RH 5.0, Lyx 1.0.1.

Ben I tried printing mulitple copies from the print dialog box, where
Ben I set the Copies flag to 2.  I'm using a HP5Si with the duplex
Ben option (2 sided printing).  2 copies were sent to the printer and
Ben 2 copies came out.

Ben Now here's the problem. When the number of pages is even all is
Ben well.  However, when the number of pages is odd, the second
Ben document does not start on a new piece of paper.  For example
Ben with a 5 page document, page 5 of the first copy will be one one
Ben side of the paper and the first page of the second copy will be
Ben on the other.

Ben Is it possible to check if the document has 2 sides selected in
Ben the document layout, and if so assume that they will be using a
Ben duplex printer?  Then if the number of pages are odd then you add
Ben either an extra page or page feed to fix this problem?

I *think* this can be configured in dvips or /etc/printcap (but can't
tell you how :( ). If we decided to add a blank page automatically, we
would risk to have extra blank pages on some printers...

Something you could try: add to the preamble of your document
\AtEndDocument{\cleardoublepage}


JMarc



Re: Namespaces (was: string vs. LString)

1999-04-08 Thread Jean-Marc Lasgouttes

 "Allan" == Allan Rae [EMAIL PROTECTED] writes:

Allan # We still need portability to other platforms of course but we
Allan can draw a line and say "it must support namespaces" or
Allan whatever else we desire.  We can probably get away without
Allan partial specialization of templates.

Could you explain why we need those namespaces? I understand what they
are in general, but we could probably live with std:: being the same
as the glabal namespace, if we choose names correctly.

Other than that, I agree that we should draw a line somewhere. But we
should be careful to draw it at the right place. And remember that
many people need to compile on the platform compilers and try to
support at least the latest version of these compilers.

JMarc



Re: lyx bug reading tutorial!

1999-04-08 Thread Jean-Marc Lasgouttes

 "Angus" == Angus Leeming [EMAIL PROTECTED] writes:

Angus Hi, Jean-Marc!  As promised, I've recompiled lyx-1.0.1 with the
Angus latest version of egcs, (1.1.2). Unfortunately, the program
Angus falls over in identical fashion.

Angus With or without optimization, it's still a great piece of
Angus software. Keep up the good work!  Best wishes, Angus

Thansk for the datapoint. Since I do not know how to fix this, I just
updated the info in the INSTALL file.

JMarc



Re: url.sty (was: README.OS2)

1999-04-08 Thread Jean-Marc Lasgouttes

 "Arnd" == Arnd Hanses [EMAIL PROTECTED] writes:

Arnd On Tue, 30 Mar 1999 16:35:21 +0300 (EET DST), Mika Kristian
Arnd Laitio wrote:

 ... Now when I'm having lyx  co. stuff working it is really
 pleasure to use it.


Arnd I can only underline this statement:

Arnd LyX on Linux is really nice, on OS/2 it is purely a pleasure.

Arnd Ok, back to the hard facts of live. Old README contained:

Arnd  Note: I included 'url.sty' (necessary to print the docs). Move
Arnd it  and (if you want) the content of
Arnd %X11ROOT%/XFree86/lib/X11/lyx/tex to a directory, where LaTeX
Arnd (emTeX) will find it; most common is c:\emtex\texinput\latex2e
Arnd or a subdirectory; or in special cases: a directory the
Arnd environment variable TEXINPUT (TEXINPUTS, if not using emTeX)
Arnd points to.

Arnd Without this 'url.sty' doc's did not print, nor was preview
Arnd possible, nor is it a supported CTAN macro, nor is it part of
Arnd emTeX or teTeX.  Therefore I bundled it with LyX in my old bin
Arnd dist.

Arnd What shall I write now? Will it still be necessary?

As far as I know, LyX should produce now files which work with or without
url.sty.

JMarc



Re: Missing LaTeX Commands [was -- -----------------------------------]

1999-04-08 Thread Jean-Marc Lasgouttes

 "John" == John Weiss [EMAIL PROTECTED] writes:

John On Wed, Mar 31, 1999 at 01:41:17PM +0100, Angus Leeming wrote:
 I'm having problems printing out the Help documentation to lyx
 1.0.1. Has any body had similar problems?
 
 Specifically: None of the help documents (except for Intro.lyx)
 will print. Exporting to LaTeX and trying to compile directly I
 find that:
 
 1. The lyx command "\backslash" becomes latex "\textbackslash".
 2. lyx "" becomes latex "\textgreater".  3. lyx "" becomes latex
 "\textless".  4. lyx "|" becomes latex "\textbar".

John This is a problem.  I run LyX on multiple platforms with
John different LaTeX distributions.  My Linux box at home has a full
John teTeX distribution with the "ec" fonts and "T1" encoding
John installed.  I have no problem with "\textbackslash",
John "textgreater", etc.

Question to both of you: what version of LaTeX are you using? These
macros have been added in the 1995/12/01 version of LaTeX and I really
think people should have at least this version installed.

As far as I know, this is *not* T1/OT1 related.

JMarc



Bug report Lyx-1.0.2pre1

1999-04-08 Thread Yves Capdeboscq


Versions 1.7 and 1.8 of insetbib.C does not compile on my machines (Sun
Solaris 2.6, and Linux 2.0.36), whereas version 1.6 works perfectly.

The error message I get from g++ is the following (for the latest version,
on cvs, i.e. 1.8 at this time)

insetbib.C: In method `class LString InsetBibtex::getKeys()':
insetbib.C:406: base operand of `-' has non-pointer type `FilePtr'
*** Error code 1

(getKeys() does not exist in version 1.6)

Have a nice day,

Yves Capdeboscq





Re: Missing LaTeX Commands

1999-04-08 Thread Angus Leeming

I had an old 1995/06/01 version of LaTeX and hadn't found the answer in the
user mailing lists at the time. Subsequently I found said answer and updated
my LaTeX distribution accordingly. (Feeling rather embarassed by wasting
peoples' time in the process. Sorry all.)

Can I suggest that the LaTeX configuration check that the version is
sufficient for LyX's requirements. This would avoid such unpleasantness.

Thanks for the help though.
Angus

 Question to both of you: what version of LaTeX are you using? These
 macros have been added in the 1995/12/01 version of LaTeX and I really
 think people should have at least this version installed.
 
 As far as I know, this is *not* T1/OT1 related.
 
 JMarc



Re: search path problem

1999-04-08 Thread Jean-Marc Lasgouttes

 "Justin" == Justin Cormack [EMAIL PROTECTED] writes:

Justin I have a small bug report: Using lyx 1.0.1, I installed noweb
Justin and did a reconfigure, but it didnt find the noweb.sty
Justin file. Doing an strace I find that it is looking in directories
Justin specifically listed in TEXINPUTS and in /usr/share/lyx, but it
Justin never looks in /usr/share/texmf/tex/latex/misc/ where the file
Justin actually is. TEXINPUTS just starts with a : indicating that it
Justin is in addition to the standard tex directories. I am not sure
Justin what the best fix to this is...

If you are using teTeX, did you run texhash to re-generate the ls-R
index?

JMarc



Re: [seak@pegase.cad.cea.fr] LyX Feedback

1999-04-08 Thread Jean-Marc Lasgouttes

 "Lars" == Lars Gullik Bjønnes [EMAIL PROTECTED] writes:

Lars Is this something you should have a look at Alejandro?

I already fixed this one.

JMarc



Re: integrating newlfm into LyX

1999-04-08 Thread Jean-Marc Lasgouttes

 "larry" == larry  [EMAIL PROTECTED] writes:

larry Has anyone jumped through the hoops of integrating this into
larry LyX?  I'd appreciate hearing from you.

First, I guess somebody should take a look at it and see whether it
has the promised features and is suitable for inclusion with LyX...

JMarc



Re: Missing LaTeX Commands

1999-04-08 Thread Jean-Marc Lasgouttes

 "Angus" == Angus Leeming [EMAIL PROTECTED] writes:

Angus I had an old 1995/06/01 version of LaTeX and hadn't found the
Angus answer in the user mailing lists at the time. Subsequently I
Angus found said answer and updated my LaTeX distribution
Angus accordingly. (Feeling rather embarassed by wasting peoples'
Angus time in the process. Sorry all.)

Angus Can I suggest that the LaTeX configuration check that the
Angus version is sufficient for LyX's requirements. This would avoid
Angus such unpleasantness.

There was a discussion about that some time ago, but the problem I
have with \NeedsTeXFormat is that it generate an error on
failure... Hmm, I'll have to think a bit more about it...

JMarc



Re: Bug report Lyx-1.0.2pre1

1999-04-08 Thread Jean-Marc Lasgouttes

 "Yves" == Yves Capdeboscq [EMAIL PROTECTED] writes:

Yves Versions 1.7 and 1.8 of insetbib.C does not compile on my
Yves machines (Sun Solaris 2.6, and Linux 2.0.36), whereas version
Yves 1.6 works perfectly.

Yves The error message I get from g++ is the following (for the
Yves latest version, on cvs, i.e. 1.8 at this time)

Yves insetbib.C: In method `class LString InsetBibtex::getKeys()':
Yves insetbib.C:406: base operand of `-' has non-pointer type
Yves `FilePtr' *** Error code 1

Yves (getKeys() does not exist in version 1.6)

I get the same problem with g++ 2.8.1 in Digital Unix 4.0. The reason
is that the feof(file) call in line 406 is macro-changed to

[...]
while (! ((  file  )-_flag  0020 )  ) {
c = fgetc(file);
[...]

which for some reason I do not understand, is not accepted by
gcc. Adding changing the call to feof(file()) works, so I'll just do
that for now.

JMarc



Re: prelease no. 1 for LyX 1.0.2

1999-04-08 Thread Jean-Marc Lasgouttes

 "Jean-Marc" == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:

 "Daniel" == Daniel Naber [EMAIL PROTECTED] writes:
Daniel --ELM923515991-2807-0_ Content-Type: text/plain;
Daniel charset=ISO-8859-1 Content-Transfer-Encoding: 8bit

Daniel Lars Gullik Bjønnes wrote:

 I have just put LyX-1.0.2pre1 on ftp.lyx.org and
 ftp.devel.lyx.org.

Daniel My patch that fixes the "version control cancel doesn't
Daniel cancel"-bug isn't included, could you put it in? The cvs
Daniel version lacks it, too.

Jean-Marc Yes, I forgot about it... I'll include it right now.

In fact, I plan to add this slightly different version. Does it seem
reasonable to you?

JMarc

Index: lyxvc.C
===
RCS file: /usr/local/lyxsrc/cvsroot/lyx-1_0_x/src/lyxvc.C,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 lyxvc.C
--- lyxvc.C 1998/10/26 22:18:44 1.1.1.1
+++ lyxvc.C 1999/04/08 13:18:58
@@ -180,8 +180,13 @@
}
 
lyxerr.debug("LyXVC: registrer", Error::LYXVC);
-   LString tmp = askForText(_("LyX VC: Initial description"));
-   if (tmp.empty()) tmp = "(no initial description)";
+   LString tmp = askForText(_("LyX VC: Initial description"),
+_("(no initial description)"));
+   if (tmp.empty()) {
+   lyxerr.debug("LyXVC: user cancelled", Error::LYXVC);
+   WriteAlert(_("Info"), _("This document has NOT been registered."));
+   return;
+   }
LString cmd = "ci -q -u -i -t-\"";
cmd += tmp;
cmd += "\" ";



Re: INSTALL.OS2 file

1999-04-08 Thread Jean-Marc Lasgouttes

 "Arnd" == Arnd Hanses [EMAIL PROTECTED] writes:

Arnd Hello, in continuation of the OS/2 specific documentation series
Arnd here the draft of the beginning of INSTALL.OS2. I'm looking
Arnd forward to any comments.

Do you want me to add it now to the source? And what about the other
ones you posted? I a bit lost on what you want to see in LyX right
now...

JMarc



Re: [Reuben Thomas rrt1001@cam.ac.uk] Tracking down bugs in LyX

1999-04-08 Thread Jean-Marc Lasgouttes

Reuben I've been having a few SEGV crashes when doing normal things
Reuben like just typing. Fortunately this doesn't happen very often,
Reuben but it'd be nice to get rid of this problem (if it's a bug in
Reuben LyX and not in xforms or something else).

Reuben It looks like this might be my last chance for a while if
Reuben 1.0.2 is to be the last release for some time, so could you
Reuben tell me how I should compile LyX with debugging in order to
Reuben catch this (bear in mind I can't really run it under gdb all
Reuben the time, and the crashes aren't repeatable)?

Noramlly, when LyX crashes, it dumps a core file. Then you can do
  gdb ./lyx /path-to-core/core
from the build directory, and proceed as explained in the docs.


JMarc



[seiferth@penguinpower.com] LyX Feedback

1999-04-08 Thread Lars Gullik Bjønnes

--- Start of forwarded message ---
Date: Thu, 8 Apr 1999 04:52:42 +0200
Message-Id: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject: LyX Feedback
Reply-to: [EMAIL PROTECTED]

A good addition to the FAQ would be a note on what to do if noweb is recognized
by doesn't show up as a document option.  Generally, this means that the person
installed noweb (and noweb.sty) but didn't run texhash after installing the
new style.  This issue always comes up with Tex users and I figure lyx
uses will generally not be that familiar with Latex styles, etc.

Incidently, thanks for the literate support.  Nedit is going on the shelf as
I have new programming editor :)

Justin

--- End of forwarded message ---



Re: crash with bactrace from entering/exiting multiline equations

1999-04-08 Thread Jean-Marc Lasgouttes

 "Rick" == Richard E Hawkins Esq [EMAIL PROTECTED] writes:

Rick after the third crash, i figured it wasn't a fluke, and tried
Rick again with gdb.  Just before section 8.8.7, there are a pair of
Rick multiline equations. Go into the first, use the arrow keys to
Rick get out and in from of the first (starts with der_f2), and enter
Rick it  move.  *splat*

I could not reproduce the problem. Could you make your description of
what to do more explicit?

But maybe Alejandro can sort it out from the backtrace...

JMarc



Re: crash with bactrace from entering/exiting multiline equations

1999-04-08 Thread Richard E. Hawkins Esq.

  "Rick" == Richard E Hawkins Esq [EMAIL PROTECTED] writes:
 
 Rick after the third crash, i figured it wasn't a fluke, and tried
 Rick again with gdb.  Just before section 8.8.7, there are a pair of
 Rick multiline equations. Go into the first, use the arrow keys to
 Rick get out and in from of the first (starts with der_f2), and enter
 Rick it  move.  *splat*

 I could not reproduce the problem. Could you make your description of
 what to do more explicit?

 But maybe Alejandro can sort it out from the backtrace...


I hope so; it's hard for me to reproduce, but I did manage 5 time or 
so--but never when I stripped out other portions of the file.  I can't 
get much more explicit than moving around with the arrow keys, and it 
seems to have something to do with which direction (left or up) and 
position when I leave the lower equation. But it always comes after 
entering the upper equation.

rick

-- 




Re: prelease no. 1 for LyX 1.0.2

1999-04-08 Thread Daniel Naber

Jean-Marc Lasgouttes wrote:

 In fact, I plan to add this slightly different version. Does it seem
 reasonable to you?

Mhh, I actually don't use the version control in lyx :-) If it's the
common case to set a description, I prefer the non-default-value patch.
Using the default value the user has to delete the default text before he
can enter something that makes sense - that's not so nice.

Anyway, commit whatever you like best.

Regards
 Daniel

-- 
PGP Key fingerprint = 3D 98 9E D2 00 B6 E0 9D  7E B9 77 23 17 E2 11 6A
http://cgi4all.alabanza.com/glasatelier/



Re: INSTALL.OS2 file

1999-04-08 Thread Arnd Hanses

On Thu, 8 Apr 1999 15:21:00 +0200 (MET DST), Jean-Marc Lasgouttes
wrote:

 "Arnd" == Arnd Hanses [EMAIL PROTECTED] writes:

Arnd Hello, in continuation of the OS/2 specific documentation series
Arnd here the draft of the beginning of INSTALL.OS2. I'm looking
Arnd forward to any comments.

Do you want me to add it now to the source? And what about the other
ones you posted? I a bit lost on what you want to see in LyX right
now...

Hi Jean-Marc,

I hope this was not too much of a bit confusing stuff, especially if
you have no working XFree/2 machine nearby. I would suggest that you
simply have a look at the stuff if you have a little time and commit it
with or without changes, if you think it won't do any harm. Please feel
to make or suggest any modifications you wish to see (I'm no native
english speaker, so Amir, John etc. may want to fix the language:
Please feel free to do that, no need to ask me, no need to know OS/2).

I don't think the stuff is perfect and some import and really
complicated things like fax and printer setup for LyX on OS/2 are still
missing. Anyway it probably will never be perfect, although I already
received many suggestions, updates and fixes (I could not fulfill all
wishes, as this would need far too much time and space). But since
there seems to be some urgent need for this specific documentation I
can always polish it later according to suggestions or better insight.
So I simply say:

Here it is. Do with the stuff whatever you prefer to do! But there may
be updates or fixes later.


Greetings,

Arnd





Layout-Paper changes make bad .tex

1999-04-08 Thread mitch

Lyx 1.0.1 on Debian 2.2.1.
TeX (Web2C 7.2) 3.14159
kpathsea version 3.2

1. Open any document, (a letter from the template in my case) and make sure
   it DVI's and PS's okay.
2. Layout-Paper dialog
3. Change the margins, eg 50mm, 0mm, 0mm, 0mm.
4. Apply, OK. 
5. View DVI or PS.  Error in LaTeX run indicated at beginning of document.

The Error dialog says:

!LaTeX Error: File 'geometry.sty' not found.
or enter new name. (Default extension: sty)

Enter file name:

The /tmp .log says:

--- begin inclusion
This is TeX, Version 3.14159 (Web2C 7.2) (format=latex 1999.3.11)  8 APR 1999 13:23
**yelbike.tex
(yelbike.tex
LaTeX2e 1998/06/01
Babel v3.6j and hyphenation patterns for american, french, german, ngerman, n
ohyphenation, loaded.

(/usr/lib/texmf/tex/latex/base/letter.cls
Document Class: letter 1998/05/10 v1.2y Standard LaTeX document class
(/usr/lib/texmf/tex/latex/base/size10.clo
File: size10.clo 1998/05/05 v1.3y Standard LaTeX file (size option)
)
\longindentation=\dimen102
\indentedwidth=\dimen103
\labelcount=\count79
)

! LaTeX Error: File `geometry.sty' not found.

Type X to quit or RETURN to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
! Emergency stop.
read * 
 
l.12 \geometry
  {verbose}^^M
*** (cannot \read from terminal in nonstop modes)

 
Here is how much of TeX's memory you used:
 132 strings out of 10904
 1154 string characters out of 72768
 43901 words of memory out of 263001
 3133 multiletter control sequences out of 1+0
 3640 words of font info for 14 fonts, out of 20 for 1000
 15 hyphenation exceptions out of 1000
 23i,0n,18p,136b,40s stack positions out of 300i,100n,500p,3b,4000s
No pages of output.
 end inclusion-



[allan.rae@mailbox.uq.edu.au: RelyxFigure.pm missing]

1999-04-08 Thread Amir Karger

Oops! Added it to CVS

-Amir

- Forwarded message from Allan Rae [EMAIL PROTECTED] -

Date: Wed, 7 Apr 1999 13:58:55 +1000 (GMT+1000)
From: Allan Rae [EMAIL PROTECTED]
To: Amir Karger [EMAIL PROTECTED]
Subject: RelyxFigure.pm missing

Hi,

I thought I'd have a quick go at using reLyX again but I get an error:

Can't locate RelyxFigure.pm
BEGIN failed--compilation aborted at
/home/rae/bin/../share/lyx/reLyX/BasicLyX.pm line 13.
BEGIN failed--compilation aborted at
/home/rae/bin/../share/lyx/reLyX/reLyXmain.pl line 42.

I've searched high and low and updated cvs checkout and still can't find
it.  So I am assuming that you probably forgot to:

cvs add RelyxFigure.pm

before committing your latest changes :(

Allan. (ARRae)


- End forwarded message -



Bug report, VC, (on version 1.0.1)

1999-04-08 Thread Pierre-Henri Boinnard


Hello you all,

first of all, I'm very impressed by LyX.

I am using it smoothly since a while, but noticed just now that even LyX
handle file names with spaces inside, we cannot version them because RCS
try to handle each part of the file name as a file itself.

Edit-Version Control-Register for a file "New File.lyx" produce :
ci: New: No such file or directory.
ci: File.lyx: No such file or directory.

Priority absolute zero ???

I did not try yet with 1.0.2pre1.

Best regards.

PH

Pierre-Henri BOINNARD
email:[EMAIL PROTECTED]




Re: Compiling under Solaris 7 (x86)

1999-04-08 Thread Stephan Witt

Lars Gullik Bjønnes wrote:
> 
>   >> Apostolos Syropoulos writes:
>   AS> LIBS = $(LYX_LIBS) -lSM -lICE -liberty -ldl -lc -lm -lforms
>   AS> -L/usr/openwin/lib -R/usr/openwin/lib -lX -lX11 -lXpm -lsocket
>   AS> -lnsl
> 
> What libraries were used by LyX?
> 
> Lgb

AFAIK there is a "real" X11.R6 shipped with Solaris 7 and derfor
the libX11 needs the libraries libSM.so and libICE.so.

The "real" means I don't know what the Sun developers did with the
code to support Display Postscript and so on. Normally they sell
a modified version of X11 with some potentially headache for
programmers. But I can't understand why the configure didn't
detect the X11 library list completely.

Stephan
 
---
<[EMAIL PROTECTED]>  | beusen unternehmensgruppe senkel
fon: +49 30 549932-62 | Landsberger Allee 392
fax: +49 30 549932-29 | 12681 Berlin, Germany
---



Re: Documentation Style Sheet: Update

1999-04-08 Thread Jean-Marc Lasgouttes

> "John" == John Weiss <[EMAIL PROTECTED]> writes:

John> --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii

John> I've just modified the Style Sheet to take the new
John> menu-separator into account.  For v1.0.2, the new Style Sheet
John> applies to all docs.  That means that the old "->" character
John> sequence shall be replaced with the menu separator for v1.0.2
John> [or v1.0.3, which would be a doc-update only].

I added that to the lyxdoc repository.

JMarc



Re: Bug when printing multiple copies with duplex printers

1999-04-08 Thread Jean-Marc Lasgouttes

> "Ben" == Ben Cazzolato <[EMAIL PROTECTED]> writes:

Ben> Hi Guys,

Ben> Using RH 5.0, Lyx 1.0.1.

Ben> I tried printing mulitple copies from the print dialog box, where
Ben> I set the Copies flag to 2.  I'm using a HP5Si with the duplex
Ben> option (2 sided printing).  2 copies were sent to the printer and
Ben> 2 copies came out.

Ben> Now here's the problem. When the number of pages is even all is
Ben> well.  However, when the number of pages is odd, the second
Ben> document does not start on a new piece of paper.  For example
Ben> with a 5 page document, page 5 of the first copy will be one one
Ben> side of the paper and the first page of the second copy will be
Ben> on the other.

Ben> Is it possible to check if the document has 2 sides selected in
Ben> the document layout, and if so assume that they will be using a
Ben> duplex printer?  Then if the number of pages are odd then you add
Ben> either an extra page or page feed to fix this problem?

I *think* this can be configured in dvips or /etc/printcap (but can't
tell you how :( ). If we decided to add a blank page automatically, we
would risk to have extra blank pages on some printers...

Something you could try: add to the preamble of your document
\AtEndDocument{\cleardoublepage}


JMarc



Re: Namespaces (was: string vs. LString)

1999-04-08 Thread Jean-Marc Lasgouttes

> "Allan" == Allan Rae <[EMAIL PROTECTED]> writes:

Allan> # We still need portability to other platforms of course but we
Allan> can draw a line and say "it must support namespaces" or
Allan> whatever else we desire.  We can probably get away without
Allan> partial specialization of templates.

Could you explain why we need those namespaces? I understand what they
are in general, but we could probably live with std:: being the same
as the glabal namespace, if we choose names correctly.

Other than that, I agree that we should draw a line somewhere. But we
should be careful to draw it at the right place. And remember that
many people need to compile on the platform compilers and try to
support at least the latest version of these compilers.

JMarc



Re: lyx bug reading tutorial!

1999-04-08 Thread Jean-Marc Lasgouttes

> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> Hi, Jean-Marc!  As promised, I've recompiled lyx-1.0.1 with the
Angus> latest version of egcs, (1.1.2). Unfortunately, the program
Angus> falls over in identical fashion.

Angus> With or without optimization, it's still a great piece of
Angus> software. Keep up the good work!  Best wishes, Angus

Thansk for the datapoint. Since I do not know how to fix this, I just
updated the info in the INSTALL file.

JMarc



Re: url.sty (was: README.OS2)

1999-04-08 Thread Jean-Marc Lasgouttes

> "Arnd" == Arnd Hanses <[EMAIL PROTECTED]> writes:

Arnd> On Tue, 30 Mar 1999 16:35:21 +0300 (EET DST), Mika Kristian
Arnd> Laitio wrote:

>> ... Now when I'm having lyx & co. stuff working it is really
>> pleasure to use it.


Arnd> I can only underline this statement:

Arnd> LyX on Linux is really nice, on OS/2 it is purely a pleasure.

Arnd> Ok, back to the hard facts of live. Old README contained:

Arnd>  Note: I included 'url.sty' (necessary to print the docs). Move
Arnd> it  and (if you want) the content of
Arnd> %X11ROOT%/XFree86/lib/X11/lyx/tex to a directory, where LaTeX
Arnd> (emTeX) will find it; most common is c:\emtex\texinput\latex2e
Arnd> or a subdirectory; or in special cases: a directory the
Arnd> environment variable TEXINPUT (TEXINPUTS, if not using emTeX)
Arnd> points to.

Arnd> Without this 'url.sty' doc's did not print, nor was preview
Arnd> possible, nor is it a supported CTAN macro, nor is it part of
Arnd> emTeX or teTeX.  Therefore I bundled it with LyX in my old bin
Arnd> dist.

Arnd> What shall I write now? Will it still be necessary?

As far as I know, LyX should produce now files which work with or without
url.sty.

JMarc



Re: Missing LaTeX Commands [was -- -----------------------------------]

1999-04-08 Thread Jean-Marc Lasgouttes

> "John" == John Weiss <[EMAIL PROTECTED]> writes:

John> On Wed, Mar 31, 1999 at 01:41:17PM +0100, Angus Leeming wrote:
>> I'm having problems printing out the Help documentation to lyx
>> 1.0.1. Has any body had similar problems?
>> 
>> Specifically: None of the help documents (except for Intro.lyx)
>> will print. Exporting to LaTeX and trying to compile directly I
>> find that:
>> 
>> 1. The lyx command "\backslash" becomes latex "\textbackslash".
>> 2. lyx ">" becomes latex "\textgreater".  3. lyx "<" becomes latex
>> "\textless".  4. lyx "|" becomes latex "\textbar".

John> This is a problem.  I run LyX on multiple platforms with
John> different LaTeX distributions.  My Linux box at home has a full
John> teTeX distribution with the "ec" fonts and "T1" encoding
John> installed.  I have no problem with "\textbackslash",
John> "textgreater", etc.

Question to both of you: what version of LaTeX are you using? These
macros have been added in the 1995/12/01 version of LaTeX and I really
think people should have at least this version installed.

As far as I know, this is *not* T1/OT1 related.

JMarc



Bug report Lyx-1.0.2pre1

1999-04-08 Thread Yves Capdeboscq


Versions 1.7 and 1.8 of insetbib.C does not compile on my machines (Sun
Solaris 2.6, and Linux 2.0.36), whereas version 1.6 works perfectly.

The error message I get from g++ is the following (for the latest version,
on cvs, i.e. 1.8 at this time)

insetbib.C: In method `class LString InsetBibtex::getKeys()':
insetbib.C:406: base operand of `->' has non-pointer type `FilePtr'
*** Error code 1

(getKeys() does not exist in version 1.6)

Have a nice day,

Yves Capdeboscq





Re: Missing LaTeX Commands

1999-04-08 Thread Angus Leeming

I had an old 1995/06/01 version of LaTeX and hadn't found the answer in the
user mailing lists at the time. Subsequently I found said answer and updated
my LaTeX distribution accordingly. (Feeling rather embarassed by wasting
peoples' time in the process. Sorry all.)

Can I suggest that the LaTeX configuration check that the version is
sufficient for LyX's requirements. This would avoid such unpleasantness.

Thanks for the help though.
Angus

> Question to both of you: what version of LaTeX are you using? These
> macros have been added in the 1995/12/01 version of LaTeX and I really
> think people should have at least this version installed.
> 
> As far as I know, this is *not* T1/OT1 related.
> 
> JMarc



Re: search path problem

1999-04-08 Thread Jean-Marc Lasgouttes

> "Justin" == Justin Cormack <[EMAIL PROTECTED]> writes:

Justin> I have a small bug report: Using lyx 1.0.1, I installed noweb
Justin> and did a reconfigure, but it didnt find the noweb.sty
Justin> file. Doing an strace I find that it is looking in directories
Justin> specifically listed in TEXINPUTS and in /usr/share/lyx, but it
Justin> never looks in /usr/share/texmf/tex/latex/misc/ where the file
Justin> actually is. TEXINPUTS just starts with a : indicating that it
Justin> is in addition to the standard tex directories. I am not sure
Justin> what the best fix to this is...

If you are using teTeX, did you run texhash to re-generate the ls-R
index?

JMarc



Re: [seak@pegase.cad.cea.fr] LyX Feedback

1999-04-08 Thread Jean-Marc Lasgouttes

> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:

Lars> Is this something you should have a look at Alejandro?

I already fixed this one.

JMarc



Re: integrating newlfm into LyX

1999-04-08 Thread Jean-Marc Lasgouttes

> "larry" == larry  <[EMAIL PROTECTED]> writes:

larry> Has anyone jumped through the hoops of integrating this into
larry> LyX?  I'd appreciate hearing from you.

First, I guess somebody should take a look at it and see whether it
has the promised features and is suitable for inclusion with LyX...

JMarc



Re: Missing LaTeX Commands

1999-04-08 Thread Jean-Marc Lasgouttes

> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> I had an old 1995/06/01 version of LaTeX and hadn't found the
Angus> answer in the user mailing lists at the time. Subsequently I
Angus> found said answer and updated my LaTeX distribution
Angus> accordingly. (Feeling rather embarassed by wasting peoples'
Angus> time in the process. Sorry all.)

Angus> Can I suggest that the LaTeX configuration check that the
Angus> version is sufficient for LyX's requirements. This would avoid
Angus> such unpleasantness.

There was a discussion about that some time ago, but the problem I
have with \NeedsTeXFormat is that it generate an error on
failure... Hmm, I'll have to think a bit more about it...

JMarc



Re: Bug report Lyx-1.0.2pre1

1999-04-08 Thread Jean-Marc Lasgouttes

> "Yves" == Yves Capdeboscq <[EMAIL PROTECTED]> writes:

Yves> Versions 1.7 and 1.8 of insetbib.C does not compile on my
Yves> machines (Sun Solaris 2.6, and Linux 2.0.36), whereas version
Yves> 1.6 works perfectly.

Yves> The error message I get from g++ is the following (for the
Yves> latest version, on cvs, i.e. 1.8 at this time)

Yves> insetbib.C: In method `class LString InsetBibtex::getKeys()':
Yves> insetbib.C:406: base operand of `->' has non-pointer type
Yves> `FilePtr' *** Error code 1

Yves> (getKeys() does not exist in version 1.6)

I get the same problem with g++ 2.8.1 in Digital Unix 4.0. The reason
is that the feof(file) call in line 406 is macro-changed to

[...]
while (! ((  file  )->_flag & 0020 )  ) {
c = fgetc(file);
[...]

which for some reason I do not understand, is not accepted by
gcc. Adding changing the call to feof(file()) works, so I'll just do
that for now.

JMarc



Re: prelease no. 1 for LyX 1.0.2

1999-04-08 Thread Jean-Marc Lasgouttes

> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

> "Daniel" == Daniel Naber <[EMAIL PROTECTED]> writes:
Daniel> --ELM923515991-2807-0_ Content-Type: text/plain;
Daniel> charset=ISO-8859-1 Content-Transfer-Encoding: 8bit

Daniel> Lars Gullik Bjønnes wrote:

>>> I have just put LyX-1.0.2pre1 on ftp.lyx.org and
>>> ftp.devel.lyx.org.

Daniel> My patch that fixes the "version control cancel doesn't
Daniel> cancel"-bug isn't included, could you put it in? The cvs
Daniel> version lacks it, too.

Jean-Marc> Yes, I forgot about it... I'll include it right now.

In fact, I plan to add this slightly different version. Does it seem
reasonable to you?

JMarc

Index: lyxvc.C
===
RCS file: /usr/local/lyxsrc/cvsroot/lyx-1_0_x/src/lyxvc.C,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 lyxvc.C
--- lyxvc.C 1998/10/26 22:18:44 1.1.1.1
+++ lyxvc.C 1999/04/08 13:18:58
@@ -180,8 +180,13 @@
}
 
lyxerr.debug("LyXVC: registrer", Error::LYXVC);
-   LString tmp = askForText(_("LyX VC: Initial description"));
-   if (tmp.empty()) tmp = "(no initial description)";
+   LString tmp = askForText(_("LyX VC: Initial description"),
+_("(no initial description)"));
+   if (tmp.empty()) {
+   lyxerr.debug("LyXVC: user cancelled", Error::LYXVC);
+   WriteAlert(_("Info"), _("This document has NOT been registered."));
+   return;
+   }
LString cmd = "ci -q -u -i -t-\"";
cmd += tmp;
cmd += "\" ";



Re: INSTALL.OS2 file

1999-04-08 Thread Jean-Marc Lasgouttes

> "Arnd" == Arnd Hanses <[EMAIL PROTECTED]> writes:

Arnd> Hello, in continuation of the OS/2 specific documentation series
Arnd> here the draft of the beginning of INSTALL.OS2. I'm looking
Arnd> forward to any comments.

Do you want me to add it now to the source? And what about the other
ones you posted? I a bit lost on what you want to see in LyX right
now...

JMarc



Re: [Reuben Thomas <rrt1001@cam.ac.uk>] Tracking down bugs in LyX

1999-04-08 Thread Jean-Marc Lasgouttes

Reuben> I've been having a few SEGV crashes when doing normal things
Reuben> like just typing. Fortunately this doesn't happen very often,
Reuben> but it'd be nice to get rid of this problem (if it's a bug in
Reuben> LyX and not in xforms or something else).

Reuben> It looks like this might be my last chance for a while if
Reuben> 1.0.2 is to be the last release for some time, so could you
Reuben> tell me how I should compile LyX with debugging in order to
Reuben> catch this (bear in mind I can't really run it under gdb all
Reuben> the time, and the crashes aren't repeatable)?

Noramlly, when LyX crashes, it dumps a core file. Then you can do
  gdb ./lyx /path-to-core/core
from the build directory, and proceed as explained in the docs.


JMarc



[seiferth@penguinpower.com] LyX Feedback

1999-04-08 Thread Lars Gullik Bjønnes

--- Start of forwarded message ---
Date: Thu, 8 Apr 1999 04:52:42 +0200
Message-Id: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject: LyX Feedback
Reply-to: [EMAIL PROTECTED]

A good addition to the FAQ would be a note on what to do if noweb is recognized
by doesn't show up as a document option.  Generally, this means that the person
installed noweb (and noweb.sty) but didn't run texhash after installing the
new style.  This issue always comes up with Tex users and I figure lyx
uses will generally not be that familiar with Latex styles, etc.

Incidently, thanks for the literate support.  Nedit is going on the shelf as
I have new programming editor :)

Justin

--- End of forwarded message ---



Re: crash with bactrace from entering/exiting multiline equations

1999-04-08 Thread Jean-Marc Lasgouttes

> "Rick" == Richard E Hawkins Esq <[EMAIL PROTECTED]> writes:

Rick> after the third crash, i figured it wasn't a fluke, and tried
Rick> again with gdb.  Just before section 8.8.7, there are a pair of
Rick> multiline equations. Go into the first, use the arrow keys to
Rick> get out and in from of the first (starts with der_f2), and enter
Rick> it & move.  *splat*

I could not reproduce the problem. Could you make your description of
what to do more explicit?

But maybe Alejandro can sort it out from the backtrace...

JMarc



Re: crash with bactrace from entering/exiting multiline equations

1999-04-08 Thread Richard E. Hawkins Esq.

> > "Rick" == Richard E Hawkins Esq <[EMAIL PROTECTED]> writes:
> 
> Rick> after the third crash, i figured it wasn't a fluke, and tried
> Rick> again with gdb.  Just before section 8.8.7, there are a pair of
> Rick> multiline equations. Go into the first, use the arrow keys to
> Rick> get out and in from of the first (starts with der_f2), and enter
> Rick> it & move.  *splat*

> I could not reproduce the problem. Could you make your description of
> what to do more explicit?

> But maybe Alejandro can sort it out from the backtrace...


I hope so; it's hard for me to reproduce, but I did manage 5 time or 
so--but never when I stripped out other portions of the file.  I can't 
get much more explicit than moving around with the arrow keys, and it 
seems to have something to do with which direction (left or up) and 
position when I leave the lower equation. But it always comes after 
entering the upper equation.

rick

-- 




Re: prelease no. 1 for LyX 1.0.2

1999-04-08 Thread Daniel Naber

Jean-Marc Lasgouttes wrote:

> In fact, I plan to add this slightly different version. Does it seem
> reasonable to you?

Mhh, I actually don't use the version control in lyx :-) If it's the
common case to set a description, I prefer the non-default-value patch.
Using the default value the user has to delete the default text before he
can enter something that makes sense - that's not so nice.

Anyway, commit whatever you like best.

Regards
 Daniel

-- 
PGP Key fingerprint = 3D 98 9E D2 00 B6 E0 9D  7E B9 77 23 17 E2 11 6A
http://cgi4all.alabanza.com/glasatelier/



Re: INSTALL.OS2 file

1999-04-08 Thread Arnd Hanses

On Thu, 8 Apr 1999 15:21:00 +0200 (MET DST), Jean-Marc Lasgouttes
wrote:

>> "Arnd" == Arnd Hanses <[EMAIL PROTECTED]> writes:
>
>Arnd> Hello, in continuation of the OS/2 specific documentation series
>Arnd> here the draft of the beginning of INSTALL.OS2. I'm looking
>Arnd> forward to any comments.
>
>Do you want me to add it now to the source? And what about the other
>ones you posted? I a bit lost on what you want to see in LyX right
>now...

Hi Jean-Marc,

I hope this was not too much of a bit confusing stuff, especially if
you have no working XFree/2 machine nearby. I would suggest that you
simply have a look at the stuff if you have a little time and commit it
with or without changes, if you think it won't do any harm. Please feel
to make or suggest any modifications you wish to see (I'm no native
english speaker, so Amir, John etc. may want to fix the language:
Please feel free to do that, no need to ask me, no need to know OS/2).

I don't think the stuff is perfect and some import and really
complicated things like fax and printer setup for LyX on OS/2 are still
missing. Anyway it probably will never be perfect, although I already
received many suggestions, updates and fixes (I could not fulfill all
wishes, as this would need far too much time and space). But since
there seems to be some urgent need for this specific documentation I
can always polish it later according to suggestions or better insight.
So I simply say:

Here it is. Do with the stuff whatever you prefer to do! But there may
be updates or fixes later.


Greetings,

Arnd





Layout->Paper changes make bad .tex

1999-04-08 Thread mitch

Lyx 1.0.1 on Debian 2.2.1.
TeX (Web2C 7.2) 3.14159
kpathsea version 3.2

1. Open any document, (a letter from the template in my case) and make sure
   it DVI's and PS's okay.
2. Layout->Paper dialog
3. Change the margins, eg 50mm, 0mm, 0mm, 0mm.
4. Apply, OK. 
5. View DVI or PS.  Error in LaTeX run indicated at beginning of document.

The Error dialog says:

!LaTeX Error: File 'geometry.sty' not found.
or enter new name. (Default extension: sty)

Enter file name:

The /tmp .log says:

--- begin inclusion
This is TeX, Version 3.14159 (Web2C 7.2) (format=latex 1999.3.11)  8 APR 1999 13:23
**yelbike.tex
(yelbike.tex
LaTeX2e <1998/06/01>
Babel  and hyphenation patterns for american, french, german, ngerman, n
ohyphenation, loaded.

(/usr/lib/texmf/tex/latex/base/letter.cls
Document Class: letter 1998/05/10 v1.2y Standard LaTeX document class
(/usr/lib/texmf/tex/latex/base/size10.clo
File: size10.clo 1998/05/05 v1.3y Standard LaTeX file (size option)
)
\longindentation=\dimen102
\indentedwidth=\dimen103
\labelcount=\count79
)

! LaTeX Error: File `geometry.sty' not found.

Type X to quit or  to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
! Emergency stop.
 
 
l.12 \geometry
  {verbose}^^M
*** (cannot \read from terminal in nonstop modes)

 
Here is how much of TeX's memory you used:
 132 strings out of 10904
 1154 string characters out of 72768
 43901 words of memory out of 263001
 3133 multiletter control sequences out of 1+0
 3640 words of font info for 14 fonts, out of 20 for 1000
 15 hyphenation exceptions out of 1000
 23i,0n,18p,136b,40s stack positions out of 300i,100n,500p,3b,4000s
No pages of output.
 end inclusion-



[allan.rae@mailbox.uq.edu.au: RelyxFigure.pm missing]

1999-04-08 Thread Amir Karger

Oops! Added it to CVS

-Amir

- Forwarded message from Allan Rae <[EMAIL PROTECTED]> -

Date: Wed, 7 Apr 1999 13:58:55 +1000 (GMT+1000)
From: Allan Rae <[EMAIL PROTECTED]>
To: Amir Karger <[EMAIL PROTECTED]>
Subject: RelyxFigure.pm missing

Hi,

I thought I'd have a quick go at using reLyX again but I get an error:

Can't locate RelyxFigure.pm
BEGIN failed--compilation aborted at
/home/rae/bin/../share/lyx/reLyX/BasicLyX.pm line 13.
BEGIN failed--compilation aborted at
/home/rae/bin/../share/lyx/reLyX/reLyXmain.pl line 42.

I've searched high and low and updated cvs checkout and still can't find
it.  So I am assuming that you probably forgot to:

cvs add RelyxFigure.pm

before committing your latest changes :(

Allan. (ARRae)


- End forwarded message -



Bug report, VC, (on version 1.0.1)

1999-04-08 Thread Pierre-Henri Boinnard


Hello you all,

first of all, I'm very impressed by LyX.

I am using it smoothly since a while, but noticed just now that even LyX
handle file names with spaces inside, we cannot version them because RCS
try to handle each part of the file name as a file itself.

Edit->Version Control->Register for a file "New File.lyx" produce :
ci: New: No such file or directory.
ci: File.lyx: No such file or directory.

Priority absolute zero ???

I did not try yet with 1.0.2pre1.

Best regards.

PH

Pierre-Henri BOINNARD
email:[EMAIL PROTECTED]