Re: prettyref latex errors - again

2003-06-22 Thread Angus Leeming
Alexandru Cabuz wrote: then when you use prettyref, you have to type \prettyref{eq|Max4} instead Is there no way to get lyx to put in the | instead of the : directly or to figure something out so I don't have to actually type the stuff? That's kinda the benefit of using Lyx over direct Tex.

Re: prettyref latex errors - again

2003-06-22 Thread Angus Leeming
Alexandru Cabuz wrote: then when you use prettyref, you have to type \prettyref{eq|Max4} instead Is there no way to get lyx to put in the | instead of the : directly or to figure something out so I don't have to actually type the stuff? That's kinda the benefit of using Lyx over direct Tex.

Re: prettyref latex errors - again

2003-06-22 Thread Angus Leeming
Alexandru Cabuz wrote: >> then when you use prettyref, you have to type \prettyref{eq|Max4} instead > > Is there no way to get lyx to put in the "|" instead of the ":" directly > or to figure something out so I don't have to actually type the stuff? > That's kinda the benefit of using Lyx over

Re: prettyref latex errors - again

2003-06-21 Thread Alexandru Cabuz
then when you use prettyref, you have to type \prettyref{eq|Max4} instead Is there no way to get lyx to put in the | instead of the : directly or to figure something out so I don't have to actually type the stuff? That's kinda the benefit of using Lyx over direct Tex. You don't have to type as

Re: prettyref latex errors - again

2003-06-21 Thread Alexandru Cabuz
then when you use prettyref, you have to type \prettyref{eq|Max4} instead Is there no way to get lyx to put in the | instead of the : directly or to figure something out so I don't have to actually type the stuff? That's kinda the benefit of using Lyx over direct Tex. You don't have to type as

Re: prettyref latex errors - again

2003-06-21 Thread Alexandru Cabuz
> then when you use prettyref, you have to type \prettyref{eq|Max4} instead Is there no way to get lyx to put in the "|" instead of the ":" directly or to figure something out so I don't have to actually type the stuff? That's kinda the benefit of using Lyx over direct Tex. You don't have to

Re: prettyref latex errors - again

2003-06-19 Thread Alexandru Cabuz
Add at the beginning of the document \catcode`:=12 in latex mode. Added that in ERT. Made no difference. Also, I tried running lyx as LANG=en_US lyx and then tried again, no difference. Although that does not prove the problem is not related to the locale. The rest of my system,

Re: prettyref latex errors - again

2003-06-19 Thread Charpentier Philippe
Ensuite nous éliminons \begin_inset Formula $\mathbf{E}$ \end_inset dans eq. \begin_inset LatexCommand \prettyref{eq:Max4} \end_inset The problem comes from the language frenchb which redefine ':'. If you want to use frenchb with prettyref you have to rewrite prettyref.sty For example you

Re: prettyref latex errors - again

2003-06-19 Thread Alexandru Cabuz
Note. if you redefine ':' (for example by \catcode`:=12) in the begining of the document to be able to use the original prettyref, you loose the definition of ':' in frenchb, and, for me, this is a bad solution. I don't write the references, I just insert them using the menu. So I don't

Re: prettyref latex errors - again

2003-06-19 Thread Alexandru Cabuz
Thanks. Now it works. For some reason I had inserted that ERT after the title and it did not seem to work. Now it's OK though. Alex.

Re: prettyref latex errors - again

2003-06-19 Thread Philippe Charpentier
On Thu, 19 Jun 2003 13:49:44 +0200 Alexandru Cabuz [EMAIL PROTECTED] wrote: Note. if you redefine ':' (for example by \catcode`:=12) in the begining of the document to be able to use the original prettyref, you loose the definition of ':' in frenchb, and, for me, this is a bad solution.

Re: prettyref latex errors - again

2003-06-19 Thread Alexandru Cabuz
Add at the beginning of the document \catcode`:=12 in latex mode. Added that in ERT. Made no difference. Also, I tried running lyx as LANG=en_US lyx and then tried again, no difference. Although that does not prove the problem is not related to the locale. The rest of my system,

Re: prettyref latex errors - again

2003-06-19 Thread Charpentier Philippe
Ensuite nous éliminons \begin_inset Formula $\mathbf{E}$ \end_inset dans eq. \begin_inset LatexCommand \prettyref{eq:Max4} \end_inset The problem comes from the language frenchb which redefine ':'. If you want to use frenchb with prettyref you have to rewrite prettyref.sty For example you

Re: prettyref latex errors - again

2003-06-19 Thread Alexandru Cabuz
Note. if you redefine ':' (for example by \catcode`:=12) in the begining of the document to be able to use the original prettyref, you loose the definition of ':' in frenchb, and, for me, this is a bad solution. I don't write the references, I just insert them using the menu. So I don't

Re: prettyref latex errors - again

2003-06-19 Thread Alexandru Cabuz
Thanks. Now it works. For some reason I had inserted that ERT after the title and it did not seem to work. Now it's OK though. Alex.

Re: prettyref latex errors - again

2003-06-19 Thread Philippe Charpentier
On Thu, 19 Jun 2003 13:49:44 +0200 Alexandru Cabuz [EMAIL PROTECTED] wrote: Note. if you redefine ':' (for example by \catcode`:=12) in the begining of the document to be able to use the original prettyref, you loose the definition of ':' in frenchb, and, for me, this is a bad solution.

Re: prettyref latex errors - again

2003-06-19 Thread Alexandru Cabuz
> Add at the beginning of the document > \catcode`:=12 > in latex mode. Added that in ERT. Made no difference. Also, I tried running lyx as LANG="en_US" lyx& and then tried again, no difference. Although that does not prove the problem is not related to the locale. The rest of my system,

Re: prettyref latex errors - again

2003-06-19 Thread Charpentier Philippe
>Ensuite nous éliminons >\begin_inset Formula $\mathbf{E}$ >\end_inset > > dans eq. > >\begin_inset LatexCommand \prettyref{eq:Max4} > >\end_inset The problem comes from the language frenchb which redefine ':'. If you want to use frenchb with prettyref you have to rewrite prettyref.sty For

Re: prettyref latex errors - again

2003-06-19 Thread Alexandru Cabuz
> Note. if you redefine ':' (for example by \catcode`:=12) in the begining > of the document to be able to use the original prettyref, you loose > the definition of ':' in frenchb, and, for me, this is a bad solution. I don't write the references, I just insert them using the menu. So I don't

Re: prettyref latex errors - again

2003-06-19 Thread Alexandru Cabuz
Thanks. Now it works. For some reason I had inserted that ERT after the title and it did not seem to work. Now it's OK though. Alex.

Re: prettyref latex errors - again

2003-06-19 Thread Philippe Charpentier
On Thu, 19 Jun 2003 13:49:44 +0200 Alexandru Cabuz <[EMAIL PROTECTED]> wrote: > > Note. if you redefine ':' (for example by \catcode`:=12) in the begining > > of the document to be able to use the original prettyref, you loose > > the definition of ':' in frenchb, and, for me, this is a bad

prettyref latex errors - again

2003-06-18 Thread Alexandru Cabuz
I keep getting these pesky latex errors whenever I try using prettyref. It says. Paragraph ended before [EMAIL PROTECTED] was complete. I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing

Re: prettyref latex errors - again

2003-06-18 Thread Juergen Spitzmueller
Alexandru Cabuz wrote: Here is the offending part of the lyx file, if it helps. Can you please send a complete, but minimal lyx file that demonstrates the error? Juergen.

Re: prettyref latex errors - again

2003-06-18 Thread Matej Cepl
On 2003-06-18, 13:39 GMT, Alexandru Cabuz wrote: I keep getting these pesky latex errors whenever I try using prettyref. Could you please provide minimal (complete) .lyx document showing this behavior? Also the version of LyX, TeX distribution, and operating system would be helpful. Best,

Re: prettyref latex errors - again

2003-06-18 Thread Alexandru Ioan Cabuz
Could you please provide minimal (complete) .lyx document showing this behavior? Also the version of LyX, TeX distribution, and operating system would be helpful. RedHat 9 tetex and tetex-latex 1.0.7-66 Lyx 1.3.2. File is attached. It gives the same error as in my document. However if I

prettyref latex errors - again

2003-06-18 Thread Alexandru Cabuz
I keep getting these pesky latex errors whenever I try using prettyref. It says. Paragraph ended before [EMAIL PROTECTED] was complete. I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing

Re: prettyref latex errors - again

2003-06-18 Thread Juergen Spitzmueller
Alexandru Cabuz wrote: Here is the offending part of the lyx file, if it helps. Can you please send a complete, but minimal lyx file that demonstrates the error? Juergen.

Re: prettyref latex errors - again

2003-06-18 Thread Matej Cepl
On 2003-06-18, 13:39 GMT, Alexandru Cabuz wrote: I keep getting these pesky latex errors whenever I try using prettyref. Could you please provide minimal (complete) .lyx document showing this behavior? Also the version of LyX, TeX distribution, and operating system would be helpful. Best,

Re: prettyref latex errors - again

2003-06-18 Thread Alexandru Ioan Cabuz
Could you please provide minimal (complete) .lyx document showing this behavior? Also the version of LyX, TeX distribution, and operating system would be helpful. RedHat 9 tetex and tetex-latex 1.0.7-66 Lyx 1.3.2. File is attached. It gives the same error as in my document. However if I

prettyref latex errors - again

2003-06-18 Thread Alexandru Cabuz
I keep getting these pesky latex errors whenever I try using prettyref. It says. Paragraph ended before [EMAIL PROTECTED] was complete. I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing

Re: prettyref latex errors - again

2003-06-18 Thread Juergen Spitzmueller
Alexandru Cabuz wrote: > Here is the offending part of the lyx file, if it helps. Can you please send a complete, but minimal lyx file that demonstrates the error? Juergen.

Re: prettyref latex errors - again

2003-06-18 Thread Matej Cepl
On 2003-06-18, 13:39 GMT, Alexandru Cabuz wrote: > I keep getting these pesky latex errors whenever I try using prettyref. Could you please provide minimal (complete) .lyx document showing this behavior? Also the version of LyX, TeX distribution, and operating system would be helpful. Best,

Re: prettyref latex errors - again

2003-06-18 Thread Alexandru Ioan Cabuz
> Could you please provide minimal (complete) .lyx document showing this > behavior? Also the version of LyX, TeX distribution, and operating > system would be helpful. RedHat 9 tetex and tetex-latex 1.0.7-66 Lyx 1.3.2. File is attached. It gives the same error as in my document. However if I