Re: Issues with lyx 2.0 beta 1 and lilypond

2011-05-24 Thread Julien Rioux

On 24/05/2011 10:35 AM, romain wrote:

- Message d'origine -

On 24/05/2011 6:12 AM, romain carreau wrote:

Hi,
it works fine 2.13.61 (with PDF output) but the preview   (Insert ->
Preview) doesn't work. Is it "normal" for   lyx 2.0rc3?
Thanks for your help and the great job.




I expect this to work, too. Did you try the example document distributed
with LyX? Or do you have a simple example file which displays the
problem for you?

Cheers,
Julien


Hi,
It doesn't work with your example document. But maybe i missed something...

Cheers,
Romain


Please try with the LyX 2.0.0 release. If you still have issues, open a 
bug report for it. We should look into it.


Thanks,
Julien


Re: Issues with lyx 2.0 beta 1 and lilypond

2011-05-24 Thread Julien Rioux

On 24/05/2011 6:12 AM, romain carreau wrote:

Hi,
it works fine 2.13.61 (with PDF output) but the preview  (Insert ->  Preview) 
doesn't work.
Is it "normal" for  lyx 2.0rc3?
Thanks for your help and the great job.




I expect this to work, too. Did you try the example document distributed 
with LyX? Or do you have a simple example file which displays the 
problem for you?


Cheers,
Julien


Re: Issues with lyx 2.0 beta 1 and lilypond

2011-05-23 Thread Julien Rioux

On 23/05/2011 6:31 PM, mitwh wrote:

Julien Rioux  physics.utoronto.ca>  writes:



On 18/11/2010 11:51 AM, Julien Rioux wrote:

The command is correct (I am most certain), only the message is cut off
(yet another issue with the report of errors!).

My guess is something went wrong with lilypond-book. Unfortunately, the
report of errors from lilypond-book to the LyX interface is missing.


Thanks Marc, we should fix this. I opened these bug reports:

http://www.lyx.org/trac/ticket/7044
http://www.lyx.org/trac/ticket/7045
http://www.lyx.org/trac/ticket/7046

Feel free to add your comments there.




Hello,
i have the message "the module lilypond requires a package that is not available
in your LaTeX installation" (mais en français).
I'm under Ubuntu.
how to fix this issue? The path is to lilypond-book.bin?
It is very urgent for me... i absolutely need to insert score in an article.
Lilypond version 2.12.3-7ubuntu1 and lyx 2.0.0rc3~1.

Thanks







Hi,

There are two ways to get your score into your article. The first is to 
have an external .ly file which you include as graphic in your document. 
This works fine if your score is shorter than a page.


The second is to use the new lilypond module, which will work with 
lilypond-book to produce your document. This also supports long scores. 
To use the lilypond module that comes with LyX, Lilypond 2.12 is not 
recent enough... we require 2.13 which is the development version. I 
think that there are no ubuntu packages for it, but you can download the 
source code and compile lilypond 2.13 following their instructions (if 
you are familiar with open source, it's really not too hard to do).


After installing lilypond 2.13, you will need to reconfigure LyX.

If you can't or won't install lilypond 2.13, I can tell you how to 
configure LyX to use 2.12, but I expect that we get problems doing so. I 
would highly recommend you try either the approach with the external .ly 
file or to get 2.13 to get the lilypond module working.


Cheers,
Julien


Re: Issues with lyx 2.0 beta 1 and lilypond

2011-05-23 Thread mitweeeeh
Julien Rioux  physics.utoronto.ca> writes:

> 
> On 18/11/2010 11:51 AM, Julien Rioux wrote:
> > The command is correct (I am most certain), only the message is cut off
> > (yet another issue with the report of errors!).
> >
> > My guess is something went wrong with lilypond-book. Unfortunately, the
> > report of errors from lilypond-book to the LyX interface is missing.
> 
> Thanks Marc, we should fix this. I opened these bug reports:
> 
> http://www.lyx.org/trac/ticket/7044
> http://www.lyx.org/trac/ticket/7045
> http://www.lyx.org/trac/ticket/7046
> 
> Feel free to add your comments there.
> 


Hello,
i have the message "the module lilypond requires a package that is not available
in your LaTeX installation" (mais en français).
I'm under Ubuntu.
how to fix this issue? The path is to lilypond-book.bin?
It is very urgent for me... i absolutely need to insert score in an article.
Lilypond version 2.12.3-7ubuntu1 and lyx 2.0.0rc3~1.

Thanks






Re: Issues with lyx 2.0 beta 1 and lilypond

2010-11-18 Thread Julien Rioux

On 18/11/2010 12:23 PM, Marc Mouries wrote:

find attached the result of the command.
The errors i noticed were:
1) Running lilypond...GNU LilyPond 2.13.39
programming error: file name not normalized:
C:\\Users\\Marc\\Documents\\tmpdir\\snippet-names--213547792.ly
2) Missing set(['ec/lily-5e700a3e.txt', 'ec/lily-5e700a3e.ly',
'ec/lily-5e700a3e-systems.count'])
Removing `C:\Users\Marc\Documents\lilypond.tex'

Note that the files ec/lily-5e700a3e.* exist in the tempDir


I had a quick look but I fear I don't know enough about lilypond to 
figure this out. What I see is the mixing of / and \ in the paths which 
might or might not work as expected on windows.


--
Julien


Re: Issues with lyx 2.0 beta 1 and lilypond

2010-11-18 Thread Julien Rioux

On 18/11/2010 11:51 AM, Julien Rioux wrote:

The command is correct (I am most certain), only the message is cut off
(yet another issue with the report of errors!).

My guess is something went wrong with lilypond-book. Unfortunately, the
report of errors from lilypond-book to the LyX interface is missing.


Thanks Marc, we should fix this. I opened these bug reports:

http://www.lyx.org/trac/ticket/7044
http://www.lyx.org/trac/ticket/7045
http://www.lyx.org/trac/ticket/7046

Feel free to add your comments there.

--
Julien



Re: Issues with lyx 2.0 beta 1 and lilypond

2010-11-18 Thread Marc Mouries

On 11/18/2010 11:51 AM, Julien Rioux wrote:

On 18/11/2010 11:37 AM, Marc Mouries wrote:
thanks the reconfigure worked. I was able to open the file without 
the dialog.

Now when i click on "view" i get the following error message:


Could it be a 'x' missing at the end of pdflate?


The command is correct (I am most certain), only the message is cut 
off (yet another issue with the report of errors!).


My guess is something went wrong with lilypond-book. Unfortunately, 
the report of errors from lilypond-book to the LyX interface is missing.


Could you please try to export the file and produce output manually?

First the export (File > Export > Lilypond book) will produce a file 
with the "lytex" extension next to your "lyx" file.


Then run from the command line:
lilypond-book --safe --pdf --latex-program=pdflatex 
--lily-output-dir=tmpdir lilypond.lytex


and report any errors you get? This would be very helpful.

Thanks,
Regards,
Julien

find attached the result of the command.
The errors i noticed were:
1) Running lilypond...GNU LilyPond 2.13.39
programming error: file name not normalized: 
C:\\Users\\Marc\\Documents\\tmpdir\\snippet-names--213547792.ly
2) Missing set(['ec/lily-5e700a3e.txt', 'ec/lily-5e700a3e.ly', 
'ec/lily-5e700a3e-systems.count'])

Removing `C:\Users\Marc\Documents\lilypond.tex'

Note that the files ec/lily-5e700a3e.* exist in the tempDir





C:\Users\Marc\Documents>lilypond-book --safe --pdf --latex-program=pdflatex 
--lily-output-dir=tmpdir lilypond.lytex
lilypond-book.py (GNU LilyPond) 2.13.39
Reading lilypond.lytex...
Running pdflatex...This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9)
entering extended mode
(c:/users/marc/appdata/local/temp/tmpq3-tjm.tex
LaTeX2e <2009/09/24>
Babel  and hyphenation patterns for english, afrikaans, ancientgreek, ar
abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic,
croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga
lician, german, german-x-2009-06-19, greek, gujarati, hindi, hungarian, iceland
ic, indonesian, interlingua, irish, italian, kannada, kurmanji, lao, latin, lat
vian, lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerm
an, ngerman-x-2009-06-19, nynorsk, oriya, panjabi, pinyin, polish, portuguese,
romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swis
sgerman, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, u
senglishmax, welsh, loaded.

("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\size10.clo"))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\fontenc.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\t1enc.def"))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\inputenc.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\latin9.def"))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\geometry\geometry.sty"
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\graphics\keyval.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\ifpdf.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\oberdiek\ifvtex.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\ifxetex\ifxetex.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\geometry\geometry.cfg"))
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\ltxmisc\url.sty")
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\babel\babel.sty"
*
* Local config file bblopts.cfg used
*
("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\00miktex\bblopts.cfg")
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\babel\english.ldf"
("C:\Program Files (x86)\MiKTeX 2.9\tex\generic\babel\babel.def")))
No file tmpq3-tjm.aux.
*geometry* driver: auto-detecting
*geometry* detected driver: pdftex

Package geometry Warning: The marginal notes overrun the paper.
 Add 19.0945pt and more to the right margin.

*geometry* verbose mode - [ preamble ] result:
* driver: pdftex
* paper: letterpaper
* layout: 
* layoutoffset:(h,v)=(0.0pt,0.0pt)
* modes:
* h-part:(L,W,R)=(56.9055pt, 500.484pt, 56.9055pt)
* v-part:(T,H,B)=(56.9055pt, 681.15898pt, 56.9055pt)
* \paperwidth=614.295pt
* \paperheight=794.96999pt
* \textwidth=500.484pt
* \textheight=681.15898pt
* \oddsidemargin=-15.36449pt
* \evensidemargin=-15.36449pt
* \topmargin=-52.36449pt
* \headheight=12.0pt
* \headsep=25.0pt
* \topskip=10.0pt
* \footskip=30.0pt
* \marginparwidth=65.0pt
* \marginparsep=11.0pt
* \columnsep=10.0pt
* \skip\footins=9.0pt plus 4.0pt minus 2.0pt
* \hoffset=0.0pt
* \voffset=0.0pt
* \mag=1000
* \...@twocolumnfalse
* \...@twosidefalse
* \...@mparswitchfalse
* \...@reversemarginfalse
* (1in=72.27pt=25.4mm, 1cm=28.453pt)

textwidth=500.484pt
columnsep=10.0pt
(C:\Users\Marc\Documents\tmpq3-tjm.aux) )
No pages of output.
Transcript written on tmpq3-tjm.log.
Dissecting...
Writing snippets...
Processing...
Running lilypond...GNU LilyPond 2.13.39
programm

Re: Issues with lyx 2.0 beta 1 and lilypond

2010-11-18 Thread Julien Rioux

On 18/11/2010 11:37 AM, Marc Mouries wrote:

thanks the reconfigure worked. I was able to open the file without the dialog.
Now when i click on "view" i get the following error message:


Could it be a 'x' missing at the end of pdflate?


The command is correct (I am most certain), only the message is cut off 
(yet another issue with the report of errors!).


My guess is something went wrong with lilypond-book. Unfortunately, the 
report of errors from lilypond-book to the LyX interface is missing.


Could you please try to export the file and produce output manually?

First the export (File > Export > Lilypond book) will produce a file 
with the "lytex" extension next to your "lyx" file.


Then run from the command line:
lilypond-book --safe --pdf --latex-program=pdflatex 
--lily-output-dir=tmpdir lilypond.lytex


and report any errors you get? This would be very helpful.

Thanks,
Regards,
Julien


Re: Issues with lyx 2.0 beta 1 and lilypond

2010-11-18 Thread Marc Mouries


  
  
On 11/18/2010 11:31 AM, Julien Rioux wrote:
On 18/11/2010 11:21 AM, Marc Mouries wrote:
  
  Hi,


I am new to Lyx and just tried it to use it with Lilypond.


In LyX I do: File> New from Template, then navigate up one
directory,

select the examples/ directory, and select lilypond.lyx.


I tested with Mac and the file lilypond.lyx was not in the
folder

I tested with Windows, I could find the file but when i open it,
I get a

message saying:

"the module lilypond requires a package that is not available in
your

LaTeX installation.

LaTeX out may not be possible"


Shouldn't MyTeX install any package that are not installed
automatically?


My configuration is:

- Lyx 2.0 beta 1

- MyTeX 2.9

- Lilypond 2.13.39


thanks,


Marc


  
  
  Hi Marc,
  
  
  The error message is misleading. The module requires a "lytex to
  latex" converter (i.e., the lilypond-book program) but no specific
  LaTeX package. We should fix this.
  
  
  Is "lilypond-book" in your PATH? It must be found by LyX at
  configure time. Could you please make sure it is in your PATH,
  reconfigure LyX (Tools > reconfigure), restart LyX and try
  again?
  
  
  To specify your PATH either modify the environment variable or the
  PATH prefix in LyX Tools > Preferences > Paths
  
  
  Let us know how this goes!
  
  
  Thanks,
  
  Regards,
  
  Julien
  

thanks the reconfigure worked. I was able to open the file without
the dialog.
Now when i click on "view" i get the following error message:


Could it be a 'x' missing at the end of pdflate? 
  



Re: Issues with lyx 2.0 beta 1 and lilypond

2010-11-18 Thread Julien Rioux

On 18/11/2010 11:21 AM, Marc Mouries wrote:

Hi,

I am new to Lyx and just tried it to use it with Lilypond.

In LyX I do: File> New from Template, then navigate up one directory,
select the examples/ directory, and select lilypond.lyx.

I tested with Mac and the file lilypond.lyx was not in the folder
I tested with Windows, I could find the file but when i open it, I get a
message saying:
"the module lilypond requires a package that is not available in your
LaTeX installation.
LaTeX out may not be possible"

Shouldn't MyTeX install any package that are not installed automatically?

My configuration is:
- Lyx 2.0 beta 1
- MyTeX 2.9
- Lilypond 2.13.39

thanks,

Marc



Hi Marc,

The error message is misleading. The module requires a "lytex to latex" 
converter (i.e., the lilypond-book program) but no specific LaTeX 
package. We should fix this.


Is "lilypond-book" in your PATH? It must be found by LyX at configure 
time. Could you please make sure it is in your PATH, reconfigure LyX 
(Tools > reconfigure), restart LyX and try again?


To specify your PATH either modify the environment variable or the PATH 
prefix in LyX Tools > Preferences > Paths


Let us know how this goes!

Thanks,
Regards,
Julien