| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
consistent with what we are testing the presence of
|
|
|
|
| |
depending on which is needed; the files created tell us which to call.
|
|\
| |
| |
| | |
LaTeX command
|
| | |
|
|/
|
|
| |
again
|
| |
|
|
|
|
| |
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)
|
|
|
|
| |
If not skip the test.
|
|
|
|
|
|
| |
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
|
|
|
|
| |
(from Rob Managan)
|
| |
|
|
|
|
|
|
|
|
|
| |
so the user can define a path to look for makeindex style files.
When the latex files are generated by another builder the user
may have to define env['TEXINPUTS'] or some of the other
environment variables so latex can find files that are
not sideeffects. This woul dinclude style files and the like.
|
|
|
|
| |
most of the time but it needed fixing.
|
|
|
|
| |
Sorry about the multiple commits!!
|
|
|
|
| |
file copy and rename so it is same for Windows, Linux and Mac
|
|
|
|
|
|
|
| |
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.
........
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to go.
Update various files to have the correct date, time, version, and floor.
Rework Script/Main.py and QMTest/TestSCons.py to make automated updating
possible in the future.
Remove a duplicate MANIFEST-xml.in entry.
Fix TeX tests, which ran 'kpsewitch' before determining if the TeX tools
were installed.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http://scons.tigris.org/svn/scons/branches/pending
........
r4648 | managan | 2010-01-22 09:40:52 -0800 (Fri, 22 Jan 2010) | 9 lines
Added dismbiguate calls on a targets side effects in the
make_ready_all and make_ready_current routines of Taskmaster.py.
This fixes Stefan Hepp's problem with latex. Directories to
hold the side effect files were not created when using
variantDir with duplicate=0
Modifying subdir_variantdir_include2.py to run scons with an
explicit target to reveal this problem.
........
r4654 | stevenknight | 2010-01-27 07:41:01 -0800 (Wed, 27 Jan 2010) | 5 lines
Issue 2534: fix Scanners' default ability to return Dir nodes by
making the default node_class the real SCons.Node.FS.Base class,
not SCons.Node.FS.Entry (which is now, and has been for some time,
a subclass).
........
|
|
|
|
|
| |
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.
|
|
|
|
| |
Add commented line that will reveal a failure.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
deprecation errors aren't output when --debug=memoizer is on command line, but are when it's passed via SCONSFLAGS.
|
|
|
|
| |
Otherwise skip the test.
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
test.must_contain_all_lines()
test.must_contain_any_line()
test.must_not_contain_any_line()
Update tests to use them. Remove "import string" lines where the
change made them unnecessary.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SK and I agree that we are surprised by that.
Both bld = env['BUILDERS']['PDF'] and bld = env['BUILDERS']['DVI'] had
lines like
bld.add_action('.tex', LaTeXAuxAction) # for DVI
bld.add_action('.tex', PDFLaTeXAuxAction) # for PDF
run from the initialization of two tools. This was a BAD thing.
That cured some test failures. For the rest I made all the TEX tests
initialize the environment with the os.environ PATH since the check
for the existence of the tools with where_is that looks on the system path.
So the tests still quietly exit if the tool is not on the system path
and now find if it is in a non-standard location like I have.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It now iterates until all the warnings are gone and the auxiliary files
stop changing or it hits the max retires limit.
It adds the common auxiliary files to the emitter as sideeffects
Added support for glossaries, nomenclatures, lists of figures,
lists of tables, hyperref, and beamer
The user can entry environment changes like env['TEXINPUTS'] and
they get copied to env['ENV']['TEXINPUTS'] (thanks to Dmitry Mikhin )
It also works with variantdir, duplicate =0
|