From owner-freebsd-questions@FreeBSD.ORG Fri Sep 6 07:27:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id ACF93804 for ; Fri, 6 Sep 2013 07:27:01 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4AA4D2F87 for ; Fri, 6 Sep 2013 07:27:01 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id hj3so485848wib.13 for ; Fri, 06 Sep 2013 00:26:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=3qzopBWCrUK0VfAtiUcK/uQAvCtA7fG95OgzTxPWGJ4=; b=I7ys8+x5Ku72I2U81GQtoLUFiSS2yXSS7bGuMe2yr6ywx+G6Ebfsh4wrceuH83pm7p vlBRmxZV12sxETc7RkldYEyi1Hv4MUE/VqZkuUHiz1uHKtE2hSympKW1nyWkOSMyGjaC YEICBm/pf1GD03OJlU/xr9dHlq+YQl6+JBPGtG6+AQmZ0LIJKSRp7HlnXQcES7DHeRu/ GUIYAsplWlKLxToicd8QPxFIjIvNuR2soaYk72r4OLEFVy5QQboT9KRXz/DcrZAjI5Lq 8pj9F0gBBOm8hH5QJPXdntrWiLsUPqxndpySF/WmXG6hMY0987rCpxHPY4eGZ4J9/MB+ B3ag== MIME-Version: 1.0 X-Received: by 10.180.11.37 with SMTP id n5mr9110882wib.25.1378452419749; Fri, 06 Sep 2013 00:26:59 -0700 (PDT) Received: by 10.194.157.69 with HTTP; Fri, 6 Sep 2013 00:26:59 -0700 (PDT) In-Reply-To: References: Date: Fri, 6 Sep 2013 09:26:59 +0200 Message-ID: Subject: Re: What's happening to my asciidoc? From: David Demelier To: Warren Block Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Sep 2013 07:27:01 -0000 2013/9/6 Warren Block : > 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