Code Monkey home page Code Monkey logo

Comments (3)

iandol avatar iandol commented on June 19, 2024

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.

iandol avatar iandol commented on June 19, 2024

@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.

oWretch avatar oWretch commented on June 19, 2024

Works wonderfully now for me, thank you. Now I can just breeze through the compile settings out of Scrivener.

from scrivomatic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.