| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
a library as an argument.
|
| |
|
|
| |
therefore, actually create the variant directory.
|
| |
|
|
| |
"SConstruct" file name to search for when using the -D, -U or -u options.
|
| |
|
|
| |
Python 2.6; just str() the exception instead.
|
| |
|
|
| |
class used for testing.
|
| |
|
|
|
| |
methods) so env.{Ap,Pre}pend() work under Python 2.6 when appending
strings to $*FLAGS variables.
|
| |
|
|
| |
This is already an action in gs.py
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
in place of popen2, and calling hashlib.md5() instead of the md5 module.
|
| |
|
|
|
| |
exceptions. Fix the script that analyzes our try:-except: block so it
recognizes that "except Exception, e:" is equivalent to "except:".
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
\include (and other inclusion strings) after blank lines.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
actual exception string).
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Was causing buildbot failure on centos5 buildbot.
Turns out some weird interaction with the bogus code which is replaced
below was only happening when setuptools was installed
in the python tree being used for tests.
|
| |
|
|
| |
1.5.2 issue
|
| | |
|
| | |
|
| |
|
|
| |
swallow a KeyboardInterrupt at the wrong time).
|
| |
|
|
| |
Basic unittest included
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
so the zip() function is available so the unit tests can pass when
run on older Python versions.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
(for pre-2.2 Python versions).
|
| |
|
|
| |
doesn't search for substrings).
|
| |
|
|
|
|
| |
instead of TEXPICTS.
Add the LATEXSUFFIXES keyword to the DummyEnvironment calls since
the scanner needs it.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
_subproc(), so the underlying subprocess.Popen() call won't throw
an exception if the value is actually a Unicode string.
|
| | |
|
| |
|
|
| |
and env.{Ap,Pre}pendENVPath.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|