I'm following a wonderful walk-through here in tex.stackexchange, as well as having RTFM (it really is fine), but am missing something.
Using OSX 10.10.5 - Yosemite. Latest version of TeXShop installed. TeX Live not complaining.
I have created an araraconfig.yaml file in my home directory:
ls -l ~/ | grep arara
-rw-r--r-- 1 mikekilmer staff 218B Jul 26 21:50 araraconfig.yml
It looks like this:
!config
# Config file to use texmfhome as search path
# # author: Marco Daniel
# # requires arara 3.0+
paths:
- /Users/mikekilmer/Library/texmf/scripts/arara/rules
filetypes:
- extension: lytex
pattern: ^(\s)*%\s+
Inside of /Users/mikekilmer/Library/texmf/scripts/arara/rules there is the lilypond rule:
$ ls -l /Users/mikekilmer/Library/texmf/scripts/arara/rules
total 8
-rw-r--r-- 1 mikekilmer staff 433B Jul 26 20:45 lilypond.yml
Content:
!config
# Mainfile rule for arara
# author: Marco Daniel
# requires arara 3.0+
identifier: lilypond
name: Lilypond
command: <arara> lilypond-book @{format} @{options} @{output} "@{file}"
arguments:
- identifier: format
flag: <arara> --format=@{parameters.latex-programm}
default: <arara> --format=latex
- identifier: options
flag: <arara> @{parameters.options}
- identifier: output
flag: <arara> --output=@{parameters.output}
And finally a test file:
% arara: lilypond
% arara: pdflatex: { files: [ test.tex ] }
\documentclass{scrartcl}
\begin{document}
Text
\begin{lilypond}[staffsize=12]
\relative c' {
c2^"Text" g'2 \times 2/3 { f8 e d } c'2 g4
}
\end{lilypond}
\end{document}
But:
$ arara test.lytex
__ _ _ __ __ _ _ __ __ _
/ _` | '__/ _` | '__/ _` |
| (_| | | | (_| | | | (_| |
\__,_|_| \__,_|_| \__,_|
I'm sorry, but the file 'test.lytex [.tex, .dtx, .ltx]' does not
exist. Note that when you provide only the basename (i.e, the
filename without the extension) or with an unknown extension,
arara will try to look for files ending with the predefined
extensions [.tex, .dtx, .ltx] in that order. You can override the
order, the search pattern or even add support for new extensions
through the configuration file. Please refer to the arara manual
to learn more about this feature.
Within directory I'm running command in:
$ ls -l | grep test
-rw-r--r-- 1 mikekilmer staff 231B Jul 26 21:52 test.lytex
-rw-r--r-- 1 mikekilmer staff 671B Jul 26 21:56 test.tex
Can anyone make a recommendation on further troubleshooting?
test.lytex– MikeiLL Jul 27 '16 at 14:05araraworks on the basis the file has to be of extension.tex,.ltxor.dtx, i.e. here it's looking fortest.lytex.tex. – Joseph Wright Jul 27 '16 at 14:07- extension: lytexto the config file should allowlytex– MikeiLL Jul 27 '16 at 14:09:)Could you give me the output ofwhich -a arara? – Paulo Cereda Jul 30 '16 at 10:33:)You are using.ymlas extension instead of.yaml, soararais not finding your configuration file! Could you rename the extension of your YAML files to.yaml? I know.ymlis quite used as well (specially for Ruby blokes), so it might be interesting for the next version to check that extension as well. – Paulo Cereda Jul 30 '16 at 10:35ain the extension was invisible to me! – MikeiLL Jul 30 '16 at 14:45