Figure9:Snapshotof
M
T
E
XTMac:atemplateandsymbolpad
4.3 SmartCompilation
M
T
E
Xprovidesoneuniquesmart compilationscript,clatex.btm, for
.tex
files
andotherfiles. Roughlyspeaking,thisscriptcandosomecleverjobstohandle
fileswithdifferentextensionsanddifferentformats.Fornon-T
E
Xfiles,itinvokes
commandopenx-compiletocompilefilesviathecompilersettingsgiveninfile
openx.cfg
.ForT
E
Xfiles,thisscriptcandothefollowingjobs:
– For
.ctx
file,makenecessarypre-processingandpost-processingneeded
by
CCT
system.
– For
.ty
file,makenecessarypre-processingandpost-processingneededby
TY
system.
– DoproperactionsforallkindsofT
E
Xfilessoastomakeitinversesearchable
forboth
.dvi
and
.pdf
output.
– Generatemissingpixelfontsbeforepreviewingthe
.dvi
file.
21
Change pdf to txt file - application control utility:C# PDF Convert to Text SDK: Convert PDF to txt files in C#.net, ASP.NET MVC, WinForms, WPF application
C# PDF to Text (TXT) Converting Library to Convert PDF to Text
www.rasteredge.com
Change pdf to txt file - application control utility:VB.NET PDF Convert to Text SDK: Convert PDF to txt files in vb.net, ASP.NET MVC, WinForms, WPF application
VB.NET Guide and Sample Codes to Convert PDF to Text in .NET Project
www.rasteredge.com
– Invoke
bibtex
or
bibtex8
automaticallytosupport useof
.bib
reference
database.
– Invoke
makeindex
or
cctmkind
tosupportindexgeneratingwhennecessary,
evenforChinesedocuments.
– Accordingtofilecontents,automaticallydetermineandinvokeproperT
E
X
engine(tex,latex,pdftex,pdflatex,xetex,xelatex,etc.)tocompile
.tex
file.
– Automaticallydeterminewhethertocompilethe
.tex
filetwice,threetimes
orfourtimes.
– Supportgraphicsinclusionofarbitraryimageformatbyautomaticimage
formatconversiontorequiredformat(
.eps
,
.pdf
,or
.jpg
)providedthat
usersdonotexplicitlygivetheextensionofthegraphicsfile.
– Automaticallyinvoke
metapost
fortheinclusionofmetapostfigures(
*
.1,
*
.2,
andsoon).
– Automaticallyinvoke
dvipdfm
,
dvips
,
ps2pdf
,
ppower
whennecessary.
– Supportspecificpre-processingandpost-processingforChinesetypesetting,
forexample,use
fixbbl
and
gbk2uni
tofixpossibleerrorsof
.bbl
and
.out
generated.
– PassproperoptionstoinvokedprogramssoastobeabletoembedType1
fonts.
– Automatically previewgenerated
.dvi
or
.pdf
fileifthecompilationis
successful.
– Make necessary y processing g to support t special packages such h as
psfrag
,
pdftricks
,
mfpic
,
asymptote
andsoon.
– Pass properoptions to invoked programs soas to typeset documents in
landscapevieworspecifiedpaperformat.
– Invokecertainuser-specifiedprogramsduringthecompilationprocessac-
cordingtotheuser’sclatexsetup.
– Cleantemporaryfilesgeneratedinthecompilation.
– Specifythe
.pdf
compatibiltylevel(version)forthefinal
.pdf
file.
– MorejobscanbefoundfromtheClatexOptionsdialogshowninFigure10.
22
application control utility:Online Convert PDF to Text file. Best free online PDF txt
Download Free Trial. Convert a PDF to Text. Just upload your file by clicking on the blue button or drag-and-drop your PDF file into the drop area.
www.rasteredge.com
application control utility:VB.NET Create PDF from Text to convert txt files to PDF in vb.net
Files; Split PDF Document; Remove Password from PDF; Change PDF Permission Settings. to copy and paste all text content from .txt file to PDF file by keeping
www.rasteredge.com
Figure10:SnapshotofClatexSettings
5 BriefOverviewtoTypicalInstallation
Intheabove,wehaveseensomeuniquefeaturesof
M
T
E
X. Inthissection,we’d
liketogiveabriefoverviewtothecomponentsprovidedinthetypicalinstalla-
tion.
5.1
M
T
E
XKernel
Thekernelof
M
T
E
X(mainlythescriptsandtoolsinfoldermtex
\
bin)istheheartof
M
T
E
Xsuite,whichdistinguishes
M
T
E
XfrommostotherT
E
Xdistributions.Some
useful
M
T
E
Xtoolsinthekernelwillbeintroducedinnextsubsection. Herewe
onlylist several l examples of batchscriptsin
M
T
E
X to illustrate some unique
featuresof
M
T
E
X.
23
application control utility:C# Create PDF from Text to convert txt files to PDF in C#.net, ASP
Split PDF Document; Remove Password from PDF; Change PDF Permission Settings. DocumentConverter.ToDocument(@"C:\input.txt", @"C:\output.pdf", FileType.DOC_PDF);
www.rasteredge.com
application control utility:C# WPF PDF Viewer SDK to convert and export PDF document to other
Convert Jpeg to PDF; Merge PDF Files; Split PDF Document; Remove Password from PDF; Change PDF Permission Settings. To TXT. Export and convert PDF to TXT file. 4
www.rasteredge.com
– clatex.btm:ascriptforsmartcompilationforallfiles.
– add_doc.btm:ascripttodownloadandinstallonedocumentfromtheservers.
– add_font.btm: a a script to download and install one font t family y from m the
serversorlocalarchives.
– add_map.btm:ascripttoaddonefontmapfileandmakenecessarychanges
tomapfilesfor
dvipdfm
,
dvips
and
pdftex
.
– add_pkg.btm: a a script t to o download d and d install one font t family from the
serversorlocalarchives.
– add_util.btm:ascripttodownloadandinstalloneutilityfromtheserversor
localarchives.
– ask_server.btm: ascripttoshowavailable
M
T
E
Xserversandconfirmuser’s
choiceforlaterdownloading.
– bit_server.btm: ascripttodeterminethe
M
T
E
Xserverbydetectingwhether
theuserisinthecampusofBeijingInstituteofTechnology.
– chkmsetup.btm:ascripttochecklocalrepositoryifitexists.
– chkproxy.btm:ascripttocheckthe
InternetExplorer
©proxysettings.
– compile.btm: ascripttocompileaTeXfileespeciallytheTeXfilegenerated
by
TpX
.
– context.btm:ascripttocompileConT
E
XTfile.
– copyfnts.btm:ascripttocopyfontfilestoproperfontfoldersfromarbitrary
fontarchivescontainingfontfiles.
– cropbmp.btm:ascripttocropbitmapimagesautomatically.
– cropeps.btm:ascripttocrop
.eps
imagesautomatically.
– cropimg.btm:ascripttocropanyimagefilesautomatically.
– croppdf.btm:ascripttocrop
.pdf
imagesautomatically.
– delx.btm:ascripttocleantemporaryfiles.
– dir_server.btm:ascripttolistfilesinthespecifiedserverpath.
– doc.btm: ascripttosearchandviewlocaldocumentsandevenserver-side
documents.
24
application control utility:VB.NET PDF - WPF PDF Viewer for VB.NET Program
Document; Remove Password from PDF; Change PDF Permission Settings. various notes and shapes, convert PDF to Word document, Tiff image, TXT file and other
www.rasteredge.com
application control utility:C# PDF Converter Library SDK to convert PDF to other file formats
Allow users to convert PDF to Text (TXT) file. It's easy to be integrated into your C# program and convert PDF to .txt file with original PDF layout.
www.rasteredge.com
– dos2unix.btm:ascripttoconverttextfilesfromDOSformattoUnixformat.
– down_src.btm: ascripttodownloadandruninstallerorpackageaccording
tothesettingsgiveninspecifiedutilityfolder.
– dvi2img.btm: ascripttoconvert
.dvi
filetoimages,supportingfrequently
usedimageformats.
– dvicpy.btm:ascripttoexpandvirtualfontstopracticalfontsin
.dvi
file.
– dvimerge.btm:ascripttomergetwo
.dvi
files.
– dvinup.btm: ascripttoconvert
.dvi
filebyputting severalpagesonone
page.
– dviview.btm:ascripttoview
.dvi
files,supportingmostknown
.dvi
view-
ersincludingDviWin,DviOut,WinDvi,Yap,CCTWin32,Dviscr.
– editx.btm:ascripttoinvokeopenx.btm-edit.
– emf2eps.btm:ascripttoconvert
.emf
figureto
.eps
figure.
– eps2pdf.btm:ascripttoconvert
.eps
figureto
.pdf
figure.
– EqnEdit-Web.btm:ascripttoinvokeon-lineequationeditor.
– fast-cfg.btm:fastconfigurationfor
M
T
E
X.
– gconvert.btm:ascripttomakearbitraryimageconversion.
– gen_pkg_list.btm:ascripttobatchlygeneratean
Excel
©filefrom
.tpm
files.
– genfontdb.btm:ascripttogeneratefontdatabasefilefonts_db.cfg.
– genmakefile.btm: ascripttogenerateaMakefiletemplatebasedonfilesin
currentfolder.
– genpkgdb.btm:ascripttogeneratepackagedatabasefilepkgs_db.cfg.
– htmview.btm:ascripttoviewHTMLfilesviainstalledorknownwebbrowser.
– l2t.btm:ascripttoconvertL
A
T
E
Xfiletopuretextfile.
– latex-dtx.btm:ascripttobatchlycompile
.dtx
files.
– latex-ins.btm:ascripttobatchlycompile
.ins
files.
– license.btm:ascripttodisplaylicensedialog.
– main.btm:ascripttoshowthemainmenuof
M
T
E
X.
25
application control utility:VB.NET PDF - Convert PDF with VB.NET WPF PDF Viewer
Convert Jpeg to PDF; Merge PDF Files; Split PDF Document; Remove Password from PDF; Change PDF Permission Settings. To TXT. Export and convert PDF to TXT file. 4
www.rasteredge.com
application control utility:C# Create PDF Library SDK to convert PDF from other file formats
Create writable PDF from text (.txt) file. HTML webpage to interactive PDF file creator freeware. Create multipage PDF from OpenOffice and CSV file.
www.rasteredge.com
– makecmap.btm:ascripttogenerate
*
.cmapfilesforusingpackage[ccmap].
– makefmts.btm: ascripttomakevarious
T
E
X
/
Metafont
/
Metapost
formats,
supportingmostknownT
E
Xengines.
– makefnt.btm:ascripttomakeconfigurationforTrueTypefont.
– makepk.btm: ascripttomake
.pk
filesfromTrueTypefonts,Type1fonts,
metafontfonts,andChinesefonts.
– maketex.btm: ascripttoinvokedownload-and-install-on-the-flyformissing
macropackages.
– maketfm.btm:ascripttomake
.tfm
filesfromTrueTypefonts,Type1fonts,
metafont fonts, and d Chinese fonts, , supporting g automatic download-and-
install-on-the-flyformissingfontswhennecessary.
– mchange.btm:ascripttobatchlymakereplacementstofilesvia
sed
.
– m-conv.btm: a a script t to simply invoke e smart t conversion, , i.e. openx.btm-
convert.
– mergefiles.btm:ascripttomergetextfiles.
– mergepdf.btm:ascripttomerge
.pdf
files.
– mftoeps.btm:ascripttoconvert
.mf
fileto
.eps
fileusing
mftoeps
package.
– mktexlsr.btm:ascripttogeneratefilenamedatabasefor
M
T
E
X.
– mp2eps.btm:ascripttoconvert
.mp
fileto
.eps
file.
– mp2pdf.btm:ascripttoconvert
.mp
fileto
.pdf
file.
– mproof.btm:ascripttocompile
.mp
fileandviewgeneratedmpsfile.
– mrun.btm:ascripttorunvariouscommandsconviniently,designedforcon-
figuringtoolsmenuforothereditors.
– mtex-assoc.btm:ascripttohelpuserstoassociatefiles.
– mtexcfg.btm:ascripttoconfigurebasicsettingsof
M
T
E
X.
– mtex-cfg.btm:ascripttoconfigureutilitiesin
M
T
E
X.
– mtex-edit.btm:ascripttoinvoketexteditor.
– mtex-env.btm:ascripttogenerate
M
T
E
Xenvironmentcachefilemtex.env.
26
– mtex-font.btm: ascripttohelpusersconfigureTrueTypefontsviagraphical
userinterface.
– mtex-guru.btm: ascripttohelpuserssearchorviewmacrofiles,usefulfor
findingcertaincommands.
– mtex-lfn.btm:ascripttoresolvelongfilenameprobleminearly
M
T
E
X.
– mtex-lnk.btm:ascripttocreateshortcutsfor
M
T
E
X.
– mtex-pkg.btm:ascripttoinstalloruninstallextrapackages.
– mtex-reg.btm:ascripttoregisterrightmenucommandsfor
M
T
E
X.
– newer.btm:ascripttodetectwhetheronefileisnewerthantheotherfile.
– notfind.btm:ascripttodisplayanerrormessageboxwhenafileisnotfound.
– openx.btm:ascriptcapabletoopen,view,edit,orconvertanyfiles,according
tothesettingsofconfigurationfile
openx.cfg
.
– pdf2txt.btm:ascripttoconvert
.pdf
filetotextfile.
– pdffrag.btm: ascripttoconvert
.eps
figuresto
.pdf
figures,withsymbols
replacedwithL
A
T
E
Xcommandsspecifiedina
.tex
file.
– pdfmerge.btm:ascripttomerge
.pdf
filesintoone
.pdf
file.
– pdfnup.btm: ascripttoconvert
.pdf
filebyplacingseveralpagesintoone
page.
– pdfselect.btm:ascripttoselectorextractcertainpagesfroma
.pdf
file.
– pdfview.btm:ascripttoview
.pdf
files,supportingmost
.pdf
viewerssuch
asSumatraPDF,PdfXCView,GsView,AcrobatReader,andsoon.
– pdfview-s.btm: a a script toview
.pdf
files withforwardsearchingfeature,
mainlysupporting
SumatraPDF
.
– pfshow.btm:ascripttoviewType1fonts,i.e.
.pfb
/
.pfa
files.
– picutil.btm:ascripttoinvokepictureutilities.
– ppower.btm:ascripttopost-process
.pdf
filestoaddmovieeffectsgenerated
by
pause
macropackage.
– preview.btm:ascripttopreviewmultiplefiles.
– ps2pdf.btm:ascripttoconvert
.ps
fileto
.pdf
file.
27
– psmerge.btm:ascripttomerge
.ps
files.
– pst2pdf.btm:ascripttoproduces
.pdf
filesforallfilesoftheform
*
-fig
*
.tex.
– pstex2eps.btm:ascripttoconvert
.pstex
fileto
.eps
file.
– pstex2jpg.btm:ascripttoconvert
.pstex
fileto
.jpg
file.
– pstex2pdf.btm:ascripttoconvert
.pstex
fileto
.pdf
file.
– psview.btm: a a script to view
.ps
/
.eps
files, supportingmost PostScript
viewerssuchas
GsView
,
GS
,
RoPS
,
GsV
.
– regtool.btm:ascripttooperateWindowsregistry.
– res2dll.btm:ascripttoconvert
.res
fileto
.dll
filevia
Delphi
©compiler.
– rtfview.btm:ascripttoview
.rtf
fileviatheassociatedapplication.
– run.btm:ascripttorunaneditablecommand.
– run-edt.btm:ascripttorun
WinEdt
©commands.
– runx.btm: ascript t toaskforactionsforgivenfile,whoseextensiondeter-
minesthepossibleactions.
– search.btm:ascripttosearchforanexecutablefile.
– set_msg.btm:ascripttosetaninternalenvironmentvariable_MSG.
– setclatex.btm: ascripttoshowadialogforcustomizetheoptionsofsmart
compilation.
– setemtex.btm:ascripttosetenvironmentsforusing
EmTeX
.
– setjava.btm:ascripttosearchorsetthepathofjava.exe.
– setlang.btm:ascripttosetupthelanguageinterfaceof
M
T
E
X.
– setproxy.btm:ascripttosettheproxyserverforcommandsincluding
wget
,
curl
and
svn
.
– setttfpk.btm:ascripttosetenvironmentvariablesforprogram
ttf2pk
.
– spell.btm:ascripttodetectandinvokeavailablespellershippedwith
M
T
E
X,
supporting
4spell
,
aspell
,
ispell
,
amspell
,
Word-Spell
,
WPS-Spell
,and
WinEdt-
Spell
.
– striptex.btm:ascripttostriplinecommentsinTeXfiles.
28
– svn-checkout.btm:ascripttoemulatesvncheckoutcommandwithoutinstalling
utility
svn
.
– t2h.btm:ascripttoconverttextfiletoHTMLfile.
– t2l.btm:ascripttoconverttextfiletoL
A
T
E
Xfile.
– t2r.btm:ascripttoconverttextfileto
.rtf
file.
– tcstart.btm:ascripttobecalledbeforeanyotherbatchscripts,mainlyprepar-
ingnecessaryenvironmentsfor
M
T
E
X.
– testspeed.btm:ascripttotestspeedofspecifiedservers.
– tex_cmd.btm:ascripttodeterminetheproperT
E
Xengineofa
.tex
file.
– texscan.btm: ascripttopreprocessfiguresincludedintheT
E
Xfilebyscan-
ningcontentsofT
E
Xfile.
– tpx2eps.btm:ascripttoconvert
.tpx
imagefileto
.eps
imagefile.
– tpx2jpg.btm:ascripttoconvert
.tpx
imagefileto
.jpg
imagefile.
– tpx2PDF.btm:ascripttoconvert
.tpx
imagefileto
.pdf
imagefile.
– tpxscale.btm: ascripttoprocess
.tpx
filesoastomakeitscalablebyany
factordefinedinT
E
Xfile.
– txt2dvi.btm:ascripttoconverttextfileto
.dvi
file.
– txt2eps.btm:ascripttoconverttextfileto
.eps
file.
– txt2img.btm:ascripttoconverttextfiletoimagefileofanyformat.
– txt2pdf.btm:ascripttoconverttextfileto
.pdf
file.
– txt2ps.btm:ascripttoconverttextfileto
.ps
file.
– un_inst.btm:ascripttouninstall
M
T
E
Xutilityifun-installerfound.
– unbib.btm: ascripttopost-process
.bib
filegeneratedby
BibEdit
soasto
useChinesereferences.
– uninstall.btm: ascripttouninstall
M
T
E
X(removingtemporaryfoldersand
changestotheregistry).
– unix2dos.btm:ascripttoconvertUnixtextfiletoDOStextfile.
– unknown_cmd.btm: ascripttobeinvokedwhenunknowncommandfound
inthe
M
T
E
XDOSprompt.
29
– upd_map.btm:ascripttoupdatemapfilesin
M
T
E
X.
– upd_mtex.btm:ascripttoupdate
M
T
E
Xcomponentsfromservers.
– updafm.btm:ascripttoupdate
.afm
filesfrom
.pfb
filesin
M
T
E
X.
– updpkg.btm:ascripttoupdatethelistofinstalledmacropackages.
– updtfm.btm:ascripttoupdate
.tfm
filesforfontsin
M
T
E
X.
– updvf.btm:ascripttoupdate
vf.cfg
from
.vf
filesin
M
T
E
X.
– userutil.btm:ascripttoaskusertochoosefromuser-defineduserutilities.
– util.btm:ascripttosearchordownload-and-install-on-the-flyoneutility.
– view.btm:ascripttoview
.dvi
fileusing
dviscr
,onlyforold
EmTeX
.
– viewfont.btm:ascripttoviewanyfontfile.
– virfnt.btm:ascripttodisplayrealfontnameofavirtualfont.
– w-close.btm:ascripttoclosewindowswithcertaintitle.
– writable.btm:ascripttocheckwhetherafile
/
folderiswritable.
5.2 Useful
M
T
E
XTools
TMac
:
TemplateandMacroPad Thissmalltoolcanhelpuserstoinserttemplates
orcodesnippetstoeditor. Thistoolisfullyconfigurablebyeditingtheconfigu-
rationfiletmac.ini. Onceasymbolisclicked,itscorrespondingcodewillbeput
intotheclipboardandinsertedintotheactiveeditorwindow. Hencethis s tool
canbeusedwithanyeditor. Wehaveprovidedmanytemplatesandmacrosin
thedefaultconfigurationfile,andtwogroupsofHTMLcodessnippets. Besides
normalcodeinsertion,wehavealsoimplementedsomeuniquespecialfeatures,
forexample,itispossibletolaunchcertainprogrambyclickinganicon;oritis
possibletopopupacolordialogsoastoinsert RGBvaluesofselectedcolors.
Therefore,thissmalltoolcanalsoserveasasmallfloatingtoolbarandacolor
pickerforallapplications.
BibX
:
Reference Extractor This small tool canhelp users to o extract bibitem in
B
ib
T
E
Xformatfromsometextcontainingareference. Thistoolisveryusefulto
generatebibitemfromsearchingreferencesindatabaselike
WebofScience
©and
30
Documents you may be interested
Documents you may be interested