[Vegan-commits] r2497 - pkg/vegan/inst/doc

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Apr 29 09:36:56 CEST 2013


Author: jarioksa
Date: 2013-04-29 09:36:56 +0200 (Mon, 29 Apr 2013)
New Revision: 2497

Modified:
   pkg/vegan/inst/doc/decision-vegan.Rnw
   pkg/vegan/inst/doc/diversity-vegan.Rnw
   pkg/vegan/inst/doc/intro-vegan.Rnw
Log:
Avoid visible ~ in pdf documents (such as Figure~1)

The invisible space marker "~" was visible due to a
texi2dvi bug. This was most visible in legends like "Figure~1",
where "~" was added by LaTeX. Most (or all) self-made
instances of "~" were already removed or replaced with "\;".
It seems that (unnecessary) \usepackage[english]{babel} fixes
this issue.


Modified: pkg/vegan/inst/doc/decision-vegan.Rnw
===================================================================
--- pkg/vegan/inst/doc/decision-vegan.Rnw	2013-04-27 04:15:52 UTC (rev 2496)
+++ pkg/vegan/inst/doc/decision-vegan.Rnw	2013-04-29 07:36:56 UTC (rev 2497)
@@ -8,6 +8,7 @@
 %\usepackage[utf8x]{inputenc}
 %\usepackage[T1]{fontenc}
 \usepackage{sidecap}
+\usepackage[english]{babel} % kluge to avoid visible ~ in Figure~1.
 \renewcommand{\floatpagefraction}{0.8}
 \renewcommand{\cite}{\citep}
 \newcommand{\R}{\textsf{R}}

Modified: pkg/vegan/inst/doc/diversity-vegan.Rnw
===================================================================
--- pkg/vegan/inst/doc/diversity-vegan.Rnw	2013-04-27 04:15:52 UTC (rev 2496)
+++ pkg/vegan/inst/doc/diversity-vegan.Rnw	2013-04-29 07:36:56 UTC (rev 2497)
@@ -8,8 +8,8 @@
 \usepackage{sidecap}
 \usepackage{amsmath}
 \usepackage{amssymb} % \gtrapprox
+\usepackage[english]{babel} % kluge to avoid visible ~ in Figure~1
 
-
 \title{Vegan: ecological diversity} \author{Jari Oksanen} 
 
 \Abstract{ This document explains diversity related methods in

Modified: pkg/vegan/inst/doc/intro-vegan.Rnw
===================================================================
--- pkg/vegan/inst/doc/intro-vegan.Rnw	2013-04-27 04:15:52 UTC (rev 2496)
+++ pkg/vegan/inst/doc/intro-vegan.Rnw	2013-04-29 07:36:56 UTC (rev 2497)
@@ -7,6 +7,7 @@
 \usepackage[T1]{fontenc}
 \usepackage{sidecap}
 \usepackage{amsmath}
+\usepackage[english]{babel} % kluge to avoid visible ~ in Figure~1
 
 \renewcommand{\floatpagefraction}{0.8}
 



More information about the Vegan-commits mailing list