Re: way to add code before \documentclass{}

2012-01-03 Thread Guenter Milde
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 the \documentclass{} call? I do not think so. And I have never seen this and I doubt

Re: way to add code before \documentclass{}

2012-01-03 Thread Richard Heck
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 the \documentclass{} call? I do not think

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 Guenter Milde
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 the \documentclass{} call? I do not think so. And I have never seen this and I doubt

Re: way to add code before \documentclass{}

2012-01-03 Thread Richard Heck
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 the \documentclass{} call? I do not think

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 Guenter Milde
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 the \documentclass{} call? >>> I do not think so. >> And I have never seen

Re: way to add code before \documentclass{}

2012-01-03 Thread Richard Heck
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 the \documentclass{} call? I do not think

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-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: 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: 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: way to add code before \documentclass{}

2012-01-01 Thread 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. For the IEEEtran class for instance, the page margins can be set only by setting some IEEEtran latex variables before the \documentclass{} call ... the

Re: way to add code before \documentclass{}

2012-01-01 Thread Uwe Stöhr
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 without loading the document class or any

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 Richard Heck
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 that one change from pdf2 to pdfx) and then

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 that

Re: way to add code before \documentclass{}

2012-01-01 Thread Richard Heck
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 (more or less copy over the definition of the

Re: way to add code before \documentclass{}

2012-01-01 Thread 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. For the IEEEtran class for instance, the page margins can be set only by setting some IEEEtran latex variables before the \documentclass{} call ... the

Re: way to add code before \documentclass{}

2012-01-01 Thread Uwe Stöhr
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 without loading the document class or any

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 Richard Heck
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 that one change from pdf2 to pdfx) and then

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 that

Re: way to add code before \documentclass{}

2012-01-01 Thread Richard Heck
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 (more or less copy over the definition of the

Re: way to add code before \documentclass{}

2012-01-01 Thread 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. For the IEEEtran class for instance, the page margins can be set only by setting some IEEEtran latex variables before the \documentclass{} call ... the

Re: way to add code before \documentclass{}

2012-01-01 Thread Uwe Stöhr
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 without loading the document class or any

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 Richard Heck
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 that one change from pdf2 to pdfx) and then

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 that

Re: way to add code before \documentclass{}

2012-01-01 Thread Richard Heck
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 (more or less copy over the definition of the

way to add code before \documentclass{}

2011-12-31 Thread Bogdan
Is there *any* way to make LyX add latex code before the \documentclass{} call? For the IEEEtran class for instance, the page margins can be set only by setting some IEEEtran latex variables before the \documentclass{} call ... the use of geometry package or the likes is highly discouraged

way to add code before \documentclass{}

2011-12-31 Thread Bogdan
Is there *any* way to make LyX add latex code before the \documentclass{} call? For the IEEEtran class for instance, the page margins can be set only by setting some IEEEtran latex variables before the \documentclass{} call ... the use of geometry package or the likes is highly discouraged

way to add code before \documentclass{}

2011-12-31 Thread Bogdan
Is there *any* way to make LyX add latex code before the \documentclass{} call? For the IEEEtran class for instance, the page margins can be set only by setting some IEEEtran latex variables before the \documentclass{} call ... the use of geometry package or the likes is highly discouraged