]> git.lyx.org Git - features.git/commitdiff
tufte-{book,handout}: set default output to pdf2
authorScott Kostyshak <skostysh@lyx.org>
Tue, 9 Apr 2013 05:23:06 +0000 (01:23 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Tue, 9 Apr 2013 05:36:38 +0000 (01:36 -0400)
If the 'nols' option were set, the files could be output with plain
LaTeX as well; but because letterspacing is an important part of the
Tufte design, letterspacing is preserved and pdf2 is set as the
default output format. This is now explained in a note.

lib/examples/tufte-book.lyx
lib/examples/tufte-handout.lyx

index a009b4c72430cee62d7ad334335927b448f36bbe..0cb2691d8ad3946469597749f1d345c5505c8ae4 100644 (file)
@@ -1,5 +1,5 @@
-#LyX 2.0 created this file. For more info see http://www.lyx.org/
-\lyxformat 413
+#LyX 2.1 created this file. For more info see http://www.lyx.org/
+\lyxformat 469
 \begin_document
 \begin_header
 \textclass tufte-book
 \font_roman default
 \font_sans default
 \font_typewriter default
+\font_math auto
 \font_default_family default
 \use_non_tex_fonts false
 \font_sc false
 \font_osf false
 \font_sf_scale 100
 \font_tt_scale 100
-
 \graphics default
-\default_output_format default
+\default_output_format pdf2
 \output_sync 0
 \bibtex_command default
 \index_command default
 \pdf_pdfusetitle true
 \papersize default
 \use_geometry true
-\use_amsmath 1
-\use_esint 1
-\use_mhchem 1
-\use_mathdots 1
+\use_package amsmath 1
+\use_package amssymb 1
+\use_package cancel 0
+\use_package esint 1
+\use_package mathdots 1
+\use_package mathtools 0
+\use_package mhchem 1
+\use_package stackrel 0
+\use_package stmaryrd 0
+\use_package undertilde 0
 \cite_engine basic
+\cite_engine_type numerical
+\biblio_style plain
 \use_bibtopic false
 \use_indices false
 \paperorientation portrait
 \suppress_date false
+\justification true
 \use_refstyle 0
 \notefontcolor #0000ff
 \index Index
@@ -89,6 +98,17 @@ fpl
  package manager.
 \end_layout
 
+\begin_layout Plain Layout
+
+\series bold
+Note 2
+\series default
+: If you wish to compile to PDF with plain LaTeX (instead of pdfTeX), there
+ is currently a bug in the Tufte class that causes errors.
+ You can add the class option 'nols' to get rid of the errors, but this
+ also removes letterspacing, an important part of the Tufte design.
+\end_layout
+
 \end_inset
 
 
@@ -348,7 +368,7 @@ Imagine your favorite figure inside this box instead of this boring text.
 \end_inset
 
 
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Plain Layout
 An ordinary figure float.
@@ -414,7 +434,7 @@ Imagine your favorite photograph of a squirrel inside this box instead of
 \end_inset
 
 
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Plain Layout
 A margin figure.
@@ -542,7 +562,7 @@ Imagine your favorite photograph of a squirrel inside this box instead of
 \end_layout
 
 \begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Plain Layout
 A full-width figure.
@@ -889,7 +909,7 @@ I had a graph of the square root function here.
 \end_inset
 
 
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Plain Layout
 \begin_inset CommandInset label
@@ -943,7 +963,7 @@ Here I rotated the square root function and then drew a disk on the figure
 \end_inset
 
 
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Plain Layout
 \begin_inset CommandInset label
@@ -1254,7 +1274,7 @@ Here I used RLPlot to draw the square root function and the quadratic function.
 \end_inset
 
 
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Plain Layout
 The functions 
@@ -1363,7 +1383,7 @@ This was the rotated set of 2 functions.
 \end_inset
 
 
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Plain Layout
 The cup with a quadratic hole drilled down its length
index 5e412ec08b64e19774e250017b5499a16d686c96..67c809d84b51f5921e83726abd9aec6d6a06f9bb 100644 (file)
@@ -1,5 +1,5 @@
-#LyX 2.0 created this file. For more info see http://www.lyx.org/
-\lyxformat 413
+#LyX 2.1 created this file. For more info see http://www.lyx.org/
+\lyxformat 469
 \begin_document
 \begin_header
 \textclass tufte-handout
 \font_roman default
 \font_sans helvet
 \font_typewriter default
+\font_math auto
 \font_default_family default
 \use_non_tex_fonts false
 \font_sc false
 \font_osf false
 \font_sf_scale 100
 \font_tt_scale 100
-
 \graphics default
-\default_output_format default
+\default_output_format pdf2
 \output_sync 0
 \bibtex_command default
 \index_command default
 \pdf_pdfusetitle true
 \papersize default
 \use_geometry true
-\use_amsmath 1
-\use_esint 1
-\use_mhchem 1
-\use_mathdots 1
+\use_package amsmath 1
+\use_package amssymb 1
+\use_package cancel 0
+\use_package esint 1
+\use_package mathdots 1
+\use_package mathtools 0
+\use_package mhchem 1
+\use_package stackrel 0
+\use_package stmaryrd 0
+\use_package undertilde 0
 \cite_engine basic
+\cite_engine_type numerical
+\biblio_style plain
 \use_bibtopic false
 \use_indices false
 \paperorientation portrait
 \suppress_date false
+\justification true
 \use_refstyle 0
 \notefontcolor #0000ff
 \index Index
@@ -89,6 +98,17 @@ fpl
  package manager.
 \end_layout
 
+\begin_layout Plain Layout
+
+\series bold
+Note 2
+\series default
+: If you wish to compile to PDF with plain LaTeX (instead of pdfTeX), there
+ is currently a bug in the Tufte class that causes errors.
+ You can add the class option 'nols' to get rid of the errors, but this
+ also removes letterspacing, an important part of the Tufte design.
+\end_layout
+
 \end_inset
 
 
@@ -552,7 +572,7 @@ replace the box by your figure!
 \end_layout
 
 \begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Plain Layout
 This is a margin figure.
@@ -657,7 +677,7 @@ replace the box by your figure!
 \end_layout
 
 \begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Plain Layout
 This is a wide figure (
@@ -728,7 +748,7 @@ replace the box by your figure!
 \end_layout
 
 \begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Plain Layout
 This is a normal figure.
@@ -796,7 +816,7 @@ status open
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="6" columns="2">
-<features booktabs="true" tabularvalignment="middle">
+<features rotate="0" booktabs="true" tabularvalignment="middle">
 <column alignment="left" valignment="top" width="0">
 <column alignment="left" valignment="top" width="0">
 <row>
@@ -942,7 +962,7 @@ Sidenote width
 \end_layout
 
 \begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
 
 \begin_layout Plain Layout
 Here are the dimensions of the various margins used in the