Re: way to add code before \documentclass{}

2012-01-03 Thread Bogdan
On 03-Jan-12 4:11 pm, Richard Heck wrote: On 01/03/2012 03:45 AM, Guenter Milde wrote: On 2012-01-01, Bogdan wrote: On 01-Jan-12 6:07 pm, Uwe Stöhr wrote: Am 01.01.2012 16:15, schrieb Richard Heck: On 12/31/2011 05:51 PM, Bogdan wrote: Is there *any* way to make LyX add latex code before

Re: way to add code before \documentclass{}

2012-01-03 Thread Bogdan
On 03-Jan-12 4:11 pm, Richard Heck wrote: On 01/03/2012 03:45 AM, Guenter Milde wrote: On 2012-01-01, Bogdan wrote: On 01-Jan-12 6:07 pm, Uwe Stöhr wrote: Am 01.01.2012 16:15, schrieb Richard Heck: On 12/31/2011 05:51 PM, Bogdan wrote: Is there *any* way to make LyX add latex code before

Re: way to add code before \documentclass{}

2012-01-03 Thread Bogdan
On 03-Jan-12 4:11 pm, Richard Heck wrote: On 01/03/2012 03:45 AM, Guenter Milde wrote: On 2012-01-01, Bogdan wrote: On 01-Jan-12 6:07 pm, Uwe Stöhr wrote: Am 01.01.2012 16:15, schrieb Richard Heck: On 12/31/2011 05:51 PM, Bogdan wrote: Is there *any* way to make LyX add latex code before

Re: problem with custom converter (bug?) - workaround provided

2012-01-02 Thread Bogdan
Hi Murat, thanks for replying. My example was only to illustrate that there seems to be a bug when defining converters. Thanks for reminding me about branches though. Bogdan. On 02-Jan-12 6:30 am, Murat Yildizoglu wrote: Hi Bogdan, I have not yet used it myself but, it seems

Re: problem with custom converter (bug?) - workaround provided

2012-01-02 Thread Bogdan
On 02-Jan-12 9:23 pm, Richard Heck wrote: On 01/01/2012 07:43 PM, Bogdan wrote: Actually, I just discovered that the expansion of $$i is put at the end of the actual command LyX launches no matter what I use for the converter command, e.g. if the converter command is: pdflatexna $$i 20 20

Re: problem with custom converter (bug?) - workaround provided

2012-01-02 Thread Bogdan
On 02-Jan-12 10:32 pm, Richard Heck wrote: On 01/02/2012 05:10 PM, Richard Heck wrote: On 01/02/2012 04:35 PM, Bogdan Roman wrote: - create format foo with short name pdf7 and extension pdf and check all 3 checkboxes - create a converter Latex (pdflatex) - foo with the command pdflatexfoo $$i

Re: way to add code before \documentclass{}

2012-01-02 Thread Bogdan
On 02-Jan-12 12:46 am, Richard Heck wrote: On 01/01/2012 06:46 PM, Bogdan wrote: On 01-Jan-12 10:00 pm, Richard Heck wrote: On 01/01/2012 04:27 PM, Bogdan wrote: pdflatex \def\myvar{true}\input{myfile.tex} One way to do this, then, would be (a) to define a new file format, call it pdfx

Re: way to add code before \documentclass{}

2012-01-02 Thread Bogdan
On 03-Jan-12 3:18 am, Bogdan wrote: Whenever the converter is called (view, update, export, etc), the wrapper will parse and replace the \documentclass[]{} definition accordingly. In my example above, LyX would output the following tex code: %% LyX 2.0.2 created this file. For more info, see

Re: problem with custom converter (bug?) - workaround provided

2012-01-02 Thread Bogdan
Hi Murat, thanks for replying. My example was only to illustrate that there seems to be a bug when defining converters. Thanks for reminding me about branches though. Bogdan. On 02-Jan-12 6:30 am, Murat Yildizoglu wrote: Hi Bogdan, I have not yet used it myself but, it seems

Re: problem with custom converter (bug?) - workaround provided

2012-01-02 Thread Bogdan
On 02-Jan-12 9:23 pm, Richard Heck wrote: On 01/01/2012 07:43 PM, Bogdan wrote: Actually, I just discovered that the expansion of $$i is put at the end of the actual command LyX launches no matter what I use for the converter command, e.g. if the converter command is: pdflatexna $$i 20 20

Re: problem with custom converter (bug?) - workaround provided

2012-01-02 Thread Bogdan
On 02-Jan-12 10:32 pm, Richard Heck wrote: On 01/02/2012 05:10 PM, Richard Heck wrote: On 01/02/2012 04:35 PM, Bogdan Roman wrote: - create format foo with short name pdf7 and extension pdf and check all 3 checkboxes - create a converter Latex (pdflatex) - foo with the command pdflatexfoo $$i

Re: way to add code before \documentclass{}

2012-01-02 Thread Bogdan
On 02-Jan-12 12:46 am, Richard Heck wrote: On 01/01/2012 06:46 PM, Bogdan wrote: On 01-Jan-12 10:00 pm, Richard Heck wrote: On 01/01/2012 04:27 PM, Bogdan wrote: pdflatex \def\myvar{true}\input{myfile.tex} One way to do this, then, would be (a) to define a new file format, call it pdfx

Re: way to add code before \documentclass{}

2012-01-02 Thread Bogdan
On 03-Jan-12 3:18 am, Bogdan wrote: Whenever the converter is called (view, update, export, etc), the wrapper will parse and replace the \documentclass[]{} definition accordingly. In my example above, LyX would output the following tex code: %% LyX 2.0.2 created this file. For more info, see

Re: problem with custom converter (bug?) - workaround provided

2012-01-02 Thread Bogdan
Hi Murat, thanks for replying. My example was only to illustrate that there seems to be a bug when defining converters. Thanks for reminding me about branches though. Bogdan. On 02-Jan-12 6:30 am, Murat Yildizoglu wrote: Hi Bogdan, I have not yet used it myself but, it seems

Re: problem with custom converter (bug?) - workaround provided

2012-01-02 Thread Bogdan
On 02-Jan-12 9:23 pm, Richard Heck wrote: On 01/01/2012 07:43 PM, Bogdan wrote: Actually, I just discovered that the expansion of $$i is put at the end of the actual command LyX launches no matter what I use for the converter command, e.g. if the converter command is: pdflatexna $$i 20 20

Re: problem with custom converter (bug?) - workaround provided

2012-01-02 Thread Bogdan
On 02-Jan-12 10:32 pm, Richard Heck wrote: On 01/02/2012 05:10 PM, Richard Heck wrote: On 01/02/2012 04:35 PM, Bogdan Roman wrote: - create format "foo" with short name "pdf7" and extension "pdf" and check all 3 checkboxes - create a converter Latex (pdf

Re: way to add code before \documentclass{}

2012-01-02 Thread Bogdan
On 02-Jan-12 12:46 am, Richard Heck wrote: On 01/01/2012 06:46 PM, Bogdan wrote: On 01-Jan-12 10:00 pm, Richard Heck wrote: On 01/01/2012 04:27 PM, Bogdan wrote: pdflatex "\def\myvar{true}\input{myfile.tex}" One way to do this, then, would be (a) to define a new file format, ca

Re: way to add code before \documentclass{}

2012-01-02 Thread Bogdan
On 03-Jan-12 3:18 am, Bogdan wrote: Whenever the converter is called (view, update, export, etc), the wrapper will parse and replace the \documentclass[]{} definition accordingly. In my example above, LyX would output the following tex code: %% LyX 2.0.2 created this file. For more info, see

Re: way to add code before \documentclass{}

2012-01-01 Thread Bogdan
On 01-Jan-12 6:07 pm, Uwe Stöhr wrote: Am 01.01.2012 16:15, schrieb Richard Heck: On 12/31/2011 05:51 PM, Bogdan wrote: Is there *any* way to make LyX add latex code before the \documentclass{} call? I do not think so. And I have never seen this and I doubt that this will work because

Re: way to add code before \documentclass{}

2012-01-01 Thread Bogdan
On 01-Jan-12 10:00 pm, Richard Heck wrote: On 01/01/2012 04:27 PM, Bogdan wrote: pdflatex \def\myvar{true}\input{myfile.tex} One way to do this, then, would be (a) to define a new file format, call it pdfx (more or less copy over the definition of the PDF (pdflatex) format, but making

problem with custom converter (bug?) - workaround provided

2012-01-01 Thread Bogdan
{yes}\input{%~1} (the %~1 instead of %1 is to strip any double quotes) ... and then use the following command for the converter: pdflatexna $$i Cheers, Bogdan.

Re: problem with custom converter (bug?) - workaround provided

2012-01-01 Thread Bogdan
Actually, I just discovered that the expansion of $$i is put at the end of the actual command LyX launches no matter what I use for the converter command, e.g. if the converter command is: pdflatexna $$i 20 20 then LyX is actually executing: pdflatexna 20 20 sheet.tex Nasty :) Bogdan

Re: way to add code before \documentclass{}

2012-01-01 Thread Bogdan
On 01-Jan-12 6:07 pm, Uwe Stöhr wrote: Am 01.01.2012 16:15, schrieb Richard Heck: On 12/31/2011 05:51 PM, Bogdan wrote: Is there *any* way to make LyX add latex code before the \documentclass{} call? I do not think so. And I have never seen this and I doubt that this will work because

Re: way to add code before \documentclass{}

2012-01-01 Thread Bogdan
On 01-Jan-12 10:00 pm, Richard Heck wrote: On 01/01/2012 04:27 PM, Bogdan wrote: pdflatex \def\myvar{true}\input{myfile.tex} One way to do this, then, would be (a) to define a new file format, call it pdfx (more or less copy over the definition of the PDF (pdflatex) format, but making

problem with custom converter (bug?) - workaround provided

2012-01-01 Thread Bogdan
{yes}\input{%~1} (the %~1 instead of %1 is to strip any double quotes) ... and then use the following command for the converter: pdflatexna $$i Cheers, Bogdan.

Re: problem with custom converter (bug?) - workaround provided

2012-01-01 Thread Bogdan
Actually, I just discovered that the expansion of $$i is put at the end of the actual command LyX launches no matter what I use for the converter command, e.g. if the converter command is: pdflatexna $$i 20 20 then LyX is actually executing: pdflatexna 20 20 sheet.tex Nasty :) Bogdan

Re: way to add code before \documentclass{}

2012-01-01 Thread Bogdan
On 01-Jan-12 6:07 pm, Uwe Stöhr wrote: Am 01.01.2012 16:15, schrieb Richard Heck: On 12/31/2011 05:51 PM, Bogdan wrote: Is there *any* way to make LyX add latex code before the \documentclass{} call? I do not think so. And I have never seen this and I doubt that this will work because

Re: way to add code before \documentclass{}

2012-01-01 Thread Bogdan
On 01-Jan-12 10:00 pm, Richard Heck wrote: On 01/01/2012 04:27 PM, Bogdan wrote: pdflatex "\def\myvar{true}\input{myfile.tex}" One way to do this, then, would be (a) to define a new file format, call it pdfx (more or less copy over the definition of the PDF (pdflatex) format,

problem with custom converter (bug?) - workaround provided

2012-01-01 Thread Bogdan
ng in a cmd script pdflatexna.bat placed in lyx/bin with the contents: @pdflatex "\def\noanswers{yes}\input{%~1}" (the %~1 instead of %1 is to strip any double quotes) ... and then use the following command for the converter: pdflatexna $$i Cheers, Bogdan.

Re: problem with custom converter (bug?) - workaround provided

2012-01-01 Thread Bogdan
Actually, I just discovered that the expansion of $$i is put at the end of the actual command LyX launches no matter what I use for the converter command, e.g. if the converter command is: pdflatexna $$i 20 20 then LyX is actually executing: pdflatexna 20 20 sheet.tex Nasty :) Bogdan

way to add code before \documentclass{}

2011-12-31 Thread Bogdan
for IEEEtran. Could I define a new layout, inheriting from the IEEEtran one and have my latex code appear there maybe? Thanks in advance (and Happy new year by the way), Bogdan p.s. If not, I think this is a worthy enhancement to have in LyX. Opinions?

way to add code before \documentclass{}

2011-12-31 Thread Bogdan
for IEEEtran. Could I define a new layout, inheriting from the IEEEtran one and have my latex code appear there maybe? Thanks in advance (and Happy new year by the way), Bogdan p.s. If not, I think this is a worthy enhancement to have in LyX. Opinions?

way to add code before \documentclass{}

2011-12-31 Thread Bogdan
for IEEEtran. Could I define a new layout, inheriting from the IEEEtran one and have my latex code appear there maybe? Thanks in advance (and Happy new year by the way), Bogdan p.s. If not, I think this is a worthy enhancement to have in LyX. Opinions?

Re: paragraph inside environments and other issues

2011-12-30 Thread Bogdan
)? Right now LyX terminates the Proof and the Paragraph appears outside the Proof. Bogdan.

Re: paragraph inside environments and other issues

2011-12-30 Thread Bogdan
On 30-Dec-11 9:34 pm, Bogdan wrote: On 29-Dec-11 10:08 pm, Paul A. Rubin wrote: First issue: insert a separator environment between the two problems. Second issue: try nesting the subenvironment within the proof. I don't have LyX handy, but there are menu and (I believe) tool bar entries

Re: paragraph inside environments and other issues

2011-12-30 Thread Bogdan
)? Right now LyX terminates the Proof and the Paragraph appears outside the Proof. Bogdan.

Re: paragraph inside environments and other issues

2011-12-30 Thread Bogdan
On 30-Dec-11 9:34 pm, Bogdan wrote: On 29-Dec-11 10:08 pm, Paul A. Rubin wrote: First issue: insert a separator environment between the two problems. Second issue: try nesting the subenvironment within the proof. I don't have LyX handy, but there are menu and (I believe) tool bar entries

Re: paragraph inside environments and other issues

2011-12-30 Thread Bogdan
)? Right now LyX terminates the Proof and the Paragraph appears outside the Proof. Bogdan.

Re: paragraph inside environments and other issues

2011-12-30 Thread Bogdan
On 30-Dec-11 9:34 pm, Bogdan wrote: On 29-Dec-11 10:08 pm, Paul A. Rubin wrote: First issue: insert a separator environment between the two problems. Second issue: try nesting the subenvironment within the proof. I don't have LyX handy, but there are menu and (I believe) tool bar entries

paragraph inside environments and other issues

2011-12-29 Thread Bogdan
then the entire Proof turns into a Paragraph. How can I easily do this without resorting to typing in Latex code (CTRL-L) while inside a Proof? Would defining additional layout style in LyX allow this? I'd like to preserve the Proof's environment QED square symbol at the end. Any tips? Cheers, Bogdan.

paragraph inside environments and other issues

2011-12-29 Thread Bogdan
then the entire Proof turns into a Paragraph. How can I easily do this without resorting to typing in Latex code (CTRL-L) while inside a Proof? Would defining additional layout style in LyX allow this? I'd like to preserve the Proof's environment QED square symbol at the end. Any tips? Cheers, Bogdan.

paragraph inside environments and other issues

2011-12-29 Thread Bogdan
. Any tips? Cheers, Bogdan.

line break with extra space in equations, how?

2011-12-28 Thread Bogdan
that if I import a piece of plain .tex then LyX does preserve those extra spaces as I can see it in the source code, but I haven't yet managed to it directly in LyX. Cheers, Bogdan.

Re: line break with extra space in equations, how?

2011-12-28 Thread Bogdan
On 28-Dec-11 6:04 pm, Richard Heck wrote: On 12/28/2011 12:49 PM, Richard Heck wrote: On 12/28/2011 10:00 AM, Bogdan wrote: Hi all, When editing plain .tex files I used to do this all the time to leave extra space between equation lines in, say, an align environment, e.g.: \begin{align} f(x

Re: line break with extra space in equations, how?

2011-12-28 Thread Bogdan
On 28-Dec-11 9:36 pm, Richard Heck wrote: On 12/28/2011 03:31 PM, Bogdan wrote: On 28-Dec-11 6:04 pm, Richard Heck wrote: On 12/28/2011 12:49 PM, Richard Heck wrote: On 12/28/2011 10:00 AM, Bogdan wrote: Hi all, When editing plain .tex files I used to do this all the time to leave extra

line break with extra space in equations, how?

2011-12-28 Thread Bogdan
that if I import a piece of plain .tex then LyX does preserve those extra spaces as I can see it in the source code, but I haven't yet managed to it directly in LyX. Cheers, Bogdan.

Re: line break with extra space in equations, how?

2011-12-28 Thread Bogdan
On 28-Dec-11 6:04 pm, Richard Heck wrote: On 12/28/2011 12:49 PM, Richard Heck wrote: On 12/28/2011 10:00 AM, Bogdan wrote: Hi all, When editing plain .tex files I used to do this all the time to leave extra space between equation lines in, say, an align environment, e.g.: \begin{align} f(x

Re: line break with extra space in equations, how?

2011-12-28 Thread Bogdan
On 28-Dec-11 9:36 pm, Richard Heck wrote: On 12/28/2011 03:31 PM, Bogdan wrote: On 28-Dec-11 6:04 pm, Richard Heck wrote: On 12/28/2011 12:49 PM, Richard Heck wrote: On 12/28/2011 10:00 AM, Bogdan wrote: Hi all, When editing plain .tex files I used to do this all the time to leave extra

line break with extra space in equations, how?

2011-12-28 Thread Bogdan
I notice that if I import a piece of plain .tex then LyX does preserve those extra spaces as I can see it in the source code, but I haven't yet managed to it directly in LyX. Cheers, Bogdan.

Re: line break with extra space in equations, how?

2011-12-28 Thread Bogdan
On 28-Dec-11 6:04 pm, Richard Heck wrote: On 12/28/2011 12:49 PM, Richard Heck wrote: On 12/28/2011 10:00 AM, Bogdan wrote: Hi all, When editing plain .tex files I used to do this all the time to leave extra space between equation lines in, say, an align environment, e.g.: \begin{align} f(x

Re: line break with extra space in equations, how?

2011-12-28 Thread Bogdan
On 28-Dec-11 9:36 pm, Richard Heck wrote: On 12/28/2011 03:31 PM, Bogdan wrote: On 28-Dec-11 6:04 pm, Richard Heck wrote: On 12/28/2011 12:49 PM, Richard Heck wrote: On 12/28/2011 10:00 AM, Bogdan wrote: Hi all, When editing plain .tex files I used to do this all the time to leave extra

unknown graphic extension: .eps (again)

2011-12-27 Thread Bogdan
and then back to pdf for pdflatex? That would be too silly ... What am I missing? Many thanks in advance, Bogdan.

Re: unknown graphic extension: .eps (again)

2011-12-27 Thread Bogdan
. Is this normal? Cheers, Bogdan. On 28-Dec-11 4:13 am, Bogdan wrote: Hi all, I know this has popped up before as I've searched the list, but I'm still stumped. I only just started with LyX (v2.0.2 under Windows). I inserted a .pdf image and am trying to view the output with pdflatex, i.e. View [PDF

unknown graphic extension: .eps (again)

2011-12-27 Thread Bogdan
and then back to pdf for pdflatex? That would be too silly ... What am I missing? Many thanks in advance, Bogdan.

Re: unknown graphic extension: .eps (again)

2011-12-27 Thread Bogdan
. Is this normal? Cheers, Bogdan. On 28-Dec-11 4:13 am, Bogdan wrote: Hi all, I know this has popped up before as I've searched the list, but I'm still stumped. I only just started with LyX (v2.0.2 under Windows). I inserted a .pdf image and am trying to view the output with pdflatex, i.e. View [PDF

unknown graphic extension: .eps (again)

2011-12-27 Thread Bogdan
ly converts pdf to eps and then back to pdf for pdflatex? That would be too silly ... What am I missing? Many thanks in advance, Bogdan.

Re: unknown graphic extension: .eps (again)

2011-12-27 Thread Bogdan
ipt. Is this normal? Cheers, Bogdan. On 28-Dec-11 4:13 am, Bogdan wrote: Hi all, I know this has popped up before as I've searched the list, but I'm still stumped. I only just started with LyX (v2.0.2 under Windows). I inserted a .pdf image and am trying to view the output with pdflatex, i.e. V

Teouble with the tufte-book class

2010-10-28 Thread Bogdan Burlacu
that comes with Lyx fail in the same way. How can I fix this? Thanks in advance, Bogdan B example.lyx Description: application/lyx signature.asc Description: PGP signature

Re: Teouble with the tufte-book class

2010-10-28 Thread Bogdan Burlacu
, so maybe I'm just naive... kindly, Roel Schipper -Original Message- From: lyx-users@lists.lyx.org [mailto:lyx-us...@lists.lyx.org] On Behalf Of Bogdan Burlacu Sent: donderdag 28 oktober 2010 9:52 To: lyx-users@lists.lyx.org Subject: Teouble with the tufte-book class Hello

Teouble with the tufte-book class

2010-10-28 Thread Bogdan Burlacu
that comes with Lyx fail in the same way. How can I fix this? Thanks in advance, Bogdan B example.lyx Description: application/lyx signature.asc Description: PGP signature

Re: Teouble with the tufte-book class

2010-10-28 Thread Bogdan Burlacu
, so maybe I'm just naive... kindly, Roel Schipper -Original Message- From: lyx-users@lists.lyx.org [mailto:lyx-us...@lists.lyx.org] On Behalf Of Bogdan Burlacu Sent: donderdag 28 oktober 2010 9:52 To: lyx-users@lists.lyx.org Subject: Teouble with the tufte-book class Hello

Teouble with the tufte-book class

2010-10-28 Thread Bogdan Burlacu
that comes with Lyx fail in the same way. How can I fix this? Thanks in advance, Bogdan B example.lyx Description: application/lyx signature.asc Description: PGP signature

Re: Teouble with the tufte-book class

2010-10-28 Thread Bogdan Burlacu
. But I am a novice using LaTeX, so > maybe I'm just naive... > > kindly, > Roel Schipper > > > -Original Message- > From: lyx-users@lists.lyx.org [mailto:lyx-us...@lists.lyx.org] On > Behalf Of Bogdan Burlacu > Sent: donderdag 28 oktober 2010 9:52 > To: