Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2013 17:48:23 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        David Demelier <demelier.david@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: What's happening to my asciidoc?
Message-ID:  <alpine.BSF.2.00.1309051743450.37725@wonkity.com>
In-Reply-To: <alpine.BSF.2.00.1309051547460.36621@wonkity.com>
References:  <CAO+PfDe2KQtGJ=y9Sicwex65CngWUKEOL0E7STa5quBtgWgGqg@mail.gmail.com> <alpine.BSF.2.00.1309051547460.36621@wonkity.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1309051743450.37725>