telerik pdf viewer asp.net demo : How to copy picture from pdf file Library control component asp.net azure .net mvc README1-part568

PandocUser’sGuide
Options
Optionsaffectingspecificwriters
--self-contained ProduceastandaloneHTMLfilewithnoexternaldependencies,usingdata:URIs
toincorporatethecontentsoflinkedscripts,stylesheets,images,andvideos. Theresultingfile
shouldbe“self-contained,”inthesensethatitneedsnoexternalfilesandnonetaccesstobe
displayedproperlybyabrowser. ThisoptionworksonlywithHTMLoutputformats,including
html,html5,html+lhs,html5+lhs,s5,slidy,slideous,dzslides,and revealjs.Scripts,im-
ages,andstylesheetsatabsoluteURLswillbedownloaded;thoseatrelativeURLswillbesought
relativetotheworkingdirectory(ifthefirstsourcefileislocal)orrelativetothebaseURL(ifthe
firstsourcefileisremote).Limitation:resourcesthatareloadeddynamicallythroughJavaScript
cannot beincorporated; asaresult,--self-containeddoesnotworkwith--mathjax, and
someadvancedfeatures(e.g.zoomorspeakernotes)maynotworkinanoffline“self-contained”
reveal.jsslideshow.
--html-q-tags Use<q>tagsforquotesinHTML.
--ascii Useonlyasciicharactersinoutput.CurrentlysupportedonlyforHTMLoutput(whichuses
numericalentitiesinsteadofUTF-8whenthisoptionisselected).
--reference-links Usereference-stylelinks,ratherthaninlinelinks,inwritingMarkdownorre-
StructuredText.Bydefaultinlinelinksareused.
--atx-headers UseATX-styleheadersinMarkdownandasciidocoutput.Thedefaultistousesetext-
styleheadersforlevels1-2,andthenATXheaders.
--chapters Treattop-levelheadersaschaptersinLaTeX,ConTeXt,andDocBookoutput.Whenthe
LaTeXdocumentclassissettoreport,book,ormemoir(unlessthearticleoptionisspecified),
thisoptionisimplied.Ifbeameristheoutputformat,top-levelheaderswillbecome\part{..}.
-N,--number-sections NumbersectionheadingsinLaTeX,ConTeXt,HTML,orEPUBoutput. By
default,sectionsarenotnumbered. Sectionswithclassunnumberedwillneverbenumbered,
evenif--number-sectionsisspecified.
--number-offset=NUMBER[,NUMBER,OffsetforsectionheadingsinHTMLoutput(ignored
inotheroutputformats).Thefirstnumberisaddedtothesectionnumberfortop-levelheaders,
thesecondforsecond-levelheaders,andsoon. So,forexample,ifyouwantthefirsttop-level
headerinyourdocumenttobenumbered“6”,specify--number-offset=5. Ifyourdocument
startswithalevel-2headerwhichyouwanttobenumbered“1.5”,specify--number-offset=1,4.
Offsetsare0bydefault.Implies--number-sections.
--no-tex-ligatures Do notuse theTeXligaturesforquotationmarks,apostrophes, , and d dashes
(`...',``..'',--,---)whenwritingorreadingLaTeXorConTeXt. InreadingLaTeX,parse
thecharacters`,',and-literally,ratherthanparsingligaturesforquotationmarksanddashes.
In writing LaTeX or ConTeXt, print unicode quotation mark and dash characters literally,
ratherthanconvertingthemtothe standard ASCII TeXligatures. Note: normally --smart
isselectedautomaticallyforLaTeXandConTeXtoutput, butit mustbespecifiedexplicitlyif
--no-tex-ligaturesisselected. Ifyouuseliteralcurlyquotes,dashes,andellipsesinyour
source,thenyoumaywanttouse--no-tex-ligatureswithout--smart.
v1.17.0.3
11
How to copy picture from pdf file - copy, paste, cut PDF images in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Detailed tutorial for copying, pasting, and cutting image in PDF page using C# class code
copy and paste image from pdf to word; how to copy pdf image
How to copy picture from pdf file - VB.NET PDF copy, paste image library: copy, paste, cut PDF images in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
VB.NET Tutorial for How to Cut or Copy an Image from One Page and Paste to Another
how to copy pictures from pdf file; copy paste picture pdf
PandocUser’sGuide
Options
--listings UsethelistingspackageforLaTeXcodeblocks
-i,--incremental Makelistitemsinslideshowsdisplayincrementally(onebyone). Thedefaultis
forliststobedisplayedallatonce.
--slide-level=NUMBER Specifiesthatheaderswiththespecifiedlevelcreateslides(forbeamer,
s5,slidy,slideous,dzslides).Headersabovethislevelinthehierarchyareusedtodividethe
slideshowintosections;headersbelowthislevelcreatesubheadswithinaslide.Thedefaultisto
settheslidelevelbasedonthecontentsofthedocument;seeStructuringtheslideshow.
--section-divs Wrapsectionsin<div>tags(or<section>tagsinHTML5),andattachidentifiersto
theenclosing<div>(or<section>)ratherthantheheaderitself.SeeHeaderidentifiers,below.
--email-obfuscation=none|javascript|references Specify a method for obfuscating mailto:
linksinHTMLdocuments.noneleavesmailto:linksastheyare.javascriptobfuscatesthem
usingjavascript.referencesobfuscatesthembyprintingtheirlettersasdecimalorhexadecimal
characterreferences.Thedefaultisjavascript.
--id-prefix=STRING SpecifyaprefixtobeaddedtoallautomaticallygeneratedidentifiersinHTML
andDocBookoutput,andtofootnotenumbersinMarkdownoutput.Thisisusefulforpreventing
duplicateidentifierswhengeneratingfragmentstobeincludedinotherpages.
-TSTRING,--title-prefix=STRING SpecifySTRINGasaprefixatthebeginningofthetitlethat
appearsintheHTMLheader(butnotinthetitleasitappearsatthebeginningoftheHTMLbody).
Implies--standalone.
-cURL,--css=URL LinktoaCSSstylesheet.Thisoptioncanbeusedrepeatedlytoincludemultiple
files.Theywillbeincludedintheorderspecified.
--reference-odt=FILE UsethespecifiedfileasastylereferenceinproducinganODT.Forbestre-
sults,thereferenceODTshouldbeamodifiedversionofanODTproducedusingpandoc. The
contentsofthereferenceODTareignored,butitsstylesheetsareusedinthenewODT.Ifnoref-
erenceODTisspecifiedonthecommandline,pandocwilllookforafilereference.odtinthe
userdatadirectory(see--data-dir).Ifthisisnotfoundeither,sensibledefaultswillbeused.
--reference-docx=FILE Usethespecifiedfileasastylereferenceinproducingadocxfile.Forbest
results,thereferencedocxshouldbeamodifiedversionofadocxfileproducedusingpandoc.The
contentsofthereferencedocxareignored,butitsstylesheetsanddocumentproperties(including
margins,pagesize,header,andfooter)areusedinthenewdocx. Ifnoreferencedocxisspeci-
fiedonthecommandline,pandocwilllookforafilereference.docxintheuserdatadirectory
(see--data-dir).Ifthisisnotfoundeither,sensibledefaultswillbeused. Thefollowingstyles
areusedbypandoc:[paragraph]Normal,BodyText,FirstParagraph,Compact,Title,Subtitle,
Author,Date,Abstract,Bibliography,Heading1,Heading2,Heading3,Heading4,Heading5,
Heading6,BlockText,FootnoteText,DefinitionTerm,Definition,Caption,TableCaption,Im-
ageCaption,Figure,FigureWithCaption,TOCHeading;[character]DefaultParagraphFont,
BodyTextChar,VerbatimChar,FootnoteReference,Hyperlink;[table]NormalTable.
--epub-stylesheet=FILE UsethespecifiedCSSfiletostyletheEPUB.Ifnostylesheetisspecified,
pandocwilllookforafileepub.cssintheuserdatadirectory(see--data-dir).Ifitisnotfound
there,sensibledefaultswillbeused.
v1.17.0.3
12
C# PDF insert image Library: insert images into PDF in C#.net, ASP
NET image adding library control for PDF document, you can easily and quickly add an image, picture or logo to any position of specified PDF document file page
how to paste a picture into pdf; how to copy picture from pdf
VB.NET PDF insert image library: insert images into PDF in vb.net
Enable users to insert images to PDF file in ASPX webpage project. Import graphic picture, digital photo, signature and logo into PDF document.
how to copy and paste image from pdf to word; copy and paste image from pdf
PandocUser’sGuide
Options
--epub-cover-image=FILE UsethespecifiedimageastheEPUBcover.Itisrecommendedthatthe
imagebelessthan1000pxinwidthandheight.NotethatinaMarkdownsourcedocumentyou
canalsospecifycover-imageinaYAMLmetadatablock(seeEPUBMetadata,below).
--epub-metadata=FILE LookinthespecifiedXMLfileformetadatafortheEPUB.Thefileshould
containaseriesofDublinCoreelements.Forexample:
<dc:rights>Creative Commons</dc:rights>
<dc:language>es-AR</dc:language>
Bydefault,pandocwillincludethefollowingmetadataelements: <dc:title>(fromthedocu-
menttitle),<dc:creator>(fromthedocumentauthors),<dc:date>(fromthedocumentdate,
whichshouldbeinISO8601format),<dc:language>(fromthelangvariable,or,ifisnotset,the
locale),and<dc:identifier id="BookId">(arandomlygeneratedUUID).Anyofthesemaybe
overriddenbyelementsinthemetadatafile.
Note:ifthesourcedocumentisMarkdown,aYAMLmetadatablockinthedocumentcanbeused
instead.SeebelowunderEPUBMetadata.
--epub-embed-font=FILE EmbedthespecifiedfontintheEPUB.Thisoptioncanberepeatedtoem-
bedmultiplefonts. Wildcardscanalsobeused: forexample,DejaVuSans-*.ttf. However,if
youusewildcardsonthecommandline,besuretoescapethemorputthewholefilenameinsin-
glequotes,topreventthemfrombeinginterpretedbytheshell.Tousetheembeddedfonts,you
willneedtoadddeclarationslikethefollowingtoyourCSS(see--epub-stylesheet):
@font-face {
font-family: DejaVuSans;
font-style: normal;
font-weight: normal;
src:url("DejaVuSans-Regular.ttf");
}
@font-face {
font-family: DejaVuSans;
font-style: normal;
font-weight: bold;
src:url("DejaVuSans-Bold.ttf");
}
@font-face {
font-family: DejaVuSans;
font-style: italic;
font-weight: normal;
src:url("DejaVuSans-Oblique.ttf");
}
@font-face {
font-family: DejaVuSans;
font-style: italic;
font-weight: bold;
v1.17.0.3
13
VB.NET Image: Image Cropping SDK to Cut Out Image, Picture and
first! VB.NET Image & Picture Cropping Application. Do you need to save a copy of certain part of an image file in a programming way?
how to cut a picture from a pdf document; copy image from pdf to
C# HTML5 Viewer: Deployment on ASP.NET MVC
under Views according to config in picture above. RasterEdge.XDoc.PDF.HTML5Editor. dll. Open RasterEdge_MVC3 DemoProject, copy following content to your project:
how to copy pictures from pdf to powerpoint; how to copy an image from a pdf in
PandocUser’sGuide
Options
src:url("DejaVuSans-BoldOblique.ttf");
}
body { font-family: "DejaVuSans"; }
--epub-chapter-level=NUMBER SpecifytheheaderlevelatwhichtosplittheEPUBintoseparate
“chapter”files. Thedefaultistosplitintochaptersatlevel1headers. Thisoptiononlyaffects
theinternalcompositionoftheEPUB,notthewaychaptersandsectionsaredisplayedtousers.
Somereadersmaybeslowifthechapterfilesaretoolarge,soforlargedocumentswithfewlevel
1headers,onemightwanttouseachapterlevelof2or3.
--latex-engine=pdflatex|lualatex|xelatex UsethespecifiedLaTeXenginewhenproducingPDF
output. Thedefaultispdflatex. IftheengineisnotinyourPATH,thefullpathoftheengine
maybespecifiedhere.
--latex-engine-opt=STRING Usethegivenstringasacommand-lineargumenttothelatex-engine.
Ifusedmultipletimes,theargumentsareprovidedwithspacesbetweenthem. Notethatno
checkforduplicateoptionsisdone.
Citationrendering
--bibliography=FILE Setthe bibliography field in n the e document’s s metadatato FILE, overrid-
ingany value set in the metadata, and processcitationsusing pandoc-citeproc. (Thisis
equivalent to --metadata bibliography=FILE --filter pandoc-citeproc.) If --natbib
or --biblatex is also supplied, pandoc-citeproc is not used, making this equivalent to
--metadata bibliography=FILE.Ifyousupplythisargumentmultipletimes,eachFILEwill
beaddedtobibliography.
--csl=FILE Setthecslfieldinthedocument’smetadatatoFILE,overridinganyvaluesetinthe
metadata. (This isequivalent to --metadata csl=FILE.) This option isonly relevant with
pandoc-citeproc.
--citation-abbreviations=FILE Setthecitation-abbreviationsfieldinthedocument’smeta-
datatoFILE, overriding any value set inthe metadata. (This is equivalent to--metadata
citation-abbreviations=FILE.)Thisoptionisonlyrelevantwith pandoc-citeproc.
--natbib UsenatbibforcitationsinLaTeXoutput.Thisoptionisnotforusewiththepandoc-citeproc
filterorwithPDFoutput.ItisintendedforuseinproducingaLaTeXfilethatcanbeprocessed
withbibtex.
--biblatex Use biblatex for citations in LaTeX output. . This s option n is not t for use with the
pandoc-citeprocfilterorwithPDFoutput.ItisintendedforuseinproducingaLaTeXfilethat
canbeprocessedwithbibtexorbiber.
MathrenderinginHTML
-m[URL],--latexmathml[=URLUsetheLaTeXMathMLscripttodisplayembeddedTeXmathin
HTMLoutput. ToinsertalinktoalocalcopyoftheLaTeXMathML.jsscript,provideaURL.If
v1.17.0.3
14
VB.NET Image: Image Resizer Control SDK to Resize Picture & Photo
NET Method to Resize Image & Picture. Here we code demo, which you can directly copy to your provide powerful & profession imaging controls, PDF document, image
how to copy an image from a pdf to powerpoint; copy pdf picture to word
VB.NET PDF remove image library: remove, delete images from PDF in
C#.NET PDF pages extract, copy, paste, C# Powerful PDF image editor control, compatible with .NET Support removing vector image, graphic picture, digital photo
how to copy picture from pdf file; how to paste a picture into a pdf document
PandocUser’sGuide
Options
noURLisprovided,thecontentsofthescriptwillbeinserteddirectlyintotheHTMLheader,
preservingportabilityatthepriceofefficiency. Ifyouplantousemathonseveralpages,itis
muchbettertolinktoacopyofthescript,soitcanbecached.
--mathml[=URLConvertTeXmathtoMathML(indocbookaswellashtmlandhtml5). Instan-
dalonehtmloutput,asmalljavascript(oralinktosuchascriptifaURLissupplied)willbe
insertedthatallowstheMathMLtobeviewedonsomebrowsers.
--jsmath[=URLUsejsMathtodisplayembeddedTeXmathinHTMLoutput.TheURLshouldpoint
tothejsMathloadscript(e.g. jsMath/easy/load.js);ifprovided,itwillbelinkedtointhe
headerofstandaloneHTMLdocuments. IfaURLisnotprovided, nolinktothejsMathload
scriptwillbeinserted;itisthenuptotheauthortoprovidesuchalinkintheHTMLtemplate.
--mathjax[=URLUseMathJaxtodisplayembeddedTeXmathinHTMLoutput. TheURLshould
pointtotheMathJax.jsloadscript.IfaURLisnotprovided,alinktotheMathJaxCDNwillbe
inserted.
--gladtex EncloseTeXmathin<eq>tagsinHTMLoutput.ThesecanthenbeprocessedbygladTeX
toproducelinkstoimagesofthetypesetformulas.
--mimetex[=URLRenderTeXmathusingthemimeTeXCGIscript. IfURLisnotspecified,itis
assumedthatthescriptisat/cgi-bin/mimetex.cgi.
--webtex[=URLRenderTeXformulasusinganexternalscriptthatconvertsTeXformulastoimages.
TheformulawillbeconcatenatedwiththeURLprovided. IfURLisnotspecified,theGoogle
ChartAPIwillbeused.
--katex[=URLUseKaTeXtodisplayembeddedTeXmathinHTMLoutput.TheURLshouldpoint
tothekatex.jsloadscript.IfaURLisnotprovided,alinktotheKaTeXCDNwillbeinserted.
--katex-stylesheet=URL TheURLshouldpointtothekatex.cssstylesheet. Ifthisoptionisnot
specified,alinktotheKaTeXCDNwillbeinserted.Notethatthisoptiondoesnotimply--katex.
Optionsforwrapperscripts
--dump-args Printinformationaboutcommand-lineargumentstostdout,thenexit. Thisoptionis
intendedprimarilyforuseinwrapperscripts. Thefirstlineofoutputcontainsthenameofthe
output filespecifiedwiththe-ooption, or-(forstdout)ifnooutput filewasspecified. The
remaininglinescontainthecommand-linearguments,oneperline, intheordertheyappear.
Thesedonotincluderegularpandocoptionsandtheirarguments,butdoincludeanyoptions
appearingaftera--separatorattheendoftheline.
--ignore-args Ignorecommand-linearguments(foruseinwrapperscripts).Regularpandocoptions
arenotignored.Thus,forexample,
pandoc --ignore-args -o foo.html -s foo.txt -- -e latin1
isequivalentto
pandoc -o foo.html -s
v1.17.0.3
15
VB.NET TIFF: How to Draw Picture & Write Text on TIFF Document in
Copy the demo codes and run your project to see New RaterEdgeDrawing() drawing.Picture = "RasterEdge" drawing & profession imaging controls, PDF document, tiff
copy and paste image into pdf; how to paste a picture in a pdf
VB.NET TIFF: Add New Image to TIFF File in Visual Basic .NET
". When you want to copy an image, graphics How to - Code. Here is a guide for using VB.NET code to append image or picture to TIFF file in .NET applications
how to copy picture from pdf to powerpoint; paste picture pdf
PandocUser’sGuide
Templates
Templates
Whenthe-s/--standaloneoptionisused,pandocusesatemplatetoaddheaderandfootermaterial
thatisneededforaself-standingdocument.Toseethedefaulttemplatethatisused,justtype
pandoc -D *FORMAT*
whereFORMAT isthe nameof theoutput format. Acustomtemplatecanbe specified usingthe
--templateoption. Youcanalsooverride e thesystem defaulttemplatesforagivenoutputformat
FORMATbyputtingafiletemplates/default.*FORMAT*intheuserdatadirectory(see--data-dir,
above).Exceptions:
• Forodtoutput,customizethedefault.opendocumenttemplate.
• Forpdfoutput,customizethedefault.latextemplate(orthedefault.beamertemplate,ifyou
use-t beamer,orthedefault.contexttemplate,ifyouuse-t context).
• docxhasnotemplate(however,youcanuse--reference-docxtocustomizetheoutput).
Templatescontainvariables,whichallowfortheinclusionofarbitraryinformationatanypointinthe
file. VariablesmaybesetwithinthedocumentusingYAMLmetadatablocks. Theymayalsobesetat
thecommandlineusingthe-V/--variableoption:variablessetinthiswayoverridemetadatafields
withthesamename.
Variablessetbypandoc
Somevariablesaresetautomaticallybypandoc.Thesevarysomewhatdependingontheoutputformat,
butincludemetadatafieldsaswellasthefollowing:
title,author,date allowidentificationofbasicaspectsofthedocument.IncludedinPDFmetadata
throughLaTeXandConTeXt. Thesecanbesetthroughapandoctitleblock,whichallowsfor
multipleauthors,orthroughaYAMLmetadatablock:
---
author:
- Aristotle
- Peter Abelard
...
subtitle documentsubtitle,includedinHTML,EPUB,LaTeX,ConTeXt,andWorddocx;rendersin
LaTeXonlywhenusingadocumentclassthatsupports\subtitle,suchasbeamerortheKOMA-
Scriptseries(scrartcl,scrreprt,scrbook).
1
1
TomakesubtitleworkwithotherLaTeXdocumentclasses,youcanaddthefollowingtoheader-includes:
\providecommand{\subtitle}[1]{%
v1.17.0.3
16
PandocUser’sGuide
Templates
institute authoraffiliations(inLaTeXand Beameronly). . Canbealist,whentherearemultiple
authors.
abstract documentsummary,includedinLaTeX,ConTeXt,AsciiDoc,andWorddocx
keywords listofkeywordstobeincludedinHTML,PDF,andAsciiDocmetadata;mayberepeatedas
forauthor,above
header-includes contentsspecifiedby-H/--include-in-header(mayhavemultiplevalues)
toc non-nullvalueif--toc/--table-of-contentswasspecified
toc-title titleoftableofcontents(worksonlywithEPUBanddocx)
include-before contentsspecifiedby-B/--include-before-body(mayhavemultiplevalues)
include-after contentsspecifiedby-A/--include-after-body(mayhavemultiplevalues)
body bodyofdocument
meta-json JSONrepresentationofallofthedocument’smetadata
Languagevariables
lang identifiesthemainlanguageofthedocument,usingacodeaccordingtoBCP47(e.g.enoren-GB).
Forsomeoutputformats,pandocwillconvertittoanappropriateformatstoredintheadditional
variablesbabel-lang,polyglossia-lang(LaTeX)andcontext-lang(ConTeXt).
Nativepandocspansanddivswiththelangattribute(valueinBCP47)canbeusedtoswitchthe
languageinthatrange.
otherlangs alistofotherlanguagesusedinthedocumentintheYAMLmetadata,accordingtoBCP
47.Forexample:otherlangs: [en-GB, fr].Thisisautomaticallygeneratedfromthelangat-
tributesinallspansanddivsbutcanbeoverridden.CurrentlyonlyusedbyLaTeXthroughthe
generatedbabel-otherlangsandpolyglossia-otherlangsvariables. TheLaTeXwriterout-
putspolyglossiacommandsinthetextbutthebabel-newcommandsvariablecontainsmappings
forthemtothecorrespondingbabel.
dir thebasedirectionofthedocument,eitherrtl(right-to-left)orltr(left-to-right).
Forbidirectionaldocuments,nativepandocspansanddivswiththedirattribute(valuertlor
ltr)canbeusedtooverridethebasedirectioninsomeoutputformats.Thismaynotalwaysbe
necessaryifthefinalrenderer(e.g.thebrowser,whengeneratingHTML)supportstheUnicode
BidirectionalAlgorithm.
WhenusingLaTeXforbidirectionaldocuments,onlythexelatexengineisfullysupported(use
--latex-engine=xelatex).
\usepackage{titling}
\posttitle{%
\par\large#1\end{center}}
}
v1.17.0.3
17
PandocUser’sGuide
Templates
Variablesforslides
Variablesareavailableforproducingslideshowswithpandoc,includingallreveal.jsconfigurationop-
tions.
slidy-url baseURLforSlidydocuments(defaultstohttp://www.w3.org/Talks/Tools/Slidy2)
slideous-url baseURLforSlideousdocuments(defaultstoslideous)
s5-url baseURLforS5documents(defaultstos5/default)
revealjs-url baseURLforreveal.jsdocuments(defaultstoreveal.js)
theme,colortheme,fonttheme,innertheme,outertheme themesforLaTeXbeamerdocuments
navigation controlsnavigationsymbolsinbeamerdocuments(defaultisemptyfornonavigationsym-
bols;othervalidvaluesareframe,vertical,andhorizontal).
section-titles enableson“titlepages”fornewsectionsinbeamerdocuments(default=true).
VariablesforLaTeX
LaTeXvariablesareusedwhencreatingaPDF.
papersize papersize,e.g.letter,A4
fontsize fontsizeforbodytext(e.g.10pt,12pt)
documentclass documentclass,e.g.article,report,book,memoir
classoption optionfordocumentclass,e.g.oneside;mayberepeatedformultipleoptions
geometry optionforgeometrypackage,e.g.margin=1in;mayberepeatedformultipleoptions
margin-left,margin-right,margin-top,margin-bottom setsmargins,ifgeometryisnotused(oth-
erwisegeometryoverridesthese)
linestretch adjustslinespacingusingthesetspacepackage,e.g.1.25,1.5
fontfamily fontpackageforusewithpdflatex:TeXLiveincludesmanyoptions,documentedinthe
LaTeXFontCatalogue.ThedefaultisLatinModern.
fontfamilyoptions optionsforpackageusedasfontfamily: e.g. osf,scwithfontfamilysetto
mathpazoprovidesPalatinowithold-stylefiguresandtruesmallcaps;mayberepeatedformul-
tipleoptions
mainfont,sansfont,monofont,mathfont,CJKmainfont font families s for r use with xelatex or
lualatex: take e the name of any system font, , using g the fontspec package. Note e that t if
CJKmainfontisused,the xecjkpackagemustbeavailable.
mainfontoptions,sansfontoptions,monofontoptions,mathfontoptions,CJKoptions options
to use with mainfontsansfontmonofontmathfontCJKmainfont in xelatex and
lualatex. Allowforanychoicesavailablethrough fontspec,suchastheOpenTypefeatures
Numbers=OldStyle,Numbers=Proportional.Mayberepeatedformultipleoptions.
fontenc allowsfontencodingtobespecifiedthroughfontencpackage(withpdflatex);defaultisT1
(seeguidetoLaTeXfontencodings)
colorlinks addcolortolinktext;automaticallyenabledifanyoflinkcolor,citecolor,urlcolor,
ortoccolorareset
linkcolor,citecolor,urlcolor,toccolor colorforinternallinks,citationlinks,externallinks,and
linksintableofcontents:usesanyofthepredefinedLaTeXcolors
links-as-notes causeslinkstobeprintedasfootnotes
v1.17.0.3
18
PandocUser’sGuide
Templates
indent usesdocumentclasssettingsforindentation(thedefaultLaTeXtemplateotherwiseremoves
indentationandaddsspacebetweenparagraphs)
subparagraph disablesdefaultbehaviorofLaTeXtemplatethatredefines(sub)paragraphsassections,
changingtheappearanceofnestedheadingsinsomeclasses
thanks specifiescontentsofacknowledgmentsfootnoteafterdocumenttitle.
toc includetableofcontents(canalsobesetusing--toc/--table-of-contents)
toc-depth levelofsectiontoincludeintableofcontents
lof,lot includelistoffigures,listoftables
bibliography bibliographytouseforresolvingreferences
biblio-style bibliographystyle,whenusedwith--natbiband--biblatex.
biblatexoptions listofoptionsforbiblatex.
VariablesforConTeXt
papersize papersize,e.g. letter,A4,landscape(seeConTeXtPaperSetup);mayberepeatedfor
multipleoptions
layout optionsforpagemarginsandtextarrangement(seeConTeXtLayout);mayberepeatedfor
multipleoptions
margin-left,margin-right,margin-top,margin-bottom setsmargins,iflayoutisnotused(other-
wiselayoutoverridesthese)
fontsize fontsizeforbodytext(e.g.10pt,12pt)
mainfont,sansfont,monofont,mathfont fontfamilies: takethenameofanysystemfont(seeCon-
TeXtFontSwitching)
linkcolor,contrastcolor colorforlinksoutsideandinsideapage,e.g. red,blue(seeConTeXt
Color)
linkstyle typefacestyleforlinks,e.g.normal,bold,slanted,boldslanted,type,cap,small
indenting controlsindentationofparagraphs,e.g.yes,small,next(seeConTeXtIndentation);may
berepeatedformultipleoptions
whitespace spacingbetweenparagraphs,e.g.none,small(usingsetupwhitespace)
interlinespace adjustslinespacing,e.g. 4ex(usingsetupinterlinespace);mayberepeatedfor
multipleoptions
headertext,footertext texttobeplacedinrunningheaderorfooter(seeConTeXtHeadersandFoot-
ers);mayberepeateduptofourtimesfordifferentplacement
pagenumbering pagenumberstyleandlocation(usingsetuppagenumbering);mayberepeatedfor
multipleoptions
toc includetableofcontents(canalsobesetusing--toc/--table-of-contents)
lof,lot includelistoffigures,listoftables
Variablesformanpages
section sectionnumberinmanpages
header headerinmanpages
footer footerinmanpages
adjusting adjuststexttoleft(l),right(r),center(c),orboth(b)margins
hyphenate iftrue(thedefault),hyphenationwillbeused
v1.17.0.3
19
PandocUser’sGuide
Templates
Usingvariablesintemplates
Variablenamesaresequencesofalphanumerics,-,and_,startingwithaletter. Avariablenamesur-
roundedby$signswillbereplacedbyitsvalue.Forexample,thestring$title$in
<title>$title$</title>
willbereplacedbythedocumenttitle.
Towritealiteral$inatemplate,use$$.
Templatesmaycontainconditionals.Thesyntaxisasfollows:
$if(variable)$
X
$else$
Y
$endif$
ThiswillincludeXinthetemplateifvariablehasanon-nullvalue;otherwiseitwillincludeY.XandY
areplaceholdersforanyvalidtemplatetext,andmayincludeinterpolatedvariablesorothercondition-
als.The$else$sectionmaybeomitted.
Whenvariablescanhavemultiplevalues(forexample,authorinamulti-authordocument),youcan
usethe$for$keyword:
$for(author)$
<meta name="author" content="$author$" />
$endfor$
Youcanoptionallyspecifyaseparatortobeusedbetweenconsecutiveitems:
$for(author)$$author$$sep$, $endfor$
Adotcanbeusedtoselectafieldofavariablethattakesanobjectasitsvalue.So,forexample:
$author.name$ ($author.affiliation$)
Ifyouusecustomtemplates,youmayneedtorevisethemaspandocchanges.Werecommendtracking
thechangesinthedefaulttemplates,andmodifyingyourcustomtemplatesaccordingly. Aneasyway
todothisistoforkthepandoc-templatesrepositoryandmergeinchangesaftereachpandocrelease.
v1.17.0.3
20
Documents you may be interested
Documents you may be interested