Hi,
I finished a manuscript and I followed the instructions for exporting in docx, latex and html using pandoc syntax and scrivomatic.
I created a directory pandoc with all necessary files (pandocomatic.yaml, templates etc). I tried with some simple files inserting equations and citations and everything worked right.
When I decided to compile my manuscript, I dragged and dropped my work in the simple project I created before but I got this error when I compiled:
[code]=== ------------------------------------------------------ ===
=== Scrivomatic V1.0.20 Report @ 2019-01-29 21:53:27 +0100 ===
=== ------------------------------------------------------ ===
Running under Ruby 2.3.7
Working directory: /Users/Gallomac/.pandoc/Riproviamo.md
===------ Input Options: ------===
#<struct Scrivomatic::OPT input=“Riproviamo.md”, output=nil, to=nil, yaml=nil, command=“pandocomatic”, envpath="/Users/Gallomac/bin:/usr/local/bin:/Library/TeX/texbin", build=false, cleanup=false, verbose=true, dry_run=false, open_log=true>
===------ Final ENV PATH: ------===
/Users/Gallomac/bin:/usr/local/bin:/Library/TeX/texbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Applications/Scrivener.app/Contents/Resources/MultiMarkdown/bin
===------ TOOL PATHS: ------===
—pandoc: /usr/local/bin/pandoc | V: 2.4
—pandocomatic: /usr/local/bin/pandocomatic | V: Pandocomatic version 0.2.3.0
—ruby: /usr/bin/ruby | V: ruby 2.3.7p456 (2018-03-28 revision 63024) [universal.x86_64-darwin18]
—python: /usr/bin/python
—xelatex: /Library/TeX/texbin/xelatex
—latexmk: /Library/TeX/texbin/latexmk
… running pandocomatic, please wait …
===------ COMMAND OUTPUT: ------===
:: Running: /usr/local/bin/pandocomatic --debug Riproviamo.md
::: An unexpected error has occurred. You can report this bug via https://github.com/htdebeer/pandocomatic/issues/new.
::: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/psych.rb:379:in parse': (<unknown>): mapping values are not allowed in this context at line 34 column 8 (Psych::SyntaxError) ::: from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/psych.rb:379:in parse_stream’
::: from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/psych.rb:327:in parse' ::: from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/psych.rb:254:in load’
::: from /Library/Ruby/Gems/2.3.0/gems/pandocomatic-0.2.3.0/lib/pandocomatic/pandoc_metadata.rb:69:in load_file' ::: from /Library/Ruby/Gems/2.3.0/gems/pandocomatic-0.2.3.0/lib/pandocomatic/command/convert_file_multiple_command.rb:50:in initialize’
::: from /Library/Ruby/Gems/2.3.0/gems/pandocomatic-0.2.3.0/lib/pandocomatic/pandocomatic.rb:100:in new' ::: from /Library/Ruby/Gems/2.3.0/gems/pandocomatic-0.2.3.0/lib/pandocomatic/pandocomatic.rb:100:in run’
::: from /Library/Ruby/Gems/2.3.0/gems/pandocomatic-0.2.3.0/bin/pandocomatic:3:in <top (required)>' ::: from /usr/local/bin/pandocomatic:22:in load’
::: from /usr/local/bin/pandocomatic:22:in `’
:: exit status: pid 7884 exit 1
!!!—scrivomatic::runCommand() RETURN non-zero value: /usr/local/bin/pandocomatic --debug Riproviamo.md !!!
[/code]
A very similar problem was described in this post [url]https://forum.literatureandlatte.com/t/comparison-to-other-word-processors-and-writing-tools/68/1] and nontroppo gave some useful advice. I controlled that Section Layout were “As-Is” and that I didn’t flag “Convert Rich Text to MultiMarkdown” in settings.
I put a front matter (I can’t choose this option with right click in binder, I can’t understand why) but I selected the pandoc metadata as front matter (see below).

︎Project Settings…
