RE: "\lang ignore" in ERT insets

2001-07-26 Thread Juergen Vigna


On 25-Jul-2001 Mike Ressler wrote:
> I'm converting the docs from 1.1.6 to 1.2.0. When trying to translate the
> UG, the conversion of the LaTeX code in Chapter 7 to an inset failed (or
> at least complained) as expected. What I didn't expect was that all the
> text in the inset was underlined blue, indicating a language change.
> Indeed, when I opened UG with emacs, I found that all ERT insets had a
> "\lang ignore" directive, which Lyx complains about when opening the file,
> as it is an unknown language.
> 
> I've stripped out those \lang directives in emacs, and now the file loads
> fine in today's CVS. What's the deal?

This seems strange to me as it seems I changed the code in text.C so that
the font of a "ignore" language is not displayed as different! Ignore should
always use the document-wide language and so it shouldn't do that. I'll have
a look at this!

 Jürgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Italienallee 13/N   Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen   Web: http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

*** System shutdown message from root ***

System going down in 60 seconds






RE: Up and running - what to do?

2001-07-26 Thread Juergen Vigna


On 25-Jul-2001 Asger K. Alstrup Nielsen wrote:
> Ok, kids.

Welcome back Asger!

> I'm up and running again. I've just succeeded in compiling the cvs
> version of LyX, and it seems to run.

Well you know we're always stable now ;)

> So a few questions:
> 
> - What should I work on?

IMO a VERY important question I made yesterday but noone answered till today
and you seem the right man to be able to answer it is:

Why the hell is it possible to insert Insets in a InsetERT byt copy/paste!!!

There is a Inset-method called

virtual bool insetAllowed(Inset::Code) const { return false; }

And this is implemented in InsetCollapsable AND InsetERT. As the function
is defined "virtula" it should always call the function in InsetERT (am
I mistaken here?), while now it is calling the function in InsetCollapsable!!!

Have a look (with a debugger) at the function Paragraph::insertFromMinibuffer
while pasting another inset inside an InsetERT and try to follow the
insetAllowed function and you see where it end's up.

I'm REALLY clueless about this. Do only I see this? Is this my compiler?
Or do others experience the same problem?

   Jürgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Italienallee 13/N   Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen   Web: http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

People who push both buttons should get their wish.




Re: "\lang ignore" in ERT insets

2001-07-26 Thread Herbert Voss

Juergen Vigna wrote:
> 
> > I've stripped out those \lang directives in emacs, and now the file loads
> > fine in today's CVS. What's the deal?
> 
> This seems strange to me as it seems I changed the code in text.C so that
> the font of a "ignore" language is not displayed as different! Ignore should
> always use the document-wide language and so it shouldn't do that. I'll have
> a look at this!

because it becomes blue underlined, means different language ...

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Wrong date in Version Canvas

2001-07-26 Thread Jan Exss


In lyx 1.1.6fix3, the message from Help -> Version shows a date of Fri,
Jul 24 2001. AFAIK this was a tuesday ;-) 

Okay, low priority...

I compiled by myself on top of a Debian Potato. I Don't know whether that
matters or not.

  Jan Exss
  --
  Geophysical Institute 
  University of Karlsruhe, Germany  
  phone:  +49 (0)721 608-4679
  mailto: [EMAIL PROTECTED] 
  --




Bug #7

2001-07-26 Thread Michael Schmitt



  math_hash.C:282: warning: initialization of negative value `-1' to
   `unsigned int'

Michael

-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==




Re: Bug #7

2001-07-26 Thread Andre Poenitz

>   math_hash.C:282: warning: initialization of negative value `-1' to
>`unsigned int'

This is a feature ;-)

Andre'

PS: It will be fixed some time.

-- 
André Pönitz . [EMAIL PROTECTED]



Compiler warnings

2001-07-26 Thread Michael Schmitt

Hi,

some more compiler warnings (just in case you do not scan them from time
to time on your own)

Michael

*

formulabase.C:207: warning: #warning Please have a look if this is right
(Jug)
math_cursor.C:1001: warning: #warning This is evil!
insetbib.C:267: warning: #warning Ha, now we are mainly at 1.2.0 and it is
still here (Jug)
BufferView_pimpl.C:3209: warning: #warning Why is this code different from
specialChar() below? (JMarc)
lyxfunc.C:1184: warning: #warning Find another implementation here (or
another lyxfunc)!
text.C:1015: warning: #warning Please fix me (Jug!)
text.C:1504: warning: #warning Something is rotten here! (Jug)
text.C:2247: warning: #warning Dekel please have a look on this one RTL?
(Jug)
text.C:2940: warning: #warning Should be fixed with a
lyxinset::clear_width(bv, font) function! (Jug)
text.C:2941: warning: #warning Should we not fix this in the Painter,
please have a look Lars! (Jug)
text2.C:2472: warning: #warning Please tell what the intention is here.
(Lgb)
text2.C:2475: warning: #warning Sure have a look now! (Jug)

-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==




Herbert's minpage / ERT example doc and current CVS

2001-07-26 Thread Angus Leeming

Looks much better.

Now try resizing the window or minimizing/bringing it back!

Angus



Purify #8

2001-07-26 Thread Michael Schmitt

Hi,

I get these warnings in getLyxText in so many different backtraces that I
think it is worth annoying you another time :-)

Michael

***

  UMR: Uninitialized memory read
  This is occurring while in:
InsetText::getLyXText(const BufferView*,bool)const
[insettext.C:1804]
   return
the_locking_inset->getLyXText(bv);
   }
   return cached_text.get();
=> } else if (it->second.remove) {
   if (locked) {

saveLyXTextState(it->second.text.get());
   } else {
InsetText::width(BufferView*,const LyXFont&)const
[insettext.C:300]
InsetCollapsable::width(BufferView*,const LyXFont&)const
[insetcollapsable.C:208]
LyXText::singleWidth(BufferView*,Paragraph*,int,char)const
[text.C:168]
LyXText::singleWidth(BufferView*,Paragraph*,int)const
[text.C:134]
LyXText::fill(BufferView*,Row*,int)const [text.C:1001]
LyXText::appendParagraph(BufferView*,Row*)const [text.C:1506]
LyXText::insertParagraph(BufferView*,Paragraph*,Row*)const
[text2.C:371]
LyXText::init(BufferView*,bool) [text2.C:88]
BufferView::Pimpl::resizeCurrentBuffer()
[BufferView_pimpl.C:334]
BufferView::Pimpl::buffer(Buffer*) [BufferView_pimpl.C:199]
BufferView::buffer(Buffer*) [BufferView.C:70]
LyXGUI::regBuf(Buffer*) [lyx_gui.C:320]
LyX::LyX(int*,char**) [lyx_main.C:147]
main   [main.C:38]
_start [crt1.o]
  Reading 4 bytes from 0x12cd1fc in the heap.
  Address 0x12cd1fc is 5180 bytes into a malloc'd block at 0x12cbdc0
of 7040 bytes.
  This block was allocated from:
malloc [rtlib.o]
_S_chunk_alloc__t24__default_alloc_template2b0i0UiRi
[stl_alloc.h:490]
_S_refill__t24__default_alloc_template2b0i0Ui
[stl_alloc.h:531]
OkCancelReadOnlyPolicy::OkCancelReadOnlyPolicy()
[stl_alloc.h:419]

ButtonController::ButtonController(const
lyxstring&,const lyxstring&) [ButtonController.h:134]
Dialogs::Dialogs(LyXView*) [GUI.h:37]
LyXView::LyXView(int) [LyXView.C:54]
XFormsView::XFormsView(int,int,int) [XFormsView.C:49]
GUIRunTime::createMainView(int,int) [GUIRunTime.C:118]
LyXGUI::create_forms() [lyx_gui.C:269]
LyXGUI::init() [lyx_gui.C:186]
LyX::LyX(int*,char**) [lyx_main.C:117]
main   [main.C:38]
_start [crt1.o]


-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==




Re: Bug #7

2001-07-26 Thread Andre Poenitz

> | >   math_hash.C:282: warning: initialization of negative value `-1' to
> | >`unsigned int'
> | 
> | This is a feature ;-)
> 
> Hardly... then it would be written "static_cast(-1)" 

No. This is shorthand for

#ifdef WITH_WARNINGS
#warning initialization of negative value `-1' to `unsigned int'
#endif
static_cast(-1);

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Bug #9

2001-07-26 Thread Michael Schmitt

Hi,

when opening template "letter.sty" (among other), I get some strange
console messages:

LyX: Unknown tag `Latex' [around line 77 of file
~/Programme/lyx-1.2.0cvs-sol/share/lyx/layouts/stdletter.inc]
LyX: Unknown layout tag `Latex' [around line 78 of file
~/Programme/lyx-1.2.0cvs-sol/share/lyx/layouts/stdletter.inc]
Error parsing style `Opening'
LyX: Error reading inputfile:
/home/schmitt/Programme/lyx-1.2.0cvs-sol/share/lyx/layouts/stdletter.inc
[around line 8 of file
~/Programme/lyx-1.2.0cvs-sol/share/lyx/layouts/letter.layout]
Error reading
`~/Programme/lyx-1.2.0cvs-sol/share/lyx/layouts/letter.layout'
(Check `letter')
Check your installation and try Options/Reconfigure...

Of course, loading the file does not work correctly.

I think the template directory requires some cleanup wrt the
problem above!?

Michael


-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==




RE: Purify #8

2001-07-26 Thread Juergen Vigna


On 26-Jul-2001 Michael Schmitt wrote:

> I get these warnings in getLyxText in so many different backtraces that I
> think it is worth annoying you another time :-)

Sure!

>   UMR: Uninitialized memory read
>   This is occurring while in:
> InsetText::getLyXText(const BufferView*,bool)const
> [insettext.C:1804]
>return
> the_locking_inset->getLyXText(bv);
>}
>return cached_text.get();
> => } else if (it->second.remove) {

Does this fix it? (it should!)

   Jürgen

--
Index: insettext.C
===
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/insets/insettext.C,v
retrieving revision 1.182
diff -u -p -u -r1.182 insettext.C
--- insettext.C 2001/07/25 19:45:21 1.182
+++ insettext.C 2001/07/26 12:15:04
@@ -1801,7 +1801,7 @@ LyXText * InsetText::getLyXText(BufferVi
return the_locking_inset->getLyXText(bv);
}
return cached_text.get();
-   } else if (it->second.remove) {
+   } else if (it != cache.end() && it->second.remove) {
if (locked) {
saveLyXTextState(it->second.text.get());
} else {
-

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Italienallee 13/N   Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen   Web: http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

The fact that boys are allowed to exist at all is evidence of a remarkable
Christian forbearance among men.
-- Ambrose Bierce




RE: Purify #8

2001-07-26 Thread Michael Schmitt

On Thu, 26 Jul 2001, Juergen Vigna wrote:

> >   UMR: Uninitialized memory read
> >   This is occurring while in:
> > InsetText::getLyXText(const BufferView*,bool)const
> > [insettext.C:1804]
> >return
> > the_locking_inset->getLyXText(bv);
> >}
> >return cached_text.get();
> > => } else if (it->second.remove) {
>
> Does this fix it? (it should!)

Yes, it seems to! Commit your change.

Thanks, Michael

-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==




Bug #10

2001-07-26 Thread Michael Schmitt

After saving and loading a file with latex code:

LyX: Unknown language `ignore' [around line 80 of file
~/Dissertation/PhD/speclangs.lyx]

Should be simple to fix, shouldn't it?

Michael

-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==




Re: Bug #10

2001-07-26 Thread Michael Schmitt

On Thu, 26 Jul 2001, Michael Schmitt wrote:

> After saving and loading a file with latex code:
>
> LyX: Unknown language `ignore' [around line 80 of file
> ~/Dissertation/PhD/speclangs.lyx]
>
> Should be simple to fix, shouldn't it?

BTW: If you save the file again. These "\lang ignore" statements are
dropped. That is exactly what I want to see. So why writing "\lang ..." at
all?

Michael

-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==




Re: Purify #8

2001-07-26 Thread Juergen Vigna

> 
> Can we do it like this instead:
> 
[sniped]

I guess yes. Could you commit this (I'm actually struggling with insets,
maybe something fucked my binary completely up but ALL methods lower the
InsetCollapsable are not entered anymore!!! I'll try a clean recompile and
let you know if it helped!

I try also to clean up the "language" support as it is now it's not really
good solved. I'm mainly there I have only the above problem and so don't see
the results!

   Jürgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Italienallee 13/N   Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen   Web: http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Creativity is no substitute for knowing what you are doing.




RE: Bug #10

2001-07-26 Thread Juergen Vigna


On 26-Jul-2001 Michael Schmitt wrote:
> After saving and loading a file with latex code:
> 
> LyX: Unknown language `ignore' [around line 80 of file
> ~/Dissertation/PhD/speclangs.lyx]
> 
> Should be simple to fix, shouldn't it?

Well not really but I'm quite there!

   Jürgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Italienallee 13/N   Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen   Web: http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

With/Without - and who'll deny it's what the fighting's all about?
-- Pink Floyd




Bug #11 (natbib)

2001-07-26 Thread Michael Schmitt

Hi,

I have activated natbib support in the document dialog but LyX does not
write the corresponding "\usepackage[sort]{natbib}" statement when
exporting LaTeX. Could someone please verify this (invalid) behavior?

Thanks, Michael

-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==




UserGuide.lyx LaTeX-ing problems

2001-07-26 Thread Juergen Vigna

I'm now able to load the UserGuide in lyx-cvs. But when I want to LaTeX
it I get errors because some subsection have an underscore for the first
character in their text. I tracked that down to the \usepackage{colors}
if I remove that package from the produced LaTeX file I have no problems
latexing the exported UserGuide.

Is this a known problem for the "color"-package???

 Jürgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Italienallee 13/N   Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen   Web: http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

It's the theory of Jess Birnbaum, of Time magazine, that women with
bad legs should stick to long skirts because they cover a multitude of shins.




Re: Bug #11 (natbib)

2001-07-26 Thread Angus Leeming

On Thursday 26 July 2001 15:11, Michael Schmitt wrote:
> Hi,
> 
> I have activated natbib support in the document dialog but LyX does not
> write the corresponding "\usepackage[sort]{natbib}" statement when
> exporting LaTeX. Could someone please verify this (invalid) behavior?
> 
> Thanks, Michael

E. Why would it? Do you see a "sort" option anywhere? This is preliminary 
support for natbib

It does, however, (or it should and does with me) write
\usepackage[authoryear]{natbib}   

or

\usepackage[numbers]{natbib}  

I suggest that if you want "sort" then you edit the latex file by hand. 
Temporary fix of course.

Angus



Re: Bug #11 (natbib)

2001-07-26 Thread Michael Schmitt

On Thu, 26 Jul 2001, Angus Leeming wrote:

> On Thursday 26 July 2001 15:11, Michael Schmitt wrote:
> > Hi,
> >
> > I have activated natbib support in the document dialog but LyX does not
> > write the corresponding "\usepackage[sort]{natbib}" statement when
> > exporting LaTeX. Could someone please verify this (invalid) behavior?
> >
> E. Why would it? Do you see a "sort" option anywhere? This is preliminary
> support for natbib

Such a sort option would be nice indeed! Maybe I was dreaming when I wrote
my email :-)

But I would be very glad if I got a "usepackage" option at all! Maybe it
has to do with the fact that my PhD is a multipart document? A possible
explanation would be that the usepackage statement is only added in case
of a citation and LyX just looks into the main document (where there is
just a bibliography reference).

Michael

-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==




Bug #12

2001-07-26 Thread Michael Schmitt

Hi,

adding some math code in a figure caption breaks LyX' latex output if your
documents includes a table of figures (see tiny example file). Note: This
worked about three weeks ago - AFAIK it's not a limitation of Latex.

Michael

-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==


#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\begin_inset FloatList figure

\end_inset 


\layout Standard


\begin_inset Float figure
placement htbp
wide false
collapsed false

\layout Caption

My math
\begin_inset Formula \(_{i} \)
\end_inset 

test
\end_inset 


\the_end



Re: Bug #11 (natbib)

2001-07-26 Thread Angus Leeming

On Thursday 26 July 2001 15:52, Michael Schmitt wrote:
> On Thu, 26 Jul 2001, Angus Leeming wrote:
> 
> > On Thursday 26 July 2001 15:11, Michael Schmitt wrote:
> > > Hi,
> > >
> > > I have activated natbib support in the document dialog but LyX does not
> > > write the corresponding "\usepackage[sort]{natbib}" statement when
> > > exporting LaTeX. Could someone please verify this (invalid) behavior?
> > >
> > E. Why would it? Do you see a "sort" option anywhere? This is 
preliminary
> > support for natbib
> 
> Such a sort option would be nice indeed! Maybe I was dreaming when I wrote
> my email :-)
> 
> But I would be very glad if I got a "usepackage" option at all! Maybe it
> has to do with the fact that my PhD is a multipart document? A possible
> explanation would be that the usepackage statement is only added in case
> of a citation and LyX just looks into the main document (where there is
> just a bibliography reference).

Light dawns!
Here is the method that checks whether we should have a "usepackage"  at the 
start of the document.

void InsetCitation::validate(LaTeXFeatures & features) const
{
if (getCmdName() != "cite" && features.bufferParams().use_natbib)
features.natbib = true;
}

Ie, go through each and every Citation inset and if any one of them is a 
citep, citet etc, then flag usepackage{natbib} for inclusion.

All of your citation commands are still "cite" aren't they?

There is little point in including natbib if you aren't going to use it!

Angus




Re: UserGuide.lyx LaTeX-ing problems

2001-07-26 Thread Herbert Voss

Juergen Vigna wrote:
> 
> I'm now able to load the UserGuide in lyx-cvs. But when I want to LaTeX
> it I get errors because some subsection have an underscore for the first
> character in their text. I tracked that down to the \usepackage{colors}
> if I remove that package from the produced LaTeX file I have no problems
> latexing the exported UserGuide.
> 
> Is this a known problem for the "color"-package???

i have no \usepackage{color} in the preamble of my
UserGuide.lyx

Herbert

-- 
http://www.educat.hu-berlin.de/~voss/lyx/



Re: Bug #12

2001-07-26 Thread Dekel Tsur

On Thu, Jul 26, 2001 at 05:04:32PM +0200, Michael Schmitt wrote:
> adding some math code in a figure caption breaks LyX' latex output if your
> documents includes a table of figures (see tiny example file). Note: This
> worked about three weeks ago - AFAIK it's not a limitation of Latex.

The problem is that CVS LyX doesn't put \protect before \( and \).
Haven't we agreed it is better to use $ $ instead of \( \) ?



Re: Bug #12

2001-07-26 Thread Andre Poenitz

> adding some math code in a figure caption breaks LyX' latex output if your
> documents includes a table of figures (see tiny example file). Note: This
> worked about three weeks ago - AFAIK it's not a limitation of Latex.

I guess this has something to do with \protect and the 'fragile' option to
MathInset::write().

But I never understood this \protect stuff, so maybe someone could direct
me to some explanation...

Andre'


-- 
André Pönitz . [EMAIL PROTECTED]



Re: UserGuide.lyx LaTeX-ing problems

2001-07-26 Thread Juergen Vigna


On 26-Jul-2001 Herbert Voss wrote:

> i have no \usepackage{color} in the preamble of my
> UserGuide.lyx

Did I say preamble? Try to have a look at the exported LaTeX file of
the UserGuide!

Jürgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen VignaE-Mail:  [EMAIL PROTECTED]
Italienallee 13/N   Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen   Web: http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

Feel disillusioned?  I've got some great new illusions, right here!




Re: Bug #12

2001-07-26 Thread Andre Poenitz

> The problem is that CVS LyX doesn't put \protect before \( and \).
> Haven't we agreed it is better to use $ $ instead of \( \) ?

We have. But the parser is still a bit messy, so my first quick shot at
replacing \( \) by $ $  failed some time ago, so I reverted that part...

I do not think it would have worked three weeks ago, though...

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: Bug #12

2001-07-26 Thread Andre Poenitz

> We have. But the parser is still a bit messy, so my first quick shot at
> replacing \( \) by $ $  failed some time ago, so I reverted that part...

Aehm... would it help, if I write \protect in front of \( and \) and ignore
it when reading in?

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: Bug #9

2001-07-26 Thread Herbert Voss

Michael Schmitt wrote:
> 
> when opening template "letter.sty" (among other), I get some strange
> console messages:

i suppose it's letter.lyx ... ;-)

> 
> LyX: Unknown tag `Latex' [around line 77 of file
> ~/Programme/lyx-1.2.0cvs-sol/share/lyx/layouts/stdletter.inc]
> LyX: Unknown layout tag `Latex' [around line 78 of file
> ~/Programme/lyx-1.2.0cvs-sol/share/lyx/layouts/stdletter.inc]

as the message said the problem is in stdletter.inc 
all paragraph-layouts with

   LabelFont 
Series  Bold
Shape   Italic
Latex   Latex
  EndFont

are not correctly translated into the new 1.2.0 layout, means
the line 

Latex   Latex

is not correct ignored! all layouts behind the first one with
this font definition are missing.

so there are two ways:
1. revise all layout-files in layouts/*
2. let lyx ignore sich lines, when opening the layout


Herbert


-- 
http://www.educat.hu-berlin.de/~voss/lyx/





Re: Bug #9

2001-07-26 Thread Michael Schmitt

On Thu, 26 Jul 2001, Herbert Voss wrote:

> Michael Schmitt wrote:
> >
> > when opening template "letter.sty" (among other), I get some strange
> > console messages:
>
> i suppose it's letter.lyx ... ;-)

Of course. I typical case of rapid bug reporting :-)

> Latex   Latex
>
> is not correct ignored! all layouts behind the first one with
> this font definition are missing.
>
> so there are two ways:
> 1. revise all layout-files in layouts/*
> 2. let lyx ignore sich lines, when opening the layout

If this feature is not needed any longer, I propose alternative 1. Alt 2
could be implemented as well for backward-compatibility (if this is really
necessary; the question is whether there are any users with selfmade
layout files that are not member of this mailing list)

Michael

-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==




Re: [PATCH] english thesaurus

2001-07-26 Thread Asger K. Alstrup Nielsen

On Tue, 24 Jul 2001, John Levon wrote:

> The attached patch uses libaiksaurus which in turn uses project gutenberg's english
> thesaurus. hopefully the library will support wordnet soon.
> 
> http://aiken.clan11.com/aiksaurus/
> 
> (the auto stuff is a bit screwed up, you might have trouble building the library on
>  anything not linux)
> 
> comments ?

The patch has rotten a bit, but the conflicts were trivial. It was
however a pain in the ass to get AikSaurus to work, and then recompile LyX
from scratch once again (I can't believe how slow compilation has gotten!)

Anyway, now the patch works on my machine, and I think it's great. A
thesaurus is a must have in a word processor, and it's nice to see that
LyX is one of the first free Unix word processors that can get this
ability. The code looks nice, and it works beautifully.
Therefore, I think we should aceept the patch, with a few caveats.

You have a few TODOs here and there in the code. As far as I can see,
those are not mayor issues, but maybe you have done more work on them.

One small thing: The button changes from Close to Cancel once there is
something in the selection input field. However, I can't make it change
back to Close again. I'd expect it to do this, if I clear the selection
field. Also, after using Replace, I'd expect the selection field to clear 
out, and the button to change to Close.

Also, I think you should bind this to shift+F7, at least in CUA. This
is the standard key for thesaurus in Word, and thus we will follow the
lead we already do with using F7 for spellchecking.

Additionally, you should update the NEWS file, the documentation
somewhere (probably extended.lyx, but maybe Mike can be convinced to put
it in if you write it). Remember to add links to the dependent libraries.

If you have the time to make these updates, I'm sure the patch will be
accepted.

Btw, general comment: what happened to the project of extending the
LaTeXConfig.lyx file into a general dependency file, not just for
LaTeX stuff, but for all general programs we rely on? We did extend the
file at last years dev-meeting in Norway, but it's not used. Jean-Marc, 
or some other configure-wizard, is it a problem to extend the configure
stuff to update such a file with information about detected programs and
libraries that LyX can use?

Greets,

Asger




Re: Bug #12

2001-07-26 Thread Jules Bean

On Thu, Jul 26, 2001 at 05:21:18PM +0200, Andre Poenitz wrote:
> > adding some math code in a figure caption breaks LyX' latex output if your
> > documents includes a table of figures (see tiny example file). Note: This
> > worked about three weeks ago - AFAIK it's not a limitation of Latex.
> 
> I guess this has something to do with \protect and the 'fragile' option to
> MathInset::write().
> 
> But I never understood this \protect stuff, so maybe someone could direct
> me to some explanation...

I don't know of a 'good' explanation anywhere (and I've asked for one
myself, on comp.text.tex, but I now can't find my posting).

Basically:

Sometime LaTeX moves text to auxiliary files and back again. Most
notably, things which are going to end up in the table of
contents. When it does this, it "fully-expands" the text in a \edef
first.

Certain commands unavoidably (sadly), fully-expand into something
stupid, which can't be read back it in.  Or, they can go through the
cycle once but not twice, or something like that. These commands are
called 'fragile' commands.

Most fragile commands can be made robust (the opposite!) by preceding
them with \protect.  This isn't 100% though, I don't think.  \protect
\( does work, I believe, but $ is the preferred solution for a 'robust 
\('.

Jules



Re: Bug #12

2001-07-26 Thread Michael Schmitt

On Thu, 26 Jul 2001, Jules Bean wrote:

> On Thu, Jul 26, 2001 at 05:21:18PM +0200, Andre Poenitz wrote:
> > > adding some math code in a figure caption breaks LyX' latex output if your
> > > documents includes a table of figures (see tiny example file). Note: This
> > > worked about three weeks ago - AFAIK it's not a limitation of Latex.
> >
> Most fragile commands can be made robust (the opposite!) by preceding
> them with \protect.  This isn't 100% though, I don't think.  \protect
> \( does work, I believe, but $ is the preferred solution for a 'robust
> \('.

Learning by example:

  Correct output by LyX-1.1.6fix1:

\caption{My math\protect\( _{i}\protect \)test}\end{figure}%

  Incorrect output by LyX cvs:

caption{My math\(_{i}\)test}\end{figure}%

LyX-1.1.6fix1 adds these \protect statements only inside of captions (and
maybe some other critical constructs) but not to formula in common text.

Michael

-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==




Re: Bug #12

2001-07-26 Thread Jules Bean

On Thu, Jul 26, 2001 at 05:55:23PM +0200, Michael Schmitt wrote:
> Learning by example:
> 
>   Correct output by LyX-1.1.6fix1:
> 
> \caption{My math\protect\( _{i}\protect \)test}\end{figure}%
> 
>   Incorrect output by LyX cvs:
> 
> caption{My math\(_{i}\)test}\end{figure}%
> 
> LyX-1.1.6fix1 adds these \protect statements only inside of captions (and
> maybe some other critical constructs) but not to formula in common text.

Also section/chapter names, it should.

And, probably, citations if people ever used math there.

Jules



Re: Bug #12

2001-07-26 Thread Michael Schmitt

On Thu, 26 Jul 2001, Jules Bean wrote:

> Most fragile commands can be made robust (the opposite!) by preceding
> them with \protect.  This isn't 100% though, I don't think.  \protect
> \( does work, I believe, but $ is the preferred solution for a 'robust
> \('.

In order to enlighten you I looked into my Latex book:

Jules is right - $ is the robust version of \(. There are no other
differences than this between both notations. In addition, a \protect can
always be added to \( - in worst case it is just ignored.

Proposal: Replace all "\(" by "$" and the work is done.

Michael

-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==




Re: Bug #12

2001-07-26 Thread John Levon

On Thu, Jul 26, 2001 at 04:53:45PM +0100, Jules Bean wrote:

> On Thu, Jul 26, 2001 at 05:55:23PM +0200, Michael Schmitt wrote:
> > Learning by example:
> > 
> >   Correct output by LyX-1.1.6fix1:
> > 
> > \caption{My math\protect\( _{i}\protect \)test}\end{figure}%
> > 
> >   Incorrect output by LyX cvs:
> > 
> > caption{My math\(_{i}\)test}\end{figure}%
> > 
> > LyX-1.1.6fix1 adds these \protect statements only inside of captions (and
> > maybe some other critical constructs) but not to formula in common text.
> 
> Also section/chapter names, it should.

It doesn't I don't think. There's a bug in this area with latex round-trips,
if we \protect the math then when we read it back in from the latex the \protect
shows up as latex in the lyx doc, then exporting adds *another* \protect etc.

john

-- 
My wife couldn't believe what she heard, so she asked the customer,
 "What's your daughter's name?" and the Induhvidual replied,
 "Ampersand.  I don't know what it means, but I think it's a lovely
 girl's name."



Re: [PATCH] english thesaurus

2001-07-26 Thread John Levon

On Thu, Jul 26, 2001 at 05:38:44PM +0200, Asger K. Alstrup Nielsen wrote:

> The patch has rotten a bit, but the conflicts were trivial. It was
> however a pain in the ass to get AikSaurus to work

can you detail your problems ? I added the autotools stuff to AikSaurus,
so probably screwed up some of it.

> and then recompile LyX
> from scratch once again (I can't believe how slow compilation has gotten!)

I know. Ouch.

> You have a few TODOs here and there in the code. As far as I can see,
> those are not mayor issues, but maybe you have done more work on them.

I was hoping for comments on what to do. The one in ControlThesaurus is perhaps
an in-the-future thing, the current solution is workable really.

> One small thing: The button changes from Close to Cancel once there is
> something in the selection input field. However, I can't make it change
> back to Close again. I'd expect it to do this, if I clear the selection
> field. Also, after using Replace, I'd expect the selection field to clear 
> out, and the button to change to Close.

OK. The button controller stuff is often "fun". I'll fix this later.

> Also, I think you should bind this to shift+F7, at least in CUA. This

Thanks, I was hoping someone would suggest a good binding.

> Additionally, you should update the NEWS file, the documentation
> somewhere (probably extended.lyx, but maybe Mike can be convinced to put
> it in if you write it). Remember to add links to the dependent libraries.

yeah, I was going to do this later.

> or some other configure-wizard, is it a problem to extend the configure
> stuff to update such a file with information about detected programs and
> libraries that LyX can use?

hmm, won't this differ from the normal meaning of this file ? Normally I can
add a latex package and run "Re-configure". But you can't do this with dependencies
such as pspell, AikSaurus etc. AFAICS

thanks
john

-- 
My wife couldn't believe what she heard, so she asked the customer,
 "What's your daughter's name?" and the Induhvidual replied,
 "Ampersand.  I don't know what it means, but I think it's a lovely
 girl's name."



Re: Bug #11 (natbib)

2001-07-26 Thread Michael Schmitt

Ah!

That's tricky! I want LyX to use natbib and LyX checks whether I really
need it! (I have an old document, where all citet and citep commands are
given as latex code. Obviously, LyX does not identify them!)

BTW: Is there a way to use \usepackage[sort]{natbib} in the preamble and
activate natbib support in LyX at the same time?

Michael


-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==




Re: Bug #11 (natbib)

2001-07-26 Thread Angus Leeming

On Thursday 26 July 2001 17:06, Lars Gullik Bjønnes wrote:
> Angus Leeming <[EMAIL PROTECTED]> writes:
> 
> | On Thursday 26 July 2001 15:52, Michael Schmitt wrote:
> | > On Thu, 26 Jul 2001, Angus Leeming wrote:
> | > 
> | > > On Thursday 26 July 2001 15:11, Michael Schmitt wrote:
> | > > > Hi,
> | > > >
> | > > > I have activated natbib support in the document dialog but LyX does 
not
> | > > > write the corresponding "\usepackage[sort]{natbib}" statement when
> | > > > exporting LaTeX. Could someone please verify this (invalid) 
behavior?
> | > > >
> | > > E. Why would it? Do you see a "sort" option anywhere? This is 
> | preliminary
> | > > support for natbib
> | > 
> | > Such a sort option would be nice indeed! Maybe I was dreaming when I 
wrote
> | > my email :-)
> | > 
> | > But I would be very glad if I got a "usepackage" option at all! Maybe it
> | > has to do with the fact that my PhD is a multipart document? A possible
> | > explanation would be that the usepackage statement is only added in case
> | > of a citation and LyX just looks into the main document (where there is
> | > just a bibliography reference).
> | 
> | Light dawns!
> | Here is the method that checks whether we should have a "usepackage"  at 
the 
> | start of the document.
> | 
> | void InsetCitation::validate(LaTeXFeatures & features) const
> | {
> | if (getCmdName() != "cite" && features.bufferParams().use_natbib)
> | features.natbib = true;
> | }
> | 
> | Ie, go through each and every Citation inset and if any one of them is a 
> | citep, citet etc, then flag usepackage{natbib} for inclusion.
> | 
> | All of your citation commands are still "cite" aren't they?
> | 
> | There is little point in including natbib if you aren't going to use it!
> 
> But... I thought that natbib redefined "cite" as well?

Yes, but the point remains. You'll get the same output, whether or not you 
use natbib, so therefore don't use it. Why include unnecessary packages?

If I'm wrong (ie a cite is different when using natbib to when not using it) 
then of couurse the fix is trivial.

If I'm right, then I'd say leave things as they are.

Angus



Re: Bug #12

2001-07-26 Thread Michael Schmitt

Hmmm,

why are you talking about the math parser? It is a problem of the latex
export functionality. Or is the LyX file format for formula identical to
Latex code?

Michael

-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==




Re: [PATCH] english thesaurus

2001-07-26 Thread John Levon

On Thu, Jul 26, 2001 at 06:11:04PM +0200, Lars Gullik Bjønnes wrote:

> | Therefore, I think we should aceept the patch, with a few caveats.
> 
> Can you post the rediffed patch?

I'll post an up to date one with fixes.

john

-- 
My wife couldn't believe what she heard, so she asked the customer,
 "What's your daughter's name?" and the Induhvidual replied,
 "Ampersand.  I don't know what it means, but I think it's a lovely
 girl's name."



Re: Bug #12

2001-07-26 Thread Andre Poenitz

> It doesn't I don't think. There's a bug in this area with latex
> round-trips, if we \protect the math then when we read it back in from
> the latex the \protect shows up as latex in the lyx doc, then exporting
> adds *another* \protect etc.

Ignoring \protect when reading in is trivial.

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: Bug #12

2001-07-26 Thread Andre Poenitz

> Proposal: Replace all "\(" by "$" and the work is done.

As I said, this is not done in five minutes.

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: Bug #12

2001-07-26 Thread Andre Poenitz

> Or is the LyX file format for formula identical to Latex code?

It should in theory. 

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: Bug #12

2001-07-26 Thread Dekel Tsur

On Thu, Jul 26, 2001 at 05:25:36PM +0200, Andre Poenitz wrote:
> > We have. But the parser is still a bit messy, so my first quick shot at
> > replacing \( \) by $ $  failed some time ago, so I reverted that part...
> 
> Aehm... would it help, if I write \protect in front of \( and \) and ignore
> it when reading in?

When you write to the lyx file, you will never write the \protect commands, 
since InsetFormula::write calls to latex with fragile=false.




Re: Bug #12

2001-07-26 Thread Dekel Tsur

On Thu, Jul 26, 2001 at 06:24:29PM +0200, Andre Poenitz wrote:
> > It doesn't I don't think. There's a bug in this area with latex
> > round-trips, if we \protect the math then when we read it back in from
> > the latex the \protect shows up as latex in the lyx doc, then exporting
> > adds *another* \protect etc.
> 
> Ignoring \protect when reading in is trivial.

I think that the correct way to handle this is to make reLyX remove the
\protect commands.



Re: [PATCH] english thesaurus

2001-07-26 Thread Dekel Tsur

On Thu, Jul 26, 2001 at 05:38:44PM +0200, Asger K. Alstrup Nielsen wrote:
> On Tue, 24 Jul 2001, John Levon wrote:
> 
> > The attached patch uses libaiksaurus which in turn uses project gutenberg's english
> > thesaurus. hopefully the library will support wordnet soon.
> > 
> > http://aiken.clan11.com/aiksaurus/
> > 
> > (the auto stuff is a bit screwed up, you might have trouble building the library on
> >  anything not linux)
> > 
> > comments ?
> 
> The patch has rotten a bit, but the conflicts were trivial. It was
> however a pain in the ass to get AikSaurus to work, and then recompile LyX
> from scratch once again (I can't believe how slow compilation has gotten!)

Can't the AikSaurus support be added using an external program instead of
using the library ?



Re: [PATCH] english thesaurus

2001-07-26 Thread Asger K. Alstrup Nielsen

On Thu, 26 Jul 2001, John Levon wrote:

> On Thu, Jul 26, 2001 at 05:38:44PM +0200, Asger K. Alstrup Nielsen wrote:
> 
> > The patch has rotten a bit, but the conflicts were trivial. It was
> > however a pain in the ass to get AikSaurus to work
> 
> can you detail your problems ? I added the autotools stuff to AikSaurus,
> so probably screwed up some of it.

The problem was that I had an older version of BZip2 installed. It seemed
that version was too old for AikSaurus, but I need it for something else.
Therefore, I installed the newest version of BZip2 side-by-side with the
older one. However, the configure script of AikSaurus could not handle
this kind of setup, nomatter what options I tried to give it. It always
found the old version, and ignored the newer one.
In the end, I had to uninstall the old BZip2, configure and compile
AikSaurus, and then reinstall the old BZip2.

So, I think the problem could be fixed by adding a switch to the configure
script where you explicitly tell it where the BZip header files and
library files are placed.

> > or some other configure-wizard, is it a problem to extend the configure
> > stuff to update such a file with information about detected programs and
> > libraries that LyX can use?
> 
> hmm, won't this differ from the normal meaning of this file ? Normally I can
> add a latex package and run "Re-configure". But you can't do this with dependencies
> such as pspell, AikSaurus etc. AFAICS

I don't want to change what re-configure does for LaTeX. I just want the
code that builds LaTeXConfig.lyx to consider programs so that the user has
a chance to see what other programs and libraries might be nice
to have. Obviously, for libraries, the user would have to rebuild LyX
to use them, but for things like ChkTeX and imagemagick, which are
external programs that are not linked into LyX, it does make sense to
reconfigure and detect programs that LyX can exploit. Afterwards, the
user would then be able to typographically check his program, or include
a GIF picture.
Also, it is very useful to have one place to list all the programs and
libraries that LyX can use. It's quite a few these days.

Greets,

Asger





Re: Bug #12

2001-07-26 Thread Andre Poenitz

> LyX-1.1.6fix1 adds these \protect statements only inside of captions (and
> maybe some other critical constructs) but not to formula in common text.

There is a simple explanation: If I really do not understand something
after staring at it for a while (\approx `time drink -what beer -count 1`)
and it looks ugly, I remove it. 

Andre'

PS: Try latest CVS. This should be proper fix.

-- 
André Pönitz . [EMAIL PROTECTED]



Re: CVS Update: lyx-devel

2001-07-26 Thread Michael Schmitt

On Thu, 26 Jul 2001 [EMAIL PROTECTED] wrote:

> CVSROOT:  /usr/local/lyx/cvsroot
> Module name:  lyx-devel
> Repository:   lyx-devel/src/mathed/
> Changes by:   [EMAIL PROTECTED] 01/07/26 18:56:23
>
> Modified files:
>   lyx-devel/src/mathed/: math_hash.C math_matrixinset.C
>  math_parser.C math_parser.h
>
> Log message:
>   make '$' default delimiter for inline maths instead of \(...\)

Ah, so it took 15 minutes! More than three times as much as 5 minutes
:-)

Big thanks, Michael

-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==




Re: [PATCH] english thesaurus

2001-07-26 Thread John Levon

On Thu, Jul 26, 2001 at 07:56:09PM +0300, Dekel Tsur wrote:

> Can't the AikSaurus support be added using an external program instead of
> using the library ?

wouldn't it just add a load of ugly code dealing with another process' input and
output ? (yes)

and what would it win you ? You still have to build the external program.

john

-- 
My wife couldn't believe what she heard, so she asked the customer,
 "What's your daughter's name?" and the Induhvidual replied,
 "Ampersand.  I don't know what it means, but I think it's a lovely
 girl's name."



Re: Bug #11 (natbib)

2001-07-26 Thread Dekel Tsur

On Thu, Jul 26, 2001 at 05:17:57PM +0100, Angus Leeming wrote:
> > | All of your citation commands are still "cite" aren't they?
> > | 
> > | There is little point in including natbib if you aren't going to use it!
> > 
> > But... I thought that natbib redefined "cite" as well?
> 
> Yes, but the point remains. You'll get the same output, whether or not you 
> use natbib, so therefore don't use it. Why include unnecessary packages?

Not if the citation mode is author-year !
Even if you use numeric mode, the user might use some of natbib options
(e.g. sort) which can give different result than the standard latex \cite.




Re: [PATCH] english thesaurus

2001-07-26 Thread John Levon

On Thu, Jul 26, 2001 at 07:00:11PM +0200, Asger K. Alstrup Nielsen wrote:

> The problem was that I had an older version of BZip2 installed. It seemed
> that version was too old for AikSaurus, but I need it for something else.
> Therefore, I installed the newest version of BZip2 side-by-side with the
> older one. However, the configure script of AikSaurus could not handle
> this kind of setup, nomatter what options I tried to give it. It always
> found the old version, and ignored the newer one.

thanks. The easiest solution would be to look for a routine only present in
the new library. What is the version number of your old bzip2 ?

> So, I think the problem could be fixed by adding a switch to the configure
> script where you explicitly tell it where the BZip header files and
> library files are placed.

... or this solution.

> a chance to see what other programs and libraries might be nice
> to have. Obviously, for libraries, the user would have to rebuild LyX
> to use them, but for things like ChkTeX and imagemagick, which are

agreed.

> Also, it is very useful to have one place to list all the programs and
> libraries that LyX can use. It's quite a few these days.

this would be more a matter of documentation I think (since we need to describe
what they do and why a user might want them)

regards
john

p.s. forgot to say it's really good news you've got some time for lyx again !

-- 
My wife couldn't believe what she heard, so she asked the customer,
 "What's your daughter's name?" and the Induhvidual replied,
 "Ampersand.  I don't know what it means, but I think it's a lovely
 girl's name."



Re: XML configuration

2001-07-26 Thread ben

Jose Abilio Oliveira Matos a écrit :

> On Wed, Jul 25, 2001 at 07:13:04PM +0200, ben wrote:
>
> > >   Ok, I'll have a look into it.
> >
> > Fine! I will soon release db2lyx that contains the script. Don't hesitate to
> > make any remark.
>
>   I have been looking to reLyX, that is the older brother of db2lyx, and it
> has a configure level that is very similar to what your script is doing.
>   So I should have some suggestions soon.

Ok.

> [...]
> > At least some code from the script will be removed when it is integrated
> > enough with the current configure script, such that the code that patches
> > the configure file!
>
>   Yes. I agree here.
>   Did you try db2lyx with xlst from gnome. If that takes me the trouble to
> keep java well installed and configured I will switch right now. :-)

No, I haven't tried it. I will try it ASAP.

>   OT did you read the discussion of the future of typesetting in the
> docbook-apps mailling list. Funny to see Sebastian Rahtz opinion, basically
> he thinks that latex is a dead end, since the latex expertise is shrinking
> ever year. Also interesting was Michel Goossens reply.

Yes, quite interesting; I think that theorically S. Rahtz is right, since his
opinion is consistent with a full integrated XML/SGML solution, but practically
it seems not so easy to have a good PDF output (non-mature FO tools, difficult to
use and customize, no documentation available, etc.). That's why I appreciate the
M. Goossens reply that is more pragmatic, since he wants to have things working
now.

>   My question is if we will ever see a latex 3? 

Good question!

> --
> José

BG




Purify #9 (seg fault in mathed)

2001-07-26 Thread Michael Schmitt

Hi,

a new bug has slipped into mathed. I cannot longer read my document.
Purify output is attached.

Good luck, Michael

-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==


  Purify instrumented /home/schmitt/PureLyX/lyx-devel/src/lyx (pid 870 at Thu Jul 
26 19:17:53 2001)
  * Purify 2001a.04.00 Solaris 2 (32-bit) Copyright (C) 1992-2001 Rational Software 
Corp.  All rights reserved.  
  * For contact information type: "purify -help"
  * For TTY output, use the option "-windows=no"
  * Command-line: /home/schmitt/PureLyX/lyx-devel/src/lyx phd.lyx 
  * Options settings: -add-suppression-files=/home/schmitt/.purify,./.purify \
-free-queue-length=25000 -free-queue-threshold=5 -leaks-at-exit=yes \
-chain-length=64 -static-checking=yes -static-checking-guardzone=64 \
-static-checking-default=aggressive \
-jit-debug=ask,error,warning,watchpoint \
-cache-dir=/home/schmitt/Purify/Cache -always-use-cache-dir -g++=yes \
-purify \
-purify-home=/home/schmitt/Programme/Rational/releases/purify.sol.2001a.04.00 
  * License successfully checked out.
  * Command-line: /home/schmitt/PureLyX/lyx-devel/src/lyx phd.lyx 

  Purify instrumented /home/schmitt/PureLyX/lyx-devel/src/lyx (pid 870)  
UMR: Uninitialized memory read:
  * This is occurring while in:
_GLOBAL_.N.latex_special_chars::getuchar(istream*) [math_parser.C:88]
_GLOBAL_.N.latex_special_chars::yylex() [math_parser.C:315]
_GLOBAL_.N.latex_special_chars::mathed_parse(MathArray&,unsigned int) 
[math_parser.C:505]
mathed_parse_cell(const lyxstring&) [math_parser.C:822]
MathMacroTable::createTemplate(const lyxstring&,int,const lyxstring&) 
[math_macrotable.C:77]
MathMacroTable::builtinMacros() [math_macrotable.C:117]
MathMacroTable::hasTemplate(const lyxstring&) [math_macrotable.C:84]
_GLOBAL_.N.latex_special_chars::mathed_parse(MathArray&,unsigned int) 
[math_parser.C:743]
_GLOBAL_.N.latex_special_chars::mathed_parse() [math_parser.C:454]
mathed_parse(LyXLex&) [math_parser.C:847]
InsetFormula::read(LyXLex&) [formula.C:114]
InsetFormulaBase::read(const Buffer*,LyXLex&) [formulabase.C:144]
Buffer::readInset(LyXLex&,Paragraph*&,int&,LyXFont&) [buffer.C:1494]
Buffer::parseSingleLyXformat2Token(LyXLex&,Paragraph*&,Paragraph*&,const 
lyxstring&,int&,unsigned int&,LyXFont&) [buffer.C:1048]
InsetText::read(const Buffer*,LyXLex&) [insettext.C:249]
LyXTabular::ReadNew(const Buffer*,istream&,LyXLex&,const lyxstring&) 
[tabular.C:1332]
LyXTabular::Read(const Buffer*,LyXLex&) [tabular.C:1259]
LyXTabular::LyXTabular(const Buffer*,InsetTabular*,LyXLex&) [tabular.C:119]
InsetTabular::read(const Buffer*,LyXLex&) [insettabular.C:182]
Buffer::readInset(LyXLex&,Paragraph*&,int&,LyXFont&) [buffer.C:1494]
Buffer::parseSingleLyXformat2Token(LyXLex&,Paragraph*&,Paragraph*&,const 
lyxstring&,int&,unsigned int&,LyXFont&) [buffer.C:1048]
InsetText::read(const Buffer*,LyXLex&) [insettext.C:249]
InsetCollapsable::read(const Buffer*,LyXLex&) [insetcollapsable.C:123]
InsetFloat::read(const Buffer*,LyXLex&) [insetfloat.C:172]
Buffer::readInset(LyXLex&,Paragraph*&,int&,LyXFont&) [buffer.C:1494]
Buffer::parseSingleLyXformat2Token(LyXLex&,Paragraph*&,Paragraph*&,const 
lyxstring&,int&,unsigned int&,LyXFont&) [buffer.C:1048]
Buffer::readLyXformat2(LyXLex&,Paragraph*) [buffer.C:364]
Buffer::readFile(LyXLex&,Paragraph*) [buffer.C:1536]
BufferList::readFile(const lyxstring&,bool) [bufferlist.C:402]
InsetInclude::loadIfNeeded()const [insetinclude.C:220]
InsetInclude::validate(LaTeXFeatures&)const [insetinclude.C:404]
Paragraph::validate(LaTeXFeatures&)const [paragraph.C:372]
Buffer::validate(LaTeXFeatures&)const [buffer.C:3477]
Buffer::makeLaTeXFile(const lyxstring&,const lyxstring&,bool,bool) 
[buffer.C:1967]
Exporter::Export(Buffer*,const lyxstring&,bool,lyxstring&) [exporter.C:79]
Exporter::Preview(Buffer*,const lyxstring&) [exporter.C:107]
LyXFunc::dispatch(int,const lyxstring&) [lyxfunc.C:1057]
LyXFunc::processKeySym(unsigned long,unsigned int) [lyxfunc.C:355]
BufferView::Pimpl::workAreaKeyPress(unsigned long,unsigned int) 
[BufferView_pimpl.C:515]
SigC::ObjectSlot2_::callback(void*,unsigned long,unsigned int) [object_slot.h:250]
SigC::Signal2>:

Re: Improved latex preamble import in reLyX.

2001-07-26 Thread Dekel Tsur

On Wed, Jul 25, 2001 at 10:34:05PM +0100, Jose Abilio Oliveira Matos wrote:
> On Wed, Jul 25, 2001 at 03:03:40PM +0200, Jean-Marc Lasgouttes wrote:
> > 
> > You have to know the current language at this point of the document.
> 
>   Now I know the language of the document
>   How many ways there are to declare a local language?
>   Be it a paragraph or a chunck of text...

1. Change the language for the whole paragraph:
   \selectlanguage{french}
This should be translated to \lang french in the lyx file

2. Change the language for few words
   This is English \foreignlanguage{french}{This is French} Also English
This should be translated to
\lang french
This is French
\lang english

3. The \L and \R commands for Hebrew files.
 - \L{text} is a shortcut to \foreignlanguage{english}{text}
 - \R{text} is a shortcut to \foreignlanguage{hebrew}{text}



Re: CVS Update: lyx-devel

2001-07-26 Thread Dekel Tsur

On Thu, Jul 26, 2001 at 06:56:23PM +, [EMAIL PROTECTED] wrote:
> CVSROOT:  /usr/local/lyx/cvsroot
> Module name:  lyx-devel
> Repository:   lyx-devel/src/mathed/
> Changes by:   [EMAIL PROTECTED] 01/07/26 18:56:23
> 
> Modified files:
>   lyx-devel/src/mathed/: math_hash.C math_matrixinset.C 
>  math_parser.C math_parser.h 
> 
> Log message:
>   make '$' default delimiter for inline maths instead of \(...\)

Can you remove the space after the first $ ?
Namely, the formula 'x' is written as $ x$, where it should be $x$.



[PATCH] thesaurus again2.diff.gz

2001-07-26 Thread John Levon


here it is again, with cancel/close fixes and a key binding.

thanks
john

-- 
My wife couldn't believe what she heard, so she asked the customer,
 "What's your daughter's name?" and the Induhvidual replied,
 "Ampersand.  I don't know what it means, but I think it's a lovely
 girl's name."

 thes2.diff.gz


Re: [PATCH] english thesaurus

2001-07-26 Thread Dekel Tsur

On Thu, Jul 26, 2001 at 06:06:16PM +0100, John Levon wrote:
> On Thu, Jul 26, 2001 at 07:56:09PM +0300, Dekel Tsur wrote:
> 
> > Can't the AikSaurus support be added using an external program instead of
> > using the library ?
> 
> wouldn't it just add a load of ugly code dealing with another process' input and
> output ? (yes)
> 
> and what would it win you ? You still have to build the external program.

Not adding dependencies to a binary package.



Re: [PATCH] english thesaurus

2001-07-26 Thread Asger K. Alstrup Nielsen

On 26 Jul 2001, Lars Gullik Bjønnes wrote:

> On platforms that support it we can dynamically load the lib...
> That is probably the nicest solution. 

I don't see why. You have to compile AikSaurus nomatter what.
The stripped library has the amazing footprint of a full, whopping 
32 kilobytes, or to be exact 32528 bytes. 
It's ridiculous to dynamically link such a small library.

The potential problem is that AikSaurus is a new dependency, and it
in itself depends on bzip2lib. This problem is not solved by
dynamical linking or by introducing some complicated external
communication method with an external program. In fact, we can't 
solve this problem. Therefore, the patch does the correct thing: 
It detects whether AikSaurus and bzip2lib are present. If not, the
thesaurus feature is left out. This is the same as a lot of other
features we have, and IMO the only sensible thing to do.

Greets,

Asger




Re: [PATCH] english thesaurus

2001-07-26 Thread John Levon

On Thu, Jul 26, 2001 at 09:07:00PM +0200, Asger K. Alstrup Nielsen wrote:

> thesaurus feature is left out. This is the same as a lot of other
> features we have, and IMO the only sensible thing to do.

... so can someone apply it ? dealing with Changelog conflicts sucks :/

john

-- 
My wife couldn't believe what she heard, so she asked the customer,
 "What's your daughter's name?" and the Induhvidual replied,
 "Ampersand.  I don't know what it means, but I think it's a lovely
 girl's name."



Re: [PATCH] english thesaurus

2001-07-26 Thread Kayvan A. Sylvan

On Thu, Jul 26, 2001 at 09:07:00PM +0200, Asger K. Alstrup Nielsen wrote:
> solve this problem. Therefore, the patch does the correct thing: 
> It detects whether AikSaurus and bzip2lib are present. If not, the
> thesaurus feature is left out. This is the same as a lot of other
> features we have, and IMO the only sensible thing to do.

How should we deal with this in the RPMs?

Will we need to generate two binaries? (one depending on AikSaurus and bzip2lib
and one that does not?)
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: [PATCH] english thesaurus

2001-07-26 Thread John Levon

On Thu, Jul 26, 2001 at 01:22:15PM -0700, Kayvan A. Sylvan wrote:

> On Thu, Jul 26, 2001 at 09:07:00PM +0200, Asger K. Alstrup Nielsen wrote:
> > solve this problem. Therefore, the patch does the correct thing: 
> > It detects whether AikSaurus and bzip2lib are present. If not, the
> > thesaurus feature is left out. This is the same as a lot of other
> > features we have, and IMO the only sensible thing to do.
> 
> How should we deal with this in the RPMs?
> 
> Will we need to generate two binaries? (one depending on AikSaurus and bzip2lib
> and one that does not?)

I suppose we need AikSaurus RPMs for that. Hmmph.

You'll have the same problem with qt2 of course ...

john

-- 
"I'd rather be rudely informed than politely left in the dark."



Web Site Alert: Not Responding

2001-07-26 Thread mike . dever
Title: Web Site Alert: Not Responding

	
	
		There appears to be a problem in reaching your Web site at http://www.lyx.org/.


		Time of Error: 2001-07-26 16:29:56

		Error Type:  Time Out


		InternetSeer, a Web site monitoring company, is conducting an ongoing
study 
		of the true connectivity of the Web. As recommended by the Robots Guidelines, this email is
being sent to 
		explain our research activities and to let you know about the difficulty
in connecting to your site. 

		If you would like InternetSeer to continue to alert you at no charge whenever there is a 
		problem reaching your Web site,  click
here. 

		 
		InternetSeer does not store or publish the content of your pages, but rather uses 
		availability and link information for our research.Click
here to learn more about InternetSeer.
		
		Mike Dever
		President
		[EMAIL PROTECTED]
		
Note: If you prefer not to receive these occasional alerts regarding the availability of your
Web site, reply to this email with Cancel in the subject line. Please leave a full copy of
this message in the body of your reply email.

##[EMAIL PROTECTED]##
	


Re: [PATCH] english thesaurus

2001-07-26 Thread Kayvan A. Sylvan

On Thu, Jul 26, 2001 at 09:27:02PM +0100, John Levon wrote:
> On Thu, Jul 26, 2001 at 01:22:15PM -0700, Kayvan A. Sylvan wrote:
> 
> > On Thu, Jul 26, 2001 at 09:07:00PM +0200, Asger K. Alstrup Nielsen wrote:
> > > solve this problem. Therefore, the patch does the correct thing: 
> > > It detects whether AikSaurus and bzip2lib are present. If not, the
> > > thesaurus feature is left out. This is the same as a lot of other
> > > features we have, and IMO the only sensible thing to do.
> > 
> > How should we deal with this in the RPMs?
> > 
> > Will we need to generate two binaries? (one depending on AikSaurus and bzip2lib
> > and one that does not?)
> 
> I suppose we need AikSaurus RPMs for that. Hmmph.

Point me at the sources and I will do this:

1) Create AikSaurus RPMs.
2) Change the lyx CVS RPMs to require the AikSaurus RPMs.

All Linux systems I have access to have bzip2lib installed, so I think
that requiring the AikSaurus Saurus stuff for Linux is acceptable (since
it adds such a great feature).

Of course, anyone who did not want the feature could generate their
own RPM from the .src.rpm.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: [PATCH] english thesaurus

2001-07-26 Thread John Levon

On Thu, Jul 26, 2001 at 01:32:00PM -0700, Kayvan A. Sylvan wrote:

> > I suppose we need AikSaurus RPMs for that. Hmmph.
> 
> Point me at the sources and I will do this:
> 
> 1) Create AikSaurus RPMs.
> 2) Change the lyx CVS RPMs to require the AikSaurus RPMs.

I need to write a .spec file

> All Linux systems I have access to have bzip2lib installed, so I think
> that requiring the AikSaurus Saurus stuff for Linux is acceptable (since
> it adds such a great feature).

how hard would it be to build non-dependent ones too ? Aik is a 2.7Mb download ...

> Of course, anyone who did not want the feature could generate their
> own RPM from the .src.rpm.

true

thanks
john

-- 
"I'd rather be rudely informed than politely left in the dark."



Re: [PATCH] english thesaurus

2001-07-26 Thread Kayvan A. Sylvan

On Thu, Jul 26, 2001 at 09:37:34PM +0100, John Levon wrote:
> On Thu, Jul 26, 2001 at 01:32:00PM -0700, Kayvan A. Sylvan wrote:
> 
> > > I suppose we need AikSaurus RPMs for that. Hmmph.
> > 
> > Point me at the sources and I will do this:
> > 
> > 1) Create AikSaurus RPMs.
> > 2) Change the lyx CVS RPMs to require the AikSaurus RPMs.
> 
> I need to write a .spec file
> 
> > All Linux systems I have access to have bzip2lib installed, so I think
> > that requiring the AikSaurus Saurus stuff for Linux is acceptable (since
> > it adds such a great feature).
> 
> how hard would it be to build non-dependent ones too ? Aik is a 2.7Mb download ...

Not too hard. I guess I can do both.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: Improved latex preamble import in reLyX.

2001-07-26 Thread Amir Karger

On Thu, Jul 26, 2001 at 08:26:21PM +0300, Dekel Tsur wrote:
> On Wed, Jul 25, 2001 at 10:34:05PM +0100, Jose Abilio Oliveira Matos wrote:
> > On Wed, Jul 25, 2001 at 03:03:40PM +0200, Jean-Marc Lasgouttes wrote:
> > > 
> 
> 3. The \L and \R commands for Hebrew files.
>  - \L{text} is a shortcut to \foreignlanguage{english}{text}
>  - \R{text} is a shortcut to \foreignlanguage{hebrew}{text}

But \L and \R may mean different things in non-Hebrew files, right?

-Amir



reLyX

2001-07-26 Thread Amir Karger

Yes, I'm still alive.

Jose, it's great to see that you made progress on the reLyX stuff. I took a
brief look at it and it looked fine, although I might have done a couple
things differently. Unfortunately, I don't have much free time, or I could
try to help with the uninstalled reLyX problem. Still, it was nice to see a
file in reLyX/ updated more recently than 2 years ago.

-Amir



Re: UserGuide.lyx LaTeX-ing problems

2001-07-26 Thread Kayvan A. Sylvan

On Thu, Jul 26, 2001 at 05:13:54PM +0200, Herbert Voss wrote:
> Juergen Vigna wrote:
> > 
> > I'm now able to load the UserGuide in lyx-cvs. But when I want to LaTeX
> > it I get errors because some subsection have an underscore for the first
> > character in their text. I tracked that down to the \usepackage{colors}
> > if I remove that package from the produced LaTeX file I have no problems
> > latexing the exported UserGuide.
> > 
> > Is this a known problem for the "color"-package???
> 
> i have no \usepackage{color} in the preamble of my
> UserGuide.lyx

I have reproduced this problem. Also, Tutorial.lyx produces the
same type of problem (with a much smaller input file).

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Footnote inset rendering problem

2001-07-26 Thread Kayvan A. Sylvan

Using the 1.2.0cvs lyx version, open up .../doc/Tutorial.lyx,

1) scroll down to section 1.3.2, where there is a footnote.

2) Resize the LyX screen so that not all the footnote shows up (it goes off
   the right edge of the screen).

3) Now, put the cursor insider the footnote inset, you can right-arrow all
   the way to the edge of the screen (and beyond!!) without being able to
   see the whole inset text.

This is obviously a problem, since it makes editing moderate-sized footnotes
impossible with current CVS.

-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



usepackage{color}

2001-07-26 Thread Kayvan A. Sylvan

I've been looking at te new \usepackage{color} in LaTeX output problem...

I think it has to do with the way the way the ERT inset is created:

\begin_inset ERT
collapsed true

\layout Standard


\family typewriter
\color latex
\lang ignore

\backslash
linebreak
\end_inset

The "\color latex" causes the color feature to be set to true, which
then causes the \usepackage[none]{color} line to be output.

Also, the "\lang ignore" is making these messages come up upon reload:

LyX: Unknown language `ignore' [around line 2595 of file ~/Tutorial.lyx]
LyX: Unknown language `ignore' [around line 3358 of file ~/Tutorial.lyx]
LyX: Unknown language `ignore' [around line 3395 of file ~/Tutorial.lyx]

Saving and reloading again causes the \lang ignore lines to disappear,
which causes the blue underlining to disappear, but the color problem
is still there.

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Is baywatch down?

2001-07-26 Thread Kayvan A. Sylvan

The anon cvs mirror that I am hosting has not managed to connect
to baywatch for several hours.

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)



Re: Is baywatch down?

2001-07-26 Thread Baruch Even

There was a message from Lars about a scheduled down time due to work on
the electricity network, probably that's the reason.

I've tried to update and create a patch from CVS and it's inaccessible
for hours now.

* Kayvan A. Sylvan <[EMAIL PROTECTED]> [010727 04:33]:
> The anon cvs mirror that I am hosting has not managed to connect
> to baywatch for several hours.
> 
>   ---Kayvan
> -- 
> Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
> Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
> http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)

-- 
Baruch Even
http://baruch.ev-en.org/



Re: UserGuide.lyx LaTeX-ing problems

2001-07-26 Thread Mike Ressler

On Thu, 26 Jul 2001, Kayvan A. Sylvan wrote:
> On Thu, Jul 26, 2001 at 05:13:54PM +0200, Herbert Voss wrote:
> > Juergen Vigna wrote:
> > > I'm now able to load the UserGuide in lyx-cvs. But when I want to LaTeX
> > > it I get errors because some subsection have an underscore for the first
> > > character in their text. I tracked that down to the \usepackage{colors}
> > > if I remove that package from the produced LaTeX file I have no problems
> > > latexing the exported UserGuide.
> > >
> > > Is this a known problem for the "color"-package???
> >
> > i have no \usepackage{color} in the preamble of my
> > UserGuide.lyx
>
> I have reproduced this problem. Also, Tutorial.lyx produces the
> same type of problem (with a much smaller input file).

I have been laboring mightily to convert all the docs to 1.2.0 and have
not yet succeeded in getting the UG, Tutorial, and Customization to
convert for all of the above reasons. Keep an eye on lyxdoc CVS; I will
keep banging on them for the next couple of days ...

Mike

-- 
Mike Ressler
[EMAIL PROTECTED]
OK, I'm lame: I don't have my own website ...




Re: UserGuide.lyx LaTeX-ing problems

2001-07-26 Thread Kayvan A. Sylvan

> I have been laboring mightily to convert all the docs to 1.2.0 and have
> not yet succeeded in getting the UG, Tutorial, and Customization to
> convert for all of the above reasons. Keep an eye on lyxdoc CVS; I will
> keep banging on them for the next couple of days ...
> 
> Mike

The problems are due to bugs introduced by the ERT inset changes.

They will be fixed soon, I'm sure.

---Kayvan



Re: CVS Update: lyx-devel

2001-07-26 Thread Andre Poenitz

> Can you remove the space after the first $ ?
> Namely, the formula 'x' is written as $ x$, where it should be $x$.

Does this hurt? If I do that I need to be careful with empty formulae as
LaTeX does not seen to like two $ in a row...

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]