| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\ |
|
| | |
|
|\ \
| |/
| |
| |
| | |
Hand-updated a few things to keep them python3-safe, and handled
several merge conflicts.
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | | |
that auxiliary files would be made and hence we did not clean them
|
| |/ |
|
| | |
|
|/ |
|
|
|
|
| |
depending on which is needed; the files created tell us which to call.
|
| |
|
| |
|
| |
|
|
|
|
| |
effects and dependencies right
|
|
|
|
| |
we check aux files for processing
|
|
|
|
|
|
| |
If one of the tools that use TeX applications is generated
add the paths in /etc/paths and /etc/paths.d
version 10.5 (Leopard)
|
|
|
|
|
|
| |
need to change os.path.exists() to os.path.isfile() to handle the
case where we have a directory named foo and a file foo.tex. Then
an \input{foo} will not find the directory instead of the file
|
| |
|
|
|
|
|
|
|
| |
add them if the .tex file is generated by another builder and is
not yet created.
If the file exists then only add the side effects if they will be created.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://scons.tigris.org/svn/scons/branches/pending
........
r4942 | stevenknight | 2010-06-03 12:41:20 -0700 (Thu, 03 Jun 2010) | 13 lines
Isseu 2641: Latest drop of the TestCmd infrastructure, v. 1.3, including:
* Support for test timeouts.
* Ability to set separate match_stdout and match_stderr functions.
* Ability to set separate diff_stdout and diff_stderr functions.
* Static methods for the various underlying match* and diff* functionality.
* Ability to get at the various match* and diff* functions by attribute name.
* Got rid of checks for difflib now that Python 2.3 is the floor
(for this infrastructure, anyway).
Ripple effects in two test scripts. Added upstream unit test modules
(QMTest/Test{Cmd,Common}Tests.py). Added a README.txt file.
........
r4943 | stevenknight | 2010-06-03 13:00:31 -0700 (Thu, 03 Jun 2010) | 2 lines
Grab the correct TestCmd files with the updated version number.
........
r4946 | managan | 2010-06-04 09:39:20 -0700 (Fri, 04 Jun 2010) | 4 lines
On Windows add a '/D' to the command line so it recognizes drive letters in the
source or target file paths
........
r4947 | managan | 2010-06-04 09:51:48 -0700 (Fri, 04 Jun 2010) | 5 lines
The scanner was not parsing the dependencies in \includegraphics commands when there was whitespace (including carriage returns) in the command.
While we need a better long term fix this covers this concern.
........
r4948 | managan | 2010-06-04 11:13:12 -0700 (Fri, 04 Jun 2010) | 3 lines
Dropped an import line that is needed by the last commit of mine for Windows
depenedant option on latex command lines
........
r4949 | managan | 2010-06-04 12:27:48 -0700 (Fri, 04 Jun 2010) | 7 lines
Some latex packages break up commands where you normally could not by
using a comment character at the end of the first line.
Our current scanner broke on this and lost some dependecies.
While we need general fix, this patch solves this problem
........
r4950 | managan | 2010-06-04 15:51:36 -0700 (Fri, 04 Jun 2010) | 5 lines
Tweak how we handle comments within Latex source files when
scanning and looking for dependencies. We were adding a
space when a comment broke a line and we should not have.
........
r4984 | managan | 2010-06-07 09:37:40 -0700 (Mon, 07 Jun 2010) | 6 lines
The multi-line_include-options test failed to check for the
existence of latex. Added that so this test is skipped on
systems without latex.
........
|
|
|
|
|
|
|
| |
Comb out all code that supported earlier versions of Python. Most such
code is in snippets of only a few lines and can be identified by having
a Python version string in it. Such snippets add up; this combing pass
probably got rid of over 500 lines of code.
|
|
|
|
| |
transition to using the Python 2.6 io.StringIO class.
|
|
|
|
|
| |
development. Note that this set of changes is NOT backward-compatible;
the trunk no longer works with Python 1.5.2, 2.0, or 2.1.
|
|
|
|
|
| |
This change should itself be backed out before merge "pending"
back into trunk.
|
| |
|
|
|
|
|
|
| |
command tries to work with a directory named foo instead of the
file foo.tex. The builder now ignores a directory and continues
searching to find the correct file.
|
|
|
|
| |
auxiliary file problem.
|
|
|
|
|
|
|
|
| |
directory of the main file instead of the file it is included from.
Also update the emitter to add the .aux file associated with
\include{filename} commands. This makes sure the required directories
if any are created for variantdir cases.
Half of the patch from Stefan Hepp.
|
|
|
|
|
|
|
|
|
|
| |
file that contains the documentclass command
Add logic to is_LaTeX routine to search through included files until
\documentclass is found
Also added comments, converted comments at start of 2 routines into doc
strings..
|
|
|
|
|
|
| |
centos5 slave).
Code by Rob Managan.
|
|
|
|
|
|
|
|
|
|
|
| |
I found that when only one tool (say pdftex) is initialized
that some of the actions for bibtex... are not created.
Moved most common actions and environment settings to one routine
in tex.py that the other text tools (pdftex, pdflatex, latex) call.
Also fixed a typo in the nomenclature action setup. There was
a '$' that should not have been there.
|
|
|
|
| |
to support it
|
|
|
|
|
|
|
| |
various *tex.py generate functions.
This is to avoid adding LATEXSUFFIXES to the environment when
the tools are not loaded.
|
|
|
|
|
|
|
|
|
|
| |
.pdf output file as a sideeffect since it is listed as an output
file in the .fls file. This caused the message that there were two ways to
build the file.
In fixing it I have to exclude both the .dvi and .pdf target because some
test decks produce both... THat hsoudl rarely happen in practice but
It is better to handle that case.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was prompted because MikTeX, used on Windows,
does not put the same information on files opened
into the log file. The -recorder option gives a .fls
file that is the same on all platforms.
We still use the .log file contents to find warnings
and errors that mean we need to rerun latex...
Also add message about errors so user does not have
to scroll up through all the latex output to find
if there was an error.
Update all tests to handle the new command line option.
Add one more test on grpahics conversion.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
from .eps files for the pdf latex builder
That is if the .tex file has "\includegraphics{figure1}"
and the file figure1.eps then when using the .DVI builder
latex will find the file and all is fine.
However, when using the .PDF builder pdflatex can not
process .eps files and will fail.
After this patch the user will need to add
env.PDF('figure1.eps')
Update two tests that used the old feature and would fail otherwise
I could not come up with a way to test for a feature
that is removed. That is, I can write a test that works
before the update and fails after but not the other way around.
|
| |
|
| |
|
|
|
|
|
|
| |
Test that we don't make a .pdf file from the graphic.
The patch also covers the case of requiring the graphics files
I search for to have an extension so we don't try to build fig.eps from fig.eps...
|
|
|
|
|
|
| |
failed when the .tex file is in a subdirectory.
I added a new test and made the one line fix.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
latex document for commands that affect what side effect files
will be created, and for graphics files that are included
(so we can convert postscript to pdf if pdflatex is being run).
Now that this is recursive we could tighten up on the side
effect file list (e.g. a \makeindex with no \index commands
won't make all the files we tell scons to expect as side effects)
but I think that is asking for trouble if we mess it up.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Test of generating several .pdfs from a list of .ps (new single_source setting)
test/TEX/LATEX2.py
Based on second half of LATEX. generate all .pdf's at once by giving a list of .tex files
test of single_source
src/engine/SCons/Scanner/LaTeX.py
Add test of changing an included file.
Add test of included file having no extension
src/engine/SCons/Scanner/LaTeX.py
Add lists of acceptable graphics extensions,
In the furture make this user configurable??
Scan for files in the paths stored in env['TEXINPUTS'] and env['ENV']['TEXINPUTS']
for people who may just input their environment...
Add function findENVPatDirs for this purpose
src/engine/SCons/Tool/pdf.py
add epstopdf action
Have to add it after the pdftex action so it is not the default.
Make builder single_source since each input produces one output
src/engine/SCons/Tool/pdftex.py
use tex_eps_emitter
call pdf.generate2 to add epstopdf action after the PDFLaTeXAction
src/engine/SCons/Tool/dvipdf.py
simplify coding that adds the source directory to the search path TEXPICTS
src/engine/SCons/Tool/dvips.py
Add single_source option since each ps file comes from one dvi file
src/engine/SCons/Tool/pdflatex.py
add .tex as a valid extension and switch emitters to tex_pdf_emitter
src/engine/SCons/Tool/tex.py
fix regular expressions ^[^%]* to ^[^%\n]* for multiline environment
add REs for \input or \include and \includegraphics
get graphics extensions from Scanner.LaTeX so they are defined in one place
move modify_env_var to Scanner.LaTeX since it is used there and easier to import it here
add FindFile routine to find a file given name, list of suffixes, paths, env
returns a node for the file.
add tex_eps_emitter and tex_pdf_emitter that call a core routine with
a different list of graphics extensions that can be handled by the
tool used (latex vs. pdflatex)
revamp feature test/suffix list into two lists and build the list used
to create sideeffects for each input file...
These tests now get applied to each included file so the whole source
tree is tested.
Get list of paths from env['ENV']['TEXINPUTS'] and env['TEXINPUTS']
if find we need a .pdf file and only have .eps or .ps set up the
.pdf as a target with the .eps as source...
change emitter to tex_eps_emitter
src/engine/SCons/Tool/latex.py
add .tex as a valid extension and switch emitters to tex_eps_emitter
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sets it in tee dvi2ps and dvipdf tools where it is needed. This means that we
can reset it to the original value at the end of the tool.
This is done by storing the .tex source file's path in the
.dvi file's Node .attribute slot and retrieving it in the dvi2ps and dvipdf
tools from the source.
I also updated the list of graphics extensions in the Latex scanner
I set up one function that gets called to run either dvi2ps or dvipdf
after setting TEXPICTS.
|
| |
|