Re: Beamer problem.

2009-10-27 Thread Rainer M Krug
On Mon, Oct 26, 2009 at 6:25 PM, nikunj . nikunjk...@gmail.com wrote:

 I use it on windows, and on my system it is in the tmp dir of the user
 account I log in as.
 You may try it in /tmp or /usr/tmp.
 On my system it is called lyx_tmpdir.qHp976 and so on.


I might be missing something, but can't you look at the LaTeX log in LyX
under
Documents  LaTeX Log
?

Rainer



 Hope this helps.

 regards,
 nikunj.
 On Mon, Oct 26, 2009 at 1:34 PM, Pierfranco Minsenti
 pierfranco.minse...@gmail.com wrote:
  Thank you for your suggestion but could you please explain me where can I
  find the LyX log files? I use an Apple computer with MAC OS X 10.3
  Pierfranco
 
  2009/10/26 nikunj . nikunjk...@gmail.com
 
  Hi,
 
  You could try looking at the log files that are generated with each
  run of pdflatex. That can pin point the exact point where the
  conversion fails.
  I had a similar problem, and the log files helped a lot.
 
  Regards,
  Nikunj.
 
 
 




-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)721 151 334 888
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com


Insert grayed-out text via keyboard shortcut

2009-10-27 Thread Rainer M Krug
Hi

I would like to insert greyed-out text via a keyboard shortcut. Linked
CTRL-G to inserting a greyed-out comment, but I still have to enter the tex,
which should be REF.
As I am doing that quite regularly, I would like to insert the text REF in
a greyed-out comment via a shortcut. Is this possible, or do I have to
create my own module for that? If yes how?

Thanks,

Rainer


-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)721 151 334 888
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com


Re: Beamer problem.

2009-10-27 Thread nikunj .
On Tue, Oct 27, 2009 at 12:14 PM, Rainer M Krug r.m.k...@gmail.com wrote:


 On Mon, Oct 26, 2009 at 6:25 PM, nikunj . nikunjk...@gmail.com wrote:

 I use it on windows, and on my system it is in the tmp dir of the user
 account I log in as.
 You may try it in /tmp or /usr/tmp.
 On my system it is called lyx_tmpdir.qHp976 and so on.


 I might be missing something, but can't you look at the LaTeX log in LyX
 under
 Documents  LaTeX Log
 ?

Ohh thanks a lot for sharing this piece of information. I did not know
that. :D. This was the log file I was talking about.

Thanks a lot
Nikunj.

 Rainer



 Hope this helps.

 regards,
 nikunj.
 On Mon, Oct 26, 2009 at 1:34 PM, Pierfranco Minsenti
 pierfranco.minse...@gmail.com wrote:
  Thank you for your suggestion but could you please explain me where can
  I
  find the LyX log files? I use an Apple computer with MAC OS X 10.3
  Pierfranco
 
  2009/10/26 nikunj . nikunjk...@gmail.com
 
  Hi,
 
  You could try looking at the log files that are generated with each
  run of pdflatex. That can pin point the exact point where the
  conversion fails.
  I had a similar problem, and the log files helped a lot.
 
  Regards,
  Nikunj.
 
 
 



 --
 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
 UCT), Dipl. Phys. (Germany)

 Centre of Excellence for Invasion Biology
 Natural Sciences Building
 Office Suite 2039
 Stellenbosch University
 Main Campus, Merriman Avenue
 Stellenbosch
 South Africa

 Cell:           +27 - (0)83 9479 042
 Fax:            +27 - (0)86 516 2782
 Fax:            +49 - (0)721 151 334 888
 email:          rai...@krugs.de

 Skype:          RMkrug
 Google:         r.m.k...@gmail.com




Question concerning own defined module

2009-10-27 Thread Rainer M Krug
Hi

I created the following module (REF.module):


#\DeclareLyXModule{REF}
#DescriptionBegin
#Inserts Greyedout comment, reading REF
#DescriptionEnd
# Author: Rainer M Krug rai...@krugs.de

Format 11

InsetLayout REF
LyXType   custom
LabelString   REF
LatexType command
LatexName textcolor{red}{(REF):}
Decorationclassic
LabelFont
  Color   red
  SizeLarge
  Series  Bold
EndFont
OptionalArgs  1
MultiPar  false
End

But I would like to have the text which I enter also to be red (and possibly
also changed to bold). How can I achieve this?

Thanks,

Rainer

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)721 151 334 888
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com


Re: Question concerning own defined module

2009-10-27 Thread Guenter Milde
On 2009-10-27, Rainer M Krug wrote:

...
 LabelFont
   Color   red
   SizeLarge
   Series  Bold
 EndFont
...

 But I would like to have the text which I enter also to be red (and
 possibly also changed to bold). How can I achieve this?

With the Font keyword. In addition to LabelFont.

See HelpCustomization.

Günter



Re: Insert grayed-out text via keyboard shortcut

2009-10-27 Thread Guenter Milde
On 2009-10-27, Rainer M Krug wrote:

 I would like to insert greyed-out text via a keyboard shortcut. Linked
 CTRL-G to inserting a greyed-out comment, but I still have to enter the tex,
 which should be REF.
 As I am doing that quite regularly, I would like to insert the text REF in
 a greyed-out comment via a shortcut. Is this possible

Yes. Look for the description of command-sequence.
This should also be described on http://wiki.lyx.org.

Hint: before binding, try the command (or command sequence) from the
minbuffer (keybinding M-x, i.e. Alt x).

Günter



Re: Insert grayed-out text via keyboard shortcut

2009-10-27 Thread Rainer M Krug
On Tue, Oct 27, 2009 at 10:05 AM, Guenter Milde mi...@users.berlios.dewrote:

 On 2009-10-27, Rainer M Krug wrote:

  I would like to insert greyed-out text via a keyboard shortcut. Linked
  CTRL-G to inserting a greyed-out comment, but I still have to enter the
 tex,
  which should be REF.
  As I am doing that quite regularly, I would like to insert the text REF
 in
  a greyed-out comment via a shortcut. Is this possible

 Yes. Look for the description of command-sequence.
 This should also be described on http://wiki.lyx.org.


 http://wiki.lyx.org/Tips/CommandSequences

thanks


 Hint: before binding, try the command (or command sequence) from the
 minbuffer (keybinding M-x, i.e. Alt x).


one just has to remember, that only one command can be entered at the time -
separating with ; does not work.

Rainer



 Günter




-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)721 151 334 888
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com


Re: Question concerning own defined module

2009-10-27 Thread Rainer M Krug
On Tue, Oct 27, 2009 at 10:02 AM, Guenter Milde mi...@users.berlios.dewrote:

 On 2009-10-27, Rainer M Krug wrote:

 ...
  LabelFont
Color   red
SizeLarge
Series  Bold
  EndFont
 ...

  But I would like to have the text which I enter also to be red (and
  possibly also changed to bold). How can I achieve this?

 With the Font keyword. In addition to LabelFont.


Thanks for that, but I wanted to have the TEXT in bold. I figured it out:

#Inserts Greyedout comment, reading REF
#DescriptionEnd
# Author: Rainer M Krug rai...@krugs.de

Format 11

InsetLayout REF
LyXType   custom
LabelString   REF
LatexType command
LatexName textcolor{red}{\textbf(REF):~}\textcolor{red}
Decorationclassic
LabelFont
  Color   red
  SizeLarge
  Series  Bold
EndFont
OptionalArgs  1
MultiPar  false
Preamble
\RequirePackage{xcolor}
EndPreamble
End

Thanks a lot,

Rainer


 See HelpCustomization.

 Günter




-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)721 151 334 888
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com


Re: [bug report] Lyx 1.6.4 crashes while editing formula

2009-10-27 Thread Olivier Ripoll

Falk Sticken wrote:

Hi
I have found a bug in LyX 1.6.4 on Linux (openSUSE 11.1) which is not
reported in the bug tracker. When I start editing an inline math formula
(ALT+M M) and type 
\mathc 
SPACE 
BACKSPACE 
al 
SPACE 
LyX crashes.

A backtrace follows below.
bye,
Falk


Hi,

I can reproduce on windows (alt installer) if I replace the BACKSPACE by 
a left arrow (backspace will select the full \mathc and al will 
replace it)


There is coincidently a crash report on lyx-french on Mac/Windows when 
correcting an index/exponent in an equation.


But both look to me like incarnations of this bug, fixed 8 hours ago:
http://www.lyx.org/trac/ticket/6193

Best regards,

Olivier



RE: Re: [bug report] Lyx 1.6.4 crashes while editing formula

2009-10-27 Thread Vincent van Ravesteijn - TNW
 

Falk Sticken wrote:
 Hi
 I have found a bug in LyX 1.6.4 on Linux (openSUSE 11.1) which is not

 reported in the bug tracker. When I start editing an inline math 
 formula (ALT+M M) and type \mathc
 SPACE
 BACKSPACE
 al 
 SPACE
 LyX crashes.
 A backtrace follows below.
 bye,
 Falk

But both look to me like incarnations of this bug,
fixed 8 hours ago:
http://www.lyx.org/trac/ticket/6193


It seems more like bug http://www.lyx.org/trac/ticket/6110 to me.

Vincent


Re: [bug report] Lyx 1.6.4 crashes while editing formula

2009-10-27 Thread Olivier Ripoll

Vincent van Ravesteijn - TNW wrote:
 


Falk Sticken wrote:

Hi
I have found a bug in LyX 1.6.4 on Linux (openSUSE 11.1) which is not


reported in the bug tracker. When I start editing an inline math 
formula (ALT+M M) and type \mathc

SPACE
BACKSPACE
al 
SPACE

LyX crashes.
A backtrace follows below.
bye,
Falk

But both look to me like incarnations of this bug,
fixed 8 hours ago:
http://www.lyx.org/trac/ticket/6193



It seems more like bug http://www.lyx.org/trac/ticket/6110 to me.



You're right. The half-good news being both are fixed in trunk.

Best regards,

Olivier


Vincent





Adding inset to List layout

2009-10-27 Thread Teemu Rajala
Hi,

if for example ERT Inset with more than one paragraph is inserted into the
second column of List layout (not into the label column) an extra paragraph
break is inserted above the inset. Is this intended behaviour in LyX? Is it
possible to get rid of it? The problem might in setting the paragraph width to
maximum at List label column (and maybe twice).



Weird space after Justified line break.

2009-10-27 Thread Piero
Hello,

I use report-koma class with LyX 1.6.4
Some of my quotations are just the prolonging phrase I began in mine words.
To make an example, this is what a guy called a very elegant way of quoting.
 For longer quotations in a separate quotation enviroment,
 I would like to do the same
 but if the last line of standard enviroment text is not 
justified, it will become definitely not elegant.
That's the reason I tried to use Justified line break
at the end of last line of standard environment,
 which sometimes works well (sometimes it simple doesn't 
work at all, leaving a single word in the last line)
but always - and this is today's issue -
add an unwanted additional space between the 2 environments.
In the LaTeX preview it doesn't show any additional space,
 so maybe it is a LaTeX issue.
Is there a manner to regain this extra space (maybe insert a negative space?)
One more question: how can I anyway reduce space
 between standard and quotation 
enviroments? (there's too much space, sometimes)
And how to have the Justified LB always work without
 leaving single words or even 
single hyphenated pieces of word in the very last line?

Thanks all!



Re: Kluwer doc class: title and author not showing up

2009-10-27 Thread Maria Gouskova
 The Kluwer layout didn't have much attention for several years, so it is well
 possible that it needs some update.

 However, did you have a look at the Kluwer template that ships with LyX? It
 uses some ERT in the author paragraph (nowadays, one could update the layout
 and implement character style insets for this).

Yep, the template works. Thanks!

--Maria

On Fri, Oct 23, 2009 at 5:15 AM, Jürgen Spitzmüller sp...@lyx.org wrote:
 Maria Gouskova wrote:
 I am trying out the doc class article (Kluwer) and having a problem:
 a simple document with a title, author, and a single section and some
 standard text typesets without the title and the author. I looked at
 this manual (http://www.springer.com/?SGWID=4-102-45-124370-0), but I
 am not sure that it applies to how things work in LyX. The manual
 warns that if the Author field isn't followed by \institute{...}, the
 author will not be typeset in the final pdf. But there is no
 \institute option in LyX. So how is it supposed to work?


 Jürgen



Re: authorindex in LyX?

2009-10-27 Thread Mats Andrén

Manveru wrote:

2009/10/24 Mats Andrén mats.and...@ling.lu.se:
  

Sorry to be spamming but after sending my post I realized that it was a
bit strange of me not to try what would happen without the multicols
begin/end-pair, and just call \printauthorindex. When I remove the multi
column stuff, no extra two pages are generated, which should probably be
relevant for you people...

But the main problem remains, of course.



What I can tell you about LyX is that it cannot run additional scripts
during LaTeX processing yet. And probably will not, as I it should
assume you have perl installed on your machine, which is often a
problem on Macs or Windows.

There are possible solutions to create your own converter calling the
perl script after first latex run. But you have then define your own
format, for example 'pdflatex (authorindex)'.

  

Thank you very much for the reply!

This is precisely what I was hoping for. (I do have perl installed on my 
Mac.) However, it is not clear to me how to get the authorindex script 
running by making a converter. When I got XeTeX running in LyX I made a 
converter, so I have a vague idea how converters work in LyX, but in 
that case I just followed instructions that were available and I can't 
say that I understand more precisely what to type in ther in order to 
make it call authorindex. Can I just add something to the field called 
Converter (currently saying xelatex $$i)? What should I write there?


The authorindex script is supposed to have the .aux file produced by 
latex as argument.


Thanks again!

Best,
Mats




Re: generating {|} in math mode

2009-10-27 Thread Siegfried Meunier-Guttin-Cluzel


how do I generate a group definition such as
{ x | x  0 }
with variable height braces? I can create the outside braces using left\{ and 
right\} (or matching braces from the braces menu) but the central one doesn't 
fit it, and if I add a | with a matching empty left or right element the sizes 
don't match
You can use vphantom to put an invisible big element between your | and 
the empty right element ( see math manual for an example ).


Siegfried.


Re: free Palatino Sans?

2009-10-27 Thread Bruce Pourciau


On Oct 26, 2009, at 6:34 PM, Liviu Andronic wrote:


On 10/26/09, Bruce Pourciau bruce.h.pourc...@lawrence.edu wrote:
unserifed face like Futura. Now Palatino is based on Renaissance  
humanist
forms -- it looks like its written with a broad-nibbed pen -- and  
it would
not mix well with Futura, for example. But it might mix well with  
Syntax,

say, which is an unserifed face also based on Renaissance forms.


I think I found a good candidate. Looking on Wikipedia for Humanist
fonts [1], I stumbled upon Optima, originally designed by H. Zapf. The
Font Catalogue provides a clone  called URW Classico [2]. It is
shipped with TeX Live.
Liviu

[1] http://en.wikipedia.org/wiki/Humanist_sans-serif#Classification
[2] http://www.tug.dk/FontCatalogue/optima/


I've never tried Palatino and Optima together, but they have the same  
daddy (Zapf).


Bruce


Re: something wrong with biblatex [solved]

2009-10-27 Thread sara teinturier

At last, it works!
I've followed the patient tips and advices Charles gave:
- I've installed csquotes package, and newer biblatex one (Ubuntu 
repositories charges the texlive 2007, which is updated);

- I've taken away useless lines in the manual pramble.

Thanks a lot, Charles. A mystery remains: I think I've made exactly the 
same as I told in the last message I've sent you, when it was working 
well with a tex file made with Texmaker, but not with a Lyx one. So I 
don't know exactly what was wrong...?


Cheers,
S.




Re: Tufte-book Layout File

2009-10-27 Thread Jason Waskiewicz
Joachim Osnabryg o...@... writes:

 I'm not the one who can help with that. But I tried to run LyX with your  
 layout file (I had the LaTeX tufte-book.cls already installed before),  
 only with a \lipsum text, but without success. (LyX stopped the document  
 compiling.)

 Package bibentry Warning: You have used \nobibliography*
 (bibentry)without a following \bibliography.
 (bibentry)You may not be able to run BibTeX.
 ---
 
 Any help?
 
 joachim

My best idea is that there could be a conflict with the \lipsum package. I have
a similar computer setup to yours (Mac with Leopard -- though mine is a PPC).
I've had no trouble on that machine or on my Linux box.

The only times I run into issues are when I try to turn documents I've already
written into Tufte-book files, but even then it's a matter of tracking down each
individual incompatible command in the file.

Is it possible that \lipsum uses commands that are not compatible with Tufte?
You might try creating a fake document from scratch and see if it works.

Let us know how that goes.

--Jason Waskiewicz
  jason.waskiew...@sendit.nodak.edu



Lost Logo in Beamer Class Presentation ... Again

2009-10-27 Thread Rich Shepard

  I've just finished the visuals for a meeting keynote talk I'm presenting
this coming Friday. Once again the logo does not display in the lower right
corner of each slide. I no longer have thread from last April, but I copied
that presentation (where it finally worked) to use as the template for this
one. The .pdf logo does not display in either xpdf or acroread.

  Any ideas on what might be going on or where I should look for a reason?

Rich


Re: Tufte-book Layout File

2009-10-27 Thread Uwe Stöhr

 I'm not the one who can help with that. But I tried to run LyX with your 
layout file (I had the
 LaTeX tufte-book.cls already installed before), only with a \lipsum text, but 
without success.
 (LyX  stopped the document compiling.)

I revised Jason's layout file and the version you find here:
http://wiki.lyx.org/Layouts/Tufte-book#sLayouts.Tufte-book_2
as Tufte-book proposal
will be included in the next LyX version. Can you please test it?

 Nevertheless:
 It produced an pdf-output into the tmp subdirectory of LyX, with:

 A U T O R Y
 T I T E L X == on the 1st page, and the
 Lorem ipsum … … == text on the following pages.

This is independent of the layout file. The layout file only provides information how LyX should 
display environments and it defines new insets and character styles.

Moreover, I cannot reproduce this problem.

 For the case, that it might help you or other developers of an LyX-layout for 
the tufte-book.cls,
 or if someone can give me a hint, what's going wrong in my LyX, I report here 
the rest:

 Within the LyX program window I got the LaTeX errors:
 -
 LaTeX Error: Command \cplabel already defined.
 LaTeX Error: Command \adjustwidth already defined.
 ---

This is a problem wit LaTeX, not with the layout file because the layout file don't define or 
redefine any LaTeX command.

To be able to help you, can you please provide a LyX example file?

regards Uwe


Re: Tufte-book Layout File

2009-10-27 Thread Uwe Stöhr

Ich schrieb:


I revised Jason's layout file and the version you find here:
http://wiki.lyx.org/Layouts/Tufte-book#sLayouts.Tufte-book_2
as Tufte-book proposal
will be included in the next LyX version. Can you please test it?


I forgot to say that you need this BibTeX file
http://www.lyx.org/trac/export/31779/lyx-devel/branches/BRANCH_1_6_X/lib/examples/biblioExample.bib
to be able to compile the LyX example file.

regards Uwe


Re: Tufte-book Layout File

2009-10-27 Thread Joachim Osnabryg

Am 27.10.2009, 21:42 Uhr, schrieb Jason Waskiewicz:
My best idea is that there could be a conflict with the \lipsum package.  
I have a similar computer setup to yours (Mac with Leopard -- though  
mine is a PPC).  I've had no trouble on that machine or on my Linux box.


Thank you for your endeavor, Jason, but the \lipsum package cannot be the  
reason because, without using it, the result is similar.


Given that your tufte-book.layout is working in your similar computer  
setup, and that the tufte-book.cls is working on my machine with LaTeX  
(TeXShop), it's rather myterious for me where the reason for the  
misfunction might be, in my context.


By the way, in the same manner runs your kindly provided  
tuftebooksample.lyx: LyX ends with the same - and some more - LaTeX  
errors, but in the tmp-dir the pdf is produced, I suppose correct.


It would be interesting to hear from some others, especially with  
intel-Macs, wether the tufte-book.layout runs well in their LyX!


joachim
--
MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.4.1
MacBook Pro OSX 10.4.11 Tiger (intel)



Re: Tufte-book Layout File

2009-10-27 Thread Uwe Stöhr

Joachim Osnabryg schrieb:

It would be interesting to hear from some others, especially with 
intel-Macs, wether the tufte-book.layout runs well in their LyX!


Before you proceed please first try out the recent version of the layout file and the example 
document, see my previous email.


When the example LyX file works for you, but not your own document, please send 
me this document.

regards Uwe


Re: Beamer problem.

2009-10-27 Thread Rainer M Krug
On Mon, Oct 26, 2009 at 6:25 PM, nikunj . nikunjk...@gmail.com wrote:

 I use it on windows, and on my system it is in the tmp dir of the user
 account I log in as.
 You may try it in /tmp or /usr/tmp.
 On my system it is called lyx_tmpdir.qHp976 and so on.


I might be missing something, but can't you look at the LaTeX log in LyX
under
Documents  LaTeX Log
?

Rainer



 Hope this helps.

 regards,
 nikunj.
 On Mon, Oct 26, 2009 at 1:34 PM, Pierfranco Minsenti
 pierfranco.minse...@gmail.com wrote:
  Thank you for your suggestion but could you please explain me where can I
  find the LyX log files? I use an Apple computer with MAC OS X 10.3
  Pierfranco
 
  2009/10/26 nikunj . nikunjk...@gmail.com
 
  Hi,
 
  You could try looking at the log files that are generated with each
  run of pdflatex. That can pin point the exact point where the
  conversion fails.
  I had a similar problem, and the log files helped a lot.
 
  Regards,
  Nikunj.
 
 
 




-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)721 151 334 888
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com


Insert grayed-out text via keyboard shortcut

2009-10-27 Thread Rainer M Krug
Hi

I would like to insert greyed-out text via a keyboard shortcut. Linked
CTRL-G to inserting a greyed-out comment, but I still have to enter the tex,
which should be REF.
As I am doing that quite regularly, I would like to insert the text REF in
a greyed-out comment via a shortcut. Is this possible, or do I have to
create my own module for that? If yes how?

Thanks,

Rainer


-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)721 151 334 888
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com


Re: Beamer problem.

2009-10-27 Thread nikunj .
On Tue, Oct 27, 2009 at 12:14 PM, Rainer M Krug r.m.k...@gmail.com wrote:


 On Mon, Oct 26, 2009 at 6:25 PM, nikunj . nikunjk...@gmail.com wrote:

 I use it on windows, and on my system it is in the tmp dir of the user
 account I log in as.
 You may try it in /tmp or /usr/tmp.
 On my system it is called lyx_tmpdir.qHp976 and so on.


 I might be missing something, but can't you look at the LaTeX log in LyX
 under
 Documents  LaTeX Log
 ?

Ohh thanks a lot for sharing this piece of information. I did not know
that. :D. This was the log file I was talking about.

Thanks a lot
Nikunj.

 Rainer



 Hope this helps.

 regards,
 nikunj.
 On Mon, Oct 26, 2009 at 1:34 PM, Pierfranco Minsenti
 pierfranco.minse...@gmail.com wrote:
  Thank you for your suggestion but could you please explain me where can
  I
  find the LyX log files? I use an Apple computer with MAC OS X 10.3
  Pierfranco
 
  2009/10/26 nikunj . nikunjk...@gmail.com
 
  Hi,
 
  You could try looking at the log files that are generated with each
  run of pdflatex. That can pin point the exact point where the
  conversion fails.
  I had a similar problem, and the log files helped a lot.
 
  Regards,
  Nikunj.
 
 
 



 --
 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
 UCT), Dipl. Phys. (Germany)

 Centre of Excellence for Invasion Biology
 Natural Sciences Building
 Office Suite 2039
 Stellenbosch University
 Main Campus, Merriman Avenue
 Stellenbosch
 South Africa

 Cell:           +27 - (0)83 9479 042
 Fax:            +27 - (0)86 516 2782
 Fax:            +49 - (0)721 151 334 888
 email:          rai...@krugs.de

 Skype:          RMkrug
 Google:         r.m.k...@gmail.com




Question concerning own defined module

2009-10-27 Thread Rainer M Krug
Hi

I created the following module (REF.module):


#\DeclareLyXModule{REF}
#DescriptionBegin
#Inserts Greyedout comment, reading REF
#DescriptionEnd
# Author: Rainer M Krug rai...@krugs.de

Format 11

InsetLayout REF
LyXType   custom
LabelString   REF
LatexType command
LatexName textcolor{red}{(REF):}
Decorationclassic
LabelFont
  Color   red
  SizeLarge
  Series  Bold
EndFont
OptionalArgs  1
MultiPar  false
End

But I would like to have the text which I enter also to be red (and possibly
also changed to bold). How can I achieve this?

Thanks,

Rainer

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)721 151 334 888
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com


Re: Question concerning own defined module

2009-10-27 Thread Guenter Milde
On 2009-10-27, Rainer M Krug wrote:

...
 LabelFont
   Color   red
   SizeLarge
   Series  Bold
 EndFont
...

 But I would like to have the text which I enter also to be red (and
 possibly also changed to bold). How can I achieve this?

With the Font keyword. In addition to LabelFont.

See HelpCustomization.

Günter



Re: Insert grayed-out text via keyboard shortcut

2009-10-27 Thread Guenter Milde
On 2009-10-27, Rainer M Krug wrote:

 I would like to insert greyed-out text via a keyboard shortcut. Linked
 CTRL-G to inserting a greyed-out comment, but I still have to enter the tex,
 which should be REF.
 As I am doing that quite regularly, I would like to insert the text REF in
 a greyed-out comment via a shortcut. Is this possible

Yes. Look for the description of command-sequence.
This should also be described on http://wiki.lyx.org.

Hint: before binding, try the command (or command sequence) from the
minbuffer (keybinding M-x, i.e. Alt x).

Günter



Re: Insert grayed-out text via keyboard shortcut

2009-10-27 Thread Rainer M Krug
On Tue, Oct 27, 2009 at 10:05 AM, Guenter Milde mi...@users.berlios.dewrote:

 On 2009-10-27, Rainer M Krug wrote:

  I would like to insert greyed-out text via a keyboard shortcut. Linked
  CTRL-G to inserting a greyed-out comment, but I still have to enter the
 tex,
  which should be REF.
  As I am doing that quite regularly, I would like to insert the text REF
 in
  a greyed-out comment via a shortcut. Is this possible

 Yes. Look for the description of command-sequence.
 This should also be described on http://wiki.lyx.org.


 http://wiki.lyx.org/Tips/CommandSequences

thanks


 Hint: before binding, try the command (or command sequence) from the
 minbuffer (keybinding M-x, i.e. Alt x).


one just has to remember, that only one command can be entered at the time -
separating with ; does not work.

Rainer



 Günter




-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)721 151 334 888
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com


Re: Question concerning own defined module

2009-10-27 Thread Rainer M Krug
On Tue, Oct 27, 2009 at 10:02 AM, Guenter Milde mi...@users.berlios.dewrote:

 On 2009-10-27, Rainer M Krug wrote:

 ...
  LabelFont
Color   red
SizeLarge
Series  Bold
  EndFont
 ...

  But I would like to have the text which I enter also to be red (and
  possibly also changed to bold). How can I achieve this?

 With the Font keyword. In addition to LabelFont.


Thanks for that, but I wanted to have the TEXT in bold. I figured it out:

#Inserts Greyedout comment, reading REF
#DescriptionEnd
# Author: Rainer M Krug rai...@krugs.de

Format 11

InsetLayout REF
LyXType   custom
LabelString   REF
LatexType command
LatexName textcolor{red}{\textbf(REF):~}\textcolor{red}
Decorationclassic
LabelFont
  Color   red
  SizeLarge
  Series  Bold
EndFont
OptionalArgs  1
MultiPar  false
Preamble
\RequirePackage{xcolor}
EndPreamble
End

Thanks a lot,

Rainer


 See HelpCustomization.

 Günter




-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)721 151 334 888
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com


Re: [bug report] Lyx 1.6.4 crashes while editing formula

2009-10-27 Thread Olivier Ripoll

Falk Sticken wrote:

Hi
I have found a bug in LyX 1.6.4 on Linux (openSUSE 11.1) which is not
reported in the bug tracker. When I start editing an inline math formula
(ALT+M M) and type 
\mathc 
SPACE 
BACKSPACE 
al 
SPACE 
LyX crashes.

A backtrace follows below.
bye,
Falk


Hi,

I can reproduce on windows (alt installer) if I replace the BACKSPACE by 
a left arrow (backspace will select the full \mathc and al will 
replace it)


There is coincidently a crash report on lyx-french on Mac/Windows when 
correcting an index/exponent in an equation.


But both look to me like incarnations of this bug, fixed 8 hours ago:
http://www.lyx.org/trac/ticket/6193

Best regards,

Olivier



RE: Re: [bug report] Lyx 1.6.4 crashes while editing formula

2009-10-27 Thread Vincent van Ravesteijn - TNW
 

Falk Sticken wrote:
 Hi
 I have found a bug in LyX 1.6.4 on Linux (openSUSE 11.1) which is not

 reported in the bug tracker. When I start editing an inline math 
 formula (ALT+M M) and type \mathc
 SPACE
 BACKSPACE
 al 
 SPACE
 LyX crashes.
 A backtrace follows below.
 bye,
 Falk

But both look to me like incarnations of this bug,
fixed 8 hours ago:
http://www.lyx.org/trac/ticket/6193


It seems more like bug http://www.lyx.org/trac/ticket/6110 to me.

Vincent


Re: [bug report] Lyx 1.6.4 crashes while editing formula

2009-10-27 Thread Olivier Ripoll

Vincent van Ravesteijn - TNW wrote:
 


Falk Sticken wrote:

Hi
I have found a bug in LyX 1.6.4 on Linux (openSUSE 11.1) which is not


reported in the bug tracker. When I start editing an inline math 
formula (ALT+M M) and type \mathc

SPACE
BACKSPACE
al 
SPACE

LyX crashes.
A backtrace follows below.
bye,
Falk

But both look to me like incarnations of this bug,
fixed 8 hours ago:
http://www.lyx.org/trac/ticket/6193



It seems more like bug http://www.lyx.org/trac/ticket/6110 to me.



You're right. The half-good news being both are fixed in trunk.

Best regards,

Olivier


Vincent





Adding inset to List layout

2009-10-27 Thread Teemu Rajala
Hi,

if for example ERT Inset with more than one paragraph is inserted into the
second column of List layout (not into the label column) an extra paragraph
break is inserted above the inset. Is this intended behaviour in LyX? Is it
possible to get rid of it? The problem might in setting the paragraph width to
maximum at List label column (and maybe twice).



Weird space after Justified line break.

2009-10-27 Thread Piero
Hello,

I use report-koma class with LyX 1.6.4
Some of my quotations are just the prolonging phrase I began in mine words.
To make an example, this is what a guy called a very elegant way of quoting.
 For longer quotations in a separate quotation enviroment,
 I would like to do the same
 but if the last line of standard enviroment text is not 
justified, it will become definitely not elegant.
That's the reason I tried to use Justified line break
at the end of last line of standard environment,
 which sometimes works well (sometimes it simple doesn't 
work at all, leaving a single word in the last line)
but always - and this is today's issue -
add an unwanted additional space between the 2 environments.
In the LaTeX preview it doesn't show any additional space,
 so maybe it is a LaTeX issue.
Is there a manner to regain this extra space (maybe insert a negative space?)
One more question: how can I anyway reduce space
 between standard and quotation 
enviroments? (there's too much space, sometimes)
And how to have the Justified LB always work without
 leaving single words or even 
single hyphenated pieces of word in the very last line?

Thanks all!



Re: Kluwer doc class: title and author not showing up

2009-10-27 Thread Maria Gouskova
 The Kluwer layout didn't have much attention for several years, so it is well
 possible that it needs some update.

 However, did you have a look at the Kluwer template that ships with LyX? It
 uses some ERT in the author paragraph (nowadays, one could update the layout
 and implement character style insets for this).

Yep, the template works. Thanks!

--Maria

On Fri, Oct 23, 2009 at 5:15 AM, Jürgen Spitzmüller sp...@lyx.org wrote:
 Maria Gouskova wrote:
 I am trying out the doc class article (Kluwer) and having a problem:
 a simple document with a title, author, and a single section and some
 standard text typesets without the title and the author. I looked at
 this manual (http://www.springer.com/?SGWID=4-102-45-124370-0), but I
 am not sure that it applies to how things work in LyX. The manual
 warns that if the Author field isn't followed by \institute{...}, the
 author will not be typeset in the final pdf. But there is no
 \institute option in LyX. So how is it supposed to work?


 Jürgen



Re: authorindex in LyX?

2009-10-27 Thread Mats Andrén

Manveru wrote:

2009/10/24 Mats Andrén mats.and...@ling.lu.se:
  

Sorry to be spamming but after sending my post I realized that it was a
bit strange of me not to try what would happen without the multicols
begin/end-pair, and just call \printauthorindex. When I remove the multi
column stuff, no extra two pages are generated, which should probably be
relevant for you people...

But the main problem remains, of course.



What I can tell you about LyX is that it cannot run additional scripts
during LaTeX processing yet. And probably will not, as I it should
assume you have perl installed on your machine, which is often a
problem on Macs or Windows.

There are possible solutions to create your own converter calling the
perl script after first latex run. But you have then define your own
format, for example 'pdflatex (authorindex)'.

  

Thank you very much for the reply!

This is precisely what I was hoping for. (I do have perl installed on my 
Mac.) However, it is not clear to me how to get the authorindex script 
running by making a converter. When I got XeTeX running in LyX I made a 
converter, so I have a vague idea how converters work in LyX, but in 
that case I just followed instructions that were available and I can't 
say that I understand more precisely what to type in ther in order to 
make it call authorindex. Can I just add something to the field called 
Converter (currently saying xelatex $$i)? What should I write there?


The authorindex script is supposed to have the .aux file produced by 
latex as argument.


Thanks again!

Best,
Mats




Re: generating {|} in math mode

2009-10-27 Thread Siegfried Meunier-Guttin-Cluzel


how do I generate a group definition such as
{ x | x  0 }
with variable height braces? I can create the outside braces using left\{ and 
right\} (or matching braces from the braces menu) but the central one doesn't 
fit it, and if I add a | with a matching empty left or right element the sizes 
don't match
You can use vphantom to put an invisible big element between your | and 
the empty right element ( see math manual for an example ).


Siegfried.


Re: free Palatino Sans?

2009-10-27 Thread Bruce Pourciau


On Oct 26, 2009, at 6:34 PM, Liviu Andronic wrote:


On 10/26/09, Bruce Pourciau bruce.h.pourc...@lawrence.edu wrote:
unserifed face like Futura. Now Palatino is based on Renaissance  
humanist
forms -- it looks like its written with a broad-nibbed pen -- and  
it would
not mix well with Futura, for example. But it might mix well with  
Syntax,

say, which is an unserifed face also based on Renaissance forms.


I think I found a good candidate. Looking on Wikipedia for Humanist
fonts [1], I stumbled upon Optima, originally designed by H. Zapf. The
Font Catalogue provides a clone  called URW Classico [2]. It is
shipped with TeX Live.
Liviu

[1] http://en.wikipedia.org/wiki/Humanist_sans-serif#Classification
[2] http://www.tug.dk/FontCatalogue/optima/


I've never tried Palatino and Optima together, but they have the same  
daddy (Zapf).


Bruce


Re: something wrong with biblatex [solved]

2009-10-27 Thread sara teinturier

At last, it works!
I've followed the patient tips and advices Charles gave:
- I've installed csquotes package, and newer biblatex one (Ubuntu 
repositories charges the texlive 2007, which is updated);

- I've taken away useless lines in the manual pramble.

Thanks a lot, Charles. A mystery remains: I think I've made exactly the 
same as I told in the last message I've sent you, when it was working 
well with a tex file made with Texmaker, but not with a Lyx one. So I 
don't know exactly what was wrong...?


Cheers,
S.




Re: Tufte-book Layout File

2009-10-27 Thread Jason Waskiewicz
Joachim Osnabryg o...@... writes:

 I'm not the one who can help with that. But I tried to run LyX with your  
 layout file (I had the LaTeX tufte-book.cls already installed before),  
 only with a \lipsum text, but without success. (LyX stopped the document  
 compiling.)

 Package bibentry Warning: You have used \nobibliography*
 (bibentry)without a following \bibliography.
 (bibentry)You may not be able to run BibTeX.
 ---
 
 Any help?
 
 joachim

My best idea is that there could be a conflict with the \lipsum package. I have
a similar computer setup to yours (Mac with Leopard -- though mine is a PPC).
I've had no trouble on that machine or on my Linux box.

The only times I run into issues are when I try to turn documents I've already
written into Tufte-book files, but even then it's a matter of tracking down each
individual incompatible command in the file.

Is it possible that \lipsum uses commands that are not compatible with Tufte?
You might try creating a fake document from scratch and see if it works.

Let us know how that goes.

--Jason Waskiewicz
  jason.waskiew...@sendit.nodak.edu



Lost Logo in Beamer Class Presentation ... Again

2009-10-27 Thread Rich Shepard

  I've just finished the visuals for a meeting keynote talk I'm presenting
this coming Friday. Once again the logo does not display in the lower right
corner of each slide. I no longer have thread from last April, but I copied
that presentation (where it finally worked) to use as the template for this
one. The .pdf logo does not display in either xpdf or acroread.

  Any ideas on what might be going on or where I should look for a reason?

Rich


Re: Tufte-book Layout File

2009-10-27 Thread Uwe Stöhr

 I'm not the one who can help with that. But I tried to run LyX with your 
layout file (I had the
 LaTeX tufte-book.cls already installed before), only with a \lipsum text, but 
without success.
 (LyX  stopped the document compiling.)

I revised Jason's layout file and the version you find here:
http://wiki.lyx.org/Layouts/Tufte-book#sLayouts.Tufte-book_2
as Tufte-book proposal
will be included in the next LyX version. Can you please test it?

 Nevertheless:
 It produced an pdf-output into the tmp subdirectory of LyX, with:

 A U T O R Y
 T I T E L X == on the 1st page, and the
 Lorem ipsum … … == text on the following pages.

This is independent of the layout file. The layout file only provides information how LyX should 
display environments and it defines new insets and character styles.

Moreover, I cannot reproduce this problem.

 For the case, that it might help you or other developers of an LyX-layout for 
the tufte-book.cls,
 or if someone can give me a hint, what's going wrong in my LyX, I report here 
the rest:

 Within the LyX program window I got the LaTeX errors:
 -
 LaTeX Error: Command \cplabel already defined.
 LaTeX Error: Command \adjustwidth already defined.
 ---

This is a problem wit LaTeX, not with the layout file because the layout file don't define or 
redefine any LaTeX command.

To be able to help you, can you please provide a LyX example file?

regards Uwe


Re: Tufte-book Layout File

2009-10-27 Thread Uwe Stöhr

Ich schrieb:


I revised Jason's layout file and the version you find here:
http://wiki.lyx.org/Layouts/Tufte-book#sLayouts.Tufte-book_2
as Tufte-book proposal
will be included in the next LyX version. Can you please test it?


I forgot to say that you need this BibTeX file
http://www.lyx.org/trac/export/31779/lyx-devel/branches/BRANCH_1_6_X/lib/examples/biblioExample.bib
to be able to compile the LyX example file.

regards Uwe


Re: Tufte-book Layout File

2009-10-27 Thread Joachim Osnabryg

Am 27.10.2009, 21:42 Uhr, schrieb Jason Waskiewicz:
My best idea is that there could be a conflict with the \lipsum package.  
I have a similar computer setup to yours (Mac with Leopard -- though  
mine is a PPC).  I've had no trouble on that machine or on my Linux box.


Thank you for your endeavor, Jason, but the \lipsum package cannot be the  
reason because, without using it, the result is similar.


Given that your tufte-book.layout is working in your similar computer  
setup, and that the tufte-book.cls is working on my machine with LaTeX  
(TeXShop), it's rather myterious for me where the reason for the  
misfunction might be, in my context.


By the way, in the same manner runs your kindly provided  
tuftebooksample.lyx: LyX ends with the same - and some more - LaTeX  
errors, but in the tmp-dir the pdf is produced, I suppose correct.


It would be interesting to hear from some others, especially with  
intel-Macs, wether the tufte-book.layout runs well in their LyX!


joachim
--
MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.4.1
MacBook Pro OSX 10.4.11 Tiger (intel)



Re: Tufte-book Layout File

2009-10-27 Thread Uwe Stöhr

Joachim Osnabryg schrieb:

It would be interesting to hear from some others, especially with 
intel-Macs, wether the tufte-book.layout runs well in their LyX!


Before you proceed please first try out the recent version of the layout file and the example 
document, see my previous email.


When the example LyX file works for you, but not your own document, please send 
me this document.

regards Uwe


Re: Beamer problem.

2009-10-27 Thread Rainer M Krug
On Mon, Oct 26, 2009 at 6:25 PM, nikunj .  wrote:

> I use it on windows, and on my system it is in the tmp dir of the user
> account I log in as.
> You may try it in /tmp or /usr/tmp.
> On my system it is called lyx_tmpdir.qHp976 and so on.
>
>
I might be missing something, but can't you look at the LaTeX log in LyX
under
Documents > LaTeX Log
?

Rainer



> Hope this helps.
>
> regards,
> nikunj.
> On Mon, Oct 26, 2009 at 1:34 PM, Pierfranco Minsenti
>  wrote:
> > Thank you for your suggestion but could you please explain me where can I
> > find the LyX log files? I use an Apple computer with MAC OS X 10.3
> > Pierfranco
> >
> > 2009/10/26 nikunj . 
> >>
> >> Hi,
> >>
> >> You could try looking at the log files that are generated with each
> >> run of pdflatex. That can pin point the exact point where the
> >> conversion fails.
> >> I had a similar problem, and the log files helped a lot.
> >>
> >> Regards,
> >> Nikunj.
> >
> >
> >
>



-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)721 151 334 888
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com


Insert grayed-out text via keyboard shortcut

2009-10-27 Thread Rainer M Krug
Hi

I would like to insert greyed-out text via a keyboard shortcut. Linked
CTRL-G to inserting a greyed-out comment, but I still have to enter the tex,
which should be REF.
As I am doing that quite regularly, I would like to insert "the text REF in
a greyed-out comment" via a shortcut. Is this possible, or do I have to
create my own module for that? If yes how?

Thanks,

Rainer


-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)721 151 334 888
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com


Re: Beamer problem.

2009-10-27 Thread nikunj .
On Tue, Oct 27, 2009 at 12:14 PM, Rainer M Krug  wrote:
>
>
> On Mon, Oct 26, 2009 at 6:25 PM, nikunj .  wrote:
>>
>> I use it on windows, and on my system it is in the tmp dir of the user
>> account I log in as.
>> You may try it in /tmp or /usr/tmp.
>> On my system it is called lyx_tmpdir.qHp976 and so on.
>>
>
> I might be missing something, but can't you look at the LaTeX log in LyX
> under
> Documents > LaTeX Log
> ?

Ohh thanks a lot for sharing this piece of information. I did not know
that. :D. This was the log file I was talking about.

Thanks a lot
Nikunj.
>
> Rainer
>
>
>>
>> Hope this helps.
>>
>> regards,
>> nikunj.
>> On Mon, Oct 26, 2009 at 1:34 PM, Pierfranco Minsenti
>>  wrote:
>> > Thank you for your suggestion but could you please explain me where can
>> > I
>> > find the LyX log files? I use an Apple computer with MAC OS X 10.3
>> > Pierfranco
>> >
>> > 2009/10/26 nikunj . 
>> >>
>> >> Hi,
>> >>
>> >> You could try looking at the log files that are generated with each
>> >> run of pdflatex. That can pin point the exact point where the
>> >> conversion fails.
>> >> I had a similar problem, and the log files helped a lot.
>> >>
>> >> Regards,
>> >> Nikunj.
>> >
>> >
>> >
>
>
>
> --
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
> UCT), Dipl. Phys. (Germany)
>
> Centre of Excellence for Invasion Biology
> Natural Sciences Building
> Office Suite 2039
> Stellenbosch University
> Main Campus, Merriman Avenue
> Stellenbosch
> South Africa
>
> Cell:           +27 - (0)83 9479 042
> Fax:            +27 - (0)86 516 2782
> Fax:            +49 - (0)721 151 334 888
> email:          rai...@krugs.de
>
> Skype:          RMkrug
> Google:         r.m.k...@gmail.com
>
>


Question concerning own defined module

2009-10-27 Thread Rainer M Krug
Hi

I created the following module (REF.module):


#\DeclareLyXModule{REF}
#DescriptionBegin
#Inserts Greyedout comment, reading REF
#DescriptionEnd
# Author: Rainer M Krug 

Format 11

InsetLayout REF
LyXType   custom
LabelString   REF
LatexType command
LatexName textcolor{red}{(REF):}
Decorationclassic
LabelFont
  Color   red
  SizeLarge
  Series  Bold
EndFont
OptionalArgs  1
MultiPar  false
End

But I would like to have the text which I enter also to be red (and possibly
also changed to bold). How can I achieve this?

Thanks,

Rainer

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)721 151 334 888
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com


Re: Question concerning own defined module

2009-10-27 Thread Guenter Milde
On 2009-10-27, Rainer M Krug wrote:

...
> LabelFont
>   Color   red
>   SizeLarge
>   Series  Bold
> EndFont
...

> But I would like to have the text which I enter also to be red (and
> possibly also changed to bold). How can I achieve this?

With the Font keyword. In addition to LabelFont.

See Help>Customization.

Günter



Re: Insert grayed-out text via keyboard shortcut

2009-10-27 Thread Guenter Milde
On 2009-10-27, Rainer M Krug wrote:

> I would like to insert greyed-out text via a keyboard shortcut. Linked
> CTRL-G to inserting a greyed-out comment, but I still have to enter the tex,
> which should be REF.
> As I am doing that quite regularly, I would like to insert "the text REF in
> a greyed-out comment" via a shortcut. Is this possible

Yes. Look for the description of command-sequence.
This should also be described on http://wiki.lyx.org.

Hint: before binding, try the command (or command sequence) from the
minbuffer (keybinding M-x, i.e. Alt x).

Günter



Re: Insert grayed-out text via keyboard shortcut

2009-10-27 Thread Rainer M Krug
On Tue, Oct 27, 2009 at 10:05 AM, Guenter Milde wrote:

> On 2009-10-27, Rainer M Krug wrote:
>
> > I would like to insert greyed-out text via a keyboard shortcut. Linked
> > CTRL-G to inserting a greyed-out comment, but I still have to enter the
> tex,
> > which should be REF.
> > As I am doing that quite regularly, I would like to insert "the text REF
> in
> > a greyed-out comment" via a shortcut. Is this possible
>
> Yes. Look for the description of command-sequence.
> This should also be described on http://wiki.lyx.org.
>

 http://wiki.lyx.org/Tips/CommandSequences

thanks


> Hint: before binding, try the command (or command sequence) from the
> minbuffer (keybinding M-x, i.e. Alt x).
>

one just has to remember, that only one command can be entered at the time -
separating with ; does not work.

Rainer


>
> Günter
>
>


-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)721 151 334 888
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com


Re: Question concerning own defined module

2009-10-27 Thread Rainer M Krug
On Tue, Oct 27, 2009 at 10:02 AM, Guenter Milde wrote:

> On 2009-10-27, Rainer M Krug wrote:
>
> ...
> > LabelFont
> >   Color   red
> >   SizeLarge
> >   Series  Bold
> > EndFont
> ...
>
> > But I would like to have the text which I enter also to be red (and
> > possibly also changed to bold). How can I achieve this?
>
> With the Font keyword. In addition to LabelFont.
>

Thanks for that, but I wanted to have the TEXT in bold. I figured it out:

#Inserts Greyedout comment, reading REF
#DescriptionEnd
# Author: Rainer M Krug 

Format 11

InsetLayout REF
LyXType   custom
LabelString   REF
LatexType command
LatexName textcolor{red}{\textbf(REF):~}\textcolor{red}
Decorationclassic
LabelFont
  Color   red
  SizeLarge
  Series  Bold
EndFont
OptionalArgs  1
MultiPar  false
Preamble
\RequirePackage{xcolor}
EndPreamble
End

Thanks a lot,

Rainer

>
> See Help>Customization.
>
> Günter
>
>


-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)721 151 334 888
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com


Re: [bug report] Lyx 1.6.4 crashes while editing formula

2009-10-27 Thread Olivier Ripoll

Falk Sticken wrote:

Hi
I have found a bug in LyX 1.6.4 on Linux (openSUSE 11.1) which is not
reported in the bug tracker. When I start editing an inline math formula
(ALT+M M) and type 
"\mathc" 
SPACE 
BACKSPACE 
"al" 
SPACE 
LyX crashes.

A backtrace follows below.
bye,
Falk


Hi,

I can reproduce on windows (alt installer) if I replace the BACKSPACE by 
a left arrow (backspace will select the full \mathc and "al" will 
replace it)


There is coincidently a crash report on lyx-french on Mac/Windows when 
correcting an index/exponent in an equation.


But both look to me like incarnations of this bug, fixed 8 hours ago:
http://www.lyx.org/trac/ticket/6193

Best regards,

Olivier



RE: Re: [bug report] Lyx 1.6.4 crashes while editing formula

2009-10-27 Thread Vincent van Ravesteijn - TNW
 

>Falk Sticken wrote:
>> Hi
>> I have found a bug in LyX 1.6.4 on Linux (openSUSE 11.1) which is not

>> reported in the bug tracker. When I start editing an inline math 
>> formula (ALT+M M) and type "\mathc"
>> SPACE
>> BACKSPACE
>> "al" 
>> SPACE
>> LyX crashes.
>> A backtrace follows below.
>> bye,
>> Falk
>
>But both look to me like incarnations of this bug,
>fixed 8 hours ago:
>http://www.lyx.org/trac/ticket/6193
>

It seems more like bug http://www.lyx.org/trac/ticket/6110 to me.

Vincent


Re: [bug report] Lyx 1.6.4 crashes while editing formula

2009-10-27 Thread Olivier Ripoll

Vincent van Ravesteijn - TNW wrote:
 


Falk Sticken wrote:

Hi
I have found a bug in LyX 1.6.4 on Linux (openSUSE 11.1) which is not


reported in the bug tracker. When I start editing an inline math 
formula (ALT+M M) and type "\mathc"

SPACE
BACKSPACE
"al" 
SPACE

LyX crashes.
A backtrace follows below.
bye,
Falk

But both look to me like incarnations of this bug,
fixed 8 hours ago:
http://www.lyx.org/trac/ticket/6193



It seems more like bug http://www.lyx.org/trac/ticket/6110 to me.



You're right. The half-good news being both are "fixed in trunk".

Best regards,

Olivier


Vincent





Adding inset to List layout

2009-10-27 Thread Teemu Rajala
Hi,

if for example ERT Inset with more than one paragraph is inserted into the
second column of List layout (not into the label column) an extra paragraph
break is inserted above the inset. Is this intended behaviour in LyX? Is it
possible to get rid of it? The problem might in setting the paragraph width to
maximum at List label column (and maybe twice).



Weird space after Justified line break.

2009-10-27 Thread Piero
Hello,

I use report-koma class with LyX 1.6.4
Some of my quotations are just the prolonging phrase I began in mine words.
To make an example, this is what a guy called "a very elegant way of quoting".
 For longer quotations in a separate quotation enviroment,
 I would like to do the same
 but if the last line of standard enviroment text is not 
justified, it will become definitely not elegant.
That's the reason I tried to use "Justified line break"
at the end of last line of standard environment,
 which sometimes works well (sometimes it simple doesn't 
work at all, leaving a single word in the last line)
but always - and this is today's issue -
add an unwanted additional space between the 2 environments.
In the LaTeX preview it doesn't show any additional space,
 so maybe it is a LaTeX issue.
Is there a manner to regain this extra space (maybe insert a negative space?)
One more question: how can I anyway reduce space
 between standard and quotation 
enviroments? (there's too much space, sometimes)
And how to have the Justified LB always work without
 leaving single words or even 
single hyphenated pieces of word in the very last line?

Thanks all!



Re: Kluwer doc class: title and author not showing up

2009-10-27 Thread Maria Gouskova
> The Kluwer layout didn't have much attention for several years, so it is well
> possible that it needs some update.
>
> However, did you have a look at the Kluwer template that ships with LyX? It
> uses some ERT in the author paragraph (nowadays, one could update the layout
> and implement character style insets for this).

Yep, the template works. Thanks!

--Maria

On Fri, Oct 23, 2009 at 5:15 AM, Jürgen Spitzmüller  wrote:
> Maria Gouskova wrote:
>> I am trying out the doc class "article (Kluwer)" and having a problem:
>> a simple document with a title, author, and a single section and some
>> standard text typesets without the title and the author. I looked at
>> this manual (http://www.springer.com/?SGWID=4-102-45-124370-0), but I
>> am not sure that it applies to how things work in LyX. The manual
>> warns that if the Author field isn't followed by \institute{...}, the
>> author will not be typeset in the final pdf. But there is no
>> \institute option in LyX. So how is it supposed to work?
>
>
> Jürgen
>


Re: authorindex in LyX?

2009-10-27 Thread Mats Andrén

Manveru wrote:

2009/10/24 Mats Andrén :
  

Sorry to be "spamming" but after sending my post I realized that it was a
bit strange of me not to try what would happen without the multicols
begin/end-pair, and just call \printauthorindex. When I remove the multi
column stuff, no extra two pages are generated, which should probably be
relevant for you people...

But the main problem remains, of course.



What I can tell you about LyX is that it cannot run additional scripts
during LaTeX processing yet. And probably will not, as I it should
assume you have perl installed on your machine, which is often a
problem on Macs or Windows.

There are possible solutions to create your own converter calling the
perl script after first latex run. But you have then define your own
format, for example 'pdflatex (authorindex)'.

  

Thank you very much for the reply!

This is precisely what I was hoping for. (I do have perl installed on my 
Mac.) However, it is not clear to me how to get the authorindex script 
running by making a converter. When I got XeTeX running in LyX I made a 
converter, so I have a vague idea how converters work in LyX, but in 
that case I just followed instructions that were available and I can't 
say that I understand more precisely what to type in ther in order to 
make it call authorindex. Can I just add something to the field called 
"Converter" (currently saying "xelatex $$i")? What should I write there?


The authorindex script is supposed to have the .aux file produced by 
latex as argument.


Thanks again!

Best,
Mats




Re: generating {|} in math mode

2009-10-27 Thread Siegfried Meunier-Guttin-Cluzel


how do I generate a group definition such as
{ x | x > 0 }
with variable height braces? I can create the outside braces using left\{ and 
right\} (or matching braces from the braces menu) but the central one doesn't 
fit it, and if I add a | with a matching empty left or right element the sizes 
don't match
You can use vphantom to put an invisible big element between your | and 
the empty right element ( see math manual for an example ).


Siegfried.


Re: free Palatino Sans?

2009-10-27 Thread Bruce Pourciau


On Oct 26, 2009, at 6:34 PM, Liviu Andronic wrote:


On 10/26/09, Bruce Pourciau  wrote:
unserifed face like Futura. Now Palatino is based on Renaissance  
humanist
forms -- it looks like its written with a broad-nibbed pen -- and  
it would
not mix well with Futura, for example. But it might mix well with  
Syntax,

say, which is an unserifed face also based on Renaissance forms.


I think I found a good candidate. Looking on Wikipedia for Humanist
fonts [1], I stumbled upon Optima, originally designed by H. Zapf. The
Font Catalogue provides a clone  called URW Classico [2]. It is
shipped with TeX Live.
Liviu

[1] http://en.wikipedia.org/wiki/Humanist_sans-serif#Classification
[2] http://www.tug.dk/FontCatalogue/optima/


I've never tried Palatino and Optima together, but they have the same  
daddy (Zapf).


Bruce


Re: something wrong with biblatex [solved]

2009-10-27 Thread sara teinturier

At last, it works!
I've followed the patient tips and advices Charles gave:
- I've installed csquotes package, and newer biblatex one (Ubuntu 
repositories charges the texlive 2007, which is updated);

- I've taken away useless lines in the manual pramble.

Thanks a lot, Charles. A mystery remains: I think I've made exactly the 
same as I told in the last message I've sent you, when it was working 
well with a tex file made with Texmaker, but not with a Lyx one. So I 
don't know exactly what was wrong...?


Cheers,
S.




Re: Tufte-book Layout File

2009-10-27 Thread Jason Waskiewicz
Joachim Osnabryg  writes:

> I'm not the one who can help with that. But I tried to run LyX with your  
> layout file (I had the LaTeX tufte-book.cls already installed before),  
> only with a \lipsum text, but without success. (LyX stopped the document  
> compiling.)

> Package bibentry Warning: You have used \nobibliography*
> (bibentry)without a following \bibliography.
> (bibentry)You may not be able to run BibTeX.
> ---
> 
> Any help?
> 
> joachim

My best idea is that there could be a conflict with the \lipsum package. I have
a similar computer setup to yours (Mac with Leopard -- though mine is a PPC).
I've had no trouble on that machine or on my Linux box.

The only times I run into issues are when I try to turn documents I've already
written into Tufte-book files, but even then it's a matter of tracking down each
individual incompatible command in the file.

Is it possible that \lipsum uses commands that are not compatible with Tufte?
You might try creating a fake document from scratch and see if it works.

Let us know how that goes.

--Jason Waskiewicz
  jason.waskiew...@sendit.nodak.edu



Lost Logo in Beamer Class Presentation ... Again

2009-10-27 Thread Rich Shepard

  I've just finished the visuals for a meeting keynote talk I'm presenting
this coming Friday. Once again the logo does not display in the lower right
corner of each slide. I no longer have thread from last April, but I copied
that presentation (where it finally worked) to use as the template for this
one. The .pdf logo does not display in either xpdf or acroread.

  Any ideas on what might be going on or where I should look for a reason?

Rich


Re: Tufte-book Layout File

2009-10-27 Thread Uwe Stöhr

> I'm not the one who can help with that. But I tried to run LyX with your 
layout file (I had the
> LaTeX tufte-book.cls already installed before), only with a \lipsum text, but 
without success.
> (LyX > stopped the document compiling.)

I revised Jason's layout file and the version you find here:
http://wiki.lyx.org/Layouts/Tufte-book#sLayouts.Tufte-book_2
as "Tufte-book proposal"
will be included in the next LyX version. Can you please test it?

> Nevertheless:
> It produced an pdf-output into the tmp subdirectory of LyX, with:
>
> A U T O R Y
> T I T E L X <== on the 1st page, and the
> Lorem ipsum … … <== text on the following pages.

This is independent of the layout file. The layout file only provides information how LyX should 
display environments and it defines new insets and character styles.

Moreover, I cannot reproduce this problem.

> For the case, that it might help you or other developers of an LyX-layout for 
the tufte-book.cls,
> or if someone can give me a hint, what's going wrong in my LyX, I report here 
the rest:
>
> Within the LyX program window I got the LaTeX errors:
> -
> LaTeX Error: Command \cplabel already defined.
> LaTeX Error: Command \adjustwidth already defined.
> ---

This is a problem wit LaTeX, not with the layout file because the layout file don't define or 
redefine any LaTeX command.

To be able to help you, can you please provide a LyX example file?

regards Uwe


Re: Tufte-book Layout File

2009-10-27 Thread Uwe Stöhr

Ich schrieb:


I revised Jason's layout file and the version you find here:
http://wiki.lyx.org/Layouts/Tufte-book#sLayouts.Tufte-book_2
as "Tufte-book proposal"
will be included in the next LyX version. Can you please test it?


I forgot to say that you need this BibTeX file
http://www.lyx.org/trac/export/31779/lyx-devel/branches/BRANCH_1_6_X/lib/examples/biblioExample.bib
to be able to compile the LyX example file.

regards Uwe


Re: Tufte-book Layout File

2009-10-27 Thread Joachim Osnabryg

Am 27.10.2009, 21:42 Uhr, schrieb Jason Waskiewicz:
My best idea is that there could be a conflict with the \lipsum package.  
I have a similar computer setup to yours (Mac with Leopard -- though  
mine is a PPC).  I've had no trouble on that machine or on my Linux box.


Thank you for your endeavor, Jason, but the \lipsum package cannot be the  
reason because, without using it, the result is similar.


Given that your tufte-book.layout is working in your similar computer  
setup, and that the tufte-book.cls is working on my machine with LaTeX  
(TeXShop), it's rather myterious for me where the reason for the  
misfunction might be, in my context.


By the way, in the same manner runs your kindly provided  
tuftebooksample.lyx: LyX ends with the same - and some more - LaTeX  
errors, but in the tmp-dir the pdf is produced, I suppose correct.


It would be interesting to hear from some others, especially with  
intel-Macs, wether the tufte-book.layout runs well in their LyX!


joachim
--
MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.4.1
MacBook Pro OSX 10.4.11 Tiger (intel)



Re: Tufte-book Layout File

2009-10-27 Thread Uwe Stöhr

Joachim Osnabryg schrieb:

It would be interesting to hear from some others, especially with 
intel-Macs, wether the tufte-book.layout runs well in their LyX!


Before you proceed please first try out the recent version of the layout file and the example 
document, see my previous email.


When the example LyX file works for you, but not your own document, please send 
me this document.

regards Uwe