| Package | Description |
|---|---|
| eu.simuline.m2latex.core |
| Modifier and Type | Method and Description |
|---|---|
void |
LatexProcessor.checkAll()
Defines check goal of the maven plugin in
ChkMojo. |
void |
LatexProcessor.clearAll()
Defines clearing ant-task defined in
LatexClrTask
and the according goal in ClearMojo of the maven plugin. |
(package private) void |
TexFileUtils.copyOutputToTargetFolder(File texFile,
FileFilter fileFilter,
File targetDir)
Copies output of the current goal to target folder.
|
void |
LatexProcessor.create()
Defines creational ant-task defined in
LatexCfgTask
and the according goals in CfgLatexMojo
and subclasses of the maven plugin. |
private String |
CommandExecutor.execute(File workingDir,
File pathToExecutable,
String command,
String[] args)
Execute
command with arguments args
in the working directory workingDir. |
(package private) String |
CommandExecutor.execute(File workingDir,
File pathToExecutable,
String command,
String[] args,
File... resFile)
Logging:
EEX01: return code other than 0.
|
File |
Settings.getOutputDirectoryFile() |
(package private) File |
TexFileUtils.getTargetDirectory(File srcFile,
File srcBaseDir,
File targetBaseDir)
Returns the directory containing
sourceFile
with the prefix sourceBaseDir
replaced by targetBaseDir. |
File |
Settings.getTexSrcDirectoryFile() |
File |
Settings.getTexSrcProcDirectoryFile() |
private int |
LatexProcessor.preProcessLatex2dev(LatexProcessor.LatexMainDesc desc,
LatexDev dev)
Runs LaTeX on on the latex main file
texFile
described by desc once,
runs BibTeX, MakeIndex and MakeGlossaries by need
and returns whether a second LaTeX run is required. |
void |
LatexProcessor.processGraphics()
Defines graphics goal of the maven plugin in
GraphicsMojo. |
(package private) Collection<File> |
LatexPreProcessor.processGraphicsSelectMain(File dir,
DirNode node)
Detects files in the directory represented by
texNode
and in subdirectories recursively:
those which are in various graphic formats incompatible with LaTeX
are converted into formats which can be inputted or included directly
into a latex file. |
private void |
LatexPreProcessor.processGraphicsSelectMain(File dir,
DirNode node,
Collection<String> skipped,
Collection<File> latexMainFiles)
Logging:
WFU03: cannot close file
EFU06: Cannot move file
WPP02: tex file may be latex main file
EEX01, EEX02, EEX03, WEX04, WEX05:
if applications for preprocessing graphic files failed.
|
private void |
LatexPreProcessor.processGraphicsSelectMainRec(File dir,
DirNode node,
Collection<String> skipped,
Collection<File> latexMainFiles)
Like
LatexPreProcessor.processGraphicsSelectMainRec(File,DirNode,Collection,Collection)
but with recursion to subdirectories. |
private void |
LatexProcessor.processLatex2dev(LatexProcessor.LatexMainDesc desc,
LatexDev dev)
Runs LaTeX, BibTeX, MakeIndex and MakeGlossaries
on the latex main file
texFile
described by desc
repeatedly as described for
LatexProcessor.processLatex2devCore(LatexProcessor.LatexMainDesc, LatexDev)
and issue a warning if the last LaTeX run issued a warning. |
private void |
LatexProcessor.processLatex2devCore(LatexProcessor.LatexMainDesc desc,
LatexDev dev)
Runs LaTeX on the latex main file
texFile
described by desc once,
runs BibTeX, MakeIndex and MakeGlossaries by need
according to LatexProcessor.preProcessLatex2dev(LatexMainDesc, LatexDev)
and reruns MakeIndex, MakeGlossaries and LaTeX
as often as needed to get all links satisfied
or as threshold Settings.maxNumReRunsLatex specifies. |
(package private) void |
LatexProcessor.processLatex2docx(File texFile)
Runs conversion of
texFile
to docx or other MS word formats
after processing latex to set up the references,
bibliography, index and that like. |
(package private) void |
LatexProcessor.processLatex2dvi(File texFile) |
(package private) void |
LatexProcessor.processLatex2html(File texFile)
Runs conversion of
texFile to html or xhtml
after processing latex to set up the references,
bibliography, index and that like. |
(package private) void |
LatexProcessor.processLatex2odt(File texFile)
Runs conversion of
texFile
to odt or other open office formats
after processing latex to set up the references,
bibliography, index and that like. |
(package private) void |
LatexProcessor.processLatex2pdf(File texFile) |
(package private) void |
LatexProcessor.processLatex2rtf(File texFile)
Runs direct conversion of
texFile to rtf format. |
(package private) void |
LatexProcessor.processLatex2txt(File texFile)
Runs conversion of
texFile to txt format via pdf. |
abstract void |
Target.processSource(LatexProcessor latexProcessor,
File texFile)
Processes the latex main file
texFile
delegating to latexProcessor. |
(package private) abstract void |
LatexPreProcessor.SuffixHandler.procSrc(File file,
LatexPreProcessor proc)
Typically, .i.e. for
LatexPreProcessor.SuffixHandler.fig-, LatexPreProcessor.SuffixHandler.gp-, LatexPreProcessor.SuffixHandler.mp-
and associates file
Does the transformation of the file file
using proc immediately, except for
LatexPreProcessor.SuffixHandler.svg-files for which an info message is logged,
that transformation is done by need in the course of a LaTeX run. |
private boolean |
LatexProcessor.runBibtexByNeed(File texFile)
Runs the BibTeX command given by
Settings.getBibtexCommand()
on the aux-file corresponding with texFile
in the directory containing texFile
provided an according pattern in the aux-file indicates
that a bibliography shall be created. |
private void |
LatexProcessor.runCheck(File texFile)
Runs the check command given by
Settings.getChkTexCommand()
on the latex main file texFile
in the directory containing texFile
creating a log file with ending LatexProcessor.SUFFIX_CLG
in that directory. |
private void |
LatexProcessor.runDvi2pdf(LatexProcessor.LatexMainDesc desc)
Runs conversion from dvi to pdf-file
executing
Settings.getDvi2pdfCommand()
on a dvi-file covered by desc with arguments
given by LatexProcessor.buildLatexArguments(Settings, LatexDev, File). |
private void |
LatexPreProcessor.runEbb(File file) |
private void |
LatexPreProcessor.runFig2Dev(File figFile)
Converts the fig-file
figFile
into a tex-file with ending ptx
including a pdf-file or an eps-file also created. |
private void |
LatexPreProcessor.runFig2DevInTex(File figFile,
LatexDev dev)
From
figFile create pdf/eps-file
containing graphics without text with special flag set. |
private void |
LatexPreProcessor.runFig2TexInclDev(File figFile)
From
figFile create tex-file
containing text with special flag set and
including a graphic file containing the rest of figFile. |
private void |
LatexPreProcessor.runGnuplot2Dev(File gpFile)
Converts a gnuplot-file into a tex-file with ending ptx
including a pdf-file or an eps-file also created.
|
private void |
LatexPreProcessor.runGnuplot2Dev(File gpFile,
LatexDev dev) |
private void |
LatexProcessor.runLatex2dev(LatexProcessor.LatexMainDesc desc,
LatexDev dev)
Runs the LaTeX command given by
Settings.getLatex2pdfCommand()
on the latex main file texFile
described by desc
in the directory containing texFile with arguments
given by LatexProcessor.buildLatexArguments(Settings, LatexDev, File). |
private void |
LatexProcessor.runLatex2html(LatexProcessor.LatexMainDesc desc)
Runs the tex4ht command given by
Settings.getTex4htCommand()
on texFile described by desc
in the directory containing texFile
with arguments given by LatexProcessor.buildHtlatexArguments(Settings, File). |
private void |
LatexProcessor.runLatex2odt(LatexProcessor.LatexMainDesc desc)
Runs conversion from latex to odt
executing
Settings.getTex4htCommand()
on texFile
in the directory containing texFile with arguments
given by LatexProcessor.buildLatexArguments(Settings, LatexDev, File). |
private void |
LatexProcessor.runLatex2rtf(File texFile)
Runs the latex2rtf command
given by
Settings.getLatex2rtfCommand()
on texFile
in the directory containing texFile
with arguments given by AbstractLatexProcessor.buildArguments(String, File). |
private boolean |
LatexProcessor.runMakeGlossaryByNeed(LatexProcessor.LatexMainDesc desc)
Runs the MakeGlossaries command
given by
Settings.getMakeGlossariesCommand()
on the aux-file corresponding with texFile
in the directory containing texFile
provided that the existence of an glo-file indicates
that a glossary shall be created. |
private void |
LatexProcessor.runMakeIndex(LatexProcessor.LatexMainDesc desc)
Runs the MakeIndex command
given by
Settings.getMakeIndexCommand(). |
private boolean |
LatexProcessor.runMakeIndexByNeed(LatexProcessor.LatexMainDesc desc)
Runs the MakeIndex command
given by
Settings.getMakeIndexCommand()
on the idx-file corresponding with texFile
in the directory containing texFile
provided that the existence of an idx-file indicates
that an index shall be created. |
private void |
LatexPreProcessor.runMetapost2mps(File mpFile)
Runs mpost on mp-files to generate mps-files.
|
private void |
LatexProcessor.runOdt2doc(File texFile)
Runs conversion from odt to doc or docx-file
executing
Settings.getOdt2docCommand()
on an odt-file created from texFile
in the directory containing texFile with arguments
given by LatexProcessor.buildLatexArguments(Settings, LatexDev, File). |
private void |
LatexProcessor.runPdf2txt(File texFile)
Runs conversion from pdf to txt-file
executing
Settings.getPdf2txtCommand()
on a pdf-file created from texFile
in the directory containing texFile with arguments
given by LatexProcessor.buildLatexArguments(Settings, LatexDev, File). |
private void |
LatexProcessor.runSplitIndex(LatexProcessor.LatexMainDesc desc,
Collection<String> explIdxIdent)
Runs the SplitIndex command
given by
Settings.getSplitIndexCommand(). |
private void |
LatexPreProcessor.runSvg2Dev(File svgFile)
Converts an svg-file into a tex-file with ending ptx
including a pdf-file or an eps-file also created.
|
private void |
LatexPreProcessor.runSvg2Dev(File svgFile,
LatexDev dev,
boolean renameTex) |
Copyright © 2016–2018 Simuline Organization (l2r). All rights reserved.