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

2012-01-01 Thread Murat Yildizoglu
Hi Bogdan, I have not yet used it myself but, it seems that this is a typical situation to be handled with branches in Lyx, no? One branch for only the questions and another one for questions and answers? SO, you can selectively compile the branch that interests you. 2012/1/2 Bogdan > Actually,

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: 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. On

problem with custom converter (bug?) - workaround provided

2012-01-01 Thread Bogdan
As part of my course, I've been traditionally maintaining a problem sheet in latex and compile two versions, one with answers, and one without. To achieve that, I hide the answers based on whether a certain variable was defined in latex or not and then compile it accordingly: with answers:

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

Biblatex-biber citation problem

2012-01-01 Thread Peter Baumgartner
Hello, I'm not sure if this is the right place for my question. In that case please either ignore my mail or give me a hint where to place the following problem: I'm using biblatex with backend=bibtex8 and wanted to change to backend=biber. The change went fine but the output of the some of the i

Re: Crash with language change in combination with utf8 & float tableau

2012-01-01 Thread Peter Baumgartner
Thanks for investigating and (I guess) solving the problem. Sorry, but I don't know how to compile the source myself. I will wait for the new LyX release. In the meanwhile I have found a (provisional?) solution: I converted the bib file so I don't need utf8 anymore. Peter PS.: I'm using OS 10.6.8.

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 defi

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 with

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 p

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 us

example thesis template in LyX

2012-01-01 Thread Waluyo Adi Siswanto
Dear LyX users Happy New Year 2012 I have released the fifth maintenance of uthm-thesis-lyx http://code.google.com/p/uthm-thesis-lyx/ I hope this thesis example will be useful to others too. If you have any suggestions to improve this thesis template project, especially to cleanup many ERT that