|
[Rivet-svn] rivet: Pandoc change doesn't work on older versions. Backed out ...Rivet Mercurial rivet at projects.hepforge.orgThu Mar 31 12:15:01 BST 2016
details: https://rivet.hepforge.org/hg/rivet/rev/695b23fbdd97 branches: changeset: 5086:695b23fbdd97 user: David Grellscheid <david.grellscheid at durham.ac.uk> date: Thu Mar 31 12:07:20 2016 +0100 description: Pandoc change doesn't work on older versions. Backed out changeset 7e0da6482390 diffs (11 lines): --- a/pyext/rivet/util.py Wed Mar 30 10:53:11 2016 +0100 +++ b/pyext/rivet/util.py Thu Mar 31 12:07:20 2016 +0100 @@ -179,7 +179,7 @@ \newcommand{\TeV}{TeV } """ import subprocess, shlex - p = subprocess.Popen(shlex.split("pandoc -f latex -t plain --wrap=none"), + p = subprocess.Popen(shlex.split("pandoc -f latex -t plain --no-wrap"), stdin=subprocess.PIPE, stdout=subprocess.PIPE) plain, err = p.communicate((texheader + tex).replace("\n", "")) plain = plain.replace(r"\&", "&")
More information about the Rivet-svn mailing list |