Some small aadditions to Kubas explanations follow.

Jeremy C. Reed wrote:

> On Sun, 29 Aug 2004, Georg Baum wrote:
> 
>> > It seems like some added spaces are being added.
>> >
>> > For example, the tex file has:
>> >
>> > $-$u user
>> >
>> > But lyx shows it as:
>> >
>> > - u user
>>
>> Hopefully with the "-" in math mode? Are you sure that there is really a
>> space in lx and not just the usual margin of the math box?
> 
> I don't know about math mode nor a math box. I never (knowingly) enabled
> it.

Math mode in tex: the material surrounded by $-signs. In lyx this material
appears in blue. Pink corners are drawn around it when the cursor is inside
math mode.
tex2lyx and lyzx are correct here, there is no space between $-$ and the u.
It is just the usual margin of the math box, as I suspected.

> This tex file was created by running html2latex on the output from "groff
> -Thtml".

Is there no direct groff -> tex converter?
 
>> Since you seem to document a computer program, I would suggest to use the
>> docbook backend of lyx and use the appropriate formatting.
> 
> In this case, I am making a collection of already-existing manpages to
> print in a book format. I want to use lyx for easy organization of table
> of contents, chapters, sections, and great indexing.

You can do that with the docbook backend, too.

> Docbook does seem like a good idea, but my originals are in nroff mandoc
> and man formats. I don't have any plan to regenerate the man pages. By the
> way, a useful tool for converting manpages to docbook is doclifter, but I
> don't plan on using that for this project.

Did you try the man -> doclifter -> import docbook in lyx chain?
BTW, you don't need to convert to docbook if you want ot use the docbook
backend of lyx, you can convert to tex, then to lyx and then just change
the document type e.g. to "Book (docbook)" (or how it is called.


Georg

Reply via email to