Comments (3)
OK, I'll work out why I hard coded this (I always use .md
but I agree it should ideally be suffix agnostic). Thanks for reporting this.
from scrivomatic.
@oWretch — OK, I was hard coding .md
in the postBuild function (when using the -b
flag). I've updated scrivomatic to V1.0.17 to fix this, I tested using:
❯ scrivomatic -v -b -i Behaviour\ Platform.txt
And it all worked fine (see log below). It should now work with any file extension, please can you confirm it works and reopen if it doesn't. Thanks!
=== ------------------------------------------------------ ===
=== Scrivomatic V1.0.17 Report @ 2018-04-07 17:39:18 +0800 ===
=== ------------------------------------------------------ ===
Running under Ruby 2.3.3
Working directory: /Users/ian/Desktop/reviews_mmd
===------ Input Options: ------===
#<struct Scrivomatic::OPT input="Behaviour\\ Platform.txt", output=nil, to=nil, yaml=nil, command="pandocomatic", envpath="/Users/ian/.rbenv/shims:/Users/ian/miniconda3/bin:/Library/TeX/texbin:/Users/ian/bin:/usr/local/bin", build=true, verbose=true, dry_run=false, open_log=false>
===------ Final ENV PATH: ------===
/Users/ian/.rbenv/shims:/Users/ian/miniconda3/bin:/Library/TeX/texbin:/Users/ian/bin:/usr/local/bin:/usr/local/Cellar/rbenv/1.1.1/libexec:/Users/ian/.rbenv/shims:/Users/ian/bin:/usr/local/sbin:/Applications/MATLAB_R2017b.app/bin:/Library/TeX/texbin:/Users/ian/.zplug/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Frameworks/Mono.framework/Versions/Current/Commands
===------ TOOL PATHS: ------===
---pandoc: /usr/local/bin/pandoc | V: 2.1.3
---pandocomatic: /Users/ian/.rbenv/shims/pandocomatic | V: Pandocomatic version 0.2.2.1
---ruby: /Users/ian/.rbenv/shims/ruby | V: ruby 2.3.3p222 (2016-11-21 revision 56859) [universal.x86_64-darwin17]
---rbenv: /usr/local/bin/rbenv
---python: /Users/ian/miniconda3/bin/python
---xelatex: /Library/TeX/texbin/xelatex
---latexmk: /Library/TeX/texbin/latexmk
… running pandocomatic, please wait …
===------ COMMAND OUTPUT: ------===
:: Running: /Users/ian/.rbenv/shims/pandocomatic --debug Behaviour\ Platform.txt
::: pandoc --bibliography=/Users/ian/.pandoc/Core.json \
::: --csl=/Users/ian/.pandoc/csl/apa-ian.csl \
::: --from=markdown \
::: --to=latex \
::: --standalone \
::: --filter=/Users/ian/.pandoc/filters/removeHR \
::: --filter=/usr/local/bin/pandoc-citeproc \
::: --dpi=72 \
::: --template=/Users/ian/.pandoc/templates/eisvogel.latex \
::: --toc \
::: --base-header-level=2
::: Pandocomatic needed 1.5 seconds to convert 'Behaviour Platform.txt'.
:: exit status: pid 62047 exit 0
===------ RUN LATEXMK on Behaviour\ Platform.tex: ------===
:: directory: /Users/ian/Desktop/reviews_mmd
:: command: latexmk -logfilewarnings -interaction=nonstopmode -gg -pv -time -xelatex -f Behaviour\ Platform.tex
::: Latexmk: This is Latexmk, John Collins, 17 Jan. 2018, version: 4.55.
::: Latexmk: Removing all generated files
::: Run number 1 of rule 'xelatex'
::: Running 'xelatex -no-pdf -interaction=nonstopmode -recorder "Behaviour Platform.tex"'
::: Latexmk: applying rule 'xelatex'...
::: This is XeTeX, Version 3.14159265-2.6-0.99998 (TeX Live 2017) (preloaded format=xelatex)
::: LaTeX2e <2017-04-15>
::: LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.
::: Latexmk: References changed.
::: Latexmk: References changed.
::: Latexmk: Log file says output to 'Behaviour Platform.xdv'
::: Run number 2 of rule 'xelatex'
::: Running 'xelatex -no-pdf -interaction=nonstopmode -recorder "Behaviour Platform.tex"'
::: === TeX engine is 'XeTeX'
::: Latexmk: applying rule 'xelatex'...
::: This is XeTeX, Version 3.14159265-2.6-0.99998 (TeX Live 2017) (preloaded format=xelatex)
::: LaTeX2e <2017-04-15>
::: LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.
::: Latexmk: References changed.
::: Latexmk: Log file says output to 'Behaviour Platform.xdv'
::: Run number 3 of rule 'xelatex'
::: Running 'xelatex -no-pdf -interaction=nonstopmode -recorder "Behaviour Platform.tex"'
::: === TeX engine is 'XeTeX'
::: Latexmk: applying rule 'xelatex'...
::: This is XeTeX, Version 3.14159265-2.6-0.99998 (TeX Live 2017) (preloaded format=xelatex)
::: LaTeX2e <2017-04-15>
::: Latexmk: Log file says output to 'Behaviour Platform.xdv'
::: Run number 1 of rule 'xdvipdfmx'
::: Running 'xdvipdfmx -o "Behaviour Platform.pdf" "Behaviour Platform.xdv"'
::: === TeX engine is 'XeTeX'
::: Latexmk: applying rule 'xdvipdfmx'...
::: Running 'start open "Behaviour Platform.pdf"'
::: Latexmk: All targets (Behaviour Platform.pdf Behaviour Platform.xdv) are up-to-date
::: Accumulated processing time = 8.5
:: exit status: pid 62279 exit 0
:: clean-up: used latexmk -c, but kept the latex build log as latexlog_Behaviour\ Platform.log
from scrivomatic.
Works wonderfully now for me, thank you. Now I can just breeze through the compile settings out of Scrivener.
from scrivomatic.
Related Issues (20)
- Question from guide: Blockquotes, escaping special characters, and blockquote prefix HOT 1
- Conversion to PDF: cleanup via latexmk not working HOT 7
- get it running HOT 2
- Scrivomatic not finding tools in path HOT 6
- Pandocomatic unable to load config file HOT 3
- Issue with compiling a bullet point and strong emphasis
- Pandoc-Citeproc Cannot decode byte '\x9f' HOT 1
- error trying to compile simple workflow: `require': cannot load such file -- paru/filter (LoadError) HOT 8
- ! Paragraph ended before \FV@BeginScanning was complete
- I'm running into errors when I try to compile - log file pasted into the comment - thoughts? HOT 1
- use Pandoc citeproc to convert [@citekey] to \cite{citekey} instead of hyperlink HOT 2
- pandoc-citeproc install error HOT 5
- Question: Styles/formats: paragraph breaks HOT 2
- Endnotes instead of footnotes (docx) HOT 4
- Need to keep re-entering Licence key
- Filter errors after update HOT 8
- Only some headers properly formatting after .docx conversion HOT 2
- Request: add homebrew path to scrivomatic HOT 3
- Figures and Tables in your Crossref examplae HOT 8
- How to create an updated log? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scrivomatic.