Hi Marcos,
Am 02.10.2013 17:08, schrieb Marcos Press:
Thanks for answering!
My file is the following example from lilypond manuals:
##############
\documentclass[]{article}
\begin{document}
Normal LaTeX text.
\begin{lilypond}
\relative c'' {
a4 b c d
}
\end{lilypond}
More LaTeX text, and options in square brackets.
\begin{lilypond}[fragment,relative=2,quote,staffsize=26,verbatim]
d4 c b a
\end{lilypond}
\end{document}
################
Ok, thanks.
Actualy, it doesn'd matter what the content is, it always gives the same
error.
Since I've never use LaTeX before, I try to start compiling something
that its supose to work.
I am not an expert here, but lilypond-book needs LaTeX to determine
the correct line witdh for the included lilypond code fragments.
Perhaps there is something wrong with your LaTeX installation?
(jest a wild guess ...)
[...]
#################
Ejecutando «latex» sobre el archivo «/tmp/tmpkgEcm5.tex» para detectar
los ajustes de página predeterminados.
Diseccionando...
Traceback (most recent call last):
File "/usr/bin/lilypond-book", line 766, in <module>
main ()
File "/usr/bin/lilypond-book", line 749, in main
chunks = do_file (files[0])
File "/usr/bin/lilypond-book", line 610, in do_file
do_process_cmd (chunks, input_fullname, global_options)
File "/usr/bin/lilypond-book", line 470, in do_process_cmd
output_files = split_output_files (options.lily_output_dir)
File "/usr/bin/lilypond-book", line 460, in split_output_files
for subdir in glob.glob (os.path.join (directory, '[a-f0-9][a-f0-9]')):
File "/usr/lib/python2.7/glob.py", line 27, in glob
return list(iglob(pathname))
File "/usr/lib/python2.7/glob.py", line 58, in iglob
for dirname in dirs:
File "/usr/lib/python2.7/glob.py", line 59, in iglob
for name in glob_in_dir(dirname, basename):
File "/usr/lib/python2.7/glob.py", line 78, in glob1
return fnmatch.filter(names, pattern)
File "/usr/lib/python2.7/fnmatch.py", line 54, in filter
_cache[pat] = re.compile(res)
File "/usr/lib/python2.7/re.py", line 190, in compile
return _compile(pattern, flags)
File "/usr/lib/python2.7/re.py", line 242, in _compile
raise error, v # invalid expression
sre_constants.error: bad character range
Hm, sorry, can't help you with that.
HTH,
Marc
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user