Re: Beamer: using \pause[2]

2009-10-29 Thread Florian Rubach

Matthieu Stigler schrieb:

Hi

I wish some times to use \pause in Lyx specifying the numer of the
pause, ie: \pause[5]

I don't see a way to do it in Lyx 1.6.3 using nice built-in command
Pause, indeed, selecting style Pause and inserting [5] in ERT mode
get translated by

\pause{[5]}

So I do everything in ERT: \pause[5] and then it gets correct. Is
there a way to do it in with built-in command Pause? How? If not,
could I send it as feature request?

Thanks a lot!

Matthieu
Well, it is a bit hidden... You can use Insertshort title, which will 
give you an inset titled Opt, there you can insert your number and 
everything should work.


Re: LyX 1.6.4.1 and Snow Leopard

2009-10-29 Thread Jan David Hauck
Referring to the recent discussion on LyX having problems on Snow Leopard, I
can state, that the problem solved itself somehow. In fact LyX crashed
really one time (I think when I accidentally wanted to paste a footnote
inside a footnote or something) but after that no more problems even with
autosave enabled (and on 3 minutes). I made System Update recently maybe
that fixed it. Anybody else resolved it?


Re: Beamer: using \pause[2]

2009-10-29 Thread Matthieu Stigler
Using the Opt command did the trick, thanks a lot!!

2009/10/29 Florian Rubach florian.rub...@gmx.de:
 Matthieu Stigler schrieb:

 Hi

 I wish some times to use \pause in Lyx specifying the numer of the
 pause, ie: \pause[5]

 I don't see a way to do it in Lyx 1.6.3 using nice built-in command
 Pause, indeed, selecting style Pause and inserting [5] in ERT mode
 get translated by

 \pause{[5]}

 So I do everything in ERT: \pause[5] and then it gets correct. Is
 there a way to do it in with built-in command Pause? How? If not,
 could I send it as feature request?

 Thanks a lot!

 Matthieu

 Well, it is a bit hidden... You can use Insertshort title, which will give
 you an inset titled Opt, there you can insert your number and everything
 should work.



Re: LyX 1.6.4.1 and Snow Leopard

2009-10-29 Thread Luca Carlon
Jan David Hauck jdha...@... writes:

 
 Referring to the recent discussion on LyX having problems on Snow Leopard, I
 can state, that the problem solved itself somehow. In fact LyX crashed
 really one time (I think when I accidentally wanted to paste a footnote
 inside a footnote or something) but after that no more problems even with
 autosave enabled (and on 3 minutes). I made System Update recently maybe
 that fixed it. Anybody else resolved it?

I tried to turn off autosave but it seems there is a bug in turning it off
(reported). Then I tried to set to 100 minutes the autosave interval, so that I
could work without it somehow (seems to me there is a bug there too, I had to
restart some times before 100 minutes were actually placed between autosavings).
I still get the error message some times, but very rarely. Anyay, I suppose the
bug is still there.

Luca Carlon



Re: A method to insert syntax colored matlab code into Lyx

2009-10-29 Thread rosey21

Just wanted to say thanks.  it worked well.  As a note to future users, it
has some problems running in octave.

evan


BcBob wrote:
 
 I have developed another solution to inserting matlab code into Lyx using
 the 'highlight.m' function from the matlab file exchange. This function
 creates latex output for the syntax colored matlab code. I wrote a driver
 function matlb2tex.m that takes care of the details. You can insert the
 latex into an ERT in your Lyx document.
 
 The matlab code and a sample Lyx document are in the attached zip file.
 
 Bob
 
  http://n2.nabble.com/file/n2865240/matlab2tex.zip matlab2tex.zip 
 

-- 
View this message in context: 
http://n2.nabble.com/A-method-to-insert-syntax-colored-matlab-code-into-Lyx-tp2865240p3912066.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: LyX 1.6.4.1 and Snow Leopard

2009-10-29 Thread James C. Sutherland


On Oct 29, 2009, at 5:38 AM, Luca Carlon wrote:


Jan David Hauck jdha...@... writes:



Referring to the recent discussion on LyX having problems on Snow  
Leopard, I
can state, that the problem solved itself somehow. In fact LyX  
crashed
really one time (I think when I accidentally wanted to paste a  
footnote
inside a footnote or something) but after that no more problems  
even with
autosave enabled (and on 3 minutes). I made System Update recently  
maybe

that fixed it. Anybody else resolved it?


I tried to turn off autosave but it seems there is a bug in turning  
it off
(reported). Then I tried to set to 100 minutes the autosave  
interval, so that I
could work without it somehow (seems to me there is a bug there too,  
I had to
restart some times before 100 minutes were actually placed between  
autosavings).
I still get the error message some times, but very rarely. Anyay, I  
suppose the

bug is still there.



The bug is still there.  As far as I know there is not yet a solid fix  
for this.  Bennet had been working on something, but I don't know if  
he has finalized a fix yet...


Re: LyX 1.6.4.1 and Snow Leopard

2009-10-29 Thread rgheck

On 10/29/2009 09:03 AM, James C. Sutherland wrote:


On Oct 29, 2009, at 5:38 AM, Luca Carlon wrote:


Jan David Hauck jdha...@... writes:



Referring to the recent discussion on LyX having problems on Snow 
Leopard, I

can state, that the problem solved itself somehow. In fact LyX crashed
really one time (I think when I accidentally wanted to paste a 
footnote
inside a footnote or something) but after that no more problems even 
with
autosave enabled (and on 3 minutes). I made System Update recently 
maybe

that fixed it. Anybody else resolved it?


I tried to turn off autosave but it seems there is a bug in turning 
it off
(reported). Then I tried to set to 100 minutes the autosave interval, 
so that I
could work without it somehow (seems to me there is a bug there too, 
I had to
restart some times before 100 minutes were actually placed between 
autosavings).
I still get the error message some times, but very rarely. Anyay, I 
suppose the

bug is still there.



The bug is still there.  As far as I know there is not yet a solid fix 
for this.  Bennet had been working on something, but I don't know if 
he has finalized a fix yet...


A fix has been committed: disabling fork() on OSX. We don't know why it 
suddenly stopped working, but it is a limitation of OSX itself.


rh



Beamer: using uncover has not same effect if in block or in itemize

2009-10-29 Thread Matthieu Stigler
Hi

I like to make text appearing on the same line in a second slide using
option uncover.

 While this is working when in enviro block, it is not in enviro
itemize: lyx then adds a new blank line and so text is not shown in
same line. (see code below)

Is this a feature, is there a rationale for having different behaviour
with same action? How can I solve that?

Thanks a lot!!!

Matthieu

\begin{document}

\lyxframeend{}\lyxframe{A small problem}
\begin{block}
{My problem is following}

I want to uncover in blue on same line
\begin{uncoverenv}%{}
2- \textcolor{blue}{$\square$~ok it's working}\end{uncoverenv}%{}
\begin{itemize}
\item {3}-But on a list?

\begin{uncoverenv}%{}
4- \textcolor{blue}{$\square$~it's no more on the same line...
Even if looks same on the GUI}
\end{uncoverenv}%{}
\end{itemize}
\end{block}

\pause[5]{}
\begin{alertblock}
{{Error}}

What should I do?
\end{alertblock}

\lyxframeend{}


\lyxframeend{}


Re: LyX 1.6.4.1 and Snow Leopard

2009-10-29 Thread Bruce Pourciau


On Oct 29, 2009, at 9:01 AM, rgheck wrote:


On 10/29/2009 09:03 AM, James C. Sutherland wrote:


On Oct 29, 2009, at 5:38 AM, Luca Carlon wrote:


Jan David Hauck jdha...@... writes:



Referring to the recent discussion on LyX having problems on Snow
Leopard, I
can state, that the problem solved itself somehow. In fact LyX  
crashed

really one time (I think when I accidentally wanted to paste a
footnote
inside a footnote or something) but after that no more problems  
even

with
autosave enabled (and on 3 minutes). I made System Update recently
maybe
that fixed it. Anybody else resolved it?


I tried to turn off autosave but it seems there is a bug in turning
it off
(reported). Then I tried to set to 100 minutes the autosave  
interval,

so that I
could work without it somehow (seems to me there is a bug there too,
I had to
restart some times before 100 minutes were actually placed between
autosavings).
I still get the error message some times, but very rarely. Anyay, I
suppose the
bug is still there.



The bug is still there.  As far as I know there is not yet a solid  
fix

for this.  Bennet had been working on something, but I don't know if
he has finalized a fix yet...

A fix has been committed: disabling fork() on OSX. We don't know why  
it

suddenly stopped working, but it is a limitation of OSX itself.

rh



What about earlier versions, 1.6.3 for example, and snow leopard?

Bruce


tufte-handout.layout outdated

2009-10-29 Thread Joachim Osnabryg

Big problem for me, but also for the next release of LyX:

tufte-book.layout - works well,
tufte-handout.layout doesn't work with actual release of Tufte (2009 May  
17)


Please watch, Uwe, Jürgen
  all Tufte-interested LyX-Developer  User:

While the new tufte-book.layout, created by Uwe Stöhr

- http://wiki.lyx.org/Layouts/Tufte-book = Tufte-book proposal … for the  
layout file where less ERT needs to be used -


works well with the the actual release of tufte-latex  
(http://code.google.com/p/tufte-latex/downloads/list) the vanguard  
tufte-handout.layout, produced kindly by Jürgen Spitzmüller almost one  
year ago

= http://wiki.lyx.org/Layouts/Tufte-handout,
does no longer work well with the actual release of tufte-handout.cls (and  
tufte-common.sty). There are uncountable latex errors with it and Lyx  
refuses to offer the pdf-latex view. Though in the the tmp dir I find one,  
more or less usable on my superficial look, but: without the bibliography  
and citations.


Am 27.10.2009, 23:58 Uhr, schrieb Uwe Stöhr in the thread Tufte-book  
Layout File:

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 did it and reported enthused success.

But when I then started to work again with my numerous tufte-handout  
LyX-files, produced until no: not one is processed well any more.


Obviously the LyX tufte-handout.layout is outdated!
I don't wonder about that: as I have seen, the Tufte-LateX developers have  
changed to put the main processing into a tufte-common.sty file (in  
future: -.def) and only some special cls-commands in both …book.cls and  
…handout.cls. But I am not able to produce a new LyX-layout for handout.


What shall I do now? Hope I can reestablish the old depreciated  
tufte-handout.cls from 2008 may (or november at the latest) to be able to  
run my produced and make new ones in LyX (I had backed-up the old  
handout.cls).


Or, given that the tufte-book.layout »will be included in the next LyX  
version«, may I hope that a new tufte-handout.layout will be made? Jürgen  
Spitzmüller produced the old one in a fly in the train …


joachim
--
MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.3
MacBook Pro OSX 10.4.11 Tiger (intel)
Opera 9.64 -  Newsreader



Re: tufte-handout.layout outdated

2009-10-29 Thread Uwe Stöhr

Joachim Osnabryg schrieb:


Big problem for me, but also for the next release of LyX:

tufte-book.layout - works well,
tufte-handout.layout doesn't work with actual release of Tufte (2009 May 
17)


The next version doesn't use this layout file version but this one:
http://www.lyx.org/trac/export/31790/lyx-devel/branches/BRANCH_1_6_X/lib/layouts/tufte-handout.layout

Can you please test it out? (To get it work you need to have my tufte-book.layout file is the same 
folder as the tufte-handout.layout.)


thanks in advance and regards
Uwe


Forcing a certain amount of lines after a heading

2009-10-29 Thread Miguel Rubio-Roy
Hi all,

  Is there any way of forcing a certain number of lines after a heading
without a pagebreak? Sometimes I have a heading clos to the bottom of a
page, and followed by a two-line paragraph, and I get a pagebreak after the
two-lines, but that is too close to the bottom.

Thanks

Miguel


BigFoot Package

2009-10-29 Thread rgheck


Further to comments the other day, attached is a package that implements 
some simple functionality of the bigfoot package. It seems to work for 
my purposes. Unfortunately, in developing it, I realized that we do not 
yet have counters for custom insets. So this will have to be on the 
radar for 1.7.


Richard

#\DeclareLyXModule{Bigfoot}
#DescriptionBegin
#Adds some additional footnote insets. Based upon the bigfoot package.
#DescriptionEnd

Format 11

InsetLayout Custom:FootnoteRoman
LyXType custom
LatexName   footnoteR
LatexType   command
Decoration  classic
Font
SizeSmall
EndFont
MultiPartrue
LabelString Roman Note
Preamble
\usepackage{bigfoot}
\DeclareNewFootnote{R}[roman]
\MakeSorted{footnoteR}
EndPreamble
End

InsetLayout Custom:FootnoteAlph
CopyStyle   Custom:FootnoteRoman
Decoration  classic
LatexName   footnoteA
LabelString Alpha Note
Preamble
\usepackage{bigfoot}
\DeclareNewFootnote{A}[alph]
\MakeSorted{footnoteA}
EndPreamble
End


Re: Forcing a certain amount of lines after a heading

2009-10-29 Thread Yago
You can use the command \enlargethispage{\baselineskip} to make the page one 
more line longer or any other length in the command argument. But see the 
documentation. See also the documentation of addlines package.
- Original Message - 
From: Miguel Rubio-Roy mrubio...@gmail.com

To: lyx-users@lists.lyx.org
Sent: Thursday, October 29, 2009 8:27 PM
Subject: Forcing a certain amount of lines after a heading



Hi all,

 Is there any way of forcing a certain number of lines after a heading
without a pagebreak? Sometimes I have a heading clos to the bottom of a
page, and followed by a two-line paragraph, and I get a pagebreak after 
the

two-lines, but that is too close to the bottom.

Thanks

Miguel





Re: BigFoot Package

2009-10-29 Thread Joachim Osnabryg

Am 29.10.2009, 23:17 Uhr, schrieb rgheck:

Further to comments the other day, attached is a package that implements
some simple functionality of the bigfoot package. It seems to work for
my purposes. Unfortunately, in developing it, I realized that we do not
yet have counters for custom insets. So this will have to be on the
radar for 1.7.


Very good, but anyway, what possibilities is it for? Already now?

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



Re: Forcing a certain amount of lines after a heading

2009-10-29 Thread Miguel Rubio-Roy
Yago diazd...@... writes:
 You can use the command \enlargethispage{\baselineskip} to make the page one 
 more line longer or any other length in the command argument. But see the 
 documentation. See also the documentation of addlines package.

Hi Yago,
  I had already read about that command. The problem is I don't know which pages
I want to enlarge. I mean, if later on I add text before such heading, it could
jump to the following page, making the command unnecessary. I would prefer a
document-wide solution that just avoids this kind of situations.

Thanks

Miguel



Re: tufte-handout.layout outdated

2009-10-29 Thread Joachim Osnabryg

Am 29.10.2009, 17:31 Uhr, schrieb Uwe Stöhr:

The next version doesn't use this layout file version but this one:
http://www.lyx.org/trac/export/31790/lyx-devel/branches/BRANCH_1_6_X/lib/layouts/tufte-handout.layout


very fine!

Can you please test it out? (To get it work you need to have my  
tufte-book.layout file is the same folder as the tufte-handout.layout.)


Already done. Just to give you a first response:

Your new handout layout file works more or less with the original  
sample-handout.lyx (provided once with Jürgen's old tufte-handout.layout  
on http://wiki.lyx.org/Layouts/Tufte-handout).


More or less, because some formatations - as »newthought«, »ALL CAPS«,  
»FULL CAPITAL LETTERS, and »SmallCaps« {character style  
(Edit-TextStyle-SmallCaps)} are marked red and partly as undefined in  
the LyX window already and appeare in normal character stile in the  
produced pdf.


But:
With my self-produced LyX-files on basis of the old tufte-handout.cls and  
-.layout your new .layout unfortunately does not work yet, but I have to  
test it further with faked ones, because in the real ones I have some  
additions in the preamble (and special formatations within the documents)  
which might be excluded already in the new tufte-handout.cls (and  
-common.sty) and not because of your new .layout file.


The problem is, that I have to exchange everytime the files in  
LyX1.6/layouts and ~/Library/texmf/tex/latex/tufte-latex/ to test it,  
continuing with my work on my existing LyX files on basis of the old  
handout cls and layout. But I will try out more.


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



Re: tufte-handout.layout outdated

2009-10-29 Thread Uwe Stöhr

Joachim Osnabryg schrieb:

Can you please test it out? (To get it work you need to have my 
tufte-book.layout file is the same folder as the tufte-handout.layout.)


Already done. Just to give you a first response:

Your new handout layout file works more or less with the original 
sample-handout.lyx (provided once with Jürgen's old tufte-handout.layout 
on http://wiki.lyx.org/Layouts/Tufte-handout).


More or less, because some formatations - as »newthought«, »ALL CAPS«, 
»FULL CAPITAL LETTERS, and »SmallCaps« {character style 
(Edit-TextStyle-SmallCaps)} are marked red and partly as undefined 
in the LyX window already and appeare in normal character stile in the 
produced pdf.


This is because the new layout file is incompatible with the old one. One reason is to overcome the 
problems you noticed with the old version. Another one is to have one basic layout for both tufte 
document classes. (The handout call is basically the same as the book class with only a few changes.)


To make LyX files created with the old layout work, you need to open the LyX file with a text editor 
and replace

- CharStyle:SmallCaps with SmallCaps
- CharStyle:AllCaps with AllCaps
- CharStyle:NewThought with NewThought

All future versions of the layout file will be compatible with the current 
layout.

Btw. there is of course also an actual example file:
http://www.lyx.org/trac/export/31798/lyx-devel/branches/BRANCH_1_6_X/lib/examples/tufte-handout.lyx

regards Uwe


Re: Beamer: using \pause[2]

2009-10-29 Thread Florian Rubach

Matthieu Stigler schrieb:

Hi

I wish some times to use \pause in Lyx specifying the numer of the
pause, ie: \pause[5]

I don't see a way to do it in Lyx 1.6.3 using nice built-in command
Pause, indeed, selecting style Pause and inserting [5] in ERT mode
get translated by

\pause{[5]}

So I do everything in ERT: \pause[5] and then it gets correct. Is
there a way to do it in with built-in command Pause? How? If not,
could I send it as feature request?

Thanks a lot!

Matthieu
Well, it is a bit hidden... You can use Insertshort title, which will 
give you an inset titled Opt, there you can insert your number and 
everything should work.


Re: LyX 1.6.4.1 and Snow Leopard

2009-10-29 Thread Jan David Hauck
Referring to the recent discussion on LyX having problems on Snow Leopard, I
can state, that the problem solved itself somehow. In fact LyX crashed
really one time (I think when I accidentally wanted to paste a footnote
inside a footnote or something) but after that no more problems even with
autosave enabled (and on 3 minutes). I made System Update recently maybe
that fixed it. Anybody else resolved it?


Re: Beamer: using \pause[2]

2009-10-29 Thread Matthieu Stigler
Using the Opt command did the trick, thanks a lot!!

2009/10/29 Florian Rubach florian.rub...@gmx.de:
 Matthieu Stigler schrieb:

 Hi

 I wish some times to use \pause in Lyx specifying the numer of the
 pause, ie: \pause[5]

 I don't see a way to do it in Lyx 1.6.3 using nice built-in command
 Pause, indeed, selecting style Pause and inserting [5] in ERT mode
 get translated by

 \pause{[5]}

 So I do everything in ERT: \pause[5] and then it gets correct. Is
 there a way to do it in with built-in command Pause? How? If not,
 could I send it as feature request?

 Thanks a lot!

 Matthieu

 Well, it is a bit hidden... You can use Insertshort title, which will give
 you an inset titled Opt, there you can insert your number and everything
 should work.



Re: LyX 1.6.4.1 and Snow Leopard

2009-10-29 Thread Luca Carlon
Jan David Hauck jdha...@... writes:

 
 Referring to the recent discussion on LyX having problems on Snow Leopard, I
 can state, that the problem solved itself somehow. In fact LyX crashed
 really one time (I think when I accidentally wanted to paste a footnote
 inside a footnote or something) but after that no more problems even with
 autosave enabled (and on 3 minutes). I made System Update recently maybe
 that fixed it. Anybody else resolved it?

I tried to turn off autosave but it seems there is a bug in turning it off
(reported). Then I tried to set to 100 minutes the autosave interval, so that I
could work without it somehow (seems to me there is a bug there too, I had to
restart some times before 100 minutes were actually placed between autosavings).
I still get the error message some times, but very rarely. Anyay, I suppose the
bug is still there.

Luca Carlon



Re: A method to insert syntax colored matlab code into Lyx

2009-10-29 Thread rosey21

Just wanted to say thanks.  it worked well.  As a note to future users, it
has some problems running in octave.

evan


BcBob wrote:
 
 I have developed another solution to inserting matlab code into Lyx using
 the 'highlight.m' function from the matlab file exchange. This function
 creates latex output for the syntax colored matlab code. I wrote a driver
 function matlb2tex.m that takes care of the details. You can insert the
 latex into an ERT in your Lyx document.
 
 The matlab code and a sample Lyx document are in the attached zip file.
 
 Bob
 
  http://n2.nabble.com/file/n2865240/matlab2tex.zip matlab2tex.zip 
 

-- 
View this message in context: 
http://n2.nabble.com/A-method-to-insert-syntax-colored-matlab-code-into-Lyx-tp2865240p3912066.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: LyX 1.6.4.1 and Snow Leopard

2009-10-29 Thread James C. Sutherland


On Oct 29, 2009, at 5:38 AM, Luca Carlon wrote:


Jan David Hauck jdha...@... writes:



Referring to the recent discussion on LyX having problems on Snow  
Leopard, I
can state, that the problem solved itself somehow. In fact LyX  
crashed
really one time (I think when I accidentally wanted to paste a  
footnote
inside a footnote or something) but after that no more problems  
even with
autosave enabled (and on 3 minutes). I made System Update recently  
maybe

that fixed it. Anybody else resolved it?


I tried to turn off autosave but it seems there is a bug in turning  
it off
(reported). Then I tried to set to 100 minutes the autosave  
interval, so that I
could work without it somehow (seems to me there is a bug there too,  
I had to
restart some times before 100 minutes were actually placed between  
autosavings).
I still get the error message some times, but very rarely. Anyay, I  
suppose the

bug is still there.



The bug is still there.  As far as I know there is not yet a solid fix  
for this.  Bennet had been working on something, but I don't know if  
he has finalized a fix yet...


Re: LyX 1.6.4.1 and Snow Leopard

2009-10-29 Thread rgheck

On 10/29/2009 09:03 AM, James C. Sutherland wrote:


On Oct 29, 2009, at 5:38 AM, Luca Carlon wrote:


Jan David Hauck jdha...@... writes:



Referring to the recent discussion on LyX having problems on Snow 
Leopard, I

can state, that the problem solved itself somehow. In fact LyX crashed
really one time (I think when I accidentally wanted to paste a 
footnote
inside a footnote or something) but after that no more problems even 
with
autosave enabled (and on 3 minutes). I made System Update recently 
maybe

that fixed it. Anybody else resolved it?


I tried to turn off autosave but it seems there is a bug in turning 
it off
(reported). Then I tried to set to 100 minutes the autosave interval, 
so that I
could work without it somehow (seems to me there is a bug there too, 
I had to
restart some times before 100 minutes were actually placed between 
autosavings).
I still get the error message some times, but very rarely. Anyay, I 
suppose the

bug is still there.



The bug is still there.  As far as I know there is not yet a solid fix 
for this.  Bennet had been working on something, but I don't know if 
he has finalized a fix yet...


A fix has been committed: disabling fork() on OSX. We don't know why it 
suddenly stopped working, but it is a limitation of OSX itself.


rh



Beamer: using uncover has not same effect if in block or in itemize

2009-10-29 Thread Matthieu Stigler
Hi

I like to make text appearing on the same line in a second slide using
option uncover.

 While this is working when in enviro block, it is not in enviro
itemize: lyx then adds a new blank line and so text is not shown in
same line. (see code below)

Is this a feature, is there a rationale for having different behaviour
with same action? How can I solve that?

Thanks a lot!!!

Matthieu

\begin{document}

\lyxframeend{}\lyxframe{A small problem}
\begin{block}
{My problem is following}

I want to uncover in blue on same line
\begin{uncoverenv}%{}
2- \textcolor{blue}{$\square$~ok it's working}\end{uncoverenv}%{}
\begin{itemize}
\item {3}-But on a list?

\begin{uncoverenv}%{}
4- \textcolor{blue}{$\square$~it's no more on the same line...
Even if looks same on the GUI}
\end{uncoverenv}%{}
\end{itemize}
\end{block}

\pause[5]{}
\begin{alertblock}
{{Error}}

What should I do?
\end{alertblock}

\lyxframeend{}


\lyxframeend{}


Re: LyX 1.6.4.1 and Snow Leopard

2009-10-29 Thread Bruce Pourciau


On Oct 29, 2009, at 9:01 AM, rgheck wrote:


On 10/29/2009 09:03 AM, James C. Sutherland wrote:


On Oct 29, 2009, at 5:38 AM, Luca Carlon wrote:


Jan David Hauck jdha...@... writes:



Referring to the recent discussion on LyX having problems on Snow
Leopard, I
can state, that the problem solved itself somehow. In fact LyX  
crashed

really one time (I think when I accidentally wanted to paste a
footnote
inside a footnote or something) but after that no more problems  
even

with
autosave enabled (and on 3 minutes). I made System Update recently
maybe
that fixed it. Anybody else resolved it?


I tried to turn off autosave but it seems there is a bug in turning
it off
(reported). Then I tried to set to 100 minutes the autosave  
interval,

so that I
could work without it somehow (seems to me there is a bug there too,
I had to
restart some times before 100 minutes were actually placed between
autosavings).
I still get the error message some times, but very rarely. Anyay, I
suppose the
bug is still there.



The bug is still there.  As far as I know there is not yet a solid  
fix

for this.  Bennet had been working on something, but I don't know if
he has finalized a fix yet...

A fix has been committed: disabling fork() on OSX. We don't know why  
it

suddenly stopped working, but it is a limitation of OSX itself.

rh



What about earlier versions, 1.6.3 for example, and snow leopard?

Bruce


tufte-handout.layout outdated

2009-10-29 Thread Joachim Osnabryg

Big problem for me, but also for the next release of LyX:

tufte-book.layout - works well,
tufte-handout.layout doesn't work with actual release of Tufte (2009 May  
17)


Please watch, Uwe, Jürgen
  all Tufte-interested LyX-Developer  User:

While the new tufte-book.layout, created by Uwe Stöhr

- http://wiki.lyx.org/Layouts/Tufte-book = Tufte-book proposal … for the  
layout file where less ERT needs to be used -


works well with the the actual release of tufte-latex  
(http://code.google.com/p/tufte-latex/downloads/list) the vanguard  
tufte-handout.layout, produced kindly by Jürgen Spitzmüller almost one  
year ago

= http://wiki.lyx.org/Layouts/Tufte-handout,
does no longer work well with the actual release of tufte-handout.cls (and  
tufte-common.sty). There are uncountable latex errors with it and Lyx  
refuses to offer the pdf-latex view. Though in the the tmp dir I find one,  
more or less usable on my superficial look, but: without the bibliography  
and citations.


Am 27.10.2009, 23:58 Uhr, schrieb Uwe Stöhr in the thread Tufte-book  
Layout File:

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 did it and reported enthused success.

But when I then started to work again with my numerous tufte-handout  
LyX-files, produced until no: not one is processed well any more.


Obviously the LyX tufte-handout.layout is outdated!
I don't wonder about that: as I have seen, the Tufte-LateX developers have  
changed to put the main processing into a tufte-common.sty file (in  
future: -.def) and only some special cls-commands in both …book.cls and  
…handout.cls. But I am not able to produce a new LyX-layout for handout.


What shall I do now? Hope I can reestablish the old depreciated  
tufte-handout.cls from 2008 may (or november at the latest) to be able to  
run my produced and make new ones in LyX (I had backed-up the old  
handout.cls).


Or, given that the tufte-book.layout »will be included in the next LyX  
version«, may I hope that a new tufte-handout.layout will be made? Jürgen  
Spitzmüller produced the old one in a fly in the train …


joachim
--
MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.3
MacBook Pro OSX 10.4.11 Tiger (intel)
Opera 9.64 -  Newsreader



Re: tufte-handout.layout outdated

2009-10-29 Thread Uwe Stöhr

Joachim Osnabryg schrieb:


Big problem for me, but also for the next release of LyX:

tufte-book.layout - works well,
tufte-handout.layout doesn't work with actual release of Tufte (2009 May 
17)


The next version doesn't use this layout file version but this one:
http://www.lyx.org/trac/export/31790/lyx-devel/branches/BRANCH_1_6_X/lib/layouts/tufte-handout.layout

Can you please test it out? (To get it work you need to have my tufte-book.layout file is the same 
folder as the tufte-handout.layout.)


thanks in advance and regards
Uwe


Forcing a certain amount of lines after a heading

2009-10-29 Thread Miguel Rubio-Roy
Hi all,

  Is there any way of forcing a certain number of lines after a heading
without a pagebreak? Sometimes I have a heading clos to the bottom of a
page, and followed by a two-line paragraph, and I get a pagebreak after the
two-lines, but that is too close to the bottom.

Thanks

Miguel


BigFoot Package

2009-10-29 Thread rgheck


Further to comments the other day, attached is a package that implements 
some simple functionality of the bigfoot package. It seems to work for 
my purposes. Unfortunately, in developing it, I realized that we do not 
yet have counters for custom insets. So this will have to be on the 
radar for 1.7.


Richard

#\DeclareLyXModule{Bigfoot}
#DescriptionBegin
#Adds some additional footnote insets. Based upon the bigfoot package.
#DescriptionEnd

Format 11

InsetLayout Custom:FootnoteRoman
LyXType custom
LatexName   footnoteR
LatexType   command
Decoration  classic
Font
SizeSmall
EndFont
MultiPartrue
LabelString Roman Note
Preamble
\usepackage{bigfoot}
\DeclareNewFootnote{R}[roman]
\MakeSorted{footnoteR}
EndPreamble
End

InsetLayout Custom:FootnoteAlph
CopyStyle   Custom:FootnoteRoman
Decoration  classic
LatexName   footnoteA
LabelString Alpha Note
Preamble
\usepackage{bigfoot}
\DeclareNewFootnote{A}[alph]
\MakeSorted{footnoteA}
EndPreamble
End


Re: Forcing a certain amount of lines after a heading

2009-10-29 Thread Yago
You can use the command \enlargethispage{\baselineskip} to make the page one 
more line longer or any other length in the command argument. But see the 
documentation. See also the documentation of addlines package.
- Original Message - 
From: Miguel Rubio-Roy mrubio...@gmail.com

To: lyx-users@lists.lyx.org
Sent: Thursday, October 29, 2009 8:27 PM
Subject: Forcing a certain amount of lines after a heading



Hi all,

 Is there any way of forcing a certain number of lines after a heading
without a pagebreak? Sometimes I have a heading clos to the bottom of a
page, and followed by a two-line paragraph, and I get a pagebreak after 
the

two-lines, but that is too close to the bottom.

Thanks

Miguel





Re: BigFoot Package

2009-10-29 Thread Joachim Osnabryg

Am 29.10.2009, 23:17 Uhr, schrieb rgheck:

Further to comments the other day, attached is a package that implements
some simple functionality of the bigfoot package. It seems to work for
my purposes. Unfortunately, in developing it, I realized that we do not
yet have counters for custom insets. So this will have to be on the
radar for 1.7.


Very good, but anyway, what possibilities is it for? Already now?

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



Re: Forcing a certain amount of lines after a heading

2009-10-29 Thread Miguel Rubio-Roy
Yago diazd...@... writes:
 You can use the command \enlargethispage{\baselineskip} to make the page one 
 more line longer or any other length in the command argument. But see the 
 documentation. See also the documentation of addlines package.

Hi Yago,
  I had already read about that command. The problem is I don't know which pages
I want to enlarge. I mean, if later on I add text before such heading, it could
jump to the following page, making the command unnecessary. I would prefer a
document-wide solution that just avoids this kind of situations.

Thanks

Miguel



Re: tufte-handout.layout outdated

2009-10-29 Thread Joachim Osnabryg

Am 29.10.2009, 17:31 Uhr, schrieb Uwe Stöhr:

The next version doesn't use this layout file version but this one:
http://www.lyx.org/trac/export/31790/lyx-devel/branches/BRANCH_1_6_X/lib/layouts/tufte-handout.layout


very fine!

Can you please test it out? (To get it work you need to have my  
tufte-book.layout file is the same folder as the tufte-handout.layout.)


Already done. Just to give you a first response:

Your new handout layout file works more or less with the original  
sample-handout.lyx (provided once with Jürgen's old tufte-handout.layout  
on http://wiki.lyx.org/Layouts/Tufte-handout).


More or less, because some formatations - as »newthought«, »ALL CAPS«,  
»FULL CAPITAL LETTERS, and »SmallCaps« {character style  
(Edit-TextStyle-SmallCaps)} are marked red and partly as undefined in  
the LyX window already and appeare in normal character stile in the  
produced pdf.


But:
With my self-produced LyX-files on basis of the old tufte-handout.cls and  
-.layout your new .layout unfortunately does not work yet, but I have to  
test it further with faked ones, because in the real ones I have some  
additions in the preamble (and special formatations within the documents)  
which might be excluded already in the new tufte-handout.cls (and  
-common.sty) and not because of your new .layout file.


The problem is, that I have to exchange everytime the files in  
LyX1.6/layouts and ~/Library/texmf/tex/latex/tufte-latex/ to test it,  
continuing with my work on my existing LyX files on basis of the old  
handout cls and layout. But I will try out more.


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



Re: tufte-handout.layout outdated

2009-10-29 Thread Uwe Stöhr

Joachim Osnabryg schrieb:

Can you please test it out? (To get it work you need to have my 
tufte-book.layout file is the same folder as the tufte-handout.layout.)


Already done. Just to give you a first response:

Your new handout layout file works more or less with the original 
sample-handout.lyx (provided once with Jürgen's old tufte-handout.layout 
on http://wiki.lyx.org/Layouts/Tufte-handout).


More or less, because some formatations - as »newthought«, »ALL CAPS«, 
»FULL CAPITAL LETTERS, and »SmallCaps« {character style 
(Edit-TextStyle-SmallCaps)} are marked red and partly as undefined 
in the LyX window already and appeare in normal character stile in the 
produced pdf.


This is because the new layout file is incompatible with the old one. One reason is to overcome the 
problems you noticed with the old version. Another one is to have one basic layout for both tufte 
document classes. (The handout call is basically the same as the book class with only a few changes.)


To make LyX files created with the old layout work, you need to open the LyX file with a text editor 
and replace

- CharStyle:SmallCaps with SmallCaps
- CharStyle:AllCaps with AllCaps
- CharStyle:NewThought with NewThought

All future versions of the layout file will be compatible with the current 
layout.

Btw. there is of course also an actual example file:
http://www.lyx.org/trac/export/31798/lyx-devel/branches/BRANCH_1_6_X/lib/examples/tufte-handout.lyx

regards Uwe


Re: Beamer: using \pause[2]

2009-10-29 Thread Florian Rubach

Matthieu Stigler schrieb:

Hi

I wish some times to use \pause in Lyx specifying the numer of the
pause, ie: \pause[5]

I don't see a way to do it in Lyx 1.6.3 using nice built-in command
"Pause", indeed, selecting style "Pause" and inserting [5] in ERT mode
get translated by

\pause{[5]}

So I do everything in ERT: \pause[5] and then it gets correct. Is
there a way to do it in with built-in command "Pause"? How? If not,
could I send it as feature request?

Thanks a lot!

Matthieu
Well, it is a bit hidden... You can use Insert>short title, which will 
give you an inset titled "Opt", there you can insert your number and 
everything should work.


Re: LyX 1.6.4.1 and Snow Leopard

2009-10-29 Thread Jan David Hauck
Referring to the recent discussion on LyX having problems on Snow Leopard, I
can state, that the problem solved itself somehow. In fact LyX crashed
"really" one time (I think when I accidentally wanted to paste a footnote
inside a footnote or something) but after that no more problems even with
autosave enabled (and on 3 minutes). I made System Update recently maybe
that fixed it. Anybody else resolved it?


Re: Beamer: using \pause[2]

2009-10-29 Thread Matthieu Stigler
Using the "Opt" command did the trick, thanks a lot!!

2009/10/29 Florian Rubach :
> Matthieu Stigler schrieb:
>>
>> Hi
>>
>> I wish some times to use \pause in Lyx specifying the numer of the
>> pause, ie: \pause[5]
>>
>> I don't see a way to do it in Lyx 1.6.3 using nice built-in command
>> "Pause", indeed, selecting style "Pause" and inserting [5] in ERT mode
>> get translated by
>>
>> \pause{[5]}
>>
>> So I do everything in ERT: \pause[5] and then it gets correct. Is
>> there a way to do it in with built-in command "Pause"? How? If not,
>> could I send it as feature request?
>>
>> Thanks a lot!
>>
>> Matthieu
>
> Well, it is a bit hidden... You can use Insert>short title, which will give
> you an inset titled "Opt", there you can insert your number and everything
> should work.
>


Re: LyX 1.6.4.1 and Snow Leopard

2009-10-29 Thread Luca Carlon
Jan David Hauck  writes:

> 
> Referring to the recent discussion on LyX having problems on Snow Leopard, I
> can state, that the problem solved itself somehow. In fact LyX crashed
> "really" one time (I think when I accidentally wanted to paste a footnote
> inside a footnote or something) but after that no more problems even with
> autosave enabled (and on 3 minutes). I made System Update recently maybe
> that fixed it. Anybody else resolved it?

I tried to turn off autosave but it seems there is a bug in turning it off
(reported). Then I tried to set to 100 minutes the autosave interval, so that I
could work without it somehow (seems to me there is a bug there too, I had to
restart some times before 100 minutes were actually placed between autosavings).
I still get the error message some times, but very rarely. Anyay, I suppose the
bug is still there.

Luca Carlon



Re: A method to insert syntax colored matlab code into Lyx

2009-10-29 Thread rosey21

Just wanted to say thanks.  it worked well.  As a note to future users, it
has some problems running in octave.

evan


BcBob wrote:
> 
> I have developed another solution to inserting matlab code into Lyx using
> the 'highlight.m' function from the matlab file exchange. This function
> creates latex output for the syntax colored matlab code. I wrote a driver
> function matlb2tex.m that takes care of the details. You can insert the
> latex into an ERT in your Lyx document.
> 
> The matlab code and a sample Lyx document are in the attached zip file.
> 
> Bob
> 
>  http://n2.nabble.com/file/n2865240/matlab2tex.zip matlab2tex.zip 
> 

-- 
View this message in context: 
http://n2.nabble.com/A-method-to-insert-syntax-colored-matlab-code-into-Lyx-tp2865240p3912066.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: LyX 1.6.4.1 and Snow Leopard

2009-10-29 Thread James C. Sutherland


On Oct 29, 2009, at 5:38 AM, Luca Carlon wrote:


Jan David Hauck  writes:



Referring to the recent discussion on LyX having problems on Snow  
Leopard, I
can state, that the problem solved itself somehow. In fact LyX  
crashed
"really" one time (I think when I accidentally wanted to paste a  
footnote
inside a footnote or something) but after that no more problems  
even with
autosave enabled (and on 3 minutes). I made System Update recently  
maybe

that fixed it. Anybody else resolved it?


I tried to turn off autosave but it seems there is a bug in turning  
it off
(reported). Then I tried to set to 100 minutes the autosave  
interval, so that I
could work without it somehow (seems to me there is a bug there too,  
I had to
restart some times before 100 minutes were actually placed between  
autosavings).
I still get the error message some times, but very rarely. Anyay, I  
suppose the

bug is still there.



The bug is still there.  As far as I know there is not yet a solid fix  
for this.  Bennet had been working on something, but I don't know if  
he has finalized a fix yet...


Re: LyX 1.6.4.1 and Snow Leopard

2009-10-29 Thread rgheck

On 10/29/2009 09:03 AM, James C. Sutherland wrote:


On Oct 29, 2009, at 5:38 AM, Luca Carlon wrote:


Jan David Hauck  writes:



Referring to the recent discussion on LyX having problems on Snow 
Leopard, I

can state, that the problem solved itself somehow. In fact LyX crashed
"really" one time (I think when I accidentally wanted to paste a 
footnote
inside a footnote or something) but after that no more problems even 
with
autosave enabled (and on 3 minutes). I made System Update recently 
maybe

that fixed it. Anybody else resolved it?


I tried to turn off autosave but it seems there is a bug in turning 
it off
(reported). Then I tried to set to 100 minutes the autosave interval, 
so that I
could work without it somehow (seems to me there is a bug there too, 
I had to
restart some times before 100 minutes were actually placed between 
autosavings).
I still get the error message some times, but very rarely. Anyay, I 
suppose the

bug is still there.



The bug is still there.  As far as I know there is not yet a solid fix 
for this.  Bennet had been working on something, but I don't know if 
he has finalized a fix yet...


A fix has been committed: disabling fork() on OSX. We don't know why it 
suddenly stopped working, but it is a limitation of OSX itself.


rh



Beamer: using uncover has not same effect if in block or in itemize

2009-10-29 Thread Matthieu Stigler
Hi

I like to make text appearing on the same line in a second slide using
option uncover.

 While this is working when in enviro block, it is not in enviro
itemize: lyx then adds a new blank line and so text is not shown in
same line. (see code below)

Is this a feature, is there a rationale for having different behaviour
with same action? How can I solve that?

Thanks a lot!!!

Matthieu

\begin{document}

\lyxframeend{}\lyxframe{A small problem}
\begin{block}
{My problem is following}

I want to uncover in blue on same line
\begin{uncoverenv}%{}
<2-> \textcolor{blue}{$\square$~ok it's working}\end{uncoverenv}%{}
\begin{itemize}
\item <{3}->But on a list?

\begin{uncoverenv}%{}
<4-> \textcolor{blue}{$\square$~it's no more on the same line...
Even if looks same on the GUI}
\end{uncoverenv}%{}
\end{itemize}
\end{block}

\pause[5]{}
\begin{alertblock}
{{Error}}

What should I do?
\end{alertblock}

\lyxframeend{}


\lyxframeend{}


Re: LyX 1.6.4.1 and Snow Leopard

2009-10-29 Thread Bruce Pourciau


On Oct 29, 2009, at 9:01 AM, rgheck wrote:


On 10/29/2009 09:03 AM, James C. Sutherland wrote:


On Oct 29, 2009, at 5:38 AM, Luca Carlon wrote:


Jan David Hauck  writes:



Referring to the recent discussion on LyX having problems on Snow
Leopard, I
can state, that the problem solved itself somehow. In fact LyX  
crashed

"really" one time (I think when I accidentally wanted to paste a
footnote
inside a footnote or something) but after that no more problems  
even

with
autosave enabled (and on 3 minutes). I made System Update recently
maybe
that fixed it. Anybody else resolved it?


I tried to turn off autosave but it seems there is a bug in turning
it off
(reported). Then I tried to set to 100 minutes the autosave  
interval,

so that I
could work without it somehow (seems to me there is a bug there too,
I had to
restart some times before 100 minutes were actually placed between
autosavings).
I still get the error message some times, but very rarely. Anyay, I
suppose the
bug is still there.



The bug is still there.  As far as I know there is not yet a solid  
fix

for this.  Bennet had been working on something, but I don't know if
he has finalized a fix yet...

A fix has been committed: disabling fork() on OSX. We don't know why  
it

suddenly stopped working, but it is a limitation of OSX itself.

rh



What about earlier versions, 1.6.3 for example, and snow leopard?

Bruce


tufte-handout.layout outdated

2009-10-29 Thread Joachim Osnabryg

Big problem for me, but also for the next release of LyX:

tufte-book.layout - works well,
tufte-handout.layout doesn't work with actual release of Tufte (2009 May  
17)


Please watch, Uwe, Jürgen
 & all Tufte-interested LyX-Developer & User:

While the new tufte-book.layout, created by Uwe Stöhr

- http://wiki.lyx.org/Layouts/Tufte-book => "Tufte-book proposal … for the  
layout file where less ERT needs to be used" -


works well with the the actual release of tufte-latex  
(http://code.google.com/p/tufte-latex/downloads/list) the vanguard  
tufte-handout.layout, produced kindly by Jürgen Spitzmüller almost one  
year ago

=> http://wiki.lyx.org/Layouts/Tufte-handout,
does no longer work well with the actual release of tufte-handout.cls (and  
tufte-common.sty). There are uncountable latex errors with it and Lyx  
refuses to offer the pdf-latex view. Though in the the tmp dir I find one,  
more or less usable on my superficial look, but: without the bibliography  
and citations.


Am 27.10.2009, 23:58 Uhr, schrieb Uwe Stöhr in the thread "Tufte-book  
Layout File":

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 did it and reported enthused success.

But when I then started to work again with my numerous tufte-handout  
LyX-files, produced until no: not one is processed well any more.


Obviously the LyX tufte-handout.layout is outdated!
I don't wonder about that: as I have seen, the Tufte-LateX developers have  
changed to put the main processing into a tufte-common.sty file (in  
future: -.def) and only some special cls-commands in both …book.cls and  
…handout.cls. But I am not able to produce a new LyX-layout for handout.


What shall I do now? Hope I can reestablish the old "depreciated"  
tufte-handout.cls from 2008 may (or november at the latest) to be able to  
run my produced and make new ones in LyX (I had backed-up the old  
handout.cls).


Or, given that the tufte-book.layout »will be included in the next LyX  
version«, may I hope that a new tufte-handout.layout will be made? Jürgen  
Spitzmüller produced the old one in a fly in the train …


joachim
--
MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.3
MacBook Pro OSX 10.4.11 Tiger (intel)
Opera 9.64 -  Newsreader



Re: tufte-handout.layout outdated

2009-10-29 Thread Uwe Stöhr

Joachim Osnabryg schrieb:


Big problem for me, but also for the next release of LyX:

tufte-book.layout - works well,
tufte-handout.layout doesn't work with actual release of Tufte (2009 May 
17)


The next version doesn't use this layout file version but this one:
http://www.lyx.org/trac/export/31790/lyx-devel/branches/BRANCH_1_6_X/lib/layouts/tufte-handout.layout

Can you please test it out? (To get it work you need to have my tufte-book.layout file is the same 
folder as the tufte-handout.layout.)


thanks in advance and regards
Uwe


Forcing a certain amount of lines after a heading

2009-10-29 Thread Miguel Rubio-Roy
Hi all,

  Is there any way of forcing a certain number of lines after a heading
without a pagebreak? Sometimes I have a heading clos to the bottom of a
page, and followed by a two-line paragraph, and I get a pagebreak after the
two-lines, but that is too close to the bottom.

Thanks

Miguel


BigFoot Package

2009-10-29 Thread rgheck


Further to comments the other day, attached is a package that implements 
some simple functionality of the bigfoot package. It seems to work for 
my purposes. Unfortunately, in developing it, I realized that we do not 
yet have counters for custom insets. So this will have to be on the 
radar for 1.7.


Richard

#\DeclareLyXModule{Bigfoot}
#DescriptionBegin
#Adds some additional footnote insets. Based upon the bigfoot package.
#DescriptionEnd

Format 11

InsetLayout Custom:FootnoteRoman
LyXType custom
LatexName   footnoteR
LatexType   command
Decoration  classic
Font
SizeSmall
EndFont
MultiPartrue
LabelString "Roman Note"
Preamble
\usepackage{bigfoot}
\DeclareNewFootnote{R}[roman]
\MakeSorted{footnoteR}
EndPreamble
End

InsetLayout Custom:FootnoteAlph
CopyStyle   Custom:FootnoteRoman
Decoration  classic
LatexName   footnoteA
LabelString "Alpha Note"
Preamble
\usepackage{bigfoot}
\DeclareNewFootnote{A}[alph]
\MakeSorted{footnoteA}
EndPreamble
End


Re: Forcing a certain amount of lines after a heading

2009-10-29 Thread Yago
You can use the command \enlargethispage{\baselineskip} to make the page one 
more line longer or any other length in the command argument. But see the 
documentation. See also the documentation of addlines package.
- Original Message - 
From: "Miguel Rubio-Roy" 

To: 
Sent: Thursday, October 29, 2009 8:27 PM
Subject: Forcing a certain amount of lines after a heading



Hi all,

 Is there any way of forcing a certain number of lines after a heading
without a pagebreak? Sometimes I have a heading clos to the bottom of a
page, and followed by a two-line paragraph, and I get a pagebreak after 
the

two-lines, but that is too close to the bottom.

Thanks

Miguel





Re: BigFoot Package

2009-10-29 Thread Joachim Osnabryg

Am 29.10.2009, 23:17 Uhr, schrieb rgheck:>

Further to comments the other day, attached is a package that implements
some simple functionality of the bigfoot package. It seems to work for
my purposes. Unfortunately, in developing it, I realized that we do not
yet have counters for custom insets. So this will have to be on the
radar for 1.7.


Very good, but anyway, what possibilities is it for? Already now?

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



Re: Forcing a certain amount of lines after a heading

2009-10-29 Thread Miguel Rubio-Roy
Yago  writes:
> You can use the command \enlargethispage{\baselineskip} to make the page one 
> more line longer or any other length in the command argument. But see the 
> documentation. See also the documentation of addlines package.

Hi Yago,
  I had already read about that command. The problem is I don't know which pages
I want to enlarge. I mean, if later on I add text before such heading, it could
jump to the following page, making the command unnecessary. I would prefer a
document-wide solution that just avoids this kind of situations.

Thanks

Miguel



Re: tufte-handout.layout outdated

2009-10-29 Thread Joachim Osnabryg

Am 29.10.2009, 17:31 Uhr, schrieb Uwe Stöhr:

The next version doesn't use this layout file version but this one:
http://www.lyx.org/trac/export/31790/lyx-devel/branches/BRANCH_1_6_X/lib/layouts/tufte-handout.layout


very fine!

Can you please test it out? (To get it work you need to have my  
tufte-book.layout file is the same folder as the tufte-handout.layout.)


Already done. Just to give you a first response:

Your new handout layout file works more or less with the original  
sample-handout.lyx (provided once with Jürgen's old tufte-handout.layout  
on http://wiki.lyx.org/Layouts/Tufte-handout).


More or less, because some formatations - as »newthought«, »ALL CAPS«,  
»FULL CAPITAL LETTERS, and »SmallCaps« {character style  
(Edit->TextStyle->SmallCaps)} are marked red and partly as "undefined" in  
the LyX window already and appeare in normal character stile in the  
produced pdf.


But:
With my self-produced LyX-files on basis of the old tufte-handout.cls and  
-.layout your new .layout unfortunately does not work yet, but I have to  
test it further with faked ones, because in the real ones I have some  
additions in the preamble (and special formatations within the documents)  
which might be excluded already in the new tufte-handout.cls (and  
-common.sty) and not because of your new .layout file.


The problem is, that I have to exchange everytime the files in  
LyX1.6/layouts and ~/Library/texmf/tex/latex/tufte-latex/ to test it,  
continuing with my work on my existing LyX files on basis of the old  
handout cls and layout. But I will try out more.


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



Re: tufte-handout.layout outdated

2009-10-29 Thread Uwe Stöhr

Joachim Osnabryg schrieb:

Can you please test it out? (To get it work you need to have my 
tufte-book.layout file is the same folder as the tufte-handout.layout.)


Already done. Just to give you a first response:

Your new handout layout file works more or less with the original 
sample-handout.lyx (provided once with Jürgen's old tufte-handout.layout 
on http://wiki.lyx.org/Layouts/Tufte-handout).


More or less, because some formatations - as »newthought«, »ALL CAPS«, 
»FULL CAPITAL LETTERS, and »SmallCaps« {character style 
(Edit->TextStyle->SmallCaps)} are marked red and partly as "undefined" 
in the LyX window already and appeare in normal character stile in the 
produced pdf.


This is because the new layout file is incompatible with the old one. One reason is to overcome the 
problems you noticed with the old version. Another one is to have one basic layout for both tufte 
document classes. (The handout call is basically the same as the book class with only a few changes.)


To make LyX files created with the old layout work, you need to open the LyX file with a text editor 
and replace

- "CharStyle:SmallCaps" with "SmallCaps"
- "CharStyle:AllCaps" with AllCaps
- "CharStyle:NewThought" with "NewThought"

All future versions of the layout file will be compatible with the current 
layout.

Btw. there is of course also an actual example file:
http://www.lyx.org/trac/export/31798/lyx-devel/branches/BRANCH_1_6_X/lib/examples/tufte-handout.lyx

regards Uwe