help me with a layout module, please!

2009-04-05 Thread Vito De Tullio
I'm making a small layout module around the package "frontespizio" (http://www.ctan.org/tex-archive/macros/latex/contrib/frontespizio/), but I'm a novice, and I need help. I need to know if (and how!) is possible to: 1) force the documentclass (book, article) to use the titlepage ambient. 2) tell

Re: help me with a layout module, please!

2009-04-05 Thread Vito De Tullio
Vito De Tullio wrote: > I need to know if (and how!) is possible to: > 1) force the documentclass (book, article) to use the titlepage ambient. mmm I think this is resolved, using: ClassOptions Other titlepage End > 2) tell lyx that, to generate the pdf (via pdflatex), it must do

Re: help me with a layout module, please!

2009-04-06 Thread Vito De Tullio
Guenter Milde wrote: >>> 2) tell lyx that, to generate the pdf (via pdflatex), it must do 3 >>> passes >>>(pass 0): generate the FILE.tex from FILE.lyx (as all documents, I >>>think) >>>(pass 1): pdflatex FILE.tex (as all documents?) >>>(pass 2): pdflatex FILE-frn.tex (this file is

Re: help me with a layout module, please!

2009-04-06 Thread Vito De Tullio
rgheck wrote: >> then I tell lyx that, to generate the pdf, I must run the 3 passes... but > This is documented in the Customization manual. could you please be a little more specific? I read the entire manual, but I cannot find a section where it's exposed how to force certain passes. At the bes

Re: Can I please have an example of conditional ERT in LyX

2009-04-22 Thread Vito De Tullio
Steve Litt wrote: >> I use ifthenelse in my exams. That way I can have one version of >> the exam without solutions, and one with solution, without having to >> have two documents. If you want, I can send you one of my >> exams. > > I want. I want bad! Are you one of his students? :^) -- By Ze

Re: Source code highlighting and indentation

2009-05-03 Thread Vito De Tullio
rgheck wrote: >> I have used the "listings" package. It probably knows ada. (I haven't >> used it with lyx though, just with latex.) > There is support for listings in LyX. Use the Insert>Program Listing > environment. Ada is available. as an alternative to the listings package, I suggest texment

Algorithm float on more pages

2009-05-21 Thread Vito De Tullio
Hi all. I'm using LyX, and I'm stucked in a problem: I'm inserting pseudo-code (with some math elements inside) in a algorithm float. When I print / create a pdf the float it's bigger than the page, but it doesn't automatically "split" itself. Is there a way to tell the float that it's off the bo