Tailing Yuan
68e842b12a
fix CompileManager and LocalCommandRunner
2019-10-04 23:02:03 +08:00
Michael Mazour
1ddf9283f2
Add flags option to request JSON
...
Adds a `flags` parameter to the request JSON, appearing under the `compile.options` key (alongside such stalwarts as `compiler`, `timeout`, etc.).
This is primarily to support `-file-line-error` as an option, but could have other uses as well.
`flags` should be an array of strings, or absent. If supplied, the listed arguments are added to the base latexmk command.
2019-05-14 16:24:34 +01:00
Brian Gough
34acce8bda
use TikzManager to create main file for pstool package
2018-10-10 16:13:20 +01:00
Henry Oswald
3fc3cd11f4
fix unit tests
2018-09-11 10:21:37 +01:00
Henry Oswald
4a7cbef3e5
Merge branch 'master' into ho-dockerise
2018-09-11 10:02:24 +01:00
Henry Oswald
ce44fa3390
bump wordcount timeouts, taken from 82b996b145196711e439d7d7045f53498c1afa1a
2018-09-11 09:55:10 +01:00
Henry Oswald
bec46504eb
improve synctex logging
2018-09-11 09:51:20 +01:00
Henry Oswald
905a761544
don't error on a bad synctex call
2018-08-23 11:32:50 +01:00
Henry Oswald
59638c261d
fse.ensureDir when running synctex and wordcount
2018-08-23 08:34:18 +01:00
Henry Oswald
f0b927e8e2
improve error reporting
2018-08-20 10:12:32 +01:00
Brian Gough
b95317c8fe
increase timeout on wordcount
2018-06-25 14:06:18 +01:00
Henry Oswald
9a519f0d3d
added docker runner into core codebase
...
supports both local command runner and docker runner
added docker files for tex live
also fixed tests so they exit correctly & removed debug lines
2018-03-14 15:44:49 +00:00
Henry Oswald
f39d14bf1b
unit tests pass, acceptence fail
...
uncomment tests
2018-03-02 17:34:41 +00:00
Henry Oswald
3399f55153
wip, docker container is correctly created
2018-03-02 17:14:23 +00:00
Henry Oswald
5cf3c904cb
mvp
...
needs hacked pacth in docker runner
wip
most tests pass
2018-03-02 17:14:20 +00:00
Brian Gough
e209c48bd9
simplify tikzexternalize checks
2017-09-29 17:00:53 +01:00
Brian Gough
7f0e6f3eec
lock compile directory
2017-09-22 16:19:33 +01:00
Brian Gough
b901884248
avoid adding draft mode more than once
2017-08-17 15:03:37 +01:00
Brian Gough
8415ea2f71
store the resource list in a file
2017-08-17 14:53:35 +01:00
Brian Gough
3a930a636e
fix incremental request
2017-08-07 14:32:28 +01:00
Brian Gough
da86a094a8
write files incrementally
2017-08-02 13:46:10 +01:00
Shane Kilkelly
a55debb79f
Send a 404 if the project files have gone away when running synctex.
...
This is semantically nicer than the 500 response which used to be
produced in these circumstances.
2017-06-23 14:46:40 +01:00
Brian Gough
550979991f
check directory exists and bail out on error
2017-05-31 10:06:27 +01:00
Brian Gough
42fa852b76
check file exists before running synctex
2017-05-24 10:09:43 +01:00
Brian Gough
3bd919b3eb
support for tikz externalize
...
make copy of main file as output.tex for tikz externalize
2017-03-20 10:55:28 +00:00
Shane Kilkelly
34f47178fa
Increase memory limit to 64mb
2016-09-28 11:02:58 +01:00
Shane Kilkelly
4efdddbbac
Add CHKTEX_ULIMIT_OPTIONS
2016-09-23 15:32:37 +01:00
Brian Gough
56429178df
only run chktex on .tex files, not .Rtex files
...
the .tex files produced from knitr have macros which confuse chktex
2016-09-12 16:29:36 +01:00
Brian Gough
e23512f0e0
handle failed compile due to validation error
2016-08-24 15:46:47 +01:00
Brian Gough
1af44b32b3
remove chktex error
...
too many false positives from 'unable to execute latex command'
2016-08-22 15:11:39 +01:00
Brian Gough
ed5acc9f93
capture texcount error output
2016-08-11 10:26:08 +01:00
Brian Gough
400590b3ad
read wordcount output asynchronously
2016-08-11 09:32:53 +01:00
Brian Gough
872dbc5215
add missing argument parameter to wordcount call
2016-08-11 09:29:03 +01:00
Brian Gough
c5917d4a75
use a command wrapper for synctex
...
instead of an alternative child_process object
2016-08-04 16:08:14 +01:00
Brian Gough
08a446f03d
change logging message to be different from LatexRunner
2016-08-04 16:07:36 +01:00
Brian Gough
5c1e903b14
Merge pull request #44 from sharelatex/add-chktex-support
...
Add chktex support
2016-08-02 14:55:38 +01:00
Brian Gough
f0c7b455a5
provide setting to override child_process.execFile for synctex
2016-07-29 14:54:24 +01:00
Brian Gough
ffea361d12
provide validation mode where compilation always exits after chktex
2016-07-27 16:54:27 +01:00
Brian Gough
d6d6e18b89
run chktex when request has check:true
2016-07-26 16:22:38 +01:00
Brian Gough
3135ff2842
add support for passing additional environment parameters to command runner
...
includes an example of passing environment variables to chktex
2016-07-26 12:30:29 +01:00
Brian Gough
9b58621fa8
add support for stopping compile
2016-07-14 16:43:52 +01:00
Brian Gough
5367bc22e5
add per-user routes for clearing cache and extend expiry methods
...
this adds separate functionality for clearing the cache (assets and
database) and the project compile directory for a specific user
2016-06-02 15:32:33 +01:00
Brian Gough
df641549c4
add per-user routes and methods
2016-06-02 15:32:31 +01:00
Henry Oswald
fdc8d83646
log out error on synctex
2016-05-27 16:18:18 +01:00
Henry Oswald
41ca3a4222
log out errors more clearly
2016-05-27 14:45:39 +01:00
Henry Oswald
448a30750b
log out which command logger is used
2016-05-24 14:08:39 +01:00
Brian Gough
d5c1fb9997
fix logic excluding smoke test in metric
2016-05-10 10:10:01 +01:00
Brian Gough
00acfbdf86
fix tagname for graphite
2016-05-10 09:41:39 +01:00
Brian Gough
d2e4253e1e
preserve existing metric name
2016-05-10 09:12:00 +01:00
Brian Gough
3eebca4c01
add timing information from /usr/bin/time
2016-05-09 16:00:24 +01:00