- tufte-handout: new layout

- tufte-book: new layout
- biblioExample.bib: new entry used by the tufte example files


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31779 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2009-10-27 22:46:05 +00:00
parent b77e72f325
commit 9f9a1d319c
11 changed files with 3269 additions and 2 deletions

View File

@ -13,6 +13,7 @@ Function UpdateModifiedFiles
SetOutPath "$INSTDIR\Resources" # always here
File /r "${PRODUCT_SOURCEDIR}\Resources\locale" # always here
File /r "${PRODUCT_SOURCEDIR}\Resources\layouts"
File "${PRODUCT_SOURCEDIR}\Resources\CREDITS"
File "${PRODUCT_SOURCEDIR}\Resources\configure.py"
File "${PRODUCT_SOURCEDIR}\Resources\encodings"
File "${PRODUCT_SOURCEDIR}\Resources\languages"
@ -56,8 +57,11 @@ Function UpdateModifiedFiles
File "${PRODUCT_SOURCEDIR}\Resources\doc\fr\Tutorial.lyx"
File "${PRODUCT_SOURCEDIR}\Resources\doc\fr\UserGuide.lyx"
SetOutPath "$INSTDIR\Resources\examples"
File "${PRODUCT_SOURCEDIR}\Resources\examples\biblioExample.bib"
File "${PRODUCT_SOURCEDIR}\Resources\examples\Braille.lyx"
File "${PRODUCT_SOURCEDIR}\Resources\examples\powerdot-example.lyx"
File "${PRODUCT_SOURCEDIR}\Resources\examples\tufte-book.lyx"
File "${PRODUCT_SOURCEDIR}\Resources\examples\tufte-handout.lyx"
File "${PRODUCT_SOURCEDIR}\Resources\examples\xypic.lyx"
SetOutPath "$INSTDIR\Resources\examples\de"
File "${PRODUCT_SOURCEDIR}\Resources\examples\de\Braille.lyx"

View File

@ -2398,6 +2398,8 @@ lib_examples_files = Split('''
serial_letter3.lyx
simplecv.lyx
splash.lyx
tufte-book.lyx
tufte-handout.lyx
xyfigure.png
xypic.lyx
''')
@ -2682,6 +2684,8 @@ lib_layouts_files = Split('''
tarticle.layout
tbook.layout
treport.layout
tufte-book.layout
tufte-handout.layout
''')

View File

@ -415,6 +415,9 @@
@bAndreas Vox
@iE-mail: avox () arcor ! de
Bug fixes, feedback on LyX behaviour on the Mac, and improvements to DocBook export
@bJason Waskiewicz
@iE-mail: jason.waskiewicz () sendit ! nodak ! edu
Layouts for the Tufte document classes
@bJohn P. Weiss
@iE-mail: jpweiss () frontiernet ! net
Bugreports and suggestions, slides class support, editor of the documentationproject, 6/96-9/97. Tutorial chapter 1

View File

@ -252,6 +252,8 @@ dist_examples_DATA = \
examples/serial_letter3.lyx \
examples/simplecv.lyx \
examples/splash.lyx \
examples/tufte-book.lyx \
examples/tufte-handout.lyx \
examples/xyfigure.png \
examples/xypic.lyx
@ -1119,7 +1121,9 @@ dist_layouts_DATA =\
layouts/theorems-starred.inc \
layouts/theorems-starred.module \
layouts/theorems-std.module \
layouts/treport.layout
layouts/treport.layout \
layouts/tufte-book.layout \
layouts/tufte-handout.layout
scriptsdir = $(pkgdatadir)/scripts
# Note that we "chmod 755" manually these files in install-data-hook.

View File

@ -1,4 +1,4 @@
% This file was created with JabRef 2.4.2.
% This file was created with JabRef 2.5.
% Encoding: Cp1252
@ARTICLE{Mena2000,
@ -66,6 +66,15 @@
doi = {10.1021/ja00089a029}
}
@BOOK{Bringhurst2005,
title = {The Elements of Typography},
publisher = {Hartley \& Marks},
year = {2005},
author = {Robert Bringhurst},
edition = {3.1},
isbn = {0-88179-205-5}
}
@BOOK{Cotton1999,
title = {{A}dvanced {I}norganic {C}hemistry},
publisher = {Wiley},

1185
lib/examples/tufte-book.lyx Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1472,6 +1472,14 @@ contributers = [
"22 February 2005",
u"Bug fixes, feedback on LyX behaviour on the Mac, and improvements to DocBook export"),
contributer(u"Jason Waskiewicz",
"jason.waskiewicz () sendit ! nodak ! edu",
"GPL",
"[Fwd: Re: tufte-book layout for LyX]",
"m=125659179116032",
"26 October 2009",
u"Layouts for the Tufte document classes"),
contributer(u"John P. Weiss",
"jpweiss () frontiernet ! net",
"Artistic",

View File

@ -0,0 +1,147 @@
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[tufte-book]{book (Tufte)}
# tufte-book textclass definition file.
# Jason Waskiewicz <jason.waskiewicz@sendit.nodak.edu>, 2009/10/18
# Modified by Uwe Stöhr <uwestoehr@web.de>, 2009/10/27
Format 11
Provides geometry 1
Provides natbib-internal 1
Style Standard
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
# import other layouts
Input stdlayouts.inc
Input book.layout
NoStyle Subsubsection
NoStyle Subsubsection*
NoStyle Paragraph
NoStyle Paragraph*
NoStyle Subparagraph
NoStyle Subparagraph*
InsetLayout Sidenote
LyxType custom
LatexType command
LatexName sidenote
Decoration classic
LabelString "sidenote"
Font
Color foreground
Size Small
Misc No_Emph
Misc No_Noun
Misc No_Bar
EndFont
LabelFont
Color marginlabel
Size Small
EndFont
End
InsetLayout Marginnote
CopyStyle Sidenote
LatexName marginnote
Decoration classic
LabelString "marginnote"
Font
Family Roman
Shape Up
Series Medium
EndFont
MultiPar true
End
InsetLayout NewThought
LyXType charstyle
LatexType Command
LatexName newthought
LabelString "new thought"
Font
Shape SmallCaps
EndFont
LabelFont
Family Roman
Color red
EndFont
End
InsetLayout AllCaps
CopyStyle NewThought
LatexName allcaps
LabelString "allcaps"
Font
Shape Up
Misc Noun
EndFont
LabelFont
Color blue
EndFont
End
InsetLayout SmallCaps
CopyStyle NewThought
LatexName smallcaps
LabelString "smallcaps"
LabelFont
Color green
EndFont
End
Style Full_Width
Margin Static
LaTeXType environment
LaTeXName fullwidth
Category MainText
NextNoIndent 1
ParSkip 0
ItemSep 0
TopSep 0.5
BottomSep 0.5
ParSep 0
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
# this steps the counters
Counter
Name marginfigure
End
Counter
Name margintable
End
# define the floats
Float
Type margintable
GuiName MarginTable
Placement tbp
Extension lot
NumberWithin none
Style plain
ListName "List of Tables"
LaTeXBuiltin true
End
Float
Type marginfigure
GuiName MarginFigure
Placement tbp
Extension lof
NumberWithin none
Style plain
ListName "List of Figures"
LaTeXBuiltin true
End

View File

@ -0,0 +1,136 @@
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[tufte-handout]{handout (Tufte)}
# tufte-handout textclass definition file.
# Juergen Spitzmueller <juergen@spitzmueller.org>, 2008/10/22
# Modified by Uwe Stöhr <uwestoehr@web.de>, 2009/10/27
Format 11
Provides geometry 1
Provides natbib-internal 1
# import other layouts
Input stdlayouts.inc
Input article.layout
NoStyle Subsubsection
NoStyle Subsubsection*
NoStyle Paragraph
NoStyle Paragraph*
NoStyle Subparagraph
NoStyle Subparagraph*
InsetLayout Sidenote
LyxType custom
LatexType command
LatexName sidenote
Decoration classic
LabelString "sidenote"
Font
Color foreground
Size Small
Misc No_Emph
Misc No_Noun
Misc No_Bar
EndFont
LabelFont
Color marginlabel
Size Small
EndFont
End
InsetLayout Marginnote
CopyStyle Sidenote
LatexName marginnote
Decoration classic
LabelString "marginnote"
Font
Family Roman
Shape Up
Series Medium
EndFont
MultiPar true
End
InsetLayout NewThought
LyXType charstyle
LatexType Command
LatexName newthought
LabelString "new thought"
Font
Shape SmallCaps
EndFont
LabelFont
Family Roman
Color red
EndFont
End
InsetLayout AllCaps
CopyStyle NewThought
LatexName allcaps
LabelString "allcaps"
Font
Shape Up
Misc Noun
EndFont
LabelFont
Color blue
EndFont
End
InsetLayout SmallCaps
CopyStyle NewThought
LatexName smallcaps
LabelString "smallcaps"
LabelFont
Color green
EndFont
End
Style Full_Width
Margin Static
LaTeXType environment
LaTeXName fullwidth
Category MainText
NextNoIndent 1
ParSkip 0
ItemSep 0
TopSep 0.5
BottomSep 0.5
ParSep 0
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
# this steps the counters
Counter
Name marginfigure
End
Counter
Name margintable
End
# define the floats
Float
Type margintable
GuiName MarginTable
Placement tbp
Extension lot
NumberWithin none
Style plain
ListName "List of Tables"
LaTeXBuiltin true
End
Float
Type marginfigure
GuiName MarginFigure
Placement tbp
Extension lof
NumberWithin none
Style plain
ListName "List of Figures"
LaTeXBuiltin true
End

View File

@ -30,6 +30,8 @@ What's new
- New layout files for Inderscience journals (bug 6293).
- New layout files for the document classes tufte-book and tufte-handout.
- Add support for jmakeindex (Japanese version of makeindex).