octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Defining a latex environment in texinfo


From: John W. Eaton
Subject: Defining a latex environment in texinfo
Date: Wed, 18 Apr 2007 15:41:49 -0400

On 18-Apr-2007, Søren Hauberg wrote:

|    As David pointed out a while ago, the manual contains a lot of 
| DOCSTRING's. I think this is acceptable, but it would be better if 
| DOCSTRING text was marked more clearly is being the help text of a 
| function. This marking could be a box around the help text,

Putting a box around the docstring will require that it not break
across pages, which wil probably cause a lot of bad pagebreaks.

| margin or something like that. I tried experimenting with this by 
| changing munge-texi to put a
| 
| @iftex
| @tex
| \begin{helptext}
| @end tex
| @end iftex
| 
| before a help text, and a similar text after the help text. My problem 
| is that I can't figure out how to define the 'helptext' environment. If 
| I put a \newenvironment in octave.texi I get an error message when 
| running 'make octave.pdf'.
| 
| Does anybody here know where I should define new latex environments in 
| texinfo?

I think your first problem is that Texinfo is processed with TeX, not
LaTeX.

jwe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]