Hi! We said we'd do it, and here we go. The first round of patches for the latex.conf backend.
To whet your appetite, see the NoBug manual[1] generated with all the patches which we hereby start to try to get upstream. Isn't it cute? Today's patch makes the generated .tex compile (again) with pdflatex (that's what the empty [...] definitions are for) and fixes the typesetting of verbatim environments. (diff'd against hg commit 829) I would like to renew my invite to join our efforts to anyone interested in finding LaTeX weirdness (and perhaps some AsciiDoc bugs, too?) while really using both systems. This can be fun, albeit more like the fun you have when speeding along a bumpy desert road without your hands on the steering wheel :D Any remarks/improvements on this patch would be greatly appreciated. pseudoruprecht [1] http://lumiera.org/nobug_manual.pdf
--- ../asciidoc/latex.conf 2010-09-02 01:00:12.000000000 +0200
+++ latex.conf 2010-09-02 00:56:57.000000000 +0200
@@ -335,14 +335,11 @@
# but inserting the same "[]" below doesn't.
[listingblock]
-\minisec\{{caption=Listing: }{title}\}
+\\minisec\{{caption=Listing: }{title}\}
\label\{{id}\}\hypertarget\{{id}\}\{\}
-\begin\{lstlisting\}
-SPURIOUS TEXT
+\begin\{verbatim\}|\end\{verbatim\}
-|
-
-\end\{lstlisting\}
+% FIXXME: dirty hack to circumvent missing \n after verbatim
[literalblock]
\minisec\{{title}\}
@@ -458,6 +455,8 @@
[tabletags-asciidoc]
+#[tabledef-default]
+
[tabletags-default]
#template=table
colspec=>\{{colal...@left:\\raggedright}{colal...@center:\\centering}{colal...@right:\\raggedleft}\}p\{ {colwidth}pt \}
@@ -467,6 +466,8 @@
bodydata=| {colnum...@{colcount}:%:&}
paragraph=
+[tabletags-header]
+
[table]
ifdef::latex-use-colored-tables[]
\rowcolors\{1\}\{TableEvenColor\}\{TableOddColor\}
@@ -568,6 +569,8 @@
\end\{abstract\}
+[abstractblock]
+
[dedication]
\label\{{id}\}\hypertarget\{{id}\}\{\}
\dedication\{
@@ -661,11 +664,14 @@
\usepackage[{encod...@iso-8859-1:latin1}{encod...@utf-8:utf8x}{encoding!utf8x}]\{inputenc\}
\usepackage\{textcomp\}
\usepackage\{alltt\}
-\usepackage\{listings\}
+%\usepackage\{listings\}
+\usepackage\{verbatim\}
+\usepackage\{moreverb\}
+\usepackage\{upquote\}
-\lstset\{basicstyle=\footnotesize\ttfamily,showstringspaces=false,breaklines,frame=single, rulecolor=\color\{ListingBorderColor\}, xleftmargin=0cm, linewidth=0.95\textwidth\}
+%\lstset\{basicstyle=\footnotesize\ttfamily,showstringspaces=false,breaklines,frame=single, rulecolor=\color\{ListingBorderColor\}, xleftmargin=0cm, linewidth=0.95\textwidth\}
-{latex-indent-paragraphs%} \setlength\{\parskip\}\{1ex plus 0.5ex minus 0.2ex\}
+{latex-indent-paragraphs%} \setlength\{\\parskip\}\{1ex plus 0.5ex minus 0.2ex\}
\makeatletter
\DeclareRobustCommand*\textsubscript[1]\{%
@@ -686,7 +692,7 @@
%\newcommand{\texttesh}{\textteshlig\/}
-\label\{header\}\hypertarget\{header\}\{\}
+\label\{header\}\\hypertarget\{header\}\{\}
{doctitle#\maketitle}
[footer]
signature.asc
Description: This is a digitally signed message part.
