Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 2013 09:26:59 +0200
From:      David Demelier <demelier.david@gmail.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: What's happening to my asciidoc?
Message-ID:  <CAO%2BPfDcW787jbpPyWWB_MhPj_h4LZ=B-KB=O6ZMJ8bPf0B=W_g@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1309051743450.37725@wonkity.com>
References:  <CAO%2BPfDe2KQtGJ=y9Sicwex65CngWUKEOL0E7STa5quBtgWgGqg@mail.gmail.com> <alpine.BSF.2.00.1309051547460.36621@wonkity.com> <alpine.BSF.2.00.1309051743450.37725@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2013/9/6 Warren Block <wblock@wonkity.com>:
> On Thu, 5 Sep 2013, Warren Block wrote:
>
>> On Thu, 5 Sep 2013, David Demelier wrote:
>>
>>> Hi,
>>>
>>> I've been using asciidoc for a while, I've updating it to
>>> asciidoc-8.6.8_1. But now I can't generate any correct documentation.
>>> It does not even add :toc: field.
>>>
>>> For instance the following example should generate a HTML with its
>>> popular blue theme :
>>>
>>> Test
>>> ===
>>> :Author: David
>>> :toc:
>>>
>>> = Title
>>>
>>> Some data
>>>
>>> == Title 2
>>>
>>> Some data
>>>
>>> For me, it produces a very light HTML file with no table of content
>>> and everything is black, I also notice that it does not append any CSS
>>> code.
>>>
>>> Does anyone already have this issue?
>>
>>
>> It's working for me, I used it last night.
>
>
> Here is the command I use (generated from a Makefile), broken into separate
> lines:
>
> asciidoc \
>   -a data-uri \
>   -a icons \
>   -a iconsdir=/usr/local/etc/asciidoc/images/icons \
>   -d article \
>   -a stylesheet=~/docs/stylesheets/wb-html.css \
>   -a toc \
>   -a revdate="2013-09-05" \
>   -a year="2013" \
>   -a max-width=80em \
>   pxe.txt
>
> That stylesheet is just my changes to the default, which change the link
> visited color from pink to red and add rounded corners to listing blocks.

Did you touch the asciidoc configuration ? For me it seems to work
*only* if I use html5 backend, otherwise it produces this:
http://www.demelierdavid.fr/article.html.

Cheers,

-- 
Demelier David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAO%2BPfDcW787jbpPyWWB_MhPj_h4LZ=B-KB=O6ZMJ8bPf0B=W_g>