[Genabel-commits] r1162 - tutorials/GenABEL_general

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Mar 19 20:26:22 CET 2013


Author: yurii
Date: 2013-03-19 20:26:22 +0100 (Tue, 19 Mar 2013)
New Revision: 1162

Modified:
   tutorials/GenABEL_general/GenABEL-tutorial.Rnw
Log:
removed "pdftex" (seems nothing changed in PDF) because when trying

mk4ht htlatex GenABEL-tutorial.tex myxhtml

...

/usr/local/texlive/2011/texmf-dist/tex/latex/hyperref/pd1enc.def)
(/usr/local/texlive/2011/texmf-dist/tex/latex/latexconfig/hyperref.cfg)

! Package hyperref Error: Wrong driver option `pdftex',
(hyperref)                because pdfTeX in PDF mode is not detected.

See the hyperref package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.3905 \ProcessKeyvalOptions{Hyp}


The solution on

http://tex.stackexchange.com/questions/33049/package-hyperref-error-wrong-driver-option-pdftex-when-using-mk4ht

is "Don't put the pdftex option when calling hyperref; it's not necessary even when usingpdflatex"

Modified: tutorials/GenABEL_general/GenABEL-tutorial.Rnw
===================================================================
--- tutorials/GenABEL_general/GenABEL-tutorial.Rnw	2013-03-19 18:42:41 UTC (rev 1161)
+++ tutorials/GenABEL_general/GenABEL-tutorial.Rnw	2013-03-19 19:26:22 UTC (rev 1162)
@@ -12,7 +12,7 @@
 \usepackage[dvipsnames]{xcolor}
 \definecolor{webgreen}{rgb}{0,.5,0}
 
-\usepackage[pdftex,pdfpagelabels]{hyperref}
+\usepackage[pdfpagelabels]{hyperref}
 \pdfcompresslevel=9
 \pdfadjustspacing=1
  % get the links to the figures and tables right:
@@ -101,7 +101,7 @@
 %}
 
 
-\ifpdf
+\ifpdf % this is done bacause generation of HTML fails otherwise
 
 \definecolor{shadecolor}{gray}{.85}
 \newenvironment{summary}
@@ -127,7 +127,7 @@
 
 
 
-\ifpdf
+\ifpdf % this is done bacause generation of HTML fails otherwise
 
 \newenvironment{tip}
 {



More information about the Genabel-commits mailing list