Re: Spellchecker and ú

2010-11-03 Thread Christopher Menzel
On Nov 2, 2010, at 3:26 AM, Stephan Witt wrote:
 Am 02.11.2010 um 03:28 schrieb Christopher Menzel:
 
 On 10/30/2010 02:53 AM, Stephan Witt wrote:
 Am 29.10.2010 um 22:01 schrieb Christopher Menzel:
 
 Greetings LyX users,
 
 The aspell-based spellchecker in LyX does not appear to be happy checking 
 a document containing a Spanish name that includes the character ú.  
 Specifically, the name seems throw the checker pretty seriously off 
 balance; it begins to stop on perfectly ordinary words that occur in the 
 document a word or two *after* a word that it apparently isn't recognizing 
 internally -- for example, it asked if I wanted to replace the word that 
 with bisection, where that occurred two words after bijection, which 
 was clearly the word it had stopped on internally.  Is there a solution to 
 this beyond avoiding non-English unicode characters?
 
 Sorry, I've no solution but a question.
 You're using LyX 1.6.7? Which platform?
 
 1.6.7 on a Mac, latest version of Snow Leopard.
 
 Interestingly... there are 2 options to use aspell then.
 What's your setup exactly? What did you do to make aspell work?

IIRC, I installed a package that added a System Preferences thingy.  Beyond 
that I don't recall doing anything.  Spellchecking just worked.

 Other question (again): 
 did you mark the spanish name as Spanish language? 

I hadn't, but I tried doing so and it doesn't seem to help.

-chris



indexing helpers

2010-11-03 Thread stefano franchi
Dear Lyxers,

does anyone know  any script that would convert a text/tex/lyx file to a
sorted list of words (after removal of all punctuation)? That would be very
helpful when creating the index, but I could not find anything with the
usual googling techniques. Notice that I am not talking about automatic
indexing tool. More modestly, I am looking for some sw help on generating a
provisional list of words to be pared down (and later inserted) manually.
There is an old page describing the procedure I would like to follow here:
http://www.karakas-online.de/mySGML/lyx-automatic-index-generation.html.
Unfortunately,  the awk script it describes seems linked to an old version
of Lyx.

Steve Litt describes the same technique in an old post, but he seems to
assume it would be trivial to whip up the needed script. Not true for me, I
am afraid...

Any help appreciated,

Stefano


Re: Invisible citations (once again).

2010-11-03 Thread Richard Heck

On 11/03/2010 02:19 PM, Rudi Gaelzer wrote:

I'm using LyX 1.6.7 running on Fedora 13.
From the LyX wiki, I can find the following new feature of LyX 1.6.x:


New LaTeX commands
...
Bernhard Reiter implemented support for both, \nocite{key} (in the 
citation dialog) for adding specific entries to the bibliography 
without citing, and \nocite{*} (in the bibtex inset dialog) for citing 
all entries of specific bibtex databases.



However, I don't see how I can implement the invisible citations with 
\nocite{key}.  I'm sending attached a copy of my citation dialog.  
Where can I enter \nocite{key}?  In Citation style?  I have only 2 
options:

[#ID]
Author [#ID]

This is because you are not using natbib. Enable it under 
DocumentSettingsBibliography.


rh



Re: Export Documents from Command Line

2010-11-03 Thread Venable
On Mon, Nov 1, 2010 at 3:05 PM, Richard Heck rgh...@comcast.net wrote:
 On 11/01/2010 12:53 PM, Jürgen Spitzmüller wrote:

 Tim Wescott wrote:


 I want to be able to write Lyx documents, then convert them to pdf
 format from the command line -- this is for a moderately complex
 website, which I would like to generate using a makefile.

 Is there a way to do this from the command line?  I assume I have to do
 this:

 lyxinsert magic here  myfile.lyx


 juer...@linux-r4p5:~  lyx -help
 Usage: lyx [ command line switches ] [ name.lyx ... ]
 Command line switches (case sensitive):
 [...]
         -e [--export] fmt
                   where fmt is the export format of choice.
                   Look on Tools-Preferences-File formats-Format
                   to get an idea which parameters should be passed.
         -i [--import] fmt file.xxx
                   where fmt is the import format of choice
                   and file.xxx is the file to be imported.
         -f [--force-overwrite] what
                   where what is either `all', `main' or `none',
                   specifying whether all files, main file only, or no
 files,
                   respectively, are to be overwritten during a batch
 export.
                   Anything else is equivalent to `all', but is not
 consumed.
         -version        summarize version and build info
 Check the LyX man page for more details.

 So,

 lyx -e pdf2 myfile.lyx

 exports to PDF via pdflatex.



 And if you're wondering where pdf2 comes from, the answer is that this is
 the identifier LyX uses for that format. Look under ToolsPreferencesFile
 Formats and ...Converters for the various options.

 rh



I would very much like to learn more about running lyx from the command line.

Do these comments apply to Windows?

Are there any help documents with simple examples? I did not see
anything in the User Guide or Extended.

Many thanks in advance.


Re: indexing helpers

2010-11-03 Thread Richard Heck

On 11/03/2010 03:10 PM, stefano franchi wrote:

Dear Lyxers,

does anyone know  any script that would convert a text/tex/lyx file to 
a sorted list of words (after removal of all punctuation)? That would 
be very helpful when creating the index, but I could not find anything 
with the usual googling techniques. Notice that I am not talking about 
automatic indexing tool. More modestly, I am looking for some sw help 
on generating a provisional list of words to be pared down (and later 
inserted) manually. There is an old page describing the procedure I 
would like to follow here: 
http://www.karakas-online.de/mySGML/lyx-automatic-index-generation.html. 
Unfortunately,  the awk script it describes seems linked to an old 
version of Lyx.


Steve Litt describes the same technique in an old post, but he seems 
to assume it would be trivial to whip up the needed script. Not true 
for me, I am afraid...


Here's a script. Run it on an export of the LyX file to plain text as 
follows:

perl w.pl yourfile.txt
I've set it to ignore words of less than 4 characters, but you'll see 
where you can change that.


Richard

=

Sample output

135ff: 1
13ff: 1
1880s: 2
201x: 2
20ff: 1
94ff: 1
abandon: 1
abandons: 1
able: 2
about: 16
above: 2
absent: 2
abstract: 1
acceptance: 1
accepting: 1
accordingly: 1
account: 1
accuse: 1
achieved: 2
acquaintance: 1
actor: 1
actually: 1
added: 1
addition: 1

etc



w.pl
Description: Perl program


Re: Export Documents from Command Line

2010-11-03 Thread Richard Heck

On 11/03/2010 03:28 PM, Venable wrote:


I would very much like to learn more about running lyx from the command line.

Do these comments apply to Windows?

   

Yes, though of course you have to use lyx.exe, etc.


Are there any help documents with simple examples? I did not see
anything in the User Guide or Extended.

   

Just lyx.exe -help. Assuming LyX is in your path.

Richard



Re: indexing helpers

2010-11-03 Thread Steve Litt
On Wednesday 03 November 2010 15:10:01 stefano franchi wrote:
 Dear Lyxers,
 
 does anyone know  any script that would convert a text/tex/lyx file to a
 sorted list of words (after removal of all punctuation)? That would be very
 helpful when creating the index, but I could not find anything with the
 usual googling techniques. Notice that I am not talking about automatic
 indexing tool. More modestly, I am looking for some sw help on generating a
 provisional list of words to be pared down (and later inserted) manually.
 There is an old page describing the procedure I would like to follow here:
 http://www.karakas-online.de/mySGML/lyx-automatic-index-generation.html.
 Unfortunately,  the awk script it describes seems linked to an old version
 of Lyx.
 
 Steve Litt describes the same technique in an old post, but he seems to
 assume it would be trivial to whip up the needed script. Not true for me, I
 am afraid...
 
 Any help appreciated,
 
 Stefano

Hi Stefano,

I no longer use such scripts, because they make indexing more difficult and 
lower quality, even if used just as a guide. In my last book, Quit 
Joblessness, Start Your Own Business, I indexed by putting an index start at 
the beginning of each chapter, section, or subsection, and an index end at the 
end of same. This eliminated index entries where the word just happens to be 
mentioned but isn't really important. This also eliminated me looking and 
looking for occurrences of words. It also eliminated my looking for words but 
missing the phrases to which they belonged.

It also turned indexing into a relative pleasure. I used to describe indexing 
as like working in a sewer. Now it's just a rote, not especially unpleasant 
activity.

I've done indexed about 3 books guided by a list of words (concordance), and 
it was always an ugly and long lasting job. When I did it by chapter, section 
and subsection, it took less time and was easier. There's a possibility I 
missed some index entries with my method, but it's balanced by the fact that I 
probably missed some index ranges the other way.

HTH

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: pdfpages: remove blank page between two included pdfs?

2010-11-03 Thread Paul Rubin
Liviu Andronic landronimirc at gmail.com writes:


 I am using pdfpages to include pdf pages into my LyX document.
 However, when I have two pdf files included this way, one immediately
 after the other, the resulting pdf will include a blank page between
 the two included pdfs. Is there a way to remove the blank page?
 
Does that also happen if you use \includepdfmerge rather than back-to-back
invocations of \includepdf?

/Paul




Re: indexing helpers

2010-11-03 Thread stefano franchi
On Wed, Nov 3, 2010 at 3:03 PM, Steve Litt sl...@troubleshooters.comwrote:

 On Wednesday 03 November 2010 15:10:01 stefano franchi wrote:
  Dear Lyxers,
 
  does anyone know  any script that would convert a text/tex/lyx file to a
  sorted list of words (after removal of all punctuation)? That would be
 very
  helpful when creating the index, but I could not find anything with the
  usual googling techniques. Notice that I am not talking about automatic
  indexing tool. More modestly, I am looking for some sw help on generating
 a
  provisional list of words to be pared down (and later inserted) manually.
  There is an old page describing the procedure I would like to follow
 here:
  http://www.karakas-online.de/mySGML/lyx-automatic-index-generation.html.
  Unfortunately,  the awk script it describes seems linked to an old
 version
  of Lyx.
 
  Steve Litt describes the same technique in an old post, but he seems to
  assume it would be trivial to whip up the needed script. Not true for me,
 I
  am afraid...
 
  Any help appreciated,
 
  Stefano

 Hi Stefano,

 I no longer use such scripts, because they make indexing more difficult and
 lower quality, even if used just as a guide. In my last book, Quit
 Joblessness, Start Your Own Business, I indexed by putting an index start
 at
 the beginning of each chapter, section, or subsection, and an index end at
 the
 end of same. This eliminated index entries where the word just happens to
 be
 mentioned but isn't really important. This also eliminated me looking and
 looking for occurrences of words. It also eliminated my looking for words
 but
 missing the phrases to which they belonged.


Hi Steve,

I appreciate the suggestion, but I don't think it would really work in my
case. It seems to require a fairly strict organization with, roughly, one
concept per (sub(sub))-section. I am nowhere close to that admirable
standard.

Cheers,

S.


More indexing woes

2010-11-03 Thread stefano franchi
It seems Latex does not appreciate  index entries in footnotes. I get a slew
of messages of the kind:


! Use of \...@index doesn't match its definition.


Does anyone know a workaround?


Thanks,

Stefano


Re: More indexing woes

2010-11-03 Thread stefano franchi
On Wed, Nov 3, 2010 at 5:42 PM, stefano franchi
stefano.fran...@gmail.comwrote:

 It seems Latex does not appreciate  index entries in footnotes. I get a
 slew of messages of the kind:


 ! Use of \...@index doesn't match its definition.


 Does anyone know a workaround?


 Thanks,

 Stefano


Oops, ignore the message. It seems there is nothing wrong with vanilla Latex
classes and indexed words in footnotes. It must be something in  my
customized memoir + biblatex setting that causes problems. On  to divide and
conquer...

S.


Re: Export Documents from Command Line

2010-11-03 Thread Venable
On Wed, Nov 3, 2010 at 3:38 PM, Richard Heck rgh...@comcast.net wrote:
 On 11/03/2010 03:28 PM, Venable wrote:

 I would very much like to learn more about running lyx from the command
 line.

 Do these comments apply to Windows?



 Yes, though of course you have to use lyx.exe, etc.

 Are there any help documents with simple examples? I did not see
 anything in the User Guide or Extended.



 Just lyx.exe -help. Assuming LyX is in your path.

 Richard


Richard,

Thanks very much for your guidance. However, I fear I am such a novice
that even this is slightly over my head. For example:


C:\Users\MyNamelyx.exe -help
'lyx.exe' is not recognized as an internal or external command,
operable program or batch file.


... and I'm stuck.

Are there any simple resources on how to get started with the very basics?


Windows Command Line

2010-11-03 Thread Richard Heck


Can someone on Windows explain the right thing to do here?


C:\Users\MyNamelyx.exe -help
'lyx.exe' is not recognized as an internal or external command,
operable program or batch file.


... and I'm stuck.

Are there any simple resources on how to get started with the very basics?

   
Unfortunately, I'm not on Windows. Probably, lyx.exe is not in your 
path, but I don't know for sure. Someone else will.


Richard



Re: Windows Command Line

2010-11-03 Thread Michael Joyner
By default, lyx.exe is not in your path... you will have to put the full
%programfiles%\lyx\bin\lyx.exe in quotes on the command prompt (or some
variation thereof)

On Wed, Nov 3, 2010 at 9:09 PM, Richard Heck rgh...@comcast.net wrote:


 Can someone on Windows explain the right thing to do here?

  C:\Users\MyNamelyx.exe -help
 'lyx.exe' is not recognized as an internal or external command,
 operable program or batch file.


 ... and I'm stuck.

 Are there any simple resources on how to get started with the very basics?



 Unfortunately, I'm not on Windows. Probably, lyx.exe is not in your path,
 but I don't know for sure. Someone else will.

 Richard




Re: Spellchecker and ú

2010-11-03 Thread Christopher Menzel
On Nov 2, 2010, at 3:26 AM, Stephan Witt wrote:
 Am 02.11.2010 um 03:28 schrieb Christopher Menzel:
 
 On 10/30/2010 02:53 AM, Stephan Witt wrote:
 Am 29.10.2010 um 22:01 schrieb Christopher Menzel:
 
 Greetings LyX users,
 
 The aspell-based spellchecker in LyX does not appear to be happy checking 
 a document containing a Spanish name that includes the character ú.  
 Specifically, the name seems throw the checker pretty seriously off 
 balance; it begins to stop on perfectly ordinary words that occur in the 
 document a word or two *after* a word that it apparently isn't recognizing 
 internally -- for example, it asked if I wanted to replace the word that 
 with bisection, where that occurred two words after bijection, which 
 was clearly the word it had stopped on internally.  Is there a solution to 
 this beyond avoiding non-English unicode characters?
 
 Sorry, I've no solution but a question.
 You're using LyX 1.6.7? Which platform?
 
 1.6.7 on a Mac, latest version of Snow Leopard.
 
 Interestingly... there are 2 options to use aspell then.
 What's your setup exactly? What did you do to make aspell work?

IIRC, I installed a package that added a System Preferences thingy.  Beyond 
that I don't recall doing anything.  Spellchecking just worked.

 Other question (again): 
 did you mark the spanish name as Spanish language? 

I hadn't, but I tried doing so and it doesn't seem to help.

-chris



indexing helpers

2010-11-03 Thread stefano franchi
Dear Lyxers,

does anyone know  any script that would convert a text/tex/lyx file to a
sorted list of words (after removal of all punctuation)? That would be very
helpful when creating the index, but I could not find anything with the
usual googling techniques. Notice that I am not talking about automatic
indexing tool. More modestly, I am looking for some sw help on generating a
provisional list of words to be pared down (and later inserted) manually.
There is an old page describing the procedure I would like to follow here:
http://www.karakas-online.de/mySGML/lyx-automatic-index-generation.html.
Unfortunately,  the awk script it describes seems linked to an old version
of Lyx.

Steve Litt describes the same technique in an old post, but he seems to
assume it would be trivial to whip up the needed script. Not true for me, I
am afraid...

Any help appreciated,

Stefano


Re: Invisible citations (once again).

2010-11-03 Thread Richard Heck

On 11/03/2010 02:19 PM, Rudi Gaelzer wrote:

I'm using LyX 1.6.7 running on Fedora 13.
From the LyX wiki, I can find the following new feature of LyX 1.6.x:


New LaTeX commands
...
Bernhard Reiter implemented support for both, \nocite{key} (in the 
citation dialog) for adding specific entries to the bibliography 
without citing, and \nocite{*} (in the bibtex inset dialog) for citing 
all entries of specific bibtex databases.



However, I don't see how I can implement the invisible citations with 
\nocite{key}.  I'm sending attached a copy of my citation dialog.  
Where can I enter \nocite{key}?  In Citation style?  I have only 2 
options:

[#ID]
Author [#ID]

This is because you are not using natbib. Enable it under 
DocumentSettingsBibliography.


rh



Re: Export Documents from Command Line

2010-11-03 Thread Venable
On Mon, Nov 1, 2010 at 3:05 PM, Richard Heck rgh...@comcast.net wrote:
 On 11/01/2010 12:53 PM, Jürgen Spitzmüller wrote:

 Tim Wescott wrote:


 I want to be able to write Lyx documents, then convert them to pdf
 format from the command line -- this is for a moderately complex
 website, which I would like to generate using a makefile.

 Is there a way to do this from the command line?  I assume I have to do
 this:

 lyxinsert magic here  myfile.lyx


 juer...@linux-r4p5:~  lyx -help
 Usage: lyx [ command line switches ] [ name.lyx ... ]
 Command line switches (case sensitive):
 [...]
         -e [--export] fmt
                   where fmt is the export format of choice.
                   Look on Tools-Preferences-File formats-Format
                   to get an idea which parameters should be passed.
         -i [--import] fmt file.xxx
                   where fmt is the import format of choice
                   and file.xxx is the file to be imported.
         -f [--force-overwrite] what
                   where what is either `all', `main' or `none',
                   specifying whether all files, main file only, or no
 files,
                   respectively, are to be overwritten during a batch
 export.
                   Anything else is equivalent to `all', but is not
 consumed.
         -version        summarize version and build info
 Check the LyX man page for more details.

 So,

 lyx -e pdf2 myfile.lyx

 exports to PDF via pdflatex.



 And if you're wondering where pdf2 comes from, the answer is that this is
 the identifier LyX uses for that format. Look under ToolsPreferencesFile
 Formats and ...Converters for the various options.

 rh



I would very much like to learn more about running lyx from the command line.

Do these comments apply to Windows?

Are there any help documents with simple examples? I did not see
anything in the User Guide or Extended.

Many thanks in advance.


Re: indexing helpers

2010-11-03 Thread Richard Heck

On 11/03/2010 03:10 PM, stefano franchi wrote:

Dear Lyxers,

does anyone know  any script that would convert a text/tex/lyx file to 
a sorted list of words (after removal of all punctuation)? That would 
be very helpful when creating the index, but I could not find anything 
with the usual googling techniques. Notice that I am not talking about 
automatic indexing tool. More modestly, I am looking for some sw help 
on generating a provisional list of words to be pared down (and later 
inserted) manually. There is an old page describing the procedure I 
would like to follow here: 
http://www.karakas-online.de/mySGML/lyx-automatic-index-generation.html. 
Unfortunately,  the awk script it describes seems linked to an old 
version of Lyx.


Steve Litt describes the same technique in an old post, but he seems 
to assume it would be trivial to whip up the needed script. Not true 
for me, I am afraid...


Here's a script. Run it on an export of the LyX file to plain text as 
follows:

perl w.pl yourfile.txt
I've set it to ignore words of less than 4 characters, but you'll see 
where you can change that.


Richard

=

Sample output

135ff: 1
13ff: 1
1880s: 2
201x: 2
20ff: 1
94ff: 1
abandon: 1
abandons: 1
able: 2
about: 16
above: 2
absent: 2
abstract: 1
acceptance: 1
accepting: 1
accordingly: 1
account: 1
accuse: 1
achieved: 2
acquaintance: 1
actor: 1
actually: 1
added: 1
addition: 1

etc



w.pl
Description: Perl program


Re: Export Documents from Command Line

2010-11-03 Thread Richard Heck

On 11/03/2010 03:28 PM, Venable wrote:


I would very much like to learn more about running lyx from the command line.

Do these comments apply to Windows?

   

Yes, though of course you have to use lyx.exe, etc.


Are there any help documents with simple examples? I did not see
anything in the User Guide or Extended.

   

Just lyx.exe -help. Assuming LyX is in your path.

Richard



Re: indexing helpers

2010-11-03 Thread Steve Litt
On Wednesday 03 November 2010 15:10:01 stefano franchi wrote:
 Dear Lyxers,
 
 does anyone know  any script that would convert a text/tex/lyx file to a
 sorted list of words (after removal of all punctuation)? That would be very
 helpful when creating the index, but I could not find anything with the
 usual googling techniques. Notice that I am not talking about automatic
 indexing tool. More modestly, I am looking for some sw help on generating a
 provisional list of words to be pared down (and later inserted) manually.
 There is an old page describing the procedure I would like to follow here:
 http://www.karakas-online.de/mySGML/lyx-automatic-index-generation.html.
 Unfortunately,  the awk script it describes seems linked to an old version
 of Lyx.
 
 Steve Litt describes the same technique in an old post, but he seems to
 assume it would be trivial to whip up the needed script. Not true for me, I
 am afraid...
 
 Any help appreciated,
 
 Stefano

Hi Stefano,

I no longer use such scripts, because they make indexing more difficult and 
lower quality, even if used just as a guide. In my last book, Quit 
Joblessness, Start Your Own Business, I indexed by putting an index start at 
the beginning of each chapter, section, or subsection, and an index end at the 
end of same. This eliminated index entries where the word just happens to be 
mentioned but isn't really important. This also eliminated me looking and 
looking for occurrences of words. It also eliminated my looking for words but 
missing the phrases to which they belonged.

It also turned indexing into a relative pleasure. I used to describe indexing 
as like working in a sewer. Now it's just a rote, not especially unpleasant 
activity.

I've done indexed about 3 books guided by a list of words (concordance), and 
it was always an ugly and long lasting job. When I did it by chapter, section 
and subsection, it took less time and was easier. There's a possibility I 
missed some index entries with my method, but it's balanced by the fact that I 
probably missed some index ranges the other way.

HTH

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: pdfpages: remove blank page between two included pdfs?

2010-11-03 Thread Paul Rubin
Liviu Andronic landronimirc at gmail.com writes:


 I am using pdfpages to include pdf pages into my LyX document.
 However, when I have two pdf files included this way, one immediately
 after the other, the resulting pdf will include a blank page between
 the two included pdfs. Is there a way to remove the blank page?
 
Does that also happen if you use \includepdfmerge rather than back-to-back
invocations of \includepdf?

/Paul




Re: indexing helpers

2010-11-03 Thread stefano franchi
On Wed, Nov 3, 2010 at 3:03 PM, Steve Litt sl...@troubleshooters.comwrote:

 On Wednesday 03 November 2010 15:10:01 stefano franchi wrote:
  Dear Lyxers,
 
  does anyone know  any script that would convert a text/tex/lyx file to a
  sorted list of words (after removal of all punctuation)? That would be
 very
  helpful when creating the index, but I could not find anything with the
  usual googling techniques. Notice that I am not talking about automatic
  indexing tool. More modestly, I am looking for some sw help on generating
 a
  provisional list of words to be pared down (and later inserted) manually.
  There is an old page describing the procedure I would like to follow
 here:
  http://www.karakas-online.de/mySGML/lyx-automatic-index-generation.html.
  Unfortunately,  the awk script it describes seems linked to an old
 version
  of Lyx.
 
  Steve Litt describes the same technique in an old post, but he seems to
  assume it would be trivial to whip up the needed script. Not true for me,
 I
  am afraid...
 
  Any help appreciated,
 
  Stefano

 Hi Stefano,

 I no longer use such scripts, because they make indexing more difficult and
 lower quality, even if used just as a guide. In my last book, Quit
 Joblessness, Start Your Own Business, I indexed by putting an index start
 at
 the beginning of each chapter, section, or subsection, and an index end at
 the
 end of same. This eliminated index entries where the word just happens to
 be
 mentioned but isn't really important. This also eliminated me looking and
 looking for occurrences of words. It also eliminated my looking for words
 but
 missing the phrases to which they belonged.


Hi Steve,

I appreciate the suggestion, but I don't think it would really work in my
case. It seems to require a fairly strict organization with, roughly, one
concept per (sub(sub))-section. I am nowhere close to that admirable
standard.

Cheers,

S.


More indexing woes

2010-11-03 Thread stefano franchi
It seems Latex does not appreciate  index entries in footnotes. I get a slew
of messages of the kind:


! Use of \...@index doesn't match its definition.


Does anyone know a workaround?


Thanks,

Stefano


Re: More indexing woes

2010-11-03 Thread stefano franchi
On Wed, Nov 3, 2010 at 5:42 PM, stefano franchi
stefano.fran...@gmail.comwrote:

 It seems Latex does not appreciate  index entries in footnotes. I get a
 slew of messages of the kind:


 ! Use of \...@index doesn't match its definition.


 Does anyone know a workaround?


 Thanks,

 Stefano


Oops, ignore the message. It seems there is nothing wrong with vanilla Latex
classes and indexed words in footnotes. It must be something in  my
customized memoir + biblatex setting that causes problems. On  to divide and
conquer...

S.


Re: Export Documents from Command Line

2010-11-03 Thread Venable
On Wed, Nov 3, 2010 at 3:38 PM, Richard Heck rgh...@comcast.net wrote:
 On 11/03/2010 03:28 PM, Venable wrote:

 I would very much like to learn more about running lyx from the command
 line.

 Do these comments apply to Windows?



 Yes, though of course you have to use lyx.exe, etc.

 Are there any help documents with simple examples? I did not see
 anything in the User Guide or Extended.



 Just lyx.exe -help. Assuming LyX is in your path.

 Richard


Richard,

Thanks very much for your guidance. However, I fear I am such a novice
that even this is slightly over my head. For example:


C:\Users\MyNamelyx.exe -help
'lyx.exe' is not recognized as an internal or external command,
operable program or batch file.


... and I'm stuck.

Are there any simple resources on how to get started with the very basics?


Windows Command Line

2010-11-03 Thread Richard Heck


Can someone on Windows explain the right thing to do here?


C:\Users\MyNamelyx.exe -help
'lyx.exe' is not recognized as an internal or external command,
operable program or batch file.


... and I'm stuck.

Are there any simple resources on how to get started with the very basics?

   
Unfortunately, I'm not on Windows. Probably, lyx.exe is not in your 
path, but I don't know for sure. Someone else will.


Richard



Re: Windows Command Line

2010-11-03 Thread Michael Joyner
By default, lyx.exe is not in your path... you will have to put the full
%programfiles%\lyx\bin\lyx.exe in quotes on the command prompt (or some
variation thereof)

On Wed, Nov 3, 2010 at 9:09 PM, Richard Heck rgh...@comcast.net wrote:


 Can someone on Windows explain the right thing to do here?

  C:\Users\MyNamelyx.exe -help
 'lyx.exe' is not recognized as an internal or external command,
 operable program or batch file.


 ... and I'm stuck.

 Are there any simple resources on how to get started with the very basics?



 Unfortunately, I'm not on Windows. Probably, lyx.exe is not in your path,
 but I don't know for sure. Someone else will.

 Richard




Re: Spellchecker and ú

2010-11-03 Thread Christopher Menzel
On Nov 2, 2010, at 3:26 AM, Stephan Witt wrote:
> Am 02.11.2010 um 03:28 schrieb Christopher Menzel:
> 
>> On 10/30/2010 02:53 AM, Stephan Witt wrote:
>>> Am 29.10.2010 um 22:01 schrieb Christopher Menzel:
>>> 
 Greetings LyX users,
 
 The aspell-based spellchecker in LyX does not appear to be happy checking 
 a document containing a Spanish name that includes the character ú.  
 Specifically, the name seems throw the checker pretty seriously off 
 balance; it begins to stop on perfectly ordinary words that occur in the 
 document a word or two *after* a word that it apparently isn't recognizing 
 internally -- for example, it asked if I wanted to replace the word "that" 
 with "bisection", where "that" occurred two words after "bijection", which 
 was clearly the word it had stopped on internally.  Is there a solution to 
 this beyond avoiding non-English unicode characters?
 
>>> Sorry, I've no solution but a question.
>>> You're using LyX 1.6.7? Which platform?
>>> 
>> 1.6.7 on a Mac, latest version of Snow Leopard.
> 
> Interestingly... there are 2 options to use aspell then.
> What's your setup exactly? What did you do to make aspell work?

IIRC, I installed a package that added a System Preferences thingy.  Beyond 
that I don't recall doing anything.  Spellchecking just worked.

> Other question (again): 
> did you mark the spanish name as "Spanish" language? 

I hadn't, but I tried doing so and it doesn't seem to help.

-chris



indexing helpers

2010-11-03 Thread stefano franchi
Dear Lyxers,

does anyone know  any script that would convert a text/tex/lyx file to a
sorted list of words (after removal of all punctuation)? That would be very
helpful when creating the index, but I could not find anything with the
usual googling techniques. Notice that I am not talking about automatic
indexing tool. More modestly, I am looking for some sw help on generating a
provisional list of words to be pared down (and later inserted) manually.
There is an old page describing the procedure I would like to follow here:
http://www.karakas-online.de/mySGML/lyx-automatic-index-generation.html.
Unfortunately,  the awk script it describes seems linked to an old version
of Lyx.

Steve Litt describes the same technique in an old post, but he seems to
assume it would be trivial to whip up the needed script. Not true for me, I
am afraid...

Any help appreciated,

Stefano


Re: Invisible citations (once again).

2010-11-03 Thread Richard Heck

On 11/03/2010 02:19 PM, Rudi Gaelzer wrote:

I'm using LyX 1.6.7 running on Fedora 13.
From the LyX wiki, I can find the following "new" feature of LyX 1.6.x:


New LaTeX commands
...
Bernhard Reiter implemented support for both, \nocite{} (in the 
citation dialog) for adding specific entries to the bibliography 
without citing, and \nocite{*} (in the bibtex inset dialog) for citing 
all entries of specific bibtex databases.



However, I don't see how I can implement the invisible citations with 
\nocite{}.  I'm sending attached a copy of my citation dialog.  
Where can I enter \nocite{}?  In Citation style?  I have only 2 
options:

[#ID]
 [#ID]

This is because you are not using natbib. Enable it under 
Document>Settings>Bibliography.


rh



Re: Export Documents from Command Line

2010-11-03 Thread Venable
On Mon, Nov 1, 2010 at 3:05 PM, Richard Heck  wrote:
> On 11/01/2010 12:53 PM, Jürgen Spitzmüller wrote:
>>
>> Tim Wescott wrote:
>>
>>>
>>> I want to be able to write Lyx documents, then convert them to pdf
>>> format from the command line -- this is for a moderately complex
>>> website, which I would like to generate using a makefile.
>>>
>>> Is there a way to do this from the command line?  I assume I have to do
>>> this:
>>>
>>> lyx  myfile.lyx
>>>
>>
>> juer...@linux-r4p5:~>  lyx -help
>> Usage: lyx [ command line switches ] [ name.lyx ... ]
>> Command line switches (case sensitive):
>> [...]
>>         -e [--export] fmt
>>                   where fmt is the export format of choice.
>>                   Look on Tools->Preferences->File formats->Format
>>                   to get an idea which parameters should be passed.
>>         -i [--import] fmt file.xxx
>>                   where fmt is the import format of choice
>>                   and file.xxx is the file to be imported.
>>         -f [--force-overwrite] what
>>                   where what is either `all', `main' or `none',
>>                   specifying whether all files, main file only, or no
>> files,
>>                   respectively, are to be overwritten during a batch
>> export.
>>                   Anything else is equivalent to `all', but is not
>> consumed.
>>         -version        summarize version and build info
>> Check the LyX man page for more details.
>>
>> So,
>>
>> lyx -e pdf2 myfile.lyx
>>
>> exports to PDF via pdflatex.
>>
>>
>
> And if you're wondering where "pdf2" comes from, the answer is that this is
> the identifier LyX uses for that format. Look under Tools>Preferences>File
> Formats and ...>Converters for the various options.
>
> rh
>
>

I would very much like to learn more about running lyx from the command line.

Do these comments apply to Windows?

Are there any help documents with simple examples? I did not see
anything in the User Guide or Extended.

Many thanks in advance.


Re: indexing helpers

2010-11-03 Thread Richard Heck

On 11/03/2010 03:10 PM, stefano franchi wrote:

Dear Lyxers,

does anyone know  any script that would convert a text/tex/lyx file to 
a sorted list of words (after removal of all punctuation)? That would 
be very helpful when creating the index, but I could not find anything 
with the usual googling techniques. Notice that I am not talking about 
automatic indexing tool. More modestly, I am looking for some sw help 
on generating a provisional list of words to be pared down (and later 
inserted) manually. There is an old page describing the procedure I 
would like to follow here: 
http://www.karakas-online.de/mySGML/lyx-automatic-index-generation.html. 
Unfortunately,  the awk script it describes seems linked to an old 
version of Lyx.


Steve Litt describes the same technique in an old post, but he seems 
to assume it would be trivial to whip up the needed script. Not true 
for me, I am afraid...


Here's a script. Run it on an export of the LyX file to plain text as 
follows:

perl w.pl I've set it to ignore words of less than 4 characters, but you'll see 
where you can change that.


Richard

=

Sample output

135ff: 1
13ff: 1
1880s: 2
201x: 2
20ff: 1
94ff: 1
abandon: 1
abandons: 1
able: 2
about: 16
above: 2
absent: 2
abstract: 1
acceptance: 1
accepting: 1
accordingly: 1
account: 1
accuse: 1
achieved: 2
acquaintance: 1
actor: 1
actually: 1
added: 1
addition: 1

etc



w.pl
Description: Perl program


Re: Export Documents from Command Line

2010-11-03 Thread Richard Heck

On 11/03/2010 03:28 PM, Venable wrote:


I would very much like to learn more about running lyx from the command line.

Do these comments apply to Windows?

   

Yes, though of course you have to use "lyx.exe", etc.


Are there any help documents with simple examples? I did not see
anything in the User Guide or Extended.

   

Just "lyx.exe -help". Assuming LyX is in your path.

Richard



Re: indexing helpers

2010-11-03 Thread Steve Litt
On Wednesday 03 November 2010 15:10:01 stefano franchi wrote:
> Dear Lyxers,
> 
> does anyone know  any script that would convert a text/tex/lyx file to a
> sorted list of words (after removal of all punctuation)? That would be very
> helpful when creating the index, but I could not find anything with the
> usual googling techniques. Notice that I am not talking about automatic
> indexing tool. More modestly, I am looking for some sw help on generating a
> provisional list of words to be pared down (and later inserted) manually.
> There is an old page describing the procedure I would like to follow here:
> http://www.karakas-online.de/mySGML/lyx-automatic-index-generation.html.
> Unfortunately,  the awk script it describes seems linked to an old version
> of Lyx.
> 
> Steve Litt describes the same technique in an old post, but he seems to
> assume it would be trivial to whip up the needed script. Not true for me, I
> am afraid...
> 
> Any help appreciated,
> 
> Stefano

Hi Stefano,

I no longer use such scripts, because they make indexing more difficult and 
lower quality, even if used just as a guide. In my last book, "Quit 
Joblessness, Start Your Own Business", I indexed by putting an index start at 
the beginning of each chapter, section, or subsection, and an index end at the 
end of same. This eliminated index entries where the word just happens to be 
mentioned but isn't really important. This also eliminated me looking and 
looking for occurrences of words. It also eliminated my looking for words but 
missing the phrases to which they belonged.

It also turned indexing into a relative pleasure. I used to describe indexing 
as "like working in a sewer". Now it's just a rote, not especially unpleasant 
activity.

I've done indexed about 3 books guided by a list of words (concordance), and 
it was always an ugly and long lasting job. When I did it by chapter, section 
and subsection, it took less time and was easier. There's a possibility I 
missed some index entries with my method, but it's balanced by the fact that I 
probably missed some index ranges the other way.

HTH

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: pdfpages: remove blank page between two included pdfs?

2010-11-03 Thread Paul Rubin
Liviu Andronic  gmail.com> writes:


> I am using pdfpages to include pdf pages into my LyX document.
> However, when I have two pdf files included this way, one immediately
> after the other, the resulting pdf will include a blank page between
> the two included pdfs. Is there a way to remove the blank page?
> 
Does that also happen if you use \includepdfmerge rather than back-to-back
invocations of \includepdf?

/Paul




Re: indexing helpers

2010-11-03 Thread stefano franchi
On Wed, Nov 3, 2010 at 3:03 PM, Steve Litt wrote:

> On Wednesday 03 November 2010 15:10:01 stefano franchi wrote:
> > Dear Lyxers,
> >
> > does anyone know  any script that would convert a text/tex/lyx file to a
> > sorted list of words (after removal of all punctuation)? That would be
> very
> > helpful when creating the index, but I could not find anything with the
> > usual googling techniques. Notice that I am not talking about automatic
> > indexing tool. More modestly, I am looking for some sw help on generating
> a
> > provisional list of words to be pared down (and later inserted) manually.
> > There is an old page describing the procedure I would like to follow
> here:
> > http://www.karakas-online.de/mySGML/lyx-automatic-index-generation.html.
> > Unfortunately,  the awk script it describes seems linked to an old
> version
> > of Lyx.
> >
> > Steve Litt describes the same technique in an old post, but he seems to
> > assume it would be trivial to whip up the needed script. Not true for me,
> I
> > am afraid...
> >
> > Any help appreciated,
> >
> > Stefano
>
> Hi Stefano,
>
> I no longer use such scripts, because they make indexing more difficult and
> lower quality, even if used just as a guide. In my last book, "Quit
> Joblessness, Start Your Own Business", I indexed by putting an index start
> at
> the beginning of each chapter, section, or subsection, and an index end at
> the
> end of same. This eliminated index entries where the word just happens to
> be
> mentioned but isn't really important. This also eliminated me looking and
> looking for occurrences of words. It also eliminated my looking for words
> but
> missing the phrases to which they belonged.
>
>
Hi Steve,

I appreciate the suggestion, but I don't think it would really work in my
case. It seems to require a fairly strict organization with, roughly, one
concept per (sub(sub))-section. I am nowhere close to that admirable
standard.

Cheers,

S.


More indexing woes

2010-11-03 Thread stefano franchi
It seems Latex does not appreciate  index entries in footnotes. I get a slew
of messages of the kind:


! Use of \...@index doesn't match its definition.


Does anyone know a workaround?


Thanks,

Stefano


Re: More indexing woes

2010-11-03 Thread stefano franchi
On Wed, Nov 3, 2010 at 5:42 PM, stefano franchi
wrote:

> It seems Latex does not appreciate  index entries in footnotes. I get a
> slew of messages of the kind:
>
>
> ! Use of \...@index doesn't match its definition.
>
>
> Does anyone know a workaround?
>
>
> Thanks,
>
> Stefano
>

Oops, ignore the message. It seems there is nothing wrong with vanilla Latex
classes and indexed words in footnotes. It must be something in  my
customized memoir + biblatex setting that causes problems. On  to divide and
conquer...

S.


Re: Export Documents from Command Line

2010-11-03 Thread Venable
On Wed, Nov 3, 2010 at 3:38 PM, Richard Heck  wrote:
> On 11/03/2010 03:28 PM, Venable wrote:
>>
>> I would very much like to learn more about running lyx from the command
>> line.
>>
>> Do these comments apply to Windows?
>>
>>
>
> Yes, though of course you have to use "lyx.exe", etc.
>
>> Are there any help documents with simple examples? I did not see
>> anything in the User Guide or Extended.
>>
>>
>
> Just "lyx.exe -help". Assuming LyX is in your path.
>
> Richard
>
>
Richard,

Thanks very much for your guidance. However, I fear I am such a novice
that even this is slightly over my head. For example:


C:\Users\MyName>lyx.exe -help
'lyx.exe' is not recognized as an internal or external command,
operable program or batch file.


... and I'm stuck.

Are there any simple resources on how to get started with the very basics?


Windows Command Line

2010-11-03 Thread Richard Heck


Can someone on Windows explain the right thing to do here?


C:\Users\MyName>lyx.exe -help
'lyx.exe' is not recognized as an internal or external command,
operable program or batch file.


... and I'm stuck.

Are there any simple resources on how to get started with the very basics?

   
Unfortunately, I'm not on Windows. Probably, lyx.exe is not in your 
path, but I don't know for sure. Someone else will.


Richard



Re: Windows Command Line

2010-11-03 Thread Michael Joyner
By default, lyx.exe is not in your path... you will have to put the full
"%programfiles%\lyx\bin\lyx.exe" in quotes on the command prompt (or some
variation thereof)

On Wed, Nov 3, 2010 at 9:09 PM, Richard Heck  wrote:

>
> Can someone on Windows explain the right thing to do here?
>
>  C:\Users\MyName>lyx.exe -help
>> 'lyx.exe' is not recognized as an internal or external command,
>> operable program or batch file.
>>
>>
>> ... and I'm stuck.
>>
>> Are there any simple resources on how to get started with the very basics?
>>
>>
>>
> Unfortunately, I'm not on Windows. Probably, lyx.exe is not in your path,
> but I don't know for sure. Someone else will.
>
> Richard
>
>