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}
################
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.
Not the
\begin{lilypond}
\end{lilypond}
or
\lilypond{}
formats works at all. The two ways shows the exact same error.
These is the complet output (I know it is preferible to attach a file, but
since its short.. ;)
#################
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
################
Thanks again for any help!
Marcos
2013/10/2 Marc Hohl <[email protected]>
> Am 30.09.2013 19:56, schrieb Marcos Press:
>
> I'm not sure what is happening...
>>
>> LaTeX does not know any lilypond package.
>>
>
> That's true, AFAIK.
>
>
> Lilypond-book gives these error always:
>>
>> ####
>> ~$ lilypond-book --pdf --output=out file.lytex
>>
>> [...]
>>
>> File "/usr/lib/python2.7/re.py", line 242, in _compile
>> raise error, v # invalid expression
>> sre_constants.error: bad character range
>>
>> ####
>>
>> and nothing else happends.
>>
>> I can submit any info you ask for.
>>
>
> Without /any/ hint about the contents of the file you want to process,
> it is merely impossible to tell you what's wrong.
>
> Can you post a minimal example? Reduce your file so that it is
> a) as small as possible and
> b) it still shows the error you describe.
>
> HTH,
>
> Marc
>
>
> ______________________________**_________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/**listinfo/lilypond-user<https://lists.gnu.org/mailman/listinfo/lilypond-user>
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user