summaryrefslogtreecommitdiffstats
path: root/test/TEX
Commit message (Collapse)AuthorAgeFilesLines
* Merged in rmanagan/scons/scons-fix-for-issue-2942 (pull request #132)Gary Oberbrunner2014-04-261-0/+92
|\
| * Improve support for biblatex package. Fix a case where we did not recognize ↵Robert Managan2014-04-251-0/+92
| | | | | | | | that auxiliary files would be made and hence we did not clean them
* | add name.synctex.gz to list of side effect files and those to be cleanedRobert Managan2014-04-241-0/+89
|/
* Fix test for presence of biber and in several tests make variable names ↵Robert Managan2012-10-135-9/+9
| | | | consistent with what we are testing the presence of
* Add separate biber action and add logic to call either bibtex or biber ↵Robert Managan2012-10-072-1/+129
| | | | depending on which is needed; the files created tell us which to call.
* Merged in managan/scons_newglossary (pull request #37); support newglossary ↵Gary Oberbrunner2012-09-161-0/+158
|\ | | | | | | LaTeX command
| * Support auxiliary files created by \newglossary commandRobert Managan2012-09-161-0/+158
| |
* | - first swoop of changes for getting all Buildbot slaves to run successfully ↵dirkbaechle2012-09-041-2/+1
|/ | | | again
* Add support for using biber instead of bibtex.Robert Managan2012-06-141-0/+124
|
* Add support for the biblatex package; search for new keywards to get side ↵Robert Managan2012-06-141-0/+118
| | | | effects and dependencies right
* check for missing latex packagesedA-qa mort-ora-y2012-05-063-0/+14
|
* Add support for Latex's multibib package and in the process generalize how ↵Rob Managan2012-02-191-0/+97
| | | | we check aux files for processing
* Update path information for OSX.Robert Managan2011-09-0630-49/+32
| | | | | | 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)
* Add check that latex is installed and findable.Robert Managan2011-05-301-0/+4
| | | | If not skip the test.
* Since latex will add valid etension when it looks for files weRobert Managan2011-05-181-0/+77
| | | | | | 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
* Fix TEX auxiliary test by normalizing ps output to avoid spurious failures ↵Gary Oberbrunner2011-05-041-0/+3
| | | | (from Rob Managan)
* Add support for the bibunits package. This should help thesis writers.Robert Managan2010-09-121-0/+279
|
* I had to add the INDEXSTYLES environment variable to the codeRobert Managan2010-08-231-0/+191
| | | | | | | | | 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.
* Clean up a test file that had some bad PostScript in it. Seems to workRobert Managan2010-08-231-1/+1
| | | | most of the time but it needed fixing.
* This time make it really platform agnostic.Robert Managan2010-08-231-1/+1
| | | | Sorry about the multiple commits!!
* Clean up this test so it is platform agnostic. Added a builder to do theRobert Managan2010-08-231-27/+10
| | | | file copy and rename so it is same for Windows, Linux and Mac
* WHen checking the .tex file for which side effects it generates alwaysRobert Managan2010-08-191-0/+196
| | | | | | | 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.
* Fix two badly formed epsfiles used in these tests.Robert Managan2010-08-192-2/+2
|
* Merged revisions 4727-4729,4731-4938,4940-5028 via svnmerge fromSteven Knight2010-06-152-2/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. ........
* Prepare for checkpoint release. Everything should be set up and readyGreg Noel2010-05-303-3/+3
| | | | | | | | | | | | | | 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.
* http://scons.tigris.org/issues/show_bug.cgi?id=2345Greg Noel2010-04-241-2/+0
| | | | | | | 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.
* Move 2.0 changes collected in branches/pending back to trunk for furtherGreg Noel2010-03-2516-49/+30
| | | | | 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.
* Merged revisions 4645,4647-4651,4654-4656 via svnmerge fromSteven Knight2010-02-051-67/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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). ........
* Back out post-2.0 code changes from trunk: r4643, r4642 r4640, r4637.Steven Knight2010-01-212-78/+66
| | | | | This change should itself be backed out before merge "pending" back into trunk.
* Update tex builder to handle the case where a \input{foo}Robert Managan2010-01-201-0/+76
| | | | | | 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.
* Remove unneeded fluff from this test.Robert Managan2010-01-191-66/+2
| | | | Add commented line that will reveal a failure.
* Change scanner to properly search for included file from theRobert Managan2010-01-042-0/+347
| | | | | | | | 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.
* Add scanning of files included in Latex by means of \lstinputlisting{}Robert Managan2009-12-171-0/+131
| | | | Patch from Stefan Hepp.
* Add a test for the case where a latex file uses \input{} to include theRobert Managan2009-11-251-0/+96
| | | | | | | | | | 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..
* Fix tex code to handle broken nomenclature package. (Fixes test failure on ↵William Deegan2009-09-161-8/+16
| | | | | | centos5 slave). Code by Rob Managan.
* Remove last checkin.William Deegan2009-09-131-11/+9
|
* Fix test to pass for deprecated python versions. Not what was expected ↵William Deegan2009-09-131-9/+11
| | | | deprecation errors aren't output when --debug=memoizer is on command line, but are when it's passed via SCONSFLAGS.
* Add a test that the packages used are installed.Robert Managan2009-08-312-0/+8
| | | | Otherwise skip the test.
* As I set up the test case for the glossary and nomencl packagesRobert Managan2009-08-212-0/+202
| | | | | | | | | | | 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.
* Add test for glossaries package. and patch tex.pyRobert Managan2009-08-211-0/+118
| | | | to support it
* Update tex builder to use the -recorder option.Robert Managan2009-07-226-6/+194
| | | | | | | | | | | | | | | | | 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.
* Replace embedded carriage returns with \r.Steven Knight2009-02-222-2/+2
|
* Remove more unnecessary imports from test scripts.Steven Knight2009-02-1120-36/+8
|
* Add emacs and vim editing settings to the bottom of *.py files.Steven Knight2009-02-0935-0/+210
|
* Remove (lots) more unnecessary imports.Steven Knight2009-02-0620-36/+12
|
* Commonize new string-search-in-output methods:Steven Knight2009-02-063-25/+7
| | | | | | | | 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.
* Remove the feature that would build .pdf graphics filesRobert Managan2009-01-092-0/+2
| | | | | | | | | | | | | | | | | | 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.
* Add a test for the case of a .DVI build using a .eps graphics.Robert Managan2008-11-251-0/+187
| | | | | | 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...
* I found that my coding for automatically building .pdf files from .eps filesRobert Managan2008-11-121-0/+231
| | | | | | failed when the .tex file is in a subdirectory. I added a new test and made the one line fix.
* This new test and emitter update recursively checks the whole source of theRobert Managan2008-10-301-0/+231
| | | | | | | | | | | 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.