Re: How to insert ERT before first list item

2020-10-13 Thread Richard Kimberly Heck
On 10/13/20 4:42 PM, Paul A. Rubin wrote:
> On 10/13/20 1:46 PM, Sanford Shieh wrote:
>>
>> Hi all,
>>
>>  
>>
>> I’m trying to implement resuming enumerate in Beamer following the
>> solution
>> https://tex.stackexchange.com/questions/55000/continuing-enumerate-counters-in-beamer.
>>  
>> This requires the following:
>>
>>  
>>
>> \begin{enumerate}
>>
>>     \conti
>>
>>   \item zip
>>
>> …
>>
>>  
>>
>> In LyX if I put \conti in ERT in the first item, the command appears
>> after \item, and nothing happens.  One thing that worked is to make
>> the first list item \conti in ERT together with a blank Custom Item. 
>> The actual LaTeX, seen in the Preview panel, is \item[] \conti
>>
>>  
>>
>> My question is: is this the only hack available?  Or is there some
>> method in LyX of reproducing the LaTeX above analogous to inserting a
>> Mini Template?
>>
>>  
>>
>> Thanks,
>>
>> Sanford
>>
>>
> Assuming you are creating either a Beamer presentation or a Beamer
> article, you can add the "Beamer Resumable Enumerate" module by Jürgen
> Spitmüller. It adds a list type called "Enumerate-Resume" that
> magically picks up numbering where the previous enumeration left off.
> (In the GUI, it will look as if the numbering started over with 1, but
> in the compiled document it will continue with the previous enumeration.)
>
> For reasons that elude me, it is not shipped with LyX, but you can
> grab it from Jürgen's web site:
> http://www.spitzmueller.org/tools/lyx/beamer-resenumerate.module.

Just FYI, 2.4 will also add a "List Preamble" optional argument that
precisely allows for the insertion of code before the first item. This
can't be backported to 2.3.x, unfortunately.

Riki


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to insert ERT before first list item

2020-10-13 Thread Paul A. Rubin

On 10/13/20 1:46 PM, Sanford Shieh wrote:


Hi all,

I’m trying to implement resuming enumerate in Beamer following the 
solution 
https://tex.stackexchange.com/questions/55000/continuing-enumerate-counters-in-beamer. 
This requires the following:


\begin{enumerate}

    \conti

  \item zip

…

In LyX if I put \conti in ERT in the first item, the command appears 
after \item, and nothing happens.  One thing that worked is to make 
the first list item \conti in ERT together with a blank Custom Item.  
The actual LaTeX, seen in the Preview panel, is \item[] \conti


My question is: is this the only hack available?  Or is there some 
method in LyX of reproducing the LaTeX above analogous to inserting a 
Mini Template?


Thanks,

Sanford


Assuming you are creating either a Beamer presentation or a Beamer 
article, you can add the "Beamer Resumable Enumerate" module by Jürgen 
Spitmüller. It adds a list type called "Enumerate-Resume" that magically 
picks up numbering where the previous enumeration left off. (In the GUI, 
it will look as if the numbering started over with 1, but in the 
compiled document it will continue with the previous enumeration.)


For reasons that elude me, it is not shipped with LyX, but you can grab 
it from Jürgen's web site: 
http://www.spitzmueller.org/tools/lyx/beamer-resenumerate.module.


Paul

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


How to insert ERT before first list item

2020-10-13 Thread Sanford Shieh
Hi all,

I'm trying to implement resuming enumerate in Beamer following the solution 
https://tex.stackexchange.com/questions/55000/continuing-enumerate-counters-in-beamer.
  This requires the following:

\begin{enumerate}
\conti
  \item zip
...

In LyX if I put \conti in ERT in the first item, the command appears after 
\item, and nothing happens.  One thing that worked is to make the first list 
item \conti in ERT together with a blank Custom Item.  The actual LaTeX, seen 
in the Preview panel, is \item[] \conti

My question is: is this the only hack available?  Or is there some method in 
LyX of reproducing the LaTeX above analogous to inserting a Mini Template?

Thanks,
Sanford

Sanford Shieh
Professor
Department of Philosophy
Wesleyan University
350 High Street
Middletown, CT 06459
USA
+1 860 685 3646
sanford.sh...@wesleyan.edu
Most recent book: Necessity Lost: Modality and Logic in Early Analytic 
Philosophy, volume 
1
Reviews editor, Journal for the History of Analytical 
Philosophy
Secretary, Society for the Study of the History of Analytical 
Philosophy
Follow me on Academia and 
ResearchGate

-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Fw: Re: Problems with LyX

2020-10-13 Thread Dr Eberhard Lisse
Ah,

that would be cause I have the font installed which you don't (or your
LyX doesn't know about :-)-O

el

On 12/10/2020 13:21, Baris Erkus wrote:
[...]

> 14:07:56.575: pdflatex "Farbrahmen.tex"LaTeXFonts.cpp (528):
> LaTeXFonts::getLaTeXFont: font 'mathpazo' not found!

[...]

> I have compiled the tex file with LaTeX directly and no issues at all.
> So probably this is something related to LyX. Do you have similar
> messages?


-- 
If you want to email me, replace nospam with el


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users