How to insert dots (ellipsis) in text mode?

2015-08-02 Thread Victor Porton
How to insert dots (ellipsis) in text mode?

-- 
Victor Porton - http://portonvictor.org


How to insert dots (ellipsis) in text mode?

2015-08-02 Thread Victor Porton
How to insert dots (ellipsis) in text mode?

-- 
Victor Porton - http://portonvictor.org


Re: A new script for processing LyX files - removes duplicate labels

2015-07-29 Thread Victor Porton
On Wed, 2015-07-29 at 01:02 -0400, Richard Heck wrote:
 On 07/28/2015 06:42 PM, Steve Litt wrote:
  On Wed, 29 Jul 2015 01:02:55 +0300
  Victor Porton por...@narod.ru wrote:
  
   I've written a Python script which removes duplicate labels from
   .lyx
   files.
   
   Maybe it may be useful for other users.
   
   So I attach my script (together with pyparsing.py library) to
   this
   email.
   
   Please add info about my script to Lyx.org site. (I know no
   password
   to upload the files and thus cannot do it myself without your
   help.)
   
From my script:
   
   # This script receives a list of *.lyx filenames in command line.
   # In each .lyx file it searches for labels consecutively
   following one
   after another.
   # Then it removes all but the first label and in all supplied
   .lyx
   files corrects
   # the references to refer to this label.
   # It's useful to remove duplicate labels.
   
   # Note that this script works with patched pyparsing.py (added
   addCondition() method).
   # See last SVN for pyparsing or the bundled pyparsing.py file.
   
  Very, very nice!
  
  I love seeing DIY LyX enhancement.
 
 This would be worth uploading to the LyX wiki.
 
 Richard
 

Yes, somebody give me LyX.org FTP password, that I could upload.

-- 
Victor Porton - http://portonvictor.org


Re: A new script for processing LyX files - removes duplicate labels

2015-07-29 Thread Victor Porton
On Wed, 2015-07-29 at 01:02 -0400, Richard Heck wrote:
> On 07/28/2015 06:42 PM, Steve Litt wrote:
> > On Wed, 29 Jul 2015 01:02:55 +0300
> > Victor Porton <por...@narod.ru> wrote:
> > 
> > > I've written a Python script which removes duplicate labels from
> > > .lyx
> > > files.
> > > 
> > > Maybe it may be useful for other users.
> > > 
> > > So I attach my script (together with pyparsing.py library) to
> > > this
> > > email.
> > > 
> > > Please add info about my script to Lyx.org site. (I know no
> > > password
> > > to upload the files and thus cannot do it myself without your
> > > help.)
> > > 
> > >  From my script:
> > > 
> > > # This script receives a list of *.lyx filenames in command line.
> > > # In each .lyx file it searches for labels consecutively
> > > following one
> > > after another.
> > > # Then it removes all but the first label and in all supplied
> > > .lyx
> > > files corrects
> > > # the references to refer to this label.
> > > # It's useful to remove duplicate labels.
> > > 
> > > # Note that this script works with patched pyparsing.py (added
> > > addCondition() method).
> > > # See last SVN for pyparsing or the bundled pyparsing.py file.
> > > 
> > Very, very nice!
> > 
> > I love seeing DIY LyX enhancement.
> 
> This would be worth uploading to the LyX wiki.
> 
> Richard
> 

Yes, somebody give me LyX.org FTP password, that I could upload.

-- 
Victor Porton - http://portonvictor.org


Removing superfluous labels

2015-07-19 Thread Victor Porton
As a result of refactoring a draft of my book, I now have some theorems
with SEVERAL labels (labels follow after other labels immediately,
without text or space between).

To make things worse, I sometimes refer to the same theorem by
different labels in the text below the theorem.

Is there an easy way to remove/rename superfluous labels without
breaking document referential structure (that is a theorem should have
maximum one label)?

-- 
Victor Porton - http://portonvictor.org


Removing superfluous labels

2015-07-19 Thread Victor Porton
As a result of refactoring a draft of my book, I now have some theorems
with SEVERAL labels (labels follow after other labels immediately,
without text or space between).

To make things worse, I sometimes refer to the same theorem by
different labels in the text below the theorem.

Is there an easy way to remove/rename superfluous labels without
breaking document referential structure (that is a theorem should have
maximum one label)?

-- 
Victor Porton - http://portonvictor.org


Removing superfluous labels

2015-07-19 Thread Victor Porton
As a result of refactoring a draft of my book, I now have some theorems
with SEVERAL labels (labels follow after other labels immediately,
without text or space between).

To make things worse, I sometimes refer to the same theorem by
different labels in the text below the theorem.

Is there an easy way to remove/rename superfluous labels without
breaking document referential structure (that is a theorem should have
maximum one label)?

-- 
Victor Porton - http://portonvictor.org


A long description list label

2015-06-07 Thread Victor Porton
I have a description list with a long label:

(1) ↔ (2) ↔ (3) ↔ (4) ↔ (5) ↔ (6)

If I replace numeric labels with references, it becomes yet wider and
may not fit on screen.

What to do? I need references, not just numeric labels.

I could type the labels in ERT, but can I add an ERT inside a
description list?


-- 
Victor Porton - http://portonvictor.org


Multiple CopyStyle in Style

2015-06-07 Thread Victor Porton
Does it work / make sense to put multiple CopyStyle in Style (in LyX
layouts)?

I want my style Wide_Enum to have features of both Enumerate and my
other style Wide_List. Is this possible?

-- 
Victor Porton - http://portonvictor.org


A long description list label

2015-06-07 Thread Victor Porton
I have a description list with a long label:

(1) ↔ (2) ↔ (3) ↔ (4) ↔ (5) ↔ (6)

If I replace numeric labels with references, it becomes yet wider and
may not fit on screen.

What to do? I need references, not just numeric labels.

I could type the labels in ERT, but can I add an ERT inside a
description list?


-- 
Victor Porton - http://portonvictor.org


Multiple CopyStyle in Style

2015-06-07 Thread Victor Porton
Does it work / make sense to put multiple CopyStyle in Style (in LyX
layouts)?

I want my style Wide_Enum to have features of both Enumerate and my
other style Wide_List. Is this possible?

-- 
Victor Porton - http://portonvictor.org


A long description list label

2015-06-07 Thread Victor Porton
I have a description list with a long label:

(1) ↔ (2) ↔ (3) ↔ (4) ↔ (5) ↔ (6)

If I replace numeric labels with references, it becomes yet wider and
may not fit on screen.

What to do? I need references, not just numeric labels.

I could type the labels in ERT, but can I add an ERT inside a
description list?


-- 
Victor Porton - http://portonvictor.org


Multiple CopyStyle in Style

2015-06-07 Thread Victor Porton
Does it work / make sense to put multiple CopyStyle in Style (in LyX
layouts)?

I want my style Wide_Enum to have features of both Enumerate and my
other style Wide_List. Is this possible?

-- 
Victor Porton - http://portonvictor.org


Raster font in amsbook

2015-06-05 Thread Victor Porton
I have just noticed that the text font for my amsbook PDF file (created
with PDFLaTeX) is raster rather than vector font :-(

Why? What I did wrongly?

BTW, the math font is vector.

-- 
Victor Porton - http://portonvictor.org


Today date

2015-06-05 Thread Victor Porton
I want to add today (date of LaTeX compilation) date to an amsbook
document.

How to do it in LyX?

-- 
Victor Porton - http://portonvictor.org


Today date

2015-06-05 Thread Victor Porton
I want to add today (date of LaTeX compilation) date to an amsbook
document.

How to do it in LyX?

-- 
Victor Porton - http://portonvictor.org


Raster font in amsbook

2015-06-05 Thread Victor Porton
I have just noticed that the text font for my amsbook PDF file (created
with PDFLaTeX) is raster rather than vector font :-(

Why? What I did wrongly?

BTW, the math font is vector.

-- 
Victor Porton - http://portonvictor.org


Today date

2015-06-05 Thread Victor Porton
I want to add "today" (date of LaTeX compilation) date to an amsbook
document.

How to do it in LyX?

-- 
Victor Porton - http://portonvictor.org


Raster font in amsbook

2015-06-05 Thread Victor Porton
I have just noticed that the text font for my amsbook PDF file (created
with PDFLaTeX) is raster rather than vector font :-(

Why? What I did wrongly?

BTW, the math font is vector.

-- 
Victor Porton - http://portonvictor.org


Creating a new description environment

2015-05-19 Thread Victor Porton
I need to create a new environment which could work exactly as
Description with one change: It should use another LaTeX environment
(not description), when exporting.

Can it be done?

-- 
Victor Porton - http://portonvictor.org


Creating a new description environment

2015-05-19 Thread Victor Porton
I need to create a new environment which could work exactly as
Description with one change: It should use another LaTeX environment
(not description), when exporting.

Can it be done?

-- 
Victor Porton - http://portonvictor.org


Creating a new description environment

2015-05-19 Thread Victor Porton
I need to create a new environment which could work exactly as
Description with one change: It should use another LaTeX environment
(not "description"), when exporting.

Can it be done?

-- 
Victor Porton - http://portonvictor.org


What is Preview?

2015-03-20 Thread Victor Porton
What is Preview in Insert menu?

I haven't found preview in the docs.

Also: What is ERT?

-- 
Victor Porton - http://portonvictor.org


What is Preview?

2015-03-20 Thread Victor Porton
What is Preview in Insert menu?

I haven't found preview in the docs.

Also: What is ERT?

-- 
Victor Porton - http://portonvictor.org


What is "Preview"?

2015-03-20 Thread Victor Porton
What is "Preview" in "Insert" menu?

I haven't found "preview" in the docs.

Also: What is ERT?

-- 
Victor Porton - http://portonvictor.org