Merge remote branch 'mob/pseudoruprecht/latexbackend' into devel
authorChristian Thaeter <ct@pipapo.org>
Tue, 17 Aug 2010 14:27:14 +0000 (16:27 +0200)
committerChristian Thaeter <ct@pipapo.org>
Tue, 17 Aug 2010 14:27:14 +0000 (16:27 +0200)
* mob/pseudoruprecht/latexbackend:
  AsciiDoc/LaTeX: use package microtype to make typeset output prettier
  AsciiDoc/LaTeX: set link colors in PDF to cyan

1  2 
doc/latex.conf

diff --combined doc/latex.conf
@@@ -271,7 -271,7 +271,7 @@@ $$passthrough=
  !..backslash..!href!..braceleft..!{target}!..braceright..!!..braceleft..!{1={target}}!..braceright..!
  # anchor:id[text]
  [anchor-inlinemacro]
 -!..backslash..!label!..braceleft..!{target}!..braceright..!!..backslash..!hypertarget!..braceleft..!{target}!..braceright..!!..braceleft..!{0={target}}!..braceright..!
 +!..backslash..!label!..braceleft..!{target}!..braceright..!!..backslash..!hypertarget!..braceleft..!{target}!..braceright..!!..braceleft..!!..braceright..!
  # [[id,text]]
  [anchor2-inlinemacro]
  !..backslash..!label!..braceleft..!{1}!..braceright..!!..backslash..!hypertarget!..braceleft..!{1}!..braceright..!!..braceleft..!{2={1}}!..braceright..!
  # Paragraph substitution.
  [paragraph]
  {title%} \par{latex-indent-paragraphs!\noindent\{\}}
 -{title#} \paragraph\{{title}:\}
 +{title#} \paragraph\{{title}\}
  \label\{{id}\}\\hypertarget\{{id}\}\{\}
  
  |
@@@ -539,8 -539,7 +539,8 @@@ ifdef::doctype-book[
  ^Dedication$=dedication
  endif::doctype-book[]
  
 -^Index$=index
 +# we generate our own index, dont make Index special
 +^Index$=
  
  ifdef::latex-use-bibliography-environment[]
  ^(Bibliography|References)$=bibliography
@@@ -674,7 -673,10 +674,10 @@@ endif::doctype-book[
      backref,
      pagebackref,
      breaklinks=true,
-     unicode
+     unicode,
+     colorlinks=true,
+     pagecolor=cyan,
+     linkcolor=cyan
      ]
      \{hyperref\}
  \usepackage\{enumerate\}
  \usepackage\{fancyvrb\}
  \usepackage\{upquote\}
  \usepackage\{bookman\}
+ \usepackage\{microtype\}
  
  \newcommand*\FancyVerbStopString\{FANCYVRBSTOP\}