Re: How to add/change/delete styles, the new way?

2018-03-05 Thread Richard Heck
On 03/05/2018 09:51 PM, Steve Litt wrote:
> Hi all,
>
> I've used LyX since 2001 so I got used to adding, changing and deleting
> environments and paragraph styles by using a separate layout file to
> create a new document class based on the document class I want to
> modify (typically Book). It works.
>
> But now I'm presenting Linux Content Editing at GoLUG, LyX is a part of
> it, and I'd like to present the newer method of adding, changing and
> deleting styles (environments and paragraph styles). I forgot what that
> new way was, how to use it, and where to learn about it. Could you
> refresh my memory?

There are two options.

One: Use a "module". Think:
    LyX layouts are to LaTeX document classes as LyX modules are to
LaTeX packages
I.e., modules are for alterations, new features, etc, that are not
document-specific but aren't worth a full new document class. You can do
anything in a module you can do in a layout file. They're dynamic
includes, if you like.

User modules should go into $USERDIR/layouts/, and have the extension
".module". You need to reconfigure LyX after adding a new one in order
to see it under Document> Settings> Modules. Note that you can edit
these without restarting if you use the (officially discouraged) LFUN
"layout-reload" in the minibuffer to, uh, reload. (I added that for you.)

Two: Use "Local Layout", which you will find under Document> Settings.
This is for layout informatios really is document-specific. Say, you
need a character style, but really only for this document. Then put that
into Local Layout. These are reloaded every time you edit, so they can
be 'worked on' live. But maybe not on a production document?

The syntax is the same in both cases. See Chapter 5 of the Customization
manual for all the details.

Richard



How to add/change/delete styles, the new way?

2018-03-05 Thread Steve Litt
Hi all,

I've used LyX since 2001 so I got used to adding, changing and deleting
environments and paragraph styles by using a separate layout file to
create a new document class based on the document class I want to
modify (typically Book). It works.

But now I'm presenting Linux Content Editing at GoLUG, LyX is a part of
it, and I'd like to present the newer method of adding, changing and
deleting styles (environments and paragraph styles). I forgot what that
new way was, how to use it, and where to learn about it. Could you
refresh my memory?
 
SteveT


Re: AW: AW: Problem with lyx-archiv (zip)

2018-03-05 Thread Richard Heck
On 03/05/2018 11:21 AM, a...@andreashegenbart.de wrote:
>
>> -Ursprüngliche Nachricht-
>> Von: lyx-users@lists.lyx.org  Im Auftrag von Kornel
>> Benko
>> Gesendet: Montag, 5. März 2018 16:04
>> An: lyx-users@lists.lyx.org
>> Betreff: Re: AW: Problem with lyx-archiv (zip)
>>
>> Am Montag, 5. März 2018 15:22:21 CET schrieb a...@andreashegenbart.de:
>>> I´ve to correct the file name - it was:
>>>
>>> “python -tt $Ss/scripts/lyxpak.py”
>> Should have been
>>  python -tt $$s/scripts/lyxpak.py” something This is the converter lyx 
>> -->
>> lyxgz
>>
>> You are probably missing some needed programs like 'gzip'; At least, this is 
>> used
>> on linux.
>>
>>  Kornel
> Thanks Kornel,
> I first used winzip; now I installes gzip, reconfigured Lyx,  but the problem 
> remains.

Can you post the full error message?

Richard



AW: AW: Problem with lyx-archiv (zip)

2018-03-05 Thread ah


> -Ursprüngliche Nachricht-
> Von: lyx-users@lists.lyx.org  Im Auftrag von Kornel
> Benko
> Gesendet: Montag, 5. März 2018 16:04
> An: lyx-users@lists.lyx.org
> Betreff: Re: AW: Problem with lyx-archiv (zip)
> 
> Am Montag, 5. März 2018 15:22:21 CET schrieb a...@andreashegenbart.de:
> > I´ve to correct the file name - it was:
> >
> > “python -tt $Ss/scripts/lyxpak.py”
> 
> Should have been
>   python -tt $$s/scripts/lyxpak.py” something This is the converter lyx 
> -->
> lyxgz
> 
> You are probably missing some needed programs like 'gzip'; At least, this is 
> used
> on linux.
> 
>   Kornel

Thanks Kornel,
I first used winzip; now I installes gzip, reconfigured Lyx,  but the problem 
remains.
Best Andreas




Re: AW: Problem with lyx-archiv (zip)

2018-03-05 Thread Kornel Benko
Am Montag, 5. März 2018 15:22:21 CET schrieb a...@andreashegenbart.de:
> I´ve to correct the file name - it was: 
> 
> “python -tt $Ss/scripts/lyxpak.py”

Should have been
python -tt $$s/scripts/lyxpak.py” something
This is the converter lyx --> lyxgz

You are probably missing some needed programs like 'gzip';
At least, this is used on linux.

Kornel

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


AW: Problem with lyx-archiv (zip)

2018-03-05 Thread ah
I´ve to correct the file name - it was: 

“python -tt $Ss/scripts/lyxpak.py”

 

 

Lyx 2.3, windows 7, texlive 2017

 

Von: a...@andreashegenbart.de 
 > 
Gesendet: Montag, 5. März 2018 12:48
An: lyx-users@lists.lyx.org  
Betreff: Problem with lyx-archiv (zip)

 

Dear lyx-user

 

in archiving a lyx-file, I got the error message in:

 

python -tt $Ss/scripts/lyxpak.py

 

How can I solve this problem?

 

Best

 

Andreas 



AW: Problem with lyx-archiv (zip)

2018-03-05 Thread ah
Lyx 2.3, windows 7, texlive 2017

 

Von: a...@andreashegenbart.de  
Gesendet: Montag, 5. März 2018 12:48
An: lyx-users@lists.lyx.org
Betreff: Problem with lyx-archiv (zip)

 

Dear lyx-user

 

in archiving a lyx-file, I got the error message in:

 

python -tt $Ss/scripts~yxpak.Py

 

How can I solve this problem?

 

Best

 

Andreas 



Problem with lyx-archiv (zip)

2018-03-05 Thread ah
Dear lyx-user

 

in archiving a lyx-file, I got the error message in:

 

python -tt $Ss/scripts~yxpak.Py

 

How can I solve this problem?

 

Best

 

Andreas 



Re: Windows users: can you test the 2.3.0 installer?

2018-03-05 Thread Uwe Stöhr

Am 05.03.2018 um 10:57 schrieb Emile Lunardon:

This time, the usual way of repairing Miktex by an upgrade didn't work: 
So the things are going reallv worse !


No problem, everything is fine now. All you have to do is to install LyX 
using version 3 of the installer. Please don't manually fiddle around 
with MiKTeX updates before installing.


After you installed LyX MiKTeX works fine as it should and you will get 
a PDF of the LyX UserGuide. If you afterwards run MiKTeX update manually 
id you cannot get a PDF, please report back.


regards Uwe


Re: Windows users: can you test the 2.3.0 installer?

2018-03-05 Thread Uwe Stöhr

Am 05.03.2018 um 10:41 schrieb Emile Lunardon:

> This new bundle (v3) for LyX2.3  imposes *without giving the 
possibility to decline the offer,* the update of Miktex. Is it really 
what is wanted ?


Yes, because otherwise you can get this:

I have no idea what has been updated, but what's for sure is that the 
compilations with LyX don't work anymore now ! (messsage : pdflatex 
program ended with error).


There is a bug in MiKTeX that causes to break LaTeX completely in some 
cases. The new Win installer includes a workaround from the MiKTeX 
developer.


Installing LyX again using the new installer should fix your broken MiKTeX

However, I asked you to check if you get a virus warning when installing 
only MiKTeX? If yes, this could explain the false positive for the LyX 
installer because the bundle installer extracts the mikxtex installer 
even if miktex doesn't need to be installed. (The miktex installer will 
unnecessary deleted afterwards.)


regards Uwe


Re: Windows users: can you test the 2.3.0 installer?

2018-03-05 Thread Emile Lunardon
This time, the usual way of repairing Miktex by an upgrade didn't work:
"Sorry, but something went wrong : Invalid argument: path= "C:\Program
Data\ ".

So the things are going reallv  worse !

2018-03-05 10:41 GMT+01:00 Emile Lunardon :

> To test this new installation program, I let the Miktex update run. I have
> no idea what has been updated, but what's for sure is that the compilations
> with LyX don't work anymore now ! (messsage : pdflatex program ended with
> error).
> I did not disable the "Windows defender" antivirus for this installation,
> but it was found in a previous trial that this did not affect the problem.
>
> 2018-03-05 10:18 GMT+01:00 Emile Lunardon :
>
>> This new bundle (v3) for LyX2.3  imposes *without giving the possibility
>> to decline the offer,* the update of Miktex. Is it really what is wanted
>> ? For all the previous bundle version there was the possibility to refuse
>> this update and so to use Miktex as it is.
>>
>> 2018-03-04 16:13 GMT+01:00 Uwe Stöhr :
>>
>>> Am 04.03.2018 um 06:50 schrieb Emile Lunardon:
>>>
>>> On Sat, Mar 03, 2018 at 06:14:33AM +, Emile Lunardon wrote:
 > I managed to have a successfull installation with the installer
 version of
 > LyX2.3, keeping the anti-virus «Windows Defender» active. So the
 problem is
 > well linked to the bundle and its interaction with Miktex 2.9.

>>>
>>> This cannot be. The bundle installer does exactly the same as the small
>>> installer. Only if no LaTeX is found it installs MiKTeX. Since you had
>>> MiKTeX installed there cannot be a difference. The configuration of MiKTeX
>>> is always the same.
>>> We cannot do anything if virus programs detect false positives.
>>>
>>> Nevertheless, I created a new installer that should avoid the LaTeX
>>> problems reported by some users:
>>> http://ftp.lyx.de/LyXWinInstaller/LyX2.3.0/
>>>
>>> Please test and report back also if your virus software (update its
>>> virus definitions before) again finds something.
>>>
>>> regards Uwe
>>>
>>
>>
>


Re: Windows users: can you test the 2.3.0 installer?

2018-03-05 Thread Emile Lunardon
To test this new installation program, I let the Miktex update run. I have
no idea what has been updated, but what's for sure is that the compilations
with LyX don't work anymore now ! (messsage : pdflatex program ended with
error).
I did not disable the "Windows defender" antivirus for this installation,
but it was found in a previous trial that this did not affect the problem.

2018-03-05 10:18 GMT+01:00 Emile Lunardon :

> This new bundle (v3) for LyX2.3  imposes *without giving the possibility
> to decline the offer,* the update of Miktex. Is it really what is wanted
> ? For all the previous bundle version there was the possibility to refuse
> this update and so to use Miktex as it is.
>
> 2018-03-04 16:13 GMT+01:00 Uwe Stöhr :
>
>> Am 04.03.2018 um 06:50 schrieb Emile Lunardon:
>>
>> On Sat, Mar 03, 2018 at 06:14:33AM +, Emile Lunardon wrote:
>>> > I managed to have a successfull installation with the installer
>>> version of
>>> > LyX2.3, keeping the anti-virus «Windows Defender» active. So the
>>> problem is
>>> > well linked to the bundle and its interaction with Miktex 2.9.
>>>
>>
>> This cannot be. The bundle installer does exactly the same as the small
>> installer. Only if no LaTeX is found it installs MiKTeX. Since you had
>> MiKTeX installed there cannot be a difference. The configuration of MiKTeX
>> is always the same.
>> We cannot do anything if virus programs detect false positives.
>>
>> Nevertheless, I created a new installer that should avoid the LaTeX
>> problems reported by some users:
>> http://ftp.lyx.de/LyXWinInstaller/LyX2.3.0/
>>
>> Please test and report back also if your virus software (update its virus
>> definitions before) again finds something.
>>
>> regards Uwe
>>
>
>


Re: Windows users: can you test the 2.3.0 installer?

2018-03-05 Thread Emile Lunardon
This new bundle (v3) for LyX2.3  imposes *without giving the possibility to
decline the offer,* the update of Miktex. Is it really what is wanted ? For
all the previous bundle version there was the possibility to refuse this
update and so to use Miktex as it is.

2018-03-04 16:13 GMT+01:00 Uwe Stöhr :

> Am 04.03.2018 um 06:50 schrieb Emile Lunardon:
>
> On Sat, Mar 03, 2018 at 06:14:33AM +, Emile Lunardon wrote:
>> > I managed to have a successfull installation with the installer
>> version of
>> > LyX2.3, keeping the anti-virus «Windows Defender» active. So the
>> problem is
>> > well linked to the bundle and its interaction with Miktex 2.9.
>>
>
> This cannot be. The bundle installer does exactly the same as the small
> installer. Only if no LaTeX is found it installs MiKTeX. Since you had
> MiKTeX installed there cannot be a difference. The configuration of MiKTeX
> is always the same.
> We cannot do anything if virus programs detect false positives.
>
> Nevertheless, I created a new installer that should avoid the LaTeX
> problems reported by some users:
> http://ftp.lyx.de/LyXWinInstaller/LyX2.3.0/
>
> Please test and report back also if your virus software (update its virus
> definitions before) again finds something.
>
> regards Uwe
>