在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):stefanhepp/pplatex开源软件地址(OpenSource Url):https://github.com/stefanhepp/pplatex开源编程语言(OpenSource Language):C++ 52.6%开源软件介绍(OpenSource Introduction):General InfoLaTeX is able to produce really nice document layouts. But it is also able to
produce a lot of noise on the command line.
into this
The code is based on the LaTeX output parser of Kile (also used by TexMakerX), with some modifications and bugfixes. Be aware that since the log output of the LaTeX tools is not well defined (in any sense of the word), parsing is done by a heuristic that tries its best but still might fail in some cases (e.g., having very long directory names with spaces or special characters might cause issues). In contrast to rubber, pplatex does not run your latex tools multiple times
when references change or compile your images or the like. This remains the task
of you / your makefile. The git repository however does contain SCons extensions
to compile LaTeX documents, images and lots of other stuff using SCons (see the
DownloadSource packages and precompiled binaries can be found on this project's releases page on Github. https://github.com/stefanhepp/pplatex/releases For the Windows binaries to work, you will need to download and install the Visual C++ Redistributable for Visual Studio 2015 (x86) if you do not have it already. Quick StartIn your latex project directory, just run
Use pplatex instead to run latex instead of pdflatex. If your latex tools are not in your PATH, use
You can also use pplatex to parse an existing log file.
BuildingRequirementsYou will need a copy of PCRE (not PCRE2). Any version >= 7.0 should work fine. On Ubuntu/Debian, you can get it with
On Windows, either download the source package and build it with cmake, or download and unpack a precompiled binary package. You can build either with SCons or CMake.
Building with SConsIf the pcre headers are not in a standard path (or if you are on Windows), create a './config.py' or './config-windows.py' (p.e. by copying if from ./build/), and set PCREPATH to your PCRE installation path. If you are linking against a static version of PCRE on Windows (e.g., when you
did compile it yourself), then you need to uncomment the following line in
To compile a release version of pplatex, simply use
For a debug version, use
Building with CMakeIf you are linking against a dynamic version of PCRE on Windows (e.g., when
you downloaded a precompiled package), comment out or remove this line in
Create a build directory, ideally outside of your source checkout. Run either
On Linux, cmake without any further configuration should work fine. On Windows,
ensure that Run InstallationPlace the files from the './bin' directory into any directory you like. Make sure that that directory is in your PATH variable, or start the tools using the installation path like
UsageIf the pdflatex and latex tools are in your PATH (try running 'latex' on your commandline), you can simply use ppdflatex if you want to run pdflatex, and pplatex for latex, like
or
Warnings and badbox messages can be hidden like this
In order to parse an existing log file, use
To specify which latex program should be used (p.e. when latex is not in PATH), use the --cmd option, like
Make sure you do not use an interaction mode where latex waits for user input on errors. pplatex uses -interaction=nonstopmode by default if no interaction mode is specified. The binaries are actually the same, pplatex detects the tool to run based on its filename. You can also call it ppluatex to run lualatex. Note that at the moment, pplatex will default to lualatex if it is renamed to anything else. This might change in the future. On Linux, ppluatex is a script that calls pplatex. It allows configuration of
the location of pplatex and latex/pdflatex in Open Tasks
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论