]> git.lyx.org Git - lyx.git/blob - lib/xtemplates/pdfpages.xtemplate
ANNOUNCE updates.
[lyx.git] / lib / xtemplates / pdfpages.xtemplate
1 #
2 # PDFPages External Template
3 #
4 # This file is part of LyX, the document processor.
5 # Licence details can be found in the file COPYING.
6 #
7 # author Asger Alstrup Nielsen
8 # author Angus Leeming
9 # author Johnathan Burchill
10 #
11 # Full author contact details are available in file CREDITS.
12
13 Template PDFPages
14         GuiName "PDF pages"
15         HelpText
16                 Includes PDF documents, using the 'pdfpages' package.
17                 To include multiple pages, use the 'pages'-option,
18                 which must be inserted to 'Options'.
19                 Examples:
20                 * pages={x-y} (for a range of pages)
21                 * pages={x,y,z} (for specific pages)
22                 * pages=- (to include all pages)
23                 * pages=last-1 (to include all pages in reverse order)
24                 With the option 'noautoscale' the PDF pages are
25                 inserted in their original size.
26                 Read the documentation of the pdfpages package
27                 for further options and details.
28         HelpTextEnd
29         InputFormat pdf6
30         FileFilter "*.pdf"
31         AutomaticProduction true
32         Transform Rotate
33         Transform Resize
34         Transform Extra
35         Preview Graphics
36         Format LaTeX
37                 TransformOption Rotate RotationLatexOption
38                 TransformOption Resize ResizeLatexOption
39                 TransformOption Extra  ExtraOption
40                 Option Arg "[$$Extra,$$Rotate,$$Resize]"
41                 Product "\\includepdf$$Arg{$$AbsOrRelPathMaster$$Basename}"
42                 UpdateFormat pdf6
43                 UpdateResult "$$AbsPath$$Basename.pdf"
44                 Requirement "pdfpages"
45                 ReferencedFile pdflatex "$$AbsPath$$Basename.pdf"
46         FormatEnd
47         Format Ascii
48                 Product "[PDFPages: $$FName]"
49         FormatEnd
50         Format DocBook
51                 Product "[PDFPages: $$FName]"
52         FormatEnd
53         Format XHTML
54                 Product "[PDFPages: $$FName]"
55         FormatEnd
56 TemplateEnd
57