LaTeX Error: Environment cBoxD undefined.

2018-02-21 Thread Lloyd R. Prentice

Hello,

I'm attempting to format code listings in a shaded box.  The heading 
would look like "Listing CN.LN Example code," CN is chapter number, LN 
is listing number, and "Example code" is in italic. I also need to 
highlight code fragments in bold.


It looks like the tcolorbox package can do what I need. But when I 
attempt to use it and compile to PDF I get an error.


Can some kind soul show the way to success?

Here's what I have so far:

Document class: KOMA Script Book
Module: Fancy Colored Boxes

Lyx source code:

% Preview source code

%% LyX 2.2.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[oneside,english]{scrbook}
\usepackage[T1]{fontenc}
\usepackage[latin9]{luainputenc}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{tcolorbox}
\usepackage{babel}
\begin{document}
\begin{cBoxD}{}
The quick brown fox
\end{cBoxD}

\end{document}

Error:

 \begin{cBoxD}
  {}
Your command was ignored.
Type  Ito replace it with another command,
orto continue without it.

All the best,

Lloyd R. Prentice
Writersglen Publications





Book templates in lyx

2018-02-21 Thread lloyd

Hello,
 
I'm perplexed and concerned.
 
I've typeset several of my books in lyx using the memoir book package.
 
But now, on a new computer and fresh install of lyx I can't find a single book 
package in settings and somewhere in the somewhat confusing help pages find a 
note that memoir is broken and one should use caution using it.
 
What gives? What's changed?
 
Best wishes,
 
LRP
Writersglen Publications
 
 
*
My books:

THE GOSPEL OF ASHES
http://thegospelofashes.com

Strength is not enough. Do they have the courage 
and the cunning? Can they survive long enough to 
save the lives of millions? 

FREEIN' PANCHO
http://freeinpancho.com

A community of misfits help a troubled boy find his way 

AYA TAKEO
http://ayatakeo.com

Star-crossed love, war and power in an alternative 
universe

Available through Amazon or by request from your 
favorite bookstore


**

Re: Book templates in lyx

2018-02-21 Thread Rich Shepard

On Wed, 21 Feb 2018, ll...@writersglen.com wrote:


But now, on a new computer and fresh install of lyx I can't find a single
book package in settings and somewhere in the somewhat confusing help
pages find a note that memoir is broken and one should use caution using
it.

What gives? What's changed?


LRP,

  What is your OS and version of LyX? Do you have memoir.sty installed?

  On my Slackware-14.2 systems, all running LyX-2.2.3 there are multiple
book classes, including memoir, listed under Settings -> Document class.

Rich


Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1

2018-02-21 Thread Pavel Sanda
Dr Eberhard Lisse wrote:
> \rcsid{$Id: handbook.lyx,v 1.11 2017/08/12 18:20:59 el Exp $}
> 
> \newcommand{\versionstring}{v\rcsfilerev,
> \rcsfileyear-\rcsfilemonth-\rcsfileday}
> 
> suitable for preamble and/or ERT, page styles or watermarks.

Do you know you can do such things natively in LyX?
Version Control Toolbar->Insert Version Info and the select what you want
in context menu.

Pavel


Re: Small poll - download speed of LyX installers

2018-02-21 Thread Cris Fuhrman
On Fri, Feb 16, 2018 at 11:20 AM, Pavel Sanda  wrote:

> 1. time to download (/ download speed)
>

I'm using Chrome on Windows at my university which has a pretty fast
connexion normally. However, it's telling me 40 minutes left (pretty
consistent time, not going to wait for it to finish, however).


> 2. country (and/or domain) where you download from
>

Montreal, Quebec, Canada.


> 3. whether you download from home/academic network/large company...
> (you don't have to report more details than it feels comfortable...)
>

ETSMTL.CA is the domain. It's my university.


>
> Both good and bad answers matter, we want to know whether this is sporadic
> or widespread problem.
>
> In case your download of the link above is more than couple seconds, it
> would
> be useful if you also reported whether some of the mirror servers listed at
> http://www.lyx.org/Download#toc11 which are closer to your geographical
> location perform better.
>

The mirror at ftp://ftp.ucsd.edu/LyX/devel/lyx-2.3/lyx-2.3.0rc2/ indicates
4 minutes (consistently, but the other download is ongoing).

Cheers!

C. Fuhrman


Re: older lyx file (around 2009) gives error in lyx2.3.0beta1

2018-02-21 Thread Jürgen Spitzmüller
Am Mittwoch, den 21.02.2018, 16:13 +0100 schrieb Wolfgang Engelmann:
> very good! Thanks a lot, Jürgen! The minibuffer goes where?

Alt+x

Jürgen


> Wolfgang
> > HTH
> > Jürgen
> > 
> > > Wolfgang
> 
> 

signature.asc
Description: This is a digitally signed message part


Re: older lyx file (around 2009) gives error in lyx2.3.0beta1

2018-02-21 Thread Wolfgang Engelmann



Am 21.02.2018 um 16:04 schrieb Jürgen Spitzmüller:

Am Mittwoch, den 21.02.2018, 15:56 +0100 schrieb Wolfgang Engelmann:

I could send a presentation with those curled arrows (tomorrow, if
wanted). They can not be cut  and pasted, otherwise one might be
able
to find out the coding and use a replacement.

Note that in many cases, the separator insertion is intended to
maintain the output of old documents.


I have attached a lyx file which shows (only) the bend arrow. If
looked
at the file with an editor it shows for the body part:

\begin_body
\begin_layout Standard
\begin_inset Separator latexpar
\end_inset
\end_layout
\begin_layout Standard
\end_layout
\end_body
\end_document

The bend arrow in the lyx display corresponds to
\begin_inset Separator latexpar
as found out by the gurus.

My question is, whether it is safe for a large document (e.g. books)
to
open the lyx file with an editor, remove begin_inset Separator, save
it
and run lyx again, hopefully successfully. However, the  latexpar
should
also be removed, and this can also be something else (the bend
arrows
occur also in a legend, at the end of chapters, sections etc). So it
should be removed in some more eleborate way (SED??). Or is there a
better way?
It would save a lot of time instead of removing those separator
beasts
by hand, if I need older lyx files for the newer lyx versions.

The following command sequence (to be inserted in the minibuffer)
removes all latexpar separators in the document and transforms the par
separator to normal separators:

command-sequence inset-forall Separator:parbreak inset-modify separator
plain ; inset-forall Separator:latexpar char-delete-forward

very good! Thanks a lot, Jürgen! The minibuffer goes where?
Wolfgang

HTH
Jürgen


Wolfgang




Re: older lyx file (around 2009) gives error in lyx2.3.0beta1

2018-02-21 Thread Jürgen Spitzmüller
Am Mittwoch, den 21.02.2018, 15:56 +0100 schrieb Wolfgang Engelmann:
> > I could send a presentation with those curled arrows (tomorrow, if 
> > wanted). They can not be cut  and pasted, otherwise one might be
> > able 
> > to find out the coding and use a replacement.

Note that in many cases, the separator insertion is intended to
maintain the output of old documents.

> I have attached a lyx file which shows (only) the bend arrow. If
> looked 
> at the file with an editor it shows for the body part:
> 
> \begin_body
> \begin_layout Standard
> \begin_inset Separator latexpar
> \end_inset
> \end_layout
> \begin_layout Standard
> \end_layout
> \end_body
> \end_document
> 
> The bend arrow in the lyx display corresponds to
> \begin_inset Separator latexpar
> as found out by the gurus.
> 
> My question is, whether it is safe for a large document (e.g. books)
> to
> open the lyx file with an editor, remove begin_inset Separator, save
> it 
> and run lyx again, hopefully successfully. However, the  latexpar
> should 
> also be removed, and this can also be something else (the bend
> arrows 
> occur also in a legend, at the end of chapters, sections etc). So it 
> should be removed in some more eleborate way (SED??). Or is there a 
> better way?
> It would save a lot of time instead of removing those separator
> beasts 
> by hand, if I need older lyx files for the newer lyx versions.

The following command sequence (to be inserted in the minibuffer)
removes all latexpar separators in the document and transforms the par
separator to normal separators:

command-sequence inset-forall Separator:parbreak inset-modify separator
plain ; inset-forall Separator:latexpar char-delete-forward

HTH
Jürgen

> 
> Wolfgang

signature.asc
Description: This is a digitally signed message part


Re: older lyx file (around 2009) gives error in lyx2.3.0beta1

2018-02-21 Thread Wolfgang Engelmann



Am 20.02.2018 um 18:37 schrieb Wolfgang Engelmann:



Am 20.02.2018 um 17:57 schrieb Guenter Milde:

On 2018-02-20, Dr Eberhard Lisse wrote:

I found masses of these when switching to 2.2 (I think) and I resolved
this with a perl script if I remember correctly :-)-O
Do you still have the originals? This could help us a lot to test 
whether

the fix is correct.

Günter

I could send a presentation with those curled arrows (tomorrow, if 
wanted). They can not be cut  and pasted, otherwise one might be able 
to find out the coding and use a replacement.
I have attached a lyx file which shows (only) the bend arrow. If looked 
at the file with an editor it shows for the body part:


\begin_body
\begin_layout Standard
\begin_inset Separator latexpar
\end_inset
\end_layout
\begin_layout Standard
\end_layout
\end_body
\end_document

The bend arrow in the lyx display corresponds to
\begin_inset Separator latexpar
as found out by the gurus.

My question is, whether it is safe for a large document (e.g. books) to
open the lyx file with an editor, remove begin_inset Separator, save it 
and run lyx again, hopefully successfully. However, the  latexpar should 
also be removed, and this can also be something else (the bend arrows 
occur also in a legend, at the end of chapters, sections etc). So it 
should be removed in some more eleborate way (SED??). Or is there a 
better way?
It would save a lot of time instead of removing those separator beasts 
by hand, if I need older lyx files for the newer lyx versions.


Wolfgang


TEST-bendArrow-A.22.lyx
Description: application/lyx


Probleme bei der Erstellung einer PDF

2018-02-21 Thread Tobias Malterer
Sehr geehrtes LYX Team,


Leider kann ich seit neustem keine PDF Datei erstellen, da diese Fehlermeldung 
erscheint.

Ich verwende die LYX-Version 2.2 und habe diese heute neu installiert, da der 
Fehler aufgetreten ist.

Vor der Installation habe ich MikTex und LYX komplett deinstalliert.


[cid:788c551a-18a5-46f1-bc87-522a97e15ef6]



Vielen Dank im Voraus,


Mit freundlichen Grüße

Tobias



Re: Problem: version control suddenly no longer works in LyX 2.2 and 2.3rc1

2018-02-21 Thread Dr Eberhard Lisse
As I wrote,

for collaboration RCS is not good enough and I would also not use it.

Whether to use GIT or SVN, I defer to the experts and if GIT is
supported out of the box, so be it :-)-O

But, for my own use on the Mac with Time Machine and Unison (to
synchronize my machines at home and work) RCS is all I need.

el

On 21/02/2018 02:35, Steve Litt wrote:
> On Tue, 20 Feb 2018 14:12:01 -0800 (PST) Rich Shepard
>  wrote:
> 
>> On Wed, 21 Feb 2018, Dr Eberhard Lisse wrote:
>>
>>> Maybe one can take the time to look at one of the already existing
>>> converters from RCS (CVS?) to SVN/GIT or whatever else LyX can
>>> handle, but to be honest, why bother?
>>
>> el,
>>
>>Even as a single user I've found git better suited to my needs
>>than svn.  Shrug.
>>
>> Regards,
>>
>> Rich
> 
> Git's the bomb.  If you're having your editor review your LyX doc,
> there could be two special paragraph styles that doesn't show up on
> the PDF: Query and Answer: Your editor queries you why you don't do
> something different, and you either answer "Agreed", or you say why
> you think it should stand.  The discussion might go another couple
> rounds.  If you both push and pull from the same Git repo, then you
> have a history of the whole thing, and a very easy way to collaborate.
> 
> SteveT
>