I think we can close this issue.

It works fine when I used a newer man/groff/nroff toolset.

But I needed to add --no-xmllint to compile your sample command.

/Magnus


Den tisdagen den 29:e juli 2014 kl. 00:24:44 UTC+2 skrev Grant Edwards:
>
> On 2014-07-28, Magnus Höglund <[email protected] <javascript:>> 
> wrote: 
>
> > When I try creating a simple man page using the -f manpage option to 
> > a2x.py, the man page viewed by 'man' command does not contain any 
> > line breaks. 
>
> If you use the sample file: 
>
>  http://www.methods.co.nz/asciidoc/asciidoc.1.txt 
>
> and the sample command: 
>
>  a2x --doctype manpage --format manpage asciidoc.1.txt 
>
> and then look at the file with the man command: 
>
>  man ./asciidoc.1 
>
> Does it get formatted properly? 
>
> > How can this be? 
>
> You have showed us neither your input file nor the command you used to 
> process it.  Are we supposed to guess?  :) 
>
> > What kind of manpage format is generated by a2x.py ? 
>
> The normal kind: nroff/groff source that uses the "an" macro set.  I'm 
> a little puzzled why hyphens are always escaped in the output (I've 
> ever needed to do that in my hand-generated man file source), but it 
> works just fine. 
>
> > Could it be that the 'man' tool I am using doesn't recognize the format 
> > that a2x produces?? 
>
> Could be, but we don't know what 'man' tool you're using or how you're 
> invoking it. 
>
> -- 
> Grant Edwards               grant.b.edwards        Yow! I'd like some JUNK 
>                                   at               FOOD ... and then I 
> want to 
>                               gmail.com            be ALONE -- 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to