mvc 5 display pdf in view : Convert pdf to html form application Library utility azure asp.net wpf visual studio LangSci_Guidelines2-part400

5 L
A
T
E
X
5.1 Installationofthelangsciclass
5.1.1 Localinstallation
Foryourfirstbook,theeasiestwaywillbetodownloadtheskeletonfromhttp:
//test.langsci-press.org/information/templates.周ereisaskeletonformonogra-
phiesandaskeletonforeditedvolumes.Choosewhatisappropriateforyou.
LanguageSciencePressusestheLibertinefonts. Iftherearenotfoundon
yoursystem,pleasecontactyoursystemadministratortoinstallthem. Iffor
whateverreasonthefontscannotbeinstalled,weprovideaskeletonwhichdoes
notrequiretheLibertinefonts.周ecreationofthebookwillbethesame,butthe
lookwillbeslightlydifferent.Beforethebookentersthefinalproductionphase,
asystemwiththecorrectfontshastoavailable.
5.1.2 Onlineeditor
InordertofamiliarizeyourselfwithL
A
T
E
X,youmightalsowanttotrythewebser-
vicewritelatex.comfirst(Figure5.1).Visithttp://bit.ly/1u05Xgrandselect“open
astemplate”.Clickon[Project]attheverytoptoseeallfiles.周emostimportant
fileischapters/filename.tex.
5.2 周eskeleton
周eskeletonhasamainfile,whichiscalledlsp-skeleton.tex.Youcan
leavethatnameorchooseanamemoresuitableforyourbook,e.g.smith.tex
orhawaiiangrammar.tex.周atmainfiledrawsinformationfromanum-
berofotherfileswhich areinthesamedirectory. . Allthosefilesstart t with
local....Furthermore,themainfileincludesthechapters,whicharefound
inthedirectorychapters/.
Anumberofauxiliaryfilesaregeneratedonthefly,theseare.tocforthe
tableofcontents;.bblforthebibliography;and.ind,.and,and.lndfor
theindexes.
Convert pdf to html form - application Library utility:C# PDF Convert to HTML SDK: Convert PDF to html files in C#.net, ASP.NET MVC, WinForms, WPF application
How to Convert PDF to HTML Webpage with C# PDF Conversion SDK
www.rasteredge.com
Convert pdf to html form - application Library utility:VB.NET PDF Convert to HTML SDK: Convert PDF to html files in vb.net, ASP.NET MVC, WinForms, WPF application
PDF to HTML Webpage Converter SDK for VB.NET PDF to HTML Conversion
www.rasteredge.com
5 L
A
T
E
X
Figure5.1:Writelatex
5.3 Usingthelangsciclass
周ereareavarietyofprogramsformakingwritingLAT
E
Xdocumentseasier.
ForMicroso晴Windows,Texniccenteristhemostpopularone(Figure5.2).For
Mac,Texshop(Figure5.3)andTexstudio(Figure5.4)arepopularchoices. For
Linux,KileisaverygoodLAT
E
Xeditor(Figure5.5).
5.4 Producingthedocument
InyourL
A
T
E
Xeditor,therearevariouswaystocreateapdffromyoursourcecode.
Choosexelatex. 周efirsttimeyourunit,itwillproduceapdfwithallthe
text,butwithnotableofcontents.Whenyourunitagain,youwillseethetable
ofcontentsandthetext.周erearechancesthatyoureditorwillshowerrormes-
sages.Commoncausesareunmatchedbracesor\begin{...}notfollowed
by\end{...}
Inordertoincludethebibliography,youhavetorunbibtextoreadthe
bibliography,andthenagainxelatextoincludeitintoyourdocument. Pay
a瑴entiontoerrormessagesandwarnings.
Ifyouareusingtheskeletonforeditedvolumes,youhavetorunbibtexon
all*-blx.aux-files(oneforeachchapter).Ifthisistoocumbersome,youcan
alsousetheprogrambibtexvolume,whichwilldothisforyouandwhichis
foundintheskeletonaswell.
16
application Library utility:VB.NET PDF Form Data Read library: extract form data from PDF in
RasterEdge .NET PDF SDK is such one provide various of form field edit functions. Demo Code to Retrieve All Form Fields from a PDF File in VB.NET.
www.rasteredge.com
application Library utility:C# PDF Form Data Read Library: extract form data from PDF in C#.
A best PDF document SDK library enable users abilities to read and extract PDF form data in Visual C#.NET WinForm and ASP.NET WebForm applications.
www.rasteredge.com
5.4 Producingthedocument
Figure5.2:Texniccenter
Figure5.3:Texshop
17
application Library utility:VB.NET PDF Convert to Jpeg SDK: Convert PDF to JPEG images in vb.
C#: Convert PDF to HTML; C#: Convert PDF to Jpeg; C# File C# Protect: Add Password to PDF; C# Form: extract value from fields; C# Annotate: PDF Markup & Drawing.
www.rasteredge.com
application Library utility:C# PDF Convert to Jpeg SDK: Convert PDF to JPEG images in C#.net
C# PDF - Convert PDF to JPEG in C#.NET. C#.NET PDF to JPEG Converting & Conversion Control. Convert PDF to JPEG Using C#.NET. Add necessary references:
www.rasteredge.com
5 L
A
T
E
X
Figure5.4:Texstudio
Figure5.5:Kile
18
application Library utility:VB.NET PDF Convert to Word SDK: Convert PDF to Word library in vb.
VB.NET PDF - Convert PDF to MS Office Word in VB.NET. VB.NET Tutorial for How to Convert PDF to Word (.docx) Document in VB.NET. Best
www.rasteredge.com
application Library utility:VB.NET PDF Convert to Tiff SDK: Convert PDF to tiff images in vb.
VB.NET PDF - Convert PDF to TIFF Using VB in VB.NET. Free VB.NET Guide to Render and Convert PDF Document to TIFF in Visual Basic Class.
www.rasteredge.com
5.5 Adaptingthestructureofthedocument
Table5.1:Filestructureoftheskeleton
file
content
localmetadata.tex
informationabouttheauthor,thetitle,
theISBNetc
localpackages.tex
extrapackagesyoumightrequire,for
instanceforsyntactictreesorHebrew
text
localcommands.tex
extracommandsyoumightwanttode-
fine, e.g. for r very frequent abbreva-
tionsinyourtext
localhyphenation.tex
for words s where the L
A
T
E
X hyphen-
ationalgorithmdoesnotproducethe
desiredresult
localbibliography.bib
yourbibliographyinBibT
E
X-format
chapters/chapter1.tex
text
chapters/chapter2.tex
text
text
周ecreationoftheindexesisabitmorecomplicated.Youcanleavethistothe
LanguageSciencePresspeople.周erelevantcommandsare:
makeindex -o lsp-skeleton.and lsp-skeleton.adx
makeindex -o lsp-skeleton.lnd lsp-skeleton.ldx
makeindex -o lsp-skeleton.snd lsp-skeleton.sdx
5.5 Adaptingthestructureofthedocument
周egeneralstructureofthedocumentisgivenbyLanguageSciencePress.You
haveacoupleofoptionstochangethestructure:
• Youcanchoosetheskeletonformonographoreditedvolume
• Youcanaddadditionalchapterstothedirectorychapters,forinstance
chapters/chapter4.texorchapters/introduction.tex.
Makesuretoadd\include{chapters/introduction}(without
.tex)toyourmainfile.
19
application Library utility:C# PDF Convert to SVG SDK: Convert PDF to SVG files in C#.net, ASP
PDFDocument pdf = new PDFDocument(@"C:\input.pdf"); pdf.ConvertToVectorImages( ContextType.SVG, @"C:\demoOutput Description: Convert to html/svg files and
www.rasteredge.com
application Library utility:C# PDF Convert to Tiff SDK: Convert PDF to tiff images in C#.net
C#.NET PDF SDK - Convert PDF to TIFF in C#.NET. Online C# Tutorial for How to Convert PDF File to Tiff Image File with .NET XDoc.PDF Control in C#.NET Class.
www.rasteredge.com
5 L
A
T
E
X
• Youcanaddapreface,acknowledgements,oralistofabbreviationswith
\addchap{Preface}.
5.6 Commoncommands
周ewealthofcommandsavailableinL
A
T
E
Xcanbedauntingatfirstsight.How-
ever,verysoonyouwillseethatyoucangetaverylongwaywithsomevery
basiccommands.周efirstbatchinvolvethestructureofyourdocument,i.e.the
variouslevelsofheadings.周eseare:
• \chapter{titleofheading}
• \section{titleofheading}
• \subsection{titleofheading}
• \subsubsection{titleofheading}
周esecommandsgiveyouanumberedtitleintherightlayout.Forprefaces,ac-
knowledgementsetc.,whicharenotnumbered,use\addchap{Preface}in-
steadof\chapter{Preface}.Othercommoncommandsare\label{la
belname}toassignalabel,and\ref{labelname}torefertoalabel.Itis
goodpracticetouse\sectref{labelname},\tabref{labelname},
\figref{labelname},torefertosections,tables,andfigures,respectively.
Areferencetothissectionwillbesee \sectref{sec:latex:commonco
mmands},whichwillproduce“see§5.6”.
Othercommandsveryo晴enusedinacademictextsare\citet{somework}
and\citep{somework}.Usetheformertociteaworkintherunningtext
andthela瑴ertociteitinparentheses.Inordertoavoiddoubleparentheses,you
canuse\citealt{somework}.Pagenumbersareaddedwith\citet[99
--123]{somework}. Makesuretouseadoublehyphenforranges,which
willgiveadashinthepdf.CitationsworkwithkeysfromyourBibT
E
Xfile. In
theexamplesabovesomeworkisthekeyofarecordinyourBibT
E
Xfile.When
someworkiscitedinthedocument,thepdfwillshowtherightcitationinthe
rightstyle,andtheworkwillbeaddedautomaticallytothelistofreferencesat
theveryend.Pleaserefertotheguidlinesforbibliographiesformoreinforma-
tion.
Ifsometextshouldnotbeinthenormalfont,use\textit{text to chan
ge}foritalics,\textsc{text to change}forsmallcapitals. 周ereis
generallynoneedtouseboldface.Ifyouwanttouseboldface,getintouchwith
yourserieseditors.
20
5.6 Commoncommands
5.6.1 Linguisticexamples
Linguisticexamplesaretypesetlikethis
\ea\label{ex:examplelabel}
\langinfo{French}{Indo-European}{personal knowledge}\\
\gll
Jean aim-e
Marie \\
John love-\textsc{3s.pres.ind} Mary \\
\glt ‘John loves Mary.’
\z
周isgivesyou
(1) French(Indo-European;personalknowledge)
Jean
John
aim-e
love-3sg.prs.ind
Marie
Mary
‘JohnlovesMary.’
Roughalignmentofglossesinthesourcetextcanbehelpful,butisnotneces-
sary.MostglossesfromtheLeipzigGlossingRulescanbeaccessedviashortcuts.
周eexampleabovecouldalsobetypesetas
\ea\label{ex:examplelabel}
\langinfo{French}{Indo-European}{personal knowledge}\\
\gll
Jean aim-e
Marie \\
John love-{3\sg.\prs.\ind} Mary \\
\glt ‘John loves Mary.’
\z
Formorecomplicatedexampleswithmorelines,judgments,additionalinfor-
mationandthelike,refertotheshowcasessection,ortothedocumentationof
thepackagelsp-gb4e.\langinfoshouldbeusedifthelanguagecannot
beassumedtobewidelyknown.周efirstargumentisthelanguage,thesecond
thefamily,thethirdthesource.Ifthefamilyisle晴blank,itwillnotdisplay.If
yougiveareferenceinthesource,use\citealtratherthan\citep.
Toavoidapagebreakinanexample,putitbetween\protectedex{...}.
\protectedex{
\ea\label{ex:examplelabel}
\langinfo{French}{Indo-European}{personal knowledge}\\
\gll
Jean aim-e
Marie \\
21
5 L
A
T
E
X
John love-{3\sg.\prs.\ind} Mary \\
\glt ‘John loves Mary.’
\z
}
5.6.2 Graphics
Inordertoaddagraphic,usethefollowingstretchofcode
\begin{figure}
\includegraphics[height=.3\textheight]{filename.png}
\caption{Some good caption.}
\label{fig:chapterhandle:keytofigure}
\end{figure}
5.6.3 Tables
Inordertoaddatable,usethefollowingstretchofcode:
\begin{table}
\begin{tabular}{lll}
\lsptoprule
German
& French
& Spanish \\
\midrule
Zelle
& cellule & célula
\\
Zelle
& cellule & célula
\\
Zelle
& cellule & célula
\\
\lspbottomrule
\end{tabular}
\caption{Some good caption.}
\label{tab:chapterhandle:keytotable}
\end{table}
周iswillgiveyouTable5.2.周erearewaystoaddadditionalverticallines,but
thisshouldgenerallynotbedone.Ifyourcellsgettowide,use\begin{tabular}
{p{4cm}p{4cm}p{4cm}},ratherthan\begin{tabular}{lll}
Youshouldnotassumethatafigureortablewillbeplacedexactlywhereit
appearsinthetext.周erefore,referenceslike“inthetableabove/below”should
notbeused.
22
5.6 Commoncommands
Table5.2:Somegoodcaption.
German French Spanish
Zelle
cellule célula
Zelle
cellule célula
Zelle
cellule célula
5.6.4 Footnotes
Inordertoaddfootnotes,usethecommand\footnote{...}.Ifyouwantto
useafootnoteinanexample,useword {\footnotemark} word word}
andaddalinewith\footnotetext{text of the footnote}justbe-
forethetranslationoftheexample. Youshouldnotaddfootnotestotablesor
figures.
Acommonrequirementistoputpagesinlandscapeorientationratherthan
portrait. Inordertodothis,usesidewaysfigureorsidewaystable
insteadofthenormalfigureortable.
Anothercommonrequirementisfi瑴ingatableorotherelementwhichisabit
toolargeonthepage.Inordertodothis,use\resizebox{\linewidth}{!}
{stuff to resize}.
Forotherspecialneeds,pleasecontactourcoordinatoratsupport@langsci-
press.org.
5.6.5 Computercode
Pleaseusethelistingsenvironment.Youcanchangewhichwordsshould
countaskeywords.
\begin{lstlisting}[language=Python,%
stringstyle=\color{blue}]
greeting = ”Hello”
addressees = [”World”, ”Sky”]
for addressee in addresses:
print greeting, addressee
\end{lstlisting}
23
5 L
A
T
E
X
greeting = ”Hello”
addressees = [”World””Sky”]
for addressee in addresses:
print greeting g , addressee
5.7 Adaptingtheclasstoyourneeds
Additionalpackagescanbeaddedvia\usepackage{packagename}inthe
filelocalpackages.tex.Addtionalcommandscanbeaddedvia\newco
mmand{\commandname}{commanddefinition}inthefilelocalcomm
ands.tex.
Differentsubdisciplinesoflinguisticshavedifferentrequirements. Syntactic
trees,generouslystackeddiacritics,a瑴ribute-valuematrices,foreignscripts(pos-
siblyright-to-le晴)orOT-tableauscometomind.Havealookatthe‘showcases’
guidelinetoseehowtotypesettheseelements.
5.8 Dra晴s
SinceLanguageSciencePressdoesnothaveanycommercialinterest,youcanput
yourbookonwebpagesanddistributeitfreely.Weencourageauthorstodothis
inordertodiscusstheworkandimproveitbeforefinalpublication.Ifauthors
wanttocirculateprefinalversions,theycanusetheoptiondraftmode.周is
printsalargewatermarkontothefirstpageandaddsafootertoeverpagethat
informsthereaderaboutthefactthattheyarereadingadra晴andthedateand
timeofthecreationofthedra晴.
24
Documents you may be interested
Documents you may be interested