Re: lyx 2.0.0 URL error unable to open external file on Ubuntu 11.10 . File path is correct!!

2012-04-04 Thread Alasdair Reed
There does not appear to be a space when it is viewed as you suggest.
Have constructed a minimal example and attached both .lyx file .pdf
file and .xls file .

Alasdair

On Tue, 3 Apr 2012 14:50:05 + (UTC)
Paul A. Rubin ru...@msu.edu wrote:

 You seem to have an errant space at the start of the file path.  Is
 it visible if you do View  Source with the cursor proximate to that
 line?
 
 If the space does not occur in the path as you entered it, I would
 suggest constructing a minimal example and posting it to the list.
 
 Paul
 





pdf_link_example.lyx
Description: application/lyx


pdf_link_example.pdf
Description: Adobe PDF document


lyx_pdf_link_text.xls
Description: MS-Excel spreadsheet


circular letter

2012-04-04 Thread Jörg Kühne
Dear List

Is it possible to write (with Lyx) a circular letter with an arbitrary letter 
pattern?

Best regards

Joerg
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


Is it possible to use lilypond-book options with the LilyPond module?

2012-04-04 Thread Tao Cumplido
I would like to reduce the staff-size of the lilypond output and using #(set-
global-staff-size 16) in the lilypond code doesn't work so I guess I need to 
change the lilypond-book options [staffsize=16] but I can't seem to do it from 
within Lyx.



Strange problem with the LilyPond module

2012-04-04 Thread Tao Cumplido
Ok, one moment it worked fine and the other I get this notice that the
lilypond-book --safe etc. command produced an error.
At first I thought it had something to do with the recent installation of
lilypond 2.15.35 so I tried reinstalling it but to no avail.
Then I tried to just use my laptop instead where I had lilypond 2.15.35 already
installed and it worked perfectly fine the last time I worked with it but now
the same error.
Exporting the lytex and running lilypond-book manually works fine.
I then ran gksu lyx from terminal and suddenly the error didn't appear.
Unfortunately this was only true for the lilypond.lyx example file. With gksu
lyx couldn't find the installed linux libertine font anymore which I am using
for my document. Also lyx looks different with gksu so no idea what's going on
there.
In the lyx-output the only thing hinting for the error is this line:
13:43:55.499: Missing set(['a3/lily-c23c9dee-systems.count'])
../../../src/support/Systemcall.cpp(270): Systemcall: 'lilypond-book --safe
--pdf --latex-program=pdflatex --lily-output-dir=ly-pdf lilypond.lytex'
finished with exit code 1



serienbrief

2012-04-04 Thread Jörg Kühne
Hallo Liste

Ist es möglich aus jeder beliebigen Lyx-Brief-Vorlage einen Serienbrief zu 
machen?

Gruss Jörg


-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


Re: KOMA report and localisation problem.

2012-04-04 Thread Richard Heck

On 04/03/2012 09:55 PM, Hannu Vuolasaho wrote:

Hi!

I'm writing KOMA report class document and it behaves weird. In Lyx I have Part 
N and in pdf I get part in Finnish as expected. This is acceptable even I was 
curious if it would translate.
Now I have source code listing. The caption of source listing says in Finnish 
that it is listing (Listaus 1.2:)  in Lyx. In pdf I get caption (Listing 1.2:) 
in English . It's translated wrong direction. It can be anything in lyx when 
I'm editing, but in output it should be correct.

Is this easily fixable and where should I fix it? Document-preferences and 
listings has some options so it would be my guess but I have no idea how Lyx' 
localisation works. I just use it and get desirable output usually.

The PDF side of localization isn't handled by LyX but by LaTeX. Someone 
else might know how to get it to translate. But you could also ask on 
comp.text.tex.


Richard



Re: pdf included with option 'page=xxx' not displayed correctly

2012-04-04 Thread Richard Heck

On 04/04/2012 07:50 AM, Neal Becker wrote:

I have a pdf included using the option 'page=xxx'.  The output pdf file is
correct, but the lyx preview is showing pg 1 (even though I selected pg 2).

Please file this as an enhancement request. I don't think the LyX 
preview picks up your customized options.


Richard



Re: Strange problem with the LilyPond module

2012-04-04 Thread Julien Rioux

On 04/04/2012 7:52 AM, Tao Cumplido wrote:

Ok, one moment it worked fine and the other I get this notice that the
lilypond-book --safe etc. command produced an error.
At first I thought it had something to do with the recent installation of
lilypond 2.15.35 so I tried reinstalling it but to no avail.
Then I tried to just use my laptop instead where I had lilypond 2.15.35 already
installed and it worked perfectly fine the last time I worked with it but now
the same error.
Exporting the lytex and running lilypond-book manually works fine.
I then ran gksu lyx from terminal and suddenly the error didn't appear.
Unfortunately this was only true for the lilypond.lyx example file. With gksu
lyx couldn't find the installed linux libertine font anymore which I am using
for my document. Also lyx looks different with gksu so no idea what's going on
there.
In the lyx-output the only thing hinting for the error is this line:
13:43:55.499: Missing set(['a3/lily-c23c9dee-systems.count'])
.../../../src/support/Systemcall.cpp(270): Systemcall: 'lilypond-book --safe
--pdf --latex-program=pdflatex --lily-output-dir=ly-pdf lilypond.lytex'
finished with exit code 1




Is there anything else in View  View Messages that might be useful in 
debugging? You may also add the command option --loglevel=DEBUG to the 
lilypond-book converter. When you run lilypond-book manually, what is 
the exact command line that you used?


--
Julien



Re: Is it possible to use lilypond-book options with the LilyPond module?

2012-04-04 Thread Julien Rioux

On 04/04/2012 5:58 AM, Tao Cumplido wrote:

I would like to reduce the staff-size of the lilypond output and using #(set-
global-staff-size 16) in the lilypond code doesn't work so I guess I need to
change the lilypond-book options [staffsize=16] but I can't seem to do it from
within Lyx.




You could make your own customized version of the lilypond.module file. 
See Help  Customization, especially read about LatexParam under Section 
5.3.9 Flex insets and InsetLayout. So basically copying lilypond.module 
to your user directory (usually under ~/.lyx/layouts/) and adding the line

LatexParam staffsize=16
in the relevant place.

--
Julien



Re: Strange problem with the LilyPond module

2012-04-04 Thread Tao Cumplido
Julien Rioux jrioux at physics.utoronto.ca writes:

 
 Is there anything else in View  View Messages that might be useful in 
 debugging?

As far as I remember no, but I'll try again as soon as I can and post the whole
log.

 You may also add the command option --loglevel=DEBUG to the 
 lilypond-book converter.

Where would I do that?

 When you run lilypond-book manually, what is 
 the exact command line that you used?

lilypond-book --safe --pdf --latex-program=pdflatex --lily-output-dir=tmpdir
lilypond.lytex

I tried to Export  LilyPond-Book (LaTeX) but I get an utf-8 error because there
are some unicode characters in my document not recognized by latex, so maybe
it'd be good to have an export option LilyPond-Book (XeTeX) or something.

For now I replaced all lilypond code inside lyx with pregenerated images from
lilypond.

Thanks for your help.






Re: Is it possible to use lilypond-book options with the LilyPond module?

2012-04-04 Thread Tao Cumplido
Julien Rioux jrioux at physics.utoronto.ca writes:

 
 You could make your own customized version of the lilypond.module file. 
 See Help  Customization, especially read about LatexParam under Section 
 5.3.9 Flex insets and InsetLayout. So basically copying lilypond.module 
 to your user directory (usually under ~/.lyx/layouts/) and adding the line
 LatexParam staffsize=16
 in the relevant place.
 

Thanks, I will look into it.
Well, as soon as I get the lilypond-module not to fail anymore.



ERT text size

2012-04-04 Thread Xu Wang
I often have lots of code inside ERT, for example in knitr code. How can I
do to make the font size small in the ERT. I know I can ctrl+ zoom out to
make everything small but I would like to make only ERT small. Any ideas?


Re: ERT text size

2012-04-04 Thread Richard Heck

On 4/4/12 9:18 PM, Xu Wang wrote:
I often have lots of code inside ERT, for example in knitr code. How 
can I do to make the font size small in the ERT. I know I can ctrl+ 
zoom out to make everything small but I would like to make only ERT 
small. Any ideas?



In your local layout, something like:

Format 31

InsetLayout ERT
Font
Size Small
EndFont
End

Not tested.

rh



Re: ERT text size

2012-04-04 Thread Xu Wang
Thank you very much Richard.

On Wed, Apr 4, 2012 at 9:36 PM, Richard Heck rgh...@comcast.net wrote:

 On 4/4/12 9:18 PM, Xu Wang wrote:

 I often have lots of code inside ERT, for example in knitr code. How can
 I do to make the font size small in the ERT. I know I can ctrl+ zoom out to
 make everything small but I would like to make only ERT small. Any ideas?

  In your local layout, something like:

 Format 31

 InsetLayout ERT
Font
Size Small
EndFont
 End

 Not tested.

 rh




Re: lyx 2.0.0 URL error unable to open external file on Ubuntu 11.10 . File path is correct!!

2012-04-04 Thread Alasdair Reed
There does not appear to be a space when it is viewed as you suggest.
Have constructed a minimal example and attached both .lyx file .pdf
file and .xls file .

Alasdair

On Tue, 3 Apr 2012 14:50:05 + (UTC)
Paul A. Rubin ru...@msu.edu wrote:

 You seem to have an errant space at the start of the file path.  Is
 it visible if you do View  Source with the cursor proximate to that
 line?
 
 If the space does not occur in the path as you entered it, I would
 suggest constructing a minimal example and posting it to the list.
 
 Paul
 





pdf_link_example.lyx
Description: application/lyx


pdf_link_example.pdf
Description: Adobe PDF document


lyx_pdf_link_text.xls
Description: MS-Excel spreadsheet


circular letter

2012-04-04 Thread Jörg Kühne
Dear List

Is it possible to write (with Lyx) a circular letter with an arbitrary letter 
pattern?

Best regards

Joerg
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


Is it possible to use lilypond-book options with the LilyPond module?

2012-04-04 Thread Tao Cumplido
I would like to reduce the staff-size of the lilypond output and using #(set-
global-staff-size 16) in the lilypond code doesn't work so I guess I need to 
change the lilypond-book options [staffsize=16] but I can't seem to do it from 
within Lyx.



Strange problem with the LilyPond module

2012-04-04 Thread Tao Cumplido
Ok, one moment it worked fine and the other I get this notice that the
lilypond-book --safe etc. command produced an error.
At first I thought it had something to do with the recent installation of
lilypond 2.15.35 so I tried reinstalling it but to no avail.
Then I tried to just use my laptop instead where I had lilypond 2.15.35 already
installed and it worked perfectly fine the last time I worked with it but now
the same error.
Exporting the lytex and running lilypond-book manually works fine.
I then ran gksu lyx from terminal and suddenly the error didn't appear.
Unfortunately this was only true for the lilypond.lyx example file. With gksu
lyx couldn't find the installed linux libertine font anymore which I am using
for my document. Also lyx looks different with gksu so no idea what's going on
there.
In the lyx-output the only thing hinting for the error is this line:
13:43:55.499: Missing set(['a3/lily-c23c9dee-systems.count'])
../../../src/support/Systemcall.cpp(270): Systemcall: 'lilypond-book --safe
--pdf --latex-program=pdflatex --lily-output-dir=ly-pdf lilypond.lytex'
finished with exit code 1



serienbrief

2012-04-04 Thread Jörg Kühne
Hallo Liste

Ist es möglich aus jeder beliebigen Lyx-Brief-Vorlage einen Serienbrief zu 
machen?

Gruss Jörg


-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


Re: KOMA report and localisation problem.

2012-04-04 Thread Richard Heck

On 04/03/2012 09:55 PM, Hannu Vuolasaho wrote:

Hi!

I'm writing KOMA report class document and it behaves weird. In Lyx I have Part 
N and in pdf I get part in Finnish as expected. This is acceptable even I was 
curious if it would translate.
Now I have source code listing. The caption of source listing says in Finnish 
that it is listing (Listaus 1.2:)  in Lyx. In pdf I get caption (Listing 1.2:) 
in English . It's translated wrong direction. It can be anything in lyx when 
I'm editing, but in output it should be correct.

Is this easily fixable and where should I fix it? Document-preferences and 
listings has some options so it would be my guess but I have no idea how Lyx' 
localisation works. I just use it and get desirable output usually.

The PDF side of localization isn't handled by LyX but by LaTeX. Someone 
else might know how to get it to translate. But you could also ask on 
comp.text.tex.


Richard



Re: pdf included with option 'page=xxx' not displayed correctly

2012-04-04 Thread Richard Heck

On 04/04/2012 07:50 AM, Neal Becker wrote:

I have a pdf included using the option 'page=xxx'.  The output pdf file is
correct, but the lyx preview is showing pg 1 (even though I selected pg 2).

Please file this as an enhancement request. I don't think the LyX 
preview picks up your customized options.


Richard



Re: Strange problem with the LilyPond module

2012-04-04 Thread Julien Rioux

On 04/04/2012 7:52 AM, Tao Cumplido wrote:

Ok, one moment it worked fine and the other I get this notice that the
lilypond-book --safe etc. command produced an error.
At first I thought it had something to do with the recent installation of
lilypond 2.15.35 so I tried reinstalling it but to no avail.
Then I tried to just use my laptop instead where I had lilypond 2.15.35 already
installed and it worked perfectly fine the last time I worked with it but now
the same error.
Exporting the lytex and running lilypond-book manually works fine.
I then ran gksu lyx from terminal and suddenly the error didn't appear.
Unfortunately this was only true for the lilypond.lyx example file. With gksu
lyx couldn't find the installed linux libertine font anymore which I am using
for my document. Also lyx looks different with gksu so no idea what's going on
there.
In the lyx-output the only thing hinting for the error is this line:
13:43:55.499: Missing set(['a3/lily-c23c9dee-systems.count'])
.../../../src/support/Systemcall.cpp(270): Systemcall: 'lilypond-book --safe
--pdf --latex-program=pdflatex --lily-output-dir=ly-pdf lilypond.lytex'
finished with exit code 1




Is there anything else in View  View Messages that might be useful in 
debugging? You may also add the command option --loglevel=DEBUG to the 
lilypond-book converter. When you run lilypond-book manually, what is 
the exact command line that you used?


--
Julien



Re: Is it possible to use lilypond-book options with the LilyPond module?

2012-04-04 Thread Julien Rioux

On 04/04/2012 5:58 AM, Tao Cumplido wrote:

I would like to reduce the staff-size of the lilypond output and using #(set-
global-staff-size 16) in the lilypond code doesn't work so I guess I need to
change the lilypond-book options [staffsize=16] but I can't seem to do it from
within Lyx.




You could make your own customized version of the lilypond.module file. 
See Help  Customization, especially read about LatexParam under Section 
5.3.9 Flex insets and InsetLayout. So basically copying lilypond.module 
to your user directory (usually under ~/.lyx/layouts/) and adding the line

LatexParam staffsize=16
in the relevant place.

--
Julien



Re: Strange problem with the LilyPond module

2012-04-04 Thread Tao Cumplido
Julien Rioux jrioux at physics.utoronto.ca writes:

 
 Is there anything else in View  View Messages that might be useful in 
 debugging?

As far as I remember no, but I'll try again as soon as I can and post the whole
log.

 You may also add the command option --loglevel=DEBUG to the 
 lilypond-book converter.

Where would I do that?

 When you run lilypond-book manually, what is 
 the exact command line that you used?

lilypond-book --safe --pdf --latex-program=pdflatex --lily-output-dir=tmpdir
lilypond.lytex

I tried to Export  LilyPond-Book (LaTeX) but I get an utf-8 error because there
are some unicode characters in my document not recognized by latex, so maybe
it'd be good to have an export option LilyPond-Book (XeTeX) or something.

For now I replaced all lilypond code inside lyx with pregenerated images from
lilypond.

Thanks for your help.






Re: Is it possible to use lilypond-book options with the LilyPond module?

2012-04-04 Thread Tao Cumplido
Julien Rioux jrioux at physics.utoronto.ca writes:

 
 You could make your own customized version of the lilypond.module file. 
 See Help  Customization, especially read about LatexParam under Section 
 5.3.9 Flex insets and InsetLayout. So basically copying lilypond.module 
 to your user directory (usually under ~/.lyx/layouts/) and adding the line
 LatexParam staffsize=16
 in the relevant place.
 

Thanks, I will look into it.
Well, as soon as I get the lilypond-module not to fail anymore.



ERT text size

2012-04-04 Thread Xu Wang
I often have lots of code inside ERT, for example in knitr code. How can I
do to make the font size small in the ERT. I know I can ctrl+ zoom out to
make everything small but I would like to make only ERT small. Any ideas?


Re: ERT text size

2012-04-04 Thread Richard Heck

On 4/4/12 9:18 PM, Xu Wang wrote:
I often have lots of code inside ERT, for example in knitr code. How 
can I do to make the font size small in the ERT. I know I can ctrl+ 
zoom out to make everything small but I would like to make only ERT 
small. Any ideas?



In your local layout, something like:

Format 31

InsetLayout ERT
Font
Size Small
EndFont
End

Not tested.

rh



Re: ERT text size

2012-04-04 Thread Xu Wang
Thank you very much Richard.

On Wed, Apr 4, 2012 at 9:36 PM, Richard Heck rgh...@comcast.net wrote:

 On 4/4/12 9:18 PM, Xu Wang wrote:

 I often have lots of code inside ERT, for example in knitr code. How can
 I do to make the font size small in the ERT. I know I can ctrl+ zoom out to
 make everything small but I would like to make only ERT small. Any ideas?

  In your local layout, something like:

 Format 31

 InsetLayout ERT
Font
Size Small
EndFont
 End

 Not tested.

 rh




Re: lyx 2.0.0 URL error "unable to open external file" on Ubuntu 11.10 . File path is correct!!

2012-04-04 Thread Alasdair Reed
There does not appear to be a space when it is viewed as you suggest.
Have constructed a minimal example and attached both .lyx file .pdf
file and .xls file .

Alasdair

On Tue, 3 Apr 2012 14:50:05 + (UTC)
Paul A. Rubin  wrote:

> You seem to have an errant space at the start of the file path.  Is
> it visible if you do View > Source with the cursor proximate to that
> line?
> 
> If the space does not occur in the path as you entered it, I would
> suggest constructing a minimal example and posting it to the list.
> 
> Paul
> 





pdf_link_example.lyx
Description: application/lyx


pdf_link_example.pdf
Description: Adobe PDF document


lyx_pdf_link_text.xls
Description: MS-Excel spreadsheet


circular letter

2012-04-04 Thread Jörg Kühne
Dear List

Is it possible to write (with Lyx) a circular letter with an arbitrary letter 
pattern?

Best regards

Joerg
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


Is it possible to use lilypond-book options with the LilyPond module?

2012-04-04 Thread Tao Cumplido
I would like to reduce the staff-size of the lilypond output and using #(set-
global-staff-size 16) in the lilypond code doesn't work so I guess I need to 
change the lilypond-book options [staffsize=16] but I can't seem to do it from 
within Lyx.



Strange problem with the LilyPond module

2012-04-04 Thread Tao Cumplido
Ok, one moment it worked fine and the other I get this notice that the
lilypond-book --safe etc. command produced an error.
At first I thought it had something to do with the recent installation of
lilypond 2.15.35 so I tried reinstalling it but to no avail.
Then I tried to just use my laptop instead where I had lilypond 2.15.35 already
installed and it worked perfectly fine the last time I worked with it but now
the same error.
Exporting the lytex and running lilypond-book manually works fine.
I then ran gksu lyx from terminal and suddenly the error didn't appear.
Unfortunately this was only true for the lilypond.lyx example file. With gksu
lyx couldn't find the installed linux libertine font anymore which I am using
for my document. Also lyx looks different with gksu so no idea what's going on
there.
In the lyx-output the only thing hinting for the error is this line:
13:43:55.499: Missing set(['a3/lily-c23c9dee-systems.count'])
../../../src/support/Systemcall.cpp(270): Systemcall: 'lilypond-book --safe
--pdf --latex-program=pdflatex --lily-output-dir=ly-pdf "lilypond.lytex"'
finished with exit code 1



serienbrief

2012-04-04 Thread Jörg Kühne
Hallo Liste

Ist es möglich aus jeder beliebigen Lyx-Brief-Vorlage einen Serienbrief zu 
machen?

Gruss Jörg


-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


Re: KOMA report and localisation problem.

2012-04-04 Thread Richard Heck

On 04/03/2012 09:55 PM, Hannu Vuolasaho wrote:

Hi!

I'm writing KOMA report class document and it behaves weird. In Lyx I have Part 
N and in pdf I get part in Finnish as expected. This is acceptable even I was 
curious if it would translate.
Now I have source code listing. The caption of source listing says in Finnish 
that it is listing (Listaus 1.2:)  in Lyx. In pdf I get caption (Listing 1.2:) 
in English . It's translated wrong direction. It can be anything in lyx when 
I'm editing, but in output it should be correct.

Is this easily fixable and where should I fix it? Document->preferences and 
listings has some options so it would be my guess but I have no idea how Lyx' 
localisation works. I just use it and get desirable output usually.

The PDF side of localization isn't handled by LyX but by LaTeX. Someone 
else might know how to get it to translate. But you could also ask on 
comp.text.tex.


Richard



Re: pdf included with option 'page=xxx' not displayed correctly

2012-04-04 Thread Richard Heck

On 04/04/2012 07:50 AM, Neal Becker wrote:

I have a pdf included using the option 'page=xxx'.  The output pdf file is
correct, but the lyx preview is showing pg 1 (even though I selected pg 2).

Please file this as an enhancement request. I don't think the LyX 
preview picks up your customized options.


Richard



Re: Strange problem with the LilyPond module

2012-04-04 Thread Julien Rioux

On 04/04/2012 7:52 AM, Tao Cumplido wrote:

Ok, one moment it worked fine and the other I get this notice that the
lilypond-book --safe etc. command produced an error.
At first I thought it had something to do with the recent installation of
lilypond 2.15.35 so I tried reinstalling it but to no avail.
Then I tried to just use my laptop instead where I had lilypond 2.15.35 already
installed and it worked perfectly fine the last time I worked with it but now
the same error.
Exporting the lytex and running lilypond-book manually works fine.
I then ran gksu lyx from terminal and suddenly the error didn't appear.
Unfortunately this was only true for the lilypond.lyx example file. With gksu
lyx couldn't find the installed linux libertine font anymore which I am using
for my document. Also lyx looks different with gksu so no idea what's going on
there.
In the lyx-output the only thing hinting for the error is this line:
13:43:55.499: Missing set(['a3/lily-c23c9dee-systems.count'])
.../../../src/support/Systemcall.cpp(270): Systemcall: 'lilypond-book --safe
--pdf --latex-program=pdflatex --lily-output-dir=ly-pdf "lilypond.lytex"'
finished with exit code 1




Is there anything else in View > View Messages that might be useful in 
debugging? You may also add the command option "--loglevel=DEBUG" to the 
lilypond-book converter. When you run lilypond-book manually, what is 
the exact command line that you used?


--
Julien



Re: Is it possible to use lilypond-book options with the LilyPond module?

2012-04-04 Thread Julien Rioux

On 04/04/2012 5:58 AM, Tao Cumplido wrote:

I would like to reduce the staff-size of the lilypond output and using #(set-
global-staff-size 16) in the lilypond code doesn't work so I guess I need to
change the lilypond-book options [staffsize=16] but I can't seem to do it from
within Lyx.




You could make your own customized version of the lilypond.module file. 
See Help > Customization, especially read about LatexParam under Section 
5.3.9 Flex insets and InsetLayout. So basically copying lilypond.module 
to your user directory (usually under ~/.lyx/layouts/) and adding the line

LatexParam "staffsize=16"
in the relevant place.

--
Julien



Re: Strange problem with the LilyPond module

2012-04-04 Thread Tao Cumplido
Julien Rioux  physics.utoronto.ca> writes:

> 
> Is there anything else in View > View Messages that might be useful in 
> debugging?

As far as I remember no, but I'll try again as soon as I can and post the whole
log.

> You may also add the command option "--loglevel=DEBUG" to the 
> lilypond-book converter.

Where would I do that?

> When you run lilypond-book manually, what is 
> the exact command line that you used?

lilypond-book --safe --pdf --latex-program=pdflatex --lily-output-dir=tmpdir
lilypond.lytex

I tried to Export > LilyPond-Book (LaTeX) but I get an utf-8 error because there
are some unicode characters in my document not recognized by latex, so maybe
it'd be good to have an export option LilyPond-Book (XeTeX) or something.

For now I replaced all lilypond code inside lyx with pregenerated images from
lilypond.

Thanks for your help.






Re: Is it possible to use lilypond-book options with the LilyPond module?

2012-04-04 Thread Tao Cumplido
Julien Rioux  physics.utoronto.ca> writes:

> 
> You could make your own customized version of the lilypond.module file. 
> See Help > Customization, especially read about LatexParam under Section 
> 5.3.9 Flex insets and InsetLayout. So basically copying lilypond.module 
> to your user directory (usually under ~/.lyx/layouts/) and adding the line
> LatexParam "staffsize=16"
> in the relevant place.
> 

Thanks, I will look into it.
Well, as soon as I get the lilypond-module not to fail anymore.



ERT text size

2012-04-04 Thread Xu Wang
I often have lots of code inside ERT, for example in knitr code. How can I
do to make the font size small in the ERT. I know I can ctrl+ zoom out to
make everything small but I would like to make only ERT small. Any ideas?


Re: ERT text size

2012-04-04 Thread Richard Heck

On 4/4/12 9:18 PM, Xu Wang wrote:
I often have lots of code inside ERT, for example in knitr code. How 
can I do to make the font size small in the ERT. I know I can ctrl+ 
zoom out to make everything small but I would like to make only ERT 
small. Any ideas?



In your local layout, something like:

Format 31

InsetLayout ERT
Font
Size Small
EndFont
End

Not tested.

rh



Re: ERT text size

2012-04-04 Thread Xu Wang
Thank you very much Richard.

On Wed, Apr 4, 2012 at 9:36 PM, Richard Heck  wrote:

> On 4/4/12 9:18 PM, Xu Wang wrote:
>
>> I often have lots of code inside ERT, for example in knitr code. How can
>> I do to make the font size small in the ERT. I know I can ctrl+ zoom out to
>> make everything small but I would like to make only ERT small. Any ideas?
>>
>>  In your local layout, something like:
>
> Format 31
>
> InsetLayout ERT
>Font
>Size Small
>EndFont
> End
>
> Not tested.
>
> rh
>
>