Re: Latin Modern in Dropped Capitals

2005-11-10 Thread Jim Osborn
On Thu, Nov 10, 2005 at  8:30:59AM -0500, William F. Adams wrote:
 My guess here is that lmr and lmr10 are getting used in an
 unsupported encoding. 

Examining my TEXMF tree, I find in .../fonts/tfm/public/lm/:
  cork-lm*.tfm
  qx-lm*.tfm
  texnansi-lm*.tfm
  ts1-lm*.tfm
where * represents the full suite of b,bx.r,ri,ro,ss,tt,etc.,
in sizes 5,6.7,8,9,10,12 and 17.  I think, as a bit of a novice,
that cork, qx, etc. are various encodings, and that cork is a
TeX standard thing that I'd expect to be supported.


 ptmr == the knock-off of Times bundled w/ GhostScript
 yfrak == nifty fraktur font (you should be able to install this...

Both ptmr and yfrak just work out of the box after the unadorned
teTeX installation (they come as part of teTeX-3, as does lm).  I
should mention that I removed all traces of the teTeX-1.0 installation
prior to installing teTeX-3, and configured the new one to include
everything except the cjk portion.


 The TFM files seemed to get built automatically as needed for the
 ec fonts, so I'd think the same would happen for the lm family,
 but so far, they're not. 
 ...
 I think if you set it up so that the font is called out in a
 supported encoding you'll be fine. Don't use lmr10 though, if
 you're not setting a 10pt. dropped capital, instead pick a larger
 optical size so it'll look nicer. 

Yeah, I realized after I sent my prior note (and examining the
lmodern.sty file) that lmr is the name to use. 

Any suggestions how to set it up so that the font is called out in a
supported encoding?  I tried referring to the font as cork-lmr but
that gives the same LaTeX error:
   Font \BIG=cork-lmr not loadable: Metric (TFM) file not found.
\bigdrop{0em}{\droplines}{\dropfont}{T}
(after \newcommand{\dropfont}{cork-lmr} in the preamble)

The fact that the teTeX installation set up the other fonts, like yfrak,
so that they're usable makes me think the problem is something simple.
When I tested the yfrak font in preparation for this note, I noticed
the View-DVI process made a new entry in teTeX's VARTEXFONTS tree
(I hadn't used yfrak since the teTeX-3 install); no action occurs there
with the Latin Modern fonts.

If I knew what's different, from TeX's (or LyX's) point of view,
between ptmr/yfrak/ecrm1000/cmr10 and lmr, I'd know what direction
to charge off in.  As I said, my novice status opens up lots of alleys
to explore, many of which, though interesting and edifying, don't
solve the problem at hand. :)

Thanks for the response,

Jim



Re: Latin Modern in Dropped Capitals

2005-11-10 Thread Jim Osborn
On Thu, Nov 10, 2005 at  8:30:59AM -0500, William F. Adams wrote:
 My guess here is that lmr and lmr10 are getting used in an
 unsupported encoding. 

Examining my TEXMF tree, I find in .../fonts/tfm/public/lm/:
  cork-lm*.tfm
  qx-lm*.tfm
  texnansi-lm*.tfm
  ts1-lm*.tfm
where * represents the full suite of b,bx.r,ri,ro,ss,tt,etc.,
in sizes 5,6.7,8,9,10,12 and 17.  I think, as a bit of a novice,
that cork, qx, etc. are various encodings, and that cork is a
TeX standard thing that I'd expect to be supported.


 ptmr == the knock-off of Times bundled w/ GhostScript
 yfrak == nifty fraktur font (you should be able to install this...

Both ptmr and yfrak just work out of the box after the unadorned
teTeX installation (they come as part of teTeX-3, as does lm).  I
should mention that I removed all traces of the teTeX-1.0 installation
prior to installing teTeX-3, and configured the new one to include
everything except the cjk portion.


 The TFM files seemed to get built automatically as needed for the
 ec fonts, so I'd think the same would happen for the lm family,
 but so far, they're not. 
 ...
 I think if you set it up so that the font is called out in a
 supported encoding you'll be fine. Don't use lmr10 though, if
 you're not setting a 10pt. dropped capital, instead pick a larger
 optical size so it'll look nicer. 

Yeah, I realized after I sent my prior note (and examining the
lmodern.sty file) that lmr is the name to use. 

Any suggestions how to set it up so that the font is called out in a
supported encoding?  I tried referring to the font as cork-lmr but
that gives the same LaTeX error:
   Font \BIG=cork-lmr not loadable: Metric (TFM) file not found.
\bigdrop{0em}{\droplines}{\dropfont}{T}
(after \newcommand{\dropfont}{cork-lmr} in the preamble)

The fact that the teTeX installation set up the other fonts, like yfrak,
so that they're usable makes me think the problem is something simple.
When I tested the yfrak font in preparation for this note, I noticed
the View-DVI process made a new entry in teTeX's VARTEXFONTS tree
(I hadn't used yfrak since the teTeX-3 install); no action occurs there
with the Latin Modern fonts.

If I knew what's different, from TeX's (or LyX's) point of view,
between ptmr/yfrak/ecrm1000/cmr10 and lmr, I'd know what direction
to charge off in.  As I said, my novice status opens up lots of alleys
to explore, many of which, though interesting and edifying, don't
solve the problem at hand. :)

Thanks for the response,

Jim



Re: Latin Modern in Dropped Capitals

2005-11-10 Thread Jim Osborn
On Thu, Nov 10, 2005 at  8:30:59AM -0500, William F. Adams wrote:
> My guess here is that lmr and lmr10 are getting used in an
> unsupported encoding. 

Examining my TEXMF tree, I find in .../fonts/tfm/public/lm/:
  cork-lm*.tfm
  qx-lm*.tfm
  texnansi-lm*.tfm
  ts1-lm*.tfm
where "*" represents the full suite of b,bx.r,ri,ro,ss,tt,etc.,
in sizes 5,6.7,8,9,10,12 and 17.  I think, as a bit of a novice,
that cork, qx, etc. are various encodings, and that cork is a
TeX standard thing that I'd expect to be supported.


> ptmr == the knock-off of Times bundled w/ GhostScript
> yfrak == nifty fraktur font (you should be able to install this...

Both ptmr and yfrak "just work" out of the box after the unadorned
teTeX installation (they come as part of teTeX-3, as does lm).  I
should mention that I removed all traces of the teTeX-1.0 installation
prior to installing teTeX-3, and configured the new one to include
everything except the cjk portion.


> >The TFM files seemed to get built automatically as needed for the
> >ec fonts, so I'd think the same would happen for the lm family,
> >but so far, they're not. 
> ...
> I think if you set it up so that the font is called out in a
> supported encoding you'll be fine. Don't use lmr10 though, if
> you're not setting a 10pt. dropped capital, instead pick a larger
> optical size so it'll look nicer. 

Yeah, I realized after I sent my prior note (and examining the
lmodern.sty file) that "lmr" is the name to use. 

Any suggestions how to "set it up so that the font is called out in a
supported encoding"?  I tried referring to the font as "cork-lmr" but
that gives the same LaTeX error:
   Font \BIG=cork-lmr not loadable: Metric (TFM) file not found.
\bigdrop{0em}{\droplines}{\dropfont}{T}
(after \newcommand{\dropfont}{cork-lmr} in the preamble)

The fact that the teTeX installation set up the other fonts, like yfrak,
so that they're usable makes me think the problem is something simple.
When I tested the yfrak font in preparation for this note, I noticed
the View->DVI process made a new entry in teTeX's VARTEXFONTS tree
(I hadn't used yfrak since the teTeX-3 install); no action occurs there
with the Latin Modern fonts.

If I knew what's different, from TeX's (or LyX's) point of view,
between "ptmr/yfrak/ecrm1000/cmr10" and "lmr", I'd know what direction
to charge off in.  As I said, my novice status opens up lots of alleys
to explore, many of which, though interesting and edifying, don't
solve the problem at hand. :)

Thanks for the response,

Jim



Latin Modern in Dropped Capitals

2005-11-09 Thread Jim Osborn
I installed teTeX-3.0 some time after building LyX-1.3.5 (Qt).  I had
been running teTeX-1.0.7.  The Latin Modern fonts are installed as
part of the teTeX-3.0 installation, and I can use them in the normal
text of a LyX document via the FAQ instructions \usepackage{lmodern}.

However, the dropped capital package requires fonts specified with
their nicknames ptmr, yfrak, ecrm1000 etc. and when I try
using lmr or lmr10 I get LaTeX errors about missing TFM files.

The TFM files seemed to get built automatically as needed for the ec
fonts, so I'd think the same would happen for the lm family, but
so far, they're not.

Do I need to build TFM files manually, or is there something else
I need to tell LyX?  Do I need to add entries in the LyX configure
script that makes symlinks in .../lyx/xfonts for various .pfb files?
Something else?

I thought I better ask here before charging off on a bunch of
blind alleys.

TIA,

Jim


Latin Modern in Dropped Capitals

2005-11-09 Thread Jim Osborn
I installed teTeX-3.0 some time after building LyX-1.3.5 (Qt).  I had
been running teTeX-1.0.7.  The Latin Modern fonts are installed as
part of the teTeX-3.0 installation, and I can use them in the normal
text of a LyX document via the FAQ instructions \usepackage{lmodern}.

However, the dropped capital package requires fonts specified with
their nicknames ptmr, yfrak, ecrm1000 etc. and when I try
using lmr or lmr10 I get LaTeX errors about missing TFM files.

The TFM files seemed to get built automatically as needed for the ec
fonts, so I'd think the same would happen for the lm family, but
so far, they're not.

Do I need to build TFM files manually, or is there something else
I need to tell LyX?  Do I need to add entries in the LyX configure
script that makes symlinks in .../lyx/xfonts for various .pfb files?
Something else?

I thought I better ask here before charging off on a bunch of
blind alleys.

TIA,

Jim


Latin Modern in Dropped Capitals

2005-11-09 Thread Jim Osborn
I installed teTeX-3.0 some time after building LyX-1.3.5 (Qt).  I had
been running teTeX-1.0.7.  The Latin Modern fonts are installed as
part of the teTeX-3.0 installation, and I can use them in the normal
text of a LyX document via the FAQ instructions \usepackage{lmodern}.

However, the dropped capital package requires fonts specified with
their nicknames "ptmr", "yfrak", "ecrm1000" etc. and when I try
using "lmr" or "lmr10" I get LaTeX errors about missing TFM files.

The TFM files seemed to get built automatically as needed for the ec
fonts, so I'd think the same would happen for the lm family, but
so far, they're not.

Do I need to build TFM files manually, or is there something else
I need to tell LyX?  Do I need to add entries in the LyX configure
script that makes symlinks in .../lyx/xfonts for various .pfb files?
Something else?

I thought I better ask here before charging off on a bunch of
blind alleys.

TIA,

Jim


\usepackage[dvips]{geometry}: How?

2005-11-07 Thread Jim Osborn
I'd like to take advantage of xdvik's ability to sense the paper size
from the dvi file, as recommended in the xdvi man page, by putting
the subject line in the latex source.  It works fine in a custom
class file, but when I put that line in the Preamble of an ordinary
Article class I get this error:

  -
  LaTeX Error: Option clash for package geometry.

  The package geometry has already been loaded with options:
[]
  There has now been an attempt to load it with options
[dvips]
  Adding the global options:
,dvips
  to your \documentclass declaration may fix this...
  -

I can't find any mention of geometry in the teTeX-3.0 article.cls file,
nor in any of the other searching I've done.

LyX 1.3.5 seems to imply that geometry gets invoked for certain paper
sizes, but I can't find any place either in the Layout-Document or
the Edit-Preferences dialogs to set this particular option.

How can I put \usepackage[dvips]{geometry} in an article?

TIA,

Jim


Re: \usepackage[dvips]{geometry}: How?

2005-11-07 Thread Jim Osborn
On Mon, Nov 07, 2005 at  6:22:51PM -0500, Paul A. Rubin wrote:
 Fortunately, options can be set with \geometry{}, and invocations
 of that macro are cumulative.  So try \geometry{dvips} in your
 preamble and see if that works. 

It does indeed.

Thanks, Paul!

Jim


\usepackage[dvips]{geometry}: How?

2005-11-07 Thread Jim Osborn
I'd like to take advantage of xdvik's ability to sense the paper size
from the dvi file, as recommended in the xdvi man page, by putting
the subject line in the latex source.  It works fine in a custom
class file, but when I put that line in the Preamble of an ordinary
Article class I get this error:

  -
  LaTeX Error: Option clash for package geometry.

  The package geometry has already been loaded with options:
[]
  There has now been an attempt to load it with options
[dvips]
  Adding the global options:
,dvips
  to your \documentclass declaration may fix this...
  -

I can't find any mention of geometry in the teTeX-3.0 article.cls file,
nor in any of the other searching I've done.

LyX 1.3.5 seems to imply that geometry gets invoked for certain paper
sizes, but I can't find any place either in the Layout-Document or
the Edit-Preferences dialogs to set this particular option.

How can I put \usepackage[dvips]{geometry} in an article?

TIA,

Jim


Re: \usepackage[dvips]{geometry}: How?

2005-11-07 Thread Jim Osborn
On Mon, Nov 07, 2005 at  6:22:51PM -0500, Paul A. Rubin wrote:
 Fortunately, options can be set with \geometry{}, and invocations
 of that macro are cumulative.  So try \geometry{dvips} in your
 preamble and see if that works. 

It does indeed.

Thanks, Paul!

Jim


\usepackage[dvips]{geometry}: How?

2005-11-07 Thread Jim Osborn
I'd like to take advantage of xdvik's ability to sense the paper size
from the dvi file, as recommended in the xdvi man page, by putting
the subject line in the latex source.  It works fine in a custom
class file, but when I put that line in the Preamble of an ordinary
Article class I get this error:

  -
  LaTeX Error: Option clash for package geometry.

  The package geometry has already been loaded with options:
[]
  There has now been an attempt to load it with options
[dvips]
  Adding the global options:
,dvips
  to your \documentclass declaration may fix this...
  -

I can't find any mention of geometry in the teTeX-3.0 article.cls file,
nor in any of the other searching I've done.

LyX 1.3.5 seems to imply that geometry gets invoked for certain paper
sizes, but I can't find any place either in the Layout->Document or
the Edit->Preferences dialogs to set this particular option.

How can I put "\usepackage[dvips]{geometry}" in an article?

TIA,

Jim


Re: \usepackage[dvips]{geometry}: How?

2005-11-07 Thread Jim Osborn
On Mon, Nov 07, 2005 at  6:22:51PM -0500, Paul A. Rubin wrote:
> Fortunately, options can be set with \geometry{}, and invocations
> of that macro are cumulative.  So try \geometry{dvips} in your
> preamble and see if that works. 

It does indeed.

Thanks, Paul!

Jim


Re: space between single and right double quote marks

2005-10-11 Thread Jim Osborn
On Tue, Oct 11, 2005 at 10:11:39AM +0200, Helge Hafting wrote:
 This is easy in lyx-1.4... Correct spacing is added as needed, at
 least that happened for me with this sort of quoting style:
 «The word was foo » he said. 
 
 It is also possible (but cumbersome) in lyx 1.3:
 Set quoting style to double qoutes. Write everything, but skip
 the single quotes.  Change quoting style to single quotes.
 (That won't affect the existing double quotes in there.)
 Now type the single quotes.  Then, change the style back if you need.

Thanks, Helge,

It does exactly as you say with the
   «The word was foo » [I'll call F style]
quoting style, but not with the 
  ``The word was `foo' ''[I'll call E style]
style.

Here's the lyx for my E style example:

   \begin_inset Quotes eld
   \end_inset 
   
   The word was
   \begin_inset Quotes els
   \end_inset 
   
   foo
   \begin_inset Quotes ers
   \end_inset 
   
   \begin_inset Quotes erd
   \end_inset 
   
he said.

And here's the dvi:
...fooright double quotesmall spaceright single quote

The lyx for the F style has fld in place of eld etc., and it does
indeed produce this dvi with LyX 1.3.6:
...fooright single quotesmall spaceright double quote

So, apparently it's a bug, at least in LyX 1.3.6, with the E style quotes
but not the F style; I didn't test all the other possibilities.

If you have time, could you verify whether the bug exists in LyX 1.4
for the E style quotes?


 The spacing should be correct too.  If it isn't note that both
 lyx 1.3 and lyx 1.4 have small spaces in the insert menu.

I can't find a small space in my LyX 1.3.6 Insert-Special Character
menu.  I have these choices:
  Superscript
  Subscript
  Hfill
  Hyphenation Point
  Ligature Break
  Protected Blank
  Line Break
  Ellipsis
  End of Sentence
  Ordinary Quote
  Menu Separator

Protected Blank puts this in the lyx:
  \SpecialChar ~
and produces exactly the same size space as an ordinary space, one em,
as my eyes measure it.  An ERT \space does the same.

The small space that appears between the single and double quotes
in my examples looks like about one-third of an em. 

Am I looking on the wrong menu for the small spaces you mention?

Thanks again for the help.

Jim


Re: space between single and right double quote marks

2005-10-11 Thread Jim Osborn
On Tue, Oct 11, 2005 at 10:11:39AM +0200, Helge Hafting wrote:
 This is easy in lyx-1.4... Correct spacing is added as needed, at
 least that happened for me with this sort of quoting style:
 «The word was foo » he said. 
 
 It is also possible (but cumbersome) in lyx 1.3:
 Set quoting style to double qoutes. Write everything, but skip
 the single quotes.  Change quoting style to single quotes.
 (That won't affect the existing double quotes in there.)
 Now type the single quotes.  Then, change the style back if you need.

Thanks, Helge,

It does exactly as you say with the
   «The word was foo » [I'll call F style]
quoting style, but not with the 
  ``The word was `foo' ''[I'll call E style]
style.

Here's the lyx for my E style example:

   \begin_inset Quotes eld
   \end_inset 
   
   The word was
   \begin_inset Quotes els
   \end_inset 
   
   foo
   \begin_inset Quotes ers
   \end_inset 
   
   \begin_inset Quotes erd
   \end_inset 
   
he said.

And here's the dvi:
...fooright double quotesmall spaceright single quote

The lyx for the F style has fld in place of eld etc., and it does
indeed produce this dvi with LyX 1.3.6:
...fooright single quotesmall spaceright double quote

So, apparently it's a bug, at least in LyX 1.3.6, with the E style quotes
but not the F style; I didn't test all the other possibilities.

If you have time, could you verify whether the bug exists in LyX 1.4
for the E style quotes?


 The spacing should be correct too.  If it isn't note that both
 lyx 1.3 and lyx 1.4 have small spaces in the insert menu.

I can't find a small space in my LyX 1.3.6 Insert-Special Character
menu.  I have these choices:
  Superscript
  Subscript
  Hfill
  Hyphenation Point
  Ligature Break
  Protected Blank
  Line Break
  Ellipsis
  End of Sentence
  Ordinary Quote
  Menu Separator

Protected Blank puts this in the lyx:
  \SpecialChar ~
and produces exactly the same size space as an ordinary space, one em,
as my eyes measure it.  An ERT \space does the same.

The small space that appears between the single and double quotes
in my examples looks like about one-third of an em. 

Am I looking on the wrong menu for the small spaces you mention?

Thanks again for the help.

Jim


Re: space between single and right double quote marks

2005-10-11 Thread Jim Osborn
On Tue, Oct 11, 2005 at 10:11:39AM +0200, Helge Hafting wrote:
> This is easy in lyx-1.4... Correct spacing is added as needed, at
> least that happened for me with this sort of quoting style:
> «The word was  » he said. 
> 
> It is also possible (but cumbersome) in lyx 1.3:
> Set quoting style to double qoutes. Write everything, but skip
> the single quotes.  Change quoting style to single quotes.
> (That won't affect the existing double quotes in there.)
> Now type the single quotes.  Then, change the style back if you need.

Thanks, Helge,

It does exactly as you say with the
   «The word was  » [I'll call F style]
quoting style, but not with the 
  ``The word was `foo' ''[I'll call E style]
style.

Here's the lyx for my E style example:

   \begin_inset Quotes eld
   \end_inset 
   
   The word was
   \begin_inset Quotes els
   \end_inset 
   
   foo
   \begin_inset Quotes ers
   \end_inset 
   
   \begin_inset Quotes erd
   \end_inset 
   
he said.

And here's the dvi:
...foo

The lyx for the F style has "fld" in place of "eld" etc., and it does
indeed produce this dvi with LyX 1.3.6:
...foo

So, apparently it's a bug, at least in LyX 1.3.6, with the E style quotes
but not the F style; I didn't test all the other possibilities.

If you have time, could you verify whether the bug exists in LyX 1.4
for the E style quotes?


> The spacing should be correct too.  If it isn't note that both
> lyx 1.3 and lyx 1.4 have "small spaces" in the insert menu.

I can't find a "small space" in my LyX 1.3.6 Insert->Special Character
menu.  I have these choices:
  Superscript
  Subscript
  Hfill
  Hyphenation Point
  Ligature Break
  Protected Blank
  Line Break
  Ellipsis
  End of Sentence
  Ordinary Quote
  Menu Separator

Protected Blank puts this in the lyx:
  \SpecialChar ~
and produces exactly the same size space as an ordinary space, one em,
as my eyes measure it.  An ERT \ does the same.

The  that appears between the single and double quotes
in my examples looks like about one-third of an em. 

Am I looking on the wrong menu for the "small spaces" you mention?

Thanks again for the help.

Jim


space between single and right double quote marks

2005-10-10 Thread Jim Osborn
I can't seem to find a way to typeset the following text correctly:

The word was `foo,' he said.

The default result is:
  ...foo,right double quotesmall spaceright single quote

I'll include the entire lyx file at the end of this note, but the
bit corresponding to the quote marks is:

   The word was `foo,'
   \begin_inset Quotes erd
   \end_inset 

which looks correct to me, so I don't know if I'm running into a TeX
problem, or a LaTeX problem, or something within LyX.

I've tried using two single quote marks in place of the double quote
(that is, a string of three single quote characters), with the same result.
I've tried putting a ligature break, or an ERT \null, between the
single and the double quote characters, both of which produce three 
closely-spaced right single quote marks.  

For test purposes, I've tried omitting the comma, as well as changing
the language to American (There doesn't seem to be a language setting
in the quote-style portion of the Layout box, just the various style
selections, and the \quotes_language in the lyx file remains english
no matter what I set in the Edit-Preferences-Language section).

The only mention of kerning hacking I find in the TeX FAQ points to
the letterspace and soul packages, and the best I can get with either
of them is: right single quotespaceordinary quote
because apparently ERT double quotes are neither left nor right.

This single/double quote situation is handled correctly on the left
side of things; it seems to only be a problem on the right.

Can someone point me to a workaround?

Thanks,

Jim


The complete lyx looks like this:
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\topmargin 0.25in
\bottommargin 0.625in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

\begin_inset Quotes eld
\end_inset 

The word was `foo,'
\begin_inset Quotes erd
\end_inset 

 he said.
\the_end


space between single and right double quote marks

2005-10-10 Thread Jim Osborn
I can't seem to find a way to typeset the following text correctly:

The word was `foo,' he said.

The default result is:
  ...foo,right double quotesmall spaceright single quote

I'll include the entire lyx file at the end of this note, but the
bit corresponding to the quote marks is:

   The word was `foo,'
   \begin_inset Quotes erd
   \end_inset 

which looks correct to me, so I don't know if I'm running into a TeX
problem, or a LaTeX problem, or something within LyX.

I've tried using two single quote marks in place of the double quote
(that is, a string of three single quote characters), with the same result.
I've tried putting a ligature break, or an ERT \null, between the
single and the double quote characters, both of which produce three 
closely-spaced right single quote marks.  

For test purposes, I've tried omitting the comma, as well as changing
the language to American (There doesn't seem to be a language setting
in the quote-style portion of the Layout box, just the various style
selections, and the \quotes_language in the lyx file remains english
no matter what I set in the Edit-Preferences-Language section).

The only mention of kerning hacking I find in the TeX FAQ points to
the letterspace and soul packages, and the best I can get with either
of them is: right single quotespaceordinary quote
because apparently ERT double quotes are neither left nor right.

This single/double quote situation is handled correctly on the left
side of things; it seems to only be a problem on the right.

Can someone point me to a workaround?

Thanks,

Jim


The complete lyx looks like this:
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\topmargin 0.25in
\bottommargin 0.625in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

\begin_inset Quotes eld
\end_inset 

The word was `foo,'
\begin_inset Quotes erd
\end_inset 

 he said.
\the_end


space between single and right double quote marks

2005-10-10 Thread Jim Osborn
I can't seem to find a way to typeset the following text correctly:

"The word was `foo,'" he said.

The default result is:
  ...foo,

I'll include the entire lyx file at the end of this note, but the
bit corresponding to the quote marks is:

   The word was `foo,'
   \begin_inset Quotes erd
   \end_inset 

which looks correct to me, so I don't know if I'm running into a TeX
problem, or a LaTeX problem, or something within LyX.

I've tried using two single quote marks in place of the double quote
(that is, a string of three single quote characters), with the same result.
I've tried putting a ligature break, or an ERT \null, between the
single and the double quote characters, both of which produce three 
closely-spaced right single quote marks.  

For test purposes, I've tried omitting the comma, as well as changing
the language to American (There doesn't seem to be a language setting
in the quote-style portion of the Layout box, just the various style
selections, and the \quotes_language in the lyx file remains english
no matter what I set in the Edit->Preferences->Language section).

The only mention of kerning hacking I find in the TeX FAQ points to
the letterspace and soul packages, and the best I can get with either
of them is: 
because apparently ERT double quotes are neither left nor right.

This single/double quote situation is handled correctly on the left
side of things; it seems to only be a problem on the right.

Can someone point me to a workaround?

Thanks,

Jim


The complete lyx looks like this:
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 1
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\topmargin 0.25in
\bottommargin 0.625in
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

\begin_inset Quotes eld
\end_inset 

The word was `foo,'
\begin_inset Quotes erd
\end_inset 

 he said.
\the_end


Re: Compiling LyX 1.3.6 with qt: SegFault

2005-09-28 Thread Jim Osborn
On Thu, Sep 22, 2005 at  8:52:15AM +0200, Georg Baum wrote:
 So the segmentation fault happens when running uic. This should be
 reported to trolltech, because it seems to be a bug in uic. 

Just to follow up, I submitted a bug report on the Trolltech site,
and got this response:

 /konstruct/apps/office/lyx/work/lyx-1.3.6/src/frontends/qt2/ui'
 /usr/lib/qt3//bin/uic -tr qt_ -impl BiblioModuleBase.h
 BiblioModuleBase.ui -o
 +BiblioModuleBase.C   
 make[7]: *** [BiblioModuleBase.C] Segmentation fault
 Workaround: add -nounload to UICFLAGS

Thanks for your comments. It seems like the Lyx configure script is
trying to use qt 3 uic on qt 2 .ui files which is not fully supported.
Thus, if this is the case, we do not regard this as a bug.

Greetings,
Paal
end of response--

The configure log shows all library references to /usr/lib/qt3, as
expected, since QTDIR=/usr/lib/qt3, and shows:
  configure:13480: checking Qt version
  configure:13508: result: 3.3.4
which is correct for my installation.

But I did wonder about all those src/frontends/qt2/... pathnames in
LyX, which I noticed in Lyx 1.3.5.  I assumed the numbering scheme
was something internal to LyX, not to QT itself, but I can't really
tell from a naive examination of a few LyX qt2 source files.  Does
anyone here know if LyX 1.3.6 is using QT 2 .ui files, as Paal seems
to think?  If not, I should probably follow up on my bug report.

Since adding the -nounload flag to UICFLAGS makes LyX build
successfully, maybe it's not really a QT bug; maybe the LyX top-level
Makefiles should specify that flag.  I can't find any documentation
on either UICFLAGS or -nounload in any of the QT installation files,
or on the Trolltech site, so I can't speculate on reasons to not
always include that flag.  I noticed that flag was often used in
various postings to the Trolltech site, fwiw.  But there was never
any discussion of the flags themselves in those posts. 

Does anyone here know why LyX doesn't use -nounload by default? 

Cheers,

Jim


Re: Compiling LyX 1.3.6 with qt: SegFault

2005-09-28 Thread Jim Osborn
On Thu, Sep 22, 2005 at  8:52:15AM +0200, Georg Baum wrote:
 So the segmentation fault happens when running uic. This should be
 reported to trolltech, because it seems to be a bug in uic. 

Just to follow up, I submitted a bug report on the Trolltech site,
and got this response:

 /konstruct/apps/office/lyx/work/lyx-1.3.6/src/frontends/qt2/ui'
 /usr/lib/qt3//bin/uic -tr qt_ -impl BiblioModuleBase.h
 BiblioModuleBase.ui -o
 +BiblioModuleBase.C   
 make[7]: *** [BiblioModuleBase.C] Segmentation fault
 Workaround: add -nounload to UICFLAGS

Thanks for your comments. It seems like the Lyx configure script is
trying to use qt 3 uic on qt 2 .ui files which is not fully supported.
Thus, if this is the case, we do not regard this as a bug.

Greetings,
Paal
end of response--

The configure log shows all library references to /usr/lib/qt3, as
expected, since QTDIR=/usr/lib/qt3, and shows:
  configure:13480: checking Qt version
  configure:13508: result: 3.3.4
which is correct for my installation.

But I did wonder about all those src/frontends/qt2/... pathnames in
LyX, which I noticed in Lyx 1.3.5.  I assumed the numbering scheme
was something internal to LyX, not to QT itself, but I can't really
tell from a naive examination of a few LyX qt2 source files.  Does
anyone here know if LyX 1.3.6 is using QT 2 .ui files, as Paal seems
to think?  If not, I should probably follow up on my bug report.

Since adding the -nounload flag to UICFLAGS makes LyX build
successfully, maybe it's not really a QT bug; maybe the LyX top-level
Makefiles should specify that flag.  I can't find any documentation
on either UICFLAGS or -nounload in any of the QT installation files,
or on the Trolltech site, so I can't speculate on reasons to not
always include that flag.  I noticed that flag was often used in
various postings to the Trolltech site, fwiw.  But there was never
any discussion of the flags themselves in those posts. 

Does anyone here know why LyX doesn't use -nounload by default? 

Cheers,

Jim


Re: Compiling LyX 1.3.6 with qt: SegFault

2005-09-28 Thread Jim Osborn
On Thu, Sep 22, 2005 at  8:52:15AM +0200, Georg Baum wrote:
> So the segmentation fault happens when running uic. This should be
> reported to trolltech, because it seems to be a bug in uic. 

Just to follow up, I submitted a bug report on the Trolltech site,
and got this response:

> /konstruct/apps/office/lyx/work/lyx-1.3.6/src/frontends/qt2/ui'
> /usr/lib/qt3//bin/uic -tr qt_ -impl BiblioModuleBase.h
> BiblioModuleBase.ui -o
> +BiblioModuleBase.C   
> make[7]: *** [BiblioModuleBase.C] Segmentation fault
> Workaround: add -nounload to UICFLAGS

Thanks for your comments. It seems like the Lyx configure script is
trying to use qt 3 uic on qt 2 .ui files which is not fully supported.
Thus, if this is the case, we do not regard this as a bug.

Greetings,
Paal
end of response--

The configure log shows all library references to /usr/lib/qt3, as
expected, since QTDIR=/usr/lib/qt3, and shows:
  configure:13480: checking Qt version
  configure:13508: result: 3.3.4
which is correct for my installation.

But I did wonder about all those src/frontends/qt2/... pathnames in
LyX, which I noticed in Lyx 1.3.5.  I assumed the numbering scheme
was something internal to LyX, not to QT itself, but I can't really
tell from a naive examination of a few LyX qt2 source files.  Does
anyone here know if LyX 1.3.6 is using QT 2 .ui files, as Paal seems
to think?  If not, I should probably follow up on my bug report.

Since adding the -nounload flag to UICFLAGS makes LyX build
successfully, maybe it's not really a QT bug; maybe the LyX top-level
Makefiles should specify that flag.  I can't find any documentation
on either UICFLAGS or -nounload in any of the QT installation files,
or on the Trolltech site, so I can't speculate on reasons to not
always include that flag.  I noticed that flag was often used in
various postings to the Trolltech site, fwiw.  But there was never
any discussion of the flags themselves in those posts. 

Does anyone here know why LyX doesn't use -nounload by default? 

Cheers,

Jim


Re: Compiling LyX 1.3.6 with qt: SegFault

2005-09-23 Thread Jim Osborn
On Thu, Sep 22, 2005 at  8:52:15AM +0200, Georg Baum wrote:
 So the segmentation fault happens when running uic. This should be
 reported to trolltech, because it seems to be a bug in uic. 
 Meanwhile, changing the variable UICFLAGS
 
 UICFLAGS=-tr qt_ -nounload
 
 in src/frontends/qt2/ui/Makefile.am (and src/frontends/qt2/ui/Makefile.in
 if you don't have the autotools) cured a similar problem for me. 

Thanks, Georg,

That solved the compile problem for me, and LyX 1.3.6 seems to have
built successfully, per my preliminary test of src/lyx.  I'll report
my experiences to trolltech.

Cheers,

Jim


Re: Compiling LyX 1.3.6 with qt: SegFault

2005-09-23 Thread Jim Osborn
On Thu, Sep 22, 2005 at  8:52:15AM +0200, Georg Baum wrote:
 So the segmentation fault happens when running uic. This should be
 reported to trolltech, because it seems to be a bug in uic. 
 Meanwhile, changing the variable UICFLAGS
 
 UICFLAGS=-tr qt_ -nounload
 
 in src/frontends/qt2/ui/Makefile.am (and src/frontends/qt2/ui/Makefile.in
 if you don't have the autotools) cured a similar problem for me. 

Thanks, Georg,

That solved the compile problem for me, and LyX 1.3.6 seems to have
built successfully, per my preliminary test of src/lyx.  I'll report
my experiences to trolltech.

Cheers,

Jim


Re: Compiling LyX 1.3.6 with qt: SegFault

2005-09-23 Thread Jim Osborn
On Thu, Sep 22, 2005 at  8:52:15AM +0200, Georg Baum wrote:
> So the segmentation fault happens when running uic. This should be
> reported to trolltech, because it seems to be a bug in uic. 
> Meanwhile, changing the variable UICFLAGS
> 
> UICFLAGS=-tr qt_ -nounload
> 
> in src/frontends/qt2/ui/Makefile.am (and src/frontends/qt2/ui/Makefile.in
> if you don't have the autotools) cured a similar problem for me. 

Thanks, Georg,

That solved the compile problem for me, and LyX 1.3.6 seems to have
built successfully, per my preliminary test of src/lyx.  I'll report
my experiences to trolltech.

Cheers,

Jim


Re: Compiling LyX 1.3.6 with qt: SegFault

2005-09-21 Thread Jim Osborn
On Mon, Sep 19, 2005 at  9:00:21PM -0700, Jim Osborn wrote:
 My config: gcc 3.4.3, QT 3.3.4, Linux kernel 2.4.23, PII.
 the QT was compiled with this same compiler, fwiw.
 and of course it all worked fine with LyX 1.3.5, same QT.

Just a followup: I tried building LyX 1.3.5 with KDE 3.4.2 and it
fails at exactly the same point as LyX 1.3.6, so, fwiw, it seems to
be either a KDE or a QT/KDE problem, not just a problem with the new
LyX.

Too bad, as I was hoping to upgrade Konqueror, but not if it
causes me to lose LyX.

Cheers,

Jim


Re: Compiling LyX 1.3.6 with qt: SegFault

2005-09-21 Thread Jim Osborn
On Mon, Sep 19, 2005 at  9:00:21PM -0700, Jim Osborn wrote:
 My config: gcc 3.4.3, QT 3.3.4, Linux kernel 2.4.23, PII.
 the QT was compiled with this same compiler, fwiw.
 and of course it all worked fine with LyX 1.3.5, same QT.

Just a followup: I tried building LyX 1.3.5 with KDE 3.4.2 and it
fails at exactly the same point as LyX 1.3.6, so, fwiw, it seems to
be either a KDE or a QT/KDE problem, not just a problem with the new
LyX.

Too bad, as I was hoping to upgrade Konqueror, but not if it
causes me to lose LyX.

Cheers,

Jim


Re: Compiling LyX 1.3.6 with qt: SegFault

2005-09-21 Thread Jim Osborn
On Mon, Sep 19, 2005 at  9:00:21PM -0700, Jim Osborn wrote:
> My config: gcc 3.4.3, QT 3.3.4, Linux kernel 2.4.23, PII.
> the QT was compiled with this same compiler, fwiw.
> and of course it all worked fine with LyX 1.3.5, same QT.

Just a followup: I tried building LyX 1.3.5 with KDE 3.4.2 and it
fails at exactly the same point as LyX 1.3.6, so, fwiw, it seems to
be either a KDE or a QT/KDE problem, not just a problem with the new
LyX.

Too bad, as I was hoping to upgrade Konqueror, but not if it
causes me to lose LyX.

Cheers,

Jim


Re: No Meta key, LyX 1.3.5/Qt 3.3.4: Solved

2005-06-07 Thread Jim Osborn
On Sun, Jun 05, 2005 at 10:16:36PM -0700, I wrote:
 I just installed LyX 1.3.5 as part of an upgrade of KDE...
 [it's] as though the Meta key wasn't there.
 ...
 Is there something else I need to configure?

It turns out the answer is Yes, KDE 3.4.0 has a Keyboard Layout
setting in its Control Center-Regional  Accessibility section,
in a tab Xkb options.  My old KDE 2.2.1 either didn't have this
or defaulted to the right thing.

Adjusting the settings there restored my Meta Key funtionality
on the Alt key.  Now if I can figure out how to activate a Compose
Key I'll be even happier.  Unfortunately, the KDE Control Center
doesn't know about my Happy Hacking PC/XFree keyboard, (while 
xkeycaps does, and xkeycaps is vintage 1999) so activating the
real keys in KDE's tool is total trial and error.

FWIW,

Jim


Re: No Meta key, LyX 1.3.5/Qt 3.3.4: Solved

2005-06-07 Thread Jim Osborn
On Sun, Jun 05, 2005 at 10:16:36PM -0700, I wrote:
 I just installed LyX 1.3.5 as part of an upgrade of KDE...
 [it's] as though the Meta key wasn't there.
 ...
 Is there something else I need to configure?

It turns out the answer is Yes, KDE 3.4.0 has a Keyboard Layout
setting in its Control Center-Regional  Accessibility section,
in a tab Xkb options.  My old KDE 2.2.1 either didn't have this
or defaulted to the right thing.

Adjusting the settings there restored my Meta Key funtionality
on the Alt key.  Now if I can figure out how to activate a Compose
Key I'll be even happier.  Unfortunately, the KDE Control Center
doesn't know about my Happy Hacking PC/XFree keyboard, (while 
xkeycaps does, and xkeycaps is vintage 1999) so activating the
real keys in KDE's tool is total trial and error.

FWIW,

Jim


Re: No Meta key, LyX 1.3.5/Qt 3.3.4: Solved

2005-06-07 Thread Jim Osborn
On Sun, Jun 05, 2005 at 10:16:36PM -0700, I wrote:
> I just installed LyX 1.3.5 as part of an upgrade of KDE...
> [it's] as though the Meta key wasn't there.
> ...
> Is there something else I need to configure?

It turns out the answer is Yes, KDE 3.4.0 has a Keyboard Layout
setting in its Control Center->Regional & Accessibility section,
in a tab "Xkb options."  My old KDE 2.2.1 either didn't have this
or defaulted to the right thing.

Adjusting the settings there restored my Meta Key funtionality
on the Alt key.  Now if I can figure out how to activate a Compose
Key I'll be even happier.  Unfortunately, the KDE Control Center
doesn't know about my Happy Hacking PC/XFree keyboard, (while 
xkeycaps does, and xkeycaps is vintage 1999) so activating the
real keys in KDE's tool is total trial and error.

FWIW,

Jim


No Meta key, LyX 1.3.5/Qt 3.3.4

2005-06-05 Thread Jim Osborn
I just installed LyX 1.3.5 as part of an upgrade of KDE; the LyX was
actually listed in the KDE installer tool, Konstruct, which downloads
various bits of source and configs and compiles them. 

I had been using LyX 1.3.2 with Qt 2.x successfully, and so far the
new LyX seems to work, except for the lack of any Meta capability.
My Xmodmap has the Alt key mapped to Meta_L, and that has not
changed. xkeycaps shows the appropriate keycodes for all the keys.
LyX is the only app I use that knows about Meta, so I don't have
anything to compare against, except the fact that LyX 1.3.2 worked.

My most basic testing has been to try to throw the focus to the minibuffer
with M-x, on the theory that that test should bypass any bind file
peculiarities, changes in syntax there between LyX versions, etc.
My bind file contains:
   \bind M-x command-execute
which seems about as simple as it gets.

Nothing works; I don't get an Unknown function complaint, I just
get an x in the text of my document, as though the Meta key wasn't there.
But according to xmodmap it is, indeed, there:
$: xmodmap -v -pm
!
! executing work queue
!
xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

shift   Shift_L (0x32),  Shift_R (0x3e)
lockCaps_Lock (0x42)
control Control_L (0x25)
mod1Meta_L (0x40),  Alt_L (0x7d),  Meta_L (0x9c)

I've tried ESC as well as the Alt key, with the same result. 

I have LYX_DIR_13x and LYX_USERDIR_13x set correctly.

The KDE build tool takes the LyX source from
  ftp://ftp.lyx.org/pub/lyx/stable/

Is there a known issue with this version of LyX and/or Qt?

Is there something else I need to configure?  Can someone suggest any
debug strategy?

TIA,

Jim


No Meta key, LyX 1.3.5/Qt 3.3.4

2005-06-05 Thread Jim Osborn
I just installed LyX 1.3.5 as part of an upgrade of KDE; the LyX was
actually listed in the KDE installer tool, Konstruct, which downloads
various bits of source and configs and compiles them. 

I had been using LyX 1.3.2 with Qt 2.x successfully, and so far the
new LyX seems to work, except for the lack of any Meta capability.
My Xmodmap has the Alt key mapped to Meta_L, and that has not
changed. xkeycaps shows the appropriate keycodes for all the keys.
LyX is the only app I use that knows about Meta, so I don't have
anything to compare against, except the fact that LyX 1.3.2 worked.

My most basic testing has been to try to throw the focus to the minibuffer
with M-x, on the theory that that test should bypass any bind file
peculiarities, changes in syntax there between LyX versions, etc.
My bind file contains:
   \bind M-x command-execute
which seems about as simple as it gets.

Nothing works; I don't get an Unknown function complaint, I just
get an x in the text of my document, as though the Meta key wasn't there.
But according to xmodmap it is, indeed, there:
$: xmodmap -v -pm
!
! executing work queue
!
xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

shift   Shift_L (0x32),  Shift_R (0x3e)
lockCaps_Lock (0x42)
control Control_L (0x25)
mod1Meta_L (0x40),  Alt_L (0x7d),  Meta_L (0x9c)

I've tried ESC as well as the Alt key, with the same result. 

I have LYX_DIR_13x and LYX_USERDIR_13x set correctly.

The KDE build tool takes the LyX source from
  ftp://ftp.lyx.org/pub/lyx/stable/

Is there a known issue with this version of LyX and/or Qt?

Is there something else I need to configure?  Can someone suggest any
debug strategy?

TIA,

Jim


No Meta key, LyX 1.3.5/Qt 3.3.4

2005-06-05 Thread Jim Osborn
I just installed LyX 1.3.5 as part of an upgrade of KDE; the LyX was
actually listed in the KDE installer tool, Konstruct, which downloads
various bits of source and configs and compiles them. 

I had been using LyX 1.3.2 with Qt 2.x successfully, and so far the
new LyX seems to work, except for the lack of any Meta capability.
My Xmodmap has the Alt key mapped to Meta_L, and that has not
changed. xkeycaps shows the appropriate keycodes for all the keys.
LyX is the only app I use that knows about Meta, so I don't have
anything to compare against, except the fact that LyX 1.3.2 worked.

My most basic testing has been to try to throw the focus to the minibuffer
with M-x, on the theory that that test should bypass any bind file
peculiarities, changes in syntax there between LyX versions, etc.
My bind file contains:
   \bind "M-x" "command-execute"
which seems about as simple as it gets.

Nothing works; I don't get an "Unknown function" complaint, I just
get an "x" in the text of my document, as though the Meta key wasn't there.
But according to xmodmap it is, indeed, there:
$: xmodmap -v -pm
!
! executing work queue
!
xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

shift   Shift_L (0x32),  Shift_R (0x3e)
lockCaps_Lock (0x42)
control Control_L (0x25)
mod1Meta_L (0x40),  Alt_L (0x7d),  Meta_L (0x9c)

I've tried  as well as the Alt key, with the same result. 

I have LYX_DIR_13x and LYX_USERDIR_13x set correctly.

The KDE build tool takes the LyX source from
  ftp://ftp.lyx.org/pub/lyx/stable/

Is there a known issue with this version of LyX and/or Qt?

Is there something else I need to configure?  Can someone suggest any
debug strategy?

TIA,

Jim


Importing ASCII elipses

2004-03-20 Thread Jim Osborn
Is there any way to mangle an ascii file to tell LyX that the three
periods it finds in the imported text should be treated as ldots?

The best I've come up with is a post-importation treatment, binding
the following to a key:

  command-sequence word-find-forward ...; cut; dots-insert

and then repeatedly hitting that key on the imported text.

If I could hack the ascii beforehand with sed, it'd be a lot easier.

I haven't found a way to enter the ldots (bound to M-period on my
keyboard) into the Search/Find/Replace popup.  If I could, then at
least I could use its Replace-All button to do the job simply. 

Is there a way to do a Replace-All equivalent in a command sequence?
Any other suggestions to simplify the process?

I'm using LyX 1.3.2, Qt.

TIA,

Jim


Importing ASCII elipses

2004-03-20 Thread Jim Osborn
Is there any way to mangle an ascii file to tell LyX that the three
periods it finds in the imported text should be treated as ldots?

The best I've come up with is a post-importation treatment, binding
the following to a key:

  command-sequence word-find-forward ...; cut; dots-insert

and then repeatedly hitting that key on the imported text.

If I could hack the ascii beforehand with sed, it'd be a lot easier.

I haven't found a way to enter the ldots (bound to M-period on my
keyboard) into the Search/Find/Replace popup.  If I could, then at
least I could use its Replace-All button to do the job simply. 

Is there a way to do a Replace-All equivalent in a command sequence?
Any other suggestions to simplify the process?

I'm using LyX 1.3.2, Qt.

TIA,

Jim


Importing ASCII elipses

2004-03-20 Thread Jim Osborn
Is there any way to mangle an ascii file to tell LyX that the three
periods it finds in the imported text should be treated as ldots?

The best I've come up with is a post-importation treatment, binding
the following to a key:

  "command-sequence word-find-forward ...; cut; dots-insert"

and then repeatedly hitting that key on the imported text.

If I could hack the ascii beforehand with sed, it'd be a lot easier.

I haven't found a way to enter the ldots (bound to M-period on my
keyboard) into the Search/Find/Replace popup.  If I could, then at
least I could use its Replace-All button to do the job simply. 

Is there a way to do a "Replace-All" equivalent in a command sequence?
Any other suggestions to simplify the process?

I'm using LyX 1.3.2, Qt.

TIA,

Jim


Re: Find_Next via keyboard

2003-12-15 Thread Jim Osborn
On Tue, Dec 16, 2003 at  1:40:49AM +0100, Christian Ridderström wrote:
 Furthermore, if you are searching for the same word (let's say gargoyle), 
 then try typing this the first time:
 
   M-x word-find-forward gargoyle Enter
 
 which will find you the firs ouccurence. Now, in order to find it again, 
 type:
   M-x Up Enter
 
 When you press Up, the mini-buffer will be filled with the previous 
 command again (i.e. word-find-forward gargoyle) so when you press Enter 
 your search command is executed again.

It's even easier than that.  If I bind
\bind C-f word-find-forward

then simply hitting C-f will find it again.

All the pain is in the initial entry, having to type all (or most) of
word-find-forward. I'm using LyX 1.3.2-Qt, and following a hint
from Andre, found that Right-arrow pops up what looks like an
auto-complete function.  But it seems, at least in 1.3.2, to just be
a list of the possibliities, and I still need to type virtually the
whole thing in, after putting the focus back in the minibuffer, as
Right-arrow puts the focus back in the main screen after poping up
the list!  I'd expect I could select word-find-forward from the
list poped up, but Enter, Right-arrow and double-click all do
nothing.

What's curious, per Andre's remarks, is that the command-execute
word-find-forward and the word-find-forward function executed by
the Search popup seem to be completely separate.  I can search for
foo in the Search popup, then M-X w-f-f bar, and then I can
alternately hop from foo to foo and bar to bar by pressing
either the Find_Next popup button, or C-f. 

Maybe there's utility in maintaining this separation, but I tend
to think it'd be easier overall if the two mechanisms shared their
strings.  It'd sure make entering the initial w-f-f string easier!

Thanks for all the insights.

Jim


Re: Find_Next via keyboard

2003-12-15 Thread Jim Osborn
How embarassing.

On Mon, Dec 15, 2003 at  5:51:55PM -0800, I wrote:
 following a hint from Andre...

I meant Angus, of course.

Sorry,

Jim


Re: Find_Next via keyboard

2003-12-15 Thread Jim Osborn
On Tue, Dec 16, 2003 at  1:40:49AM +0100, Christian Ridderström wrote:
 Furthermore, if you are searching for the same word (let's say gargoyle), 
 then try typing this the first time:
 
   M-x word-find-forward gargoyle Enter
 
 which will find you the firs ouccurence. Now, in order to find it again, 
 type:
   M-x Up Enter
 
 When you press Up, the mini-buffer will be filled with the previous 
 command again (i.e. word-find-forward gargoyle) so when you press Enter 
 your search command is executed again.

It's even easier than that.  If I bind
\bind C-f word-find-forward

then simply hitting C-f will find it again.

All the pain is in the initial entry, having to type all (or most) of
word-find-forward. I'm using LyX 1.3.2-Qt, and following a hint
from Andre, found that Right-arrow pops up what looks like an
auto-complete function.  But it seems, at least in 1.3.2, to just be
a list of the possibliities, and I still need to type virtually the
whole thing in, after putting the focus back in the minibuffer, as
Right-arrow puts the focus back in the main screen after poping up
the list!  I'd expect I could select word-find-forward from the
list poped up, but Enter, Right-arrow and double-click all do
nothing.

What's curious, per Andre's remarks, is that the command-execute
word-find-forward and the word-find-forward function executed by
the Search popup seem to be completely separate.  I can search for
foo in the Search popup, then M-X w-f-f bar, and then I can
alternately hop from foo to foo and bar to bar by pressing
either the Find_Next popup button, or C-f. 

Maybe there's utility in maintaining this separation, but I tend
to think it'd be easier overall if the two mechanisms shared their
strings.  It'd sure make entering the initial w-f-f string easier!

Thanks for all the insights.

Jim


Re: Find_Next via keyboard

2003-12-15 Thread Jim Osborn
How embarassing.

On Mon, Dec 15, 2003 at  5:51:55PM -0800, I wrote:
 following a hint from Andre...

I meant Angus, of course.

Sorry,

Jim


Re: Find_Next via keyboard

2003-12-15 Thread Jim Osborn
On Tue, Dec 16, 2003 at  1:40:49AM +0100, Christian Ridderström wrote:
> Furthermore, if you are searching for the same word (let's say gargoyle), 
> then try typing this the first time:
> 
>   M-x word-find-forward gargoyle 
> 
> which will find you the firs ouccurence. Now, in order to find it again, 
> type:
>   M-x  
> 
> When you press , the mini-buffer will be filled with the previous 
> command again (i.e. word-find-forward gargoyle) so when you press  
> your search command is executed again.

It's even easier than that.  If I bind
\bind "C-f" "word-find-forward"

then simply hitting C-f will find it again.

All the pain is in the initial entry, having to type all (or most) of
"word-find-forward". I'm using LyX 1.3.2-Qt, and following a hint
from Andre, found that  pops up what looks like an
auto-complete function.  But it seems, at least in 1.3.2, to just be
a list of the possibliities, and I still need to type virtually the
whole thing in, after putting the focus back in the minibuffer, as
 puts the focus back in the main screen after poping up
the list!  I'd expect I could select "word-find-forward" from the
list poped up, but ,  and  all do
nothing.

What's curious, per Andre's remarks, is that the command-execute
"word-find-forward" and the "word-find-forward" function executed by
the Search popup seem to be completely separate.  I can search for
"foo" in the Search popup, then M-X w-f-f "bar", and then I can
alternately hop from "foo" to "foo" and "bar" to "bar" by pressing
either the "Find_Next" popup button, or "C-f". 

Maybe there's utility in maintaining this separation, but I tend
to think it'd be easier overall if the two mechanisms shared their
strings.  It'd sure make entering the initial w-f-f string easier!

Thanks for all the insights.

Jim


Re: Find_Next via keyboard

2003-12-15 Thread Jim Osborn
How embarassing.

On Mon, Dec 15, 2003 at  5:51:55PM -0800, I wrote:
> following a hint from Andre...

I meant Angus, of course.

Sorry,

Jim


Re: Find_Next via keyboard

2003-12-14 Thread Jim Osborn
On Sun, Dec 14, 2003 at 12:21:05PM +, Angus Leeming wrote:
 Jim Osborn wrote:
  Entering word-find-forward (without the quotes) directly into the
  minibuffer produces a message: (word-find-forward) below the
  minibuffer. After about five seconds, the message is replaced by
  Font: Default but nothing has happened, the cursor in the main
  window hasn't moved, etc.
 
 M-x word-find-forward your word, perhaps?

Thanks again, Angus.

I think I understand now, there's no real communication between the
Search popup (bound to C-s in the standard emacs.bind), useful for
doing Find/Replace, and the M-x word-find-forward lfun.  That is, they
don't share the search string in their respective buffers, it seems,
as Emacs does.

Binding word-find-forward to a key, then starting things rolling
by typing;
 M-x word-find-forward my wordret
allows me to jump to subsequent instances of my word by pressing
the key w-f-f is bound to, so that's handy for searching when
the cost of all that typing makes it worth it. :)

I don't suppose there's a way to get that M-x word-find-forward
bit into the minibuffer without having to type it all in, is there?
I notice the minibuffer doesn't do auto-completion.

I tried binding command-execute word-find-forward but that just
seems to pop me into the minibuffer, and when I type my word, I
get (Unknown function: my word).  I couldn't seem to find a
variant with command-sequence that helped.

Thanks again for all your help, Angus; I really appreciate it.

Jim


Re: Find_Next via keyboard

2003-12-14 Thread Jim Osborn
On Sun, Dec 14, 2003 at 12:21:05PM +, Angus Leeming wrote:
 Jim Osborn wrote:
  Entering word-find-forward (without the quotes) directly into the
  minibuffer produces a message: (word-find-forward) below the
  minibuffer. After about five seconds, the message is replaced by
  Font: Default but nothing has happened, the cursor in the main
  window hasn't moved, etc.
 
 M-x word-find-forward your word, perhaps?

Thanks again, Angus.

I think I understand now, there's no real communication between the
Search popup (bound to C-s in the standard emacs.bind), useful for
doing Find/Replace, and the M-x word-find-forward lfun.  That is, they
don't share the search string in their respective buffers, it seems,
as Emacs does.

Binding word-find-forward to a key, then starting things rolling
by typing;
 M-x word-find-forward my wordret
allows me to jump to subsequent instances of my word by pressing
the key w-f-f is bound to, so that's handy for searching when
the cost of all that typing makes it worth it. :)

I don't suppose there's a way to get that M-x word-find-forward
bit into the minibuffer without having to type it all in, is there?
I notice the minibuffer doesn't do auto-completion.

I tried binding command-execute word-find-forward but that just
seems to pop me into the minibuffer, and when I type my word, I
get (Unknown function: my word).  I couldn't seem to find a
variant with command-sequence that helped.

Thanks again for all your help, Angus; I really appreciate it.

Jim


Re: Find_Next via keyboard

2003-12-14 Thread Jim Osborn
On Sun, Dec 14, 2003 at 12:21:05PM +, Angus Leeming wrote:
> Jim Osborn wrote:
> > Entering "word-find-forward" (without the quotes) directly into the
> > minibuffer produces a message: "(word-find-forward)" below the
> > minibuffer. After about five seconds, the message is replaced by
> > "Font: Default" but nothing has happened, the cursor in the main
> > window hasn't moved, etc.
> 
> "M-x word-find-forward ", perhaps?

Thanks again, Angus.

I think I understand now, there's no real communication between the
Search popup (bound to C-s in the standard emacs.bind), useful for
doing Find/Replace, and the M-x word-find-forward lfun.  That is, they
don't share the search string in their respective buffers, it seems,
as Emacs does.

Binding word-find-forward to a key, then starting things rolling
by typing;
 M-x word-find-forward 
allows me to jump to subsequent instances of  by pressing
the key w-f-f is bound to, so that's handy for searching when
the cost of all that typing makes it worth it. :)

I don't suppose there's a way to get that "M-x word-find-forward"
bit into the minibuffer without having to type it all in, is there?
I notice the minibuffer doesn't do auto-completion.

I tried binding "command-execute word-find-forward" but that just
seems to pop me into the minibuffer, and when I type , I
get (Unknown function: ).  I couldn't seem to find a
variant with command-sequence that helped.

Thanks again for all your help, Angus; I really appreciate it.

Jim


Find_Next via keyboard

2003-12-13 Thread Jim Osborn
Is there a way to invoke the function of the Search-Find_Next
button from the LyX keyboard?  The N in the Search popup is
underlined, and if the focus is in that popup, pressing M-n does
indeed Find_Next, but I haven't found a way to do it from within the
LyX edit screen.  I'd like to jump from instance to instance of my
search string, maybe editing a bit around it, but staying completely
on the keyboard.  Moving the mouse over to the Search popup every
instance sort of defeats that strategy. 

I searched for find-next, find-again, search-again (what my
emacs uses for that function) in all the bind files in my LyX,
but don't find a lyx-function to bind to a key.

Also, if I can bind Find_Next, what's the function for Replace?

A second question is: how can I get a list of all the bindable
lyx-functions?  So far, I've resorted to grepping the bind files,
but I bet there are some that don't appear in any of those.  The
Wikis are pretty good at listing the various keys, but I couldn't
find a lyx-functions list.

LyX 1.3.2, Qt.

TIA,

Jim


Re: Find_Next via keyboard

2003-12-13 Thread Jim Osborn
On Sat, Dec 13, 2003 at 10:07:05PM +, Angus Leeming wrote:
 M-x word-find-forward
 M-x word-find-backward
 
 should work. M-x activates the minibuffer at the bottom of the LtX 
 window, allowing you to type word-find-forward. Return posts this 
 request off...
 
 Bind it the key of your choice.

Thanks, Angus, but I must be misunderstanding something. For all the
exercises below, I first invoke the Search popup and enter a search
string in the Find window, then press the Find_Next button to take
us to the first instance.  Then...

Entering word-find-forward (without the quotes) directly into the
minibuffer produces a message: (word-find-forward) below the
minibuffer. After about five seconds, the message is replaced by
Font: Default but nothing has happened, the cursor in the main
window hasn't moved, etc. 

I get the same lack of response (without the screen-bottom message)
if I bind like this:

\bind C-f word-find-forward

but now if I type word-find-forward into the minibuffer, there's
still no action, but the message is now (word-find-forward: |C-f|)

similarly for
\bind C-f command-sequence word-find-forward
or
\bind C-f command-sequence word-find-forward;

Other attempts:
\bind C-f M-x word-find-forward
or
\bind C-f M-x word-find-forward;
gives: Unknown function

\bind C-f command-sequence M-x word-find-forward
gives: Unknown function (M-x word-find-forward)

\bind C-f command-sequence M-x; word-find-forward
gives: Unknown function (M-x)


What am I doing wrong?

Jim


Find_Next via keyboard

2003-12-13 Thread Jim Osborn
Is there a way to invoke the function of the Search-Find_Next
button from the LyX keyboard?  The N in the Search popup is
underlined, and if the focus is in that popup, pressing M-n does
indeed Find_Next, but I haven't found a way to do it from within the
LyX edit screen.  I'd like to jump from instance to instance of my
search string, maybe editing a bit around it, but staying completely
on the keyboard.  Moving the mouse over to the Search popup every
instance sort of defeats that strategy. 

I searched for find-next, find-again, search-again (what my
emacs uses for that function) in all the bind files in my LyX,
but don't find a lyx-function to bind to a key.

Also, if I can bind Find_Next, what's the function for Replace?

A second question is: how can I get a list of all the bindable
lyx-functions?  So far, I've resorted to grepping the bind files,
but I bet there are some that don't appear in any of those.  The
Wikis are pretty good at listing the various keys, but I couldn't
find a lyx-functions list.

LyX 1.3.2, Qt.

TIA,

Jim


Re: Find_Next via keyboard

2003-12-13 Thread Jim Osborn
On Sat, Dec 13, 2003 at 10:07:05PM +, Angus Leeming wrote:
 M-x word-find-forward
 M-x word-find-backward
 
 should work. M-x activates the minibuffer at the bottom of the LtX 
 window, allowing you to type word-find-forward. Return posts this 
 request off...
 
 Bind it the key of your choice.

Thanks, Angus, but I must be misunderstanding something. For all the
exercises below, I first invoke the Search popup and enter a search
string in the Find window, then press the Find_Next button to take
us to the first instance.  Then...

Entering word-find-forward (without the quotes) directly into the
minibuffer produces a message: (word-find-forward) below the
minibuffer. After about five seconds, the message is replaced by
Font: Default but nothing has happened, the cursor in the main
window hasn't moved, etc. 

I get the same lack of response (without the screen-bottom message)
if I bind like this:

\bind C-f word-find-forward

but now if I type word-find-forward into the minibuffer, there's
still no action, but the message is now (word-find-forward: |C-f|)

similarly for
\bind C-f command-sequence word-find-forward
or
\bind C-f command-sequence word-find-forward;

Other attempts:
\bind C-f M-x word-find-forward
or
\bind C-f M-x word-find-forward;
gives: Unknown function

\bind C-f command-sequence M-x word-find-forward
gives: Unknown function (M-x word-find-forward)

\bind C-f command-sequence M-x; word-find-forward
gives: Unknown function (M-x)


What am I doing wrong?

Jim


Find_Next via keyboard

2003-12-13 Thread Jim Osborn
Is there a way to invoke the function of the Search->"Find_Next"
button from the LyX keyboard?  The "N" in the Search popup is
underlined, and if the focus is in that popup, pressing M-n does
indeed Find_Next, but I haven't found a way to do it from within the
LyX edit screen.  I'd like to jump from instance to instance of my
search string, maybe editing a bit around it, but staying completely
on the keyboard.  Moving the mouse over to the Search popup every
instance sort of defeats that strategy. 

I searched for "find-next", "find-again", "search-again" (what my
emacs uses for that function) in all the bind files in my LyX,
but don't find a lyx-function to bind to a key.

Also, if I can bind Find_Next, what's the function for Replace?

A second question is: how can I get a list of all the bindable
lyx-functions?  So far, I've resorted to grepping the bind files,
but I bet there are some that don't appear in any of those.  The
Wikis are pretty good at listing the various keys, but I couldn't
find a lyx-functions list.

LyX 1.3.2, Qt.

TIA,

Jim


Re: Find_Next via keyboard

2003-12-13 Thread Jim Osborn
On Sat, Dec 13, 2003 at 10:07:05PM +, Angus Leeming wrote:
> "M-x word-find-forward"
> "M-x word-find-backward"
> 
> should work. "M-x" activates the minibuffer at the bottom of the LtX 
> window, allowing you to type "word-find-forward".  posts this 
> request off...
> 
> Bind it the key of your choice.

Thanks, Angus, but I must be misunderstanding something. For all the
exercises below, I first invoke the Search popup and enter a search
string in the Find window, then press the Find_Next button to take
us to the first instance.  Then...

Entering "word-find-forward" (without the quotes) directly into the
minibuffer produces a message: "(word-find-forward)" below the
minibuffer. After about five seconds, the message is replaced by
"Font: Default" but nothing has happened, the cursor in the main
window hasn't moved, etc. 

I get the same lack of response (without the screen-bottom message)
if I bind like this:

\bind "C-f" "word-find-forward"

but now if I type "word-find-forward" into the minibuffer, there's
still no action, but the message is now "(word-find-forward: |C-f|)"

similarly for
\bind "C-f" "command-sequence word-find-forward"
or
\bind "C-f" "command-sequence word-find-forward;"

Other attempts:
\bind "C-f" "M-x word-find-forward"
or
\bind "C-f" "M-x word-find-forward;"
gives: Unknown function

\bind "C-f" "command-sequence M-x word-find-forward"
gives: Unknown function (M-x word-find-forward)

\bind "C-f" "command-sequence M-x; word-find-forward"
gives: Unknown function (M-x)


What am I doing wrong?

Jim


Specifying LyX startup geometry

2003-12-11 Thread Jim Osborn
The Customization help for LyX 1.3.2 says, 3.9: There are many other
configuration options... Please ask on the mailing lists if you need 
some more information...

So, is there a line I can put in my lyxrc file to tell LyX to
start in the upper left corner of the screen, with size 800x860,
that is, --geometry 800x860+0+0?  I tried the obvious:

\screen_geometry 800x860+0+0

but it had no effect, nor did it produce an error message.
I'm using Qt, fwiw.

TIA,

Jim


Specifying LyX startup geometry

2003-12-11 Thread Jim Osborn
The Customization help for LyX 1.3.2 says, 3.9: There are many other
configuration options... Please ask on the mailing lists if you need 
some more information...

So, is there a line I can put in my lyxrc file to tell LyX to
start in the upper left corner of the screen, with size 800x860,
that is, --geometry 800x860+0+0?  I tried the obvious:

\screen_geometry 800x860+0+0

but it had no effect, nor did it produce an error message.
I'm using Qt, fwiw.

TIA,

Jim


Specifying LyX startup geometry

2003-12-11 Thread Jim Osborn
The Customization help for LyX 1.3.2 says, "3.9: There are many other
configuration options... Please ask on the mailing lists if you need 
some more information..."

So, is there a line I can put in my lyxrc file to tell LyX to
start in the upper left corner of the screen, with size 800x860,
that is, --geometry "800x860+0+0"?  I tried the obvious:

\screen_geometry "800x860+0+0"

but it had no effect, nor did it produce an error message.
I'm using Qt, fwiw.

TIA,

Jim


Sharing a Counter between two Styles

2003-12-08 Thread Jim Osborn
Is it possible for two LyX Styles (defined in .layout file)
to share a counter?  I have a special section style that
adds a few things in the latex .cls file, and its counter
cooperates fully with the normal section type in the dvi.
But it'd be much nicer to see the real section numbers on
the LyX screen too, and so far, I haven't been able to convince
LyX to do it for me.  Adding a Counter... End section to
the Style definition in the .layout file didn't seem to help,
at least with all the various Names and Withins I tried.

The normal section counters display and increment as though
the mysections aren't there at all.  The mysection headers
display the LyX LabelString, but no counter.

What I've got in the .layout file is:

Style Section
  MarginDynamic
  LatexType Command
  LatexName section
  ...
  LabelType Counter_Section
  LabelString   Chapter
  ...
End
Style MySection
  CopyStyle Section
  LatexName mysection
End

Using LyX 1.3.2, Qt, on SuSE Linux 7.3.

TIA,

Jim


Sharing a Counter between two Styles

2003-12-08 Thread Jim Osborn
Is it possible for two LyX Styles (defined in .layout file)
to share a counter?  I have a special section style that
adds a few things in the latex .cls file, and its counter
cooperates fully with the normal section type in the dvi.
But it'd be much nicer to see the real section numbers on
the LyX screen too, and so far, I haven't been able to convince
LyX to do it for me.  Adding a Counter... End section to
the Style definition in the .layout file didn't seem to help,
at least with all the various Names and Withins I tried.

The normal section counters display and increment as though
the mysections aren't there at all.  The mysection headers
display the LyX LabelString, but no counter.

What I've got in the .layout file is:

Style Section
  MarginDynamic
  LatexType Command
  LatexName section
  ...
  LabelType Counter_Section
  LabelString   Chapter
  ...
End
Style MySection
  CopyStyle Section
  LatexName mysection
End

Using LyX 1.3.2, Qt, on SuSE Linux 7.3.

TIA,

Jim


Sharing a Counter between two Styles

2003-12-08 Thread Jim Osborn
Is it possible for two LyX Styles (defined in .layout file)
to share a counter?  I have a special "section" style that
adds a few things in the latex .cls file, and its counter
cooperates fully with the normal section type in the dvi.
But it'd be much nicer to see the real section numbers on
the LyX screen too, and so far, I haven't been able to convince
LyX to do it for me.  Adding a "Counter... End" section to
the Style definition in the .layout file didn't seem to help,
at least with all the various Names and Withins I tried.

The normal section counters display and increment as though
the "mysections" aren't there at all.  The "mysection" headers
display the LyX LabelString, but no counter.

What I've got in the .layout file is:

Style Section
  MarginDynamic
  LatexType Command
  LatexName section
  ...
  LabelType Counter_Section
  LabelString   "Chapter"
  ...
End
Style MySection
  CopyStyle Section
  LatexName mysection
End

Using LyX 1.3.2, Qt, on SuSE Linux 7.3.

TIA,

Jim


Centering Section headers in LyX-1.3.2

2003-11-30 Thread Jim Osborn
Is there a way to center my Section headers in LyX 1.3.2?
The Layout-Paragraph gives a centered Alignment, but it seems to
have no effect, at least in an Article doc class.

I also tried using a custom layout, as I had done in LyX 1.1.5, with:

Style Section
  MarginDynamic
  LatexType Command
  LatexName section
  ...
  Align Center

but this too has no effect.  I thought this might be a FAQ, but
a quick search didn't find anything recent, pertaining to 1.3.

TIA,

Jim


Centering Section headers in LyX-1.3.2

2003-11-30 Thread Jim Osborn
Is there a way to center my Section headers in LyX 1.3.2?
The Layout-Paragraph gives a centered Alignment, but it seems to
have no effect, at least in an Article doc class.

I also tried using a custom layout, as I had done in LyX 1.1.5, with:

Style Section
  MarginDynamic
  LatexType Command
  LatexName section
  ...
  Align Center

but this too has no effect.  I thought this might be a FAQ, but
a quick search didn't find anything recent, pertaining to 1.3.

TIA,

Jim


Centering Section headers in LyX-1.3.2

2003-11-30 Thread Jim Osborn
Is there a way to center my Section headers in LyX 1.3.2?
The Layout->Paragraph gives a "centered" Alignment, but it seems to
have no effect, at least in an Article doc class.

I also tried using a custom layout, as I had done in LyX 1.1.5, with:

Style Section
  MarginDynamic
  LatexType Command
  LatexName section
  ...
  Align Center

but this too has no effect.  I thought this might be a FAQ, but
a quick search didn't find anything recent, pertaining to 1.3.

TIA,

Jim


default paragraph separation

2003-11-21 Thread Jim Osborn
Is it possible to set the default paragraph separation to indent for a
LyX layout?  I've tried every permutation of those words that I can
think of, tried \paragraph_separation indent in the preamble section.
Everything either produces an error (with the .lyx file containing
the line \paragraph_separation skip in its top portion), or has no effect.

TIA,

Jim


default paragraph separation

2003-11-21 Thread Jim Osborn
Is it possible to set the default paragraph separation to indent for a
LyX layout?  I've tried every permutation of those words that I can
think of, tried \paragraph_separation indent in the preamble section.
Everything either produces an error (with the .lyx file containing
the line \paragraph_separation skip in its top portion), or has no effect.

TIA,

Jim


default paragraph separation

2003-11-21 Thread Jim Osborn
Is it possible to set the default paragraph separation to indent for a
LyX layout?  I've tried every permutation of those words that I can
think of, tried \paragraph_separation indent in the preamble section.
Everything either produces an error (with the .lyx file containing
the line \paragraph_separation skip in its top portion), or has no effect.

TIA,

Jim


Re: LyX-1.1.6 Layout-Paragraph Apply does nothing

2003-08-29 Thread Jim Osborn
After verifying that 1.1.6fix4 has the same Apply bug as 1.1.6fix2,
I've pursued more recent versions of LyX, and have a question.  It
seems 1.3.2, which John Levon says is free of this bug, needs way too
many libraries to be installable in my SuSE 7.3 distro (see below),
but the rpm for 1.2 complains only about two tetex things, same as
1.1.6, and I'm sure those complaints are benign. 

So I tried installing lyx-1.2.3-1rh73.i386.rpm, and got no fatal-
sounding errors during the installation, but when I try to run lyx,
it dies with:

  error while loading shared libraries: \
   lyx: undefined symbol: __dynamic_cast_2

Is this a problem with my C libraries, that would not be solved by
compiling the source, or would it be worth my while to try
downloading the src and building it?  My gcc is 2.95.3-124, according
to rpm.  Or is there simply a library of some sort I could install
that would cure the above error?

A more important question is: does 1.2.3 still have the
Layout-Paragraph Apply-does-nothing bug?  If so, then I should simply
move back to 1.1.5 until I can move all the way to 1.3.2 or beyond.

TIA,

Jim


If it's of any use, these are the errors from 1.3.2:
rpm -U --test lyx-1.3.2-1suse81-qt.i386.rpm
error: failed dependencies:
libGLcore.so.1 is needed by lyx-1.3.2-1_qt
libgcc_s.so.1 is needed by lyx-1.3.2-1_qt
liblcms.so is needed by lyx-1.3.2-1_qt
libpng12.so.0 is needed by lyx-1.3.2-1_qt
libstdc++.so.5 is needed by lyx-1.3.2-1_qt
libstdc++.so.5(CXXABI_1.2) is needed by lyx-1.3.2-1_qt
libstdc++.so.5(GLIBCPP_3.2) is needed by lyx-1.3.2-1_qt

FWIW, On Sun, Aug 24, 2003 at  2:56:06PM -0700, I wrote:
 In LyX 1.1.5 if I opened the Layout-Paragraph popup with the cursor
 in paragraph A, and then moved the cursor to paragraph B, I could then
 click Apply, and have paragraph A's characteristics (vertical spaces, etc)
 applied to paragraph B.  When I do this in LyX 1.1.6fix2, nothing happens;
 that is, no changes are made to paragraph B.
 
 How do I accomplish this transfer of details such as vertical spacing
 from one paragraph to another in LyX 1.1.6?  All paragraphs in
 question are type Standard, fwiw. 


Warning: ...Get an older version of LyX...

2003-08-29 Thread Jim Osborn
I've just reinstalled LyX 1.1.5, after using Lyx 1.1.6 on a few
documents, and now when I try to open those documents, I get a
box saying Tabular format  5 is not supported anymore/
Get an older version of LyX ( 1.1.x) for conversion!  My only
option at that point is [Dismiss] at which point LyX exits altogether.

Have I simply lost these documents?  There's not much tabular
material in them, and if I knew what to go after, maybe I could edit
the offending stuff out of the .lyx files.  Could anyone give advice
on a way to salvage them?  Would a very old (like how old?) version
of LyX really know more about 1.1.6 than 1.1.5 does?  That seems
bizaare, but I'll try any suggestions. 

TIA,

Jim


Re: Warning: ...Get an older version of LyX...

2003-08-29 Thread Jim Osborn
On Fri, Aug 29, 2003 at 10:11:49AM +0200, Andre Poenitz wrote:
 Is there a reason you do not use 1.3.2?

Hi Andre',

Sorry, I should have referenced my other note in this one;
I'm using a SuSE 7.3 installation, by now apparently too old.
Its gcc is gcc-2.95.3-124, with qt-2.3.1-60.
When I tried to install LyX 1.3.2 I got:

  rpm -U --test lyx-1.3.2-1suse81-qt.i386.rpm
  error: failed dependencies:
  libGLcore.so.1 is needed by lyx-1.3.2-1_qt
  libgcc_s.so.1 is needed by lyx-1.3.2-1_qt
  liblcms.so is needed by lyx-1.3.2-1_qt
  libpng12.so.0 is needed by lyx-1.3.2-1_qt
  libstdc++.so.5 is needed by lyx-1.3.2-1_qt
  libstdc++.so.5(CXXABI_1.2) is needed by lyx-1.3.2-1_qt
  libstdc++.so.5(GLIBCPP_3.2) is needed by lyx-1.3.2-1_qt

Checking my /usr/lib, I see:
 (no libGLcore, libgcc_s, or libpng12 at all)
 (liblcms.so@ and liblcms.so.1.0.7*)
 libstdc++-3-libc6.1-2-2.10.0.so*
 libstdc++-3-libc6.2-2-2.10.0.a
 libstdc++-3-libc6.2-2-2.10.0.so*
 libstdc++-libc6.1-1.so.2*
 libstdc++.so.2.7.2*
 libstdc++.so.2.8*
 libstdc++.so.2.9*

which sounds a long way from libstdc++.so.5 and friends.
(I don't know why rpm didn't find the liblcms.so symlink to liblcms.so.1.0.7)

I know it would be nice to upgrade to the latest, especially LyX, but
I also know that upgrading gcc and the libs is not trivial without
known-compatible versions of everything on a nice CD, so I hesitate,
and decided to fall back to trusty old LyX 1.1.5 until I can download
(over a tenuous 56K line) all the gcc/libs and verify their
compatibility or spring for a new Linux CD.  If I'm overlooking
something that might make upgrading to LyX 1.3.2 easy, I'm open to
suggestions.

Thanks very much for asking :)

Jim


Re: LyX-1.1.6 Layout-Paragraph Apply does nothing

2003-08-29 Thread Jim Osborn
After verifying that 1.1.6fix4 has the same Apply bug as 1.1.6fix2,
I've pursued more recent versions of LyX, and have a question.  It
seems 1.3.2, which John Levon says is free of this bug, needs way too
many libraries to be installable in my SuSE 7.3 distro (see below),
but the rpm for 1.2 complains only about two tetex things, same as
1.1.6, and I'm sure those complaints are benign. 

So I tried installing lyx-1.2.3-1rh73.i386.rpm, and got no fatal-
sounding errors during the installation, but when I try to run lyx,
it dies with:

  error while loading shared libraries: \
   lyx: undefined symbol: __dynamic_cast_2

Is this a problem with my C libraries, that would not be solved by
compiling the source, or would it be worth my while to try
downloading the src and building it?  My gcc is 2.95.3-124, according
to rpm.  Or is there simply a library of some sort I could install
that would cure the above error?

A more important question is: does 1.2.3 still have the
Layout-Paragraph Apply-does-nothing bug?  If so, then I should simply
move back to 1.1.5 until I can move all the way to 1.3.2 or beyond.

TIA,

Jim


If it's of any use, these are the errors from 1.3.2:
rpm -U --test lyx-1.3.2-1suse81-qt.i386.rpm
error: failed dependencies:
libGLcore.so.1 is needed by lyx-1.3.2-1_qt
libgcc_s.so.1 is needed by lyx-1.3.2-1_qt
liblcms.so is needed by lyx-1.3.2-1_qt
libpng12.so.0 is needed by lyx-1.3.2-1_qt
libstdc++.so.5 is needed by lyx-1.3.2-1_qt
libstdc++.so.5(CXXABI_1.2) is needed by lyx-1.3.2-1_qt
libstdc++.so.5(GLIBCPP_3.2) is needed by lyx-1.3.2-1_qt

FWIW, On Sun, Aug 24, 2003 at  2:56:06PM -0700, I wrote:
 In LyX 1.1.5 if I opened the Layout-Paragraph popup with the cursor
 in paragraph A, and then moved the cursor to paragraph B, I could then
 click Apply, and have paragraph A's characteristics (vertical spaces, etc)
 applied to paragraph B.  When I do this in LyX 1.1.6fix2, nothing happens;
 that is, no changes are made to paragraph B.
 
 How do I accomplish this transfer of details such as vertical spacing
 from one paragraph to another in LyX 1.1.6?  All paragraphs in
 question are type Standard, fwiw. 


Warning: ...Get an older version of LyX...

2003-08-29 Thread Jim Osborn
I've just reinstalled LyX 1.1.5, after using Lyx 1.1.6 on a few
documents, and now when I try to open those documents, I get a
box saying Tabular format  5 is not supported anymore/
Get an older version of LyX ( 1.1.x) for conversion!  My only
option at that point is [Dismiss] at which point LyX exits altogether.

Have I simply lost these documents?  There's not much tabular
material in them, and if I knew what to go after, maybe I could edit
the offending stuff out of the .lyx files.  Could anyone give advice
on a way to salvage them?  Would a very old (like how old?) version
of LyX really know more about 1.1.6 than 1.1.5 does?  That seems
bizaare, but I'll try any suggestions. 

TIA,

Jim


Re: Warning: ...Get an older version of LyX...

2003-08-29 Thread Jim Osborn
On Fri, Aug 29, 2003 at 10:11:49AM +0200, Andre Poenitz wrote:
 Is there a reason you do not use 1.3.2?

Hi Andre',

Sorry, I should have referenced my other note in this one;
I'm using a SuSE 7.3 installation, by now apparently too old.
Its gcc is gcc-2.95.3-124, with qt-2.3.1-60.
When I tried to install LyX 1.3.2 I got:

  rpm -U --test lyx-1.3.2-1suse81-qt.i386.rpm
  error: failed dependencies:
  libGLcore.so.1 is needed by lyx-1.3.2-1_qt
  libgcc_s.so.1 is needed by lyx-1.3.2-1_qt
  liblcms.so is needed by lyx-1.3.2-1_qt
  libpng12.so.0 is needed by lyx-1.3.2-1_qt
  libstdc++.so.5 is needed by lyx-1.3.2-1_qt
  libstdc++.so.5(CXXABI_1.2) is needed by lyx-1.3.2-1_qt
  libstdc++.so.5(GLIBCPP_3.2) is needed by lyx-1.3.2-1_qt

Checking my /usr/lib, I see:
 (no libGLcore, libgcc_s, or libpng12 at all)
 (liblcms.so@ and liblcms.so.1.0.7*)
 libstdc++-3-libc6.1-2-2.10.0.so*
 libstdc++-3-libc6.2-2-2.10.0.a
 libstdc++-3-libc6.2-2-2.10.0.so*
 libstdc++-libc6.1-1.so.2*
 libstdc++.so.2.7.2*
 libstdc++.so.2.8*
 libstdc++.so.2.9*

which sounds a long way from libstdc++.so.5 and friends.
(I don't know why rpm didn't find the liblcms.so symlink to liblcms.so.1.0.7)

I know it would be nice to upgrade to the latest, especially LyX, but
I also know that upgrading gcc and the libs is not trivial without
known-compatible versions of everything on a nice CD, so I hesitate,
and decided to fall back to trusty old LyX 1.1.5 until I can download
(over a tenuous 56K line) all the gcc/libs and verify their
compatibility or spring for a new Linux CD.  If I'm overlooking
something that might make upgrading to LyX 1.3.2 easy, I'm open to
suggestions.

Thanks very much for asking :)

Jim


Re: LyX-1.1.6 Layout->Paragraph Apply does nothing

2003-08-29 Thread Jim Osborn
After verifying that 1.1.6fix4 has the same Apply bug as 1.1.6fix2,
I've pursued more recent versions of LyX, and have a question.  It
seems 1.3.2, which John Levon says is free of this bug, needs way too
many libraries to be installable in my SuSE 7.3 distro (see below),
but the rpm for 1.2 complains only about two tetex things, same as
1.1.6, and I'm sure those complaints are benign. 

So I tried installing lyx-1.2.3-1rh73.i386.rpm, and got no fatal-
sounding errors during the installation, but when I try to run lyx,
it dies with:

  error while loading shared libraries: \
   lyx: undefined symbol: __dynamic_cast_2

Is this a problem with my C libraries, that would not be solved by
compiling the source, or would it be worth my while to try
downloading the src and building it?  My gcc is 2.95.3-124, according
to rpm.  Or is there simply a library of some sort I could install
that would cure the above error?

A more important question is: does 1.2.3 still have the
Layout->Paragraph Apply-does-nothing bug?  If so, then I should simply
move back to 1.1.5 until I can move all the way to 1.3.2 or beyond.

TIA,

Jim


If it's of any use, these are the errors from 1.3.2:
rpm -U --test lyx-1.3.2-1suse81-qt.i386.rpm
error: failed dependencies:
libGLcore.so.1 is needed by lyx-1.3.2-1_qt
libgcc_s.so.1 is needed by lyx-1.3.2-1_qt
liblcms.so is needed by lyx-1.3.2-1_qt
libpng12.so.0 is needed by lyx-1.3.2-1_qt
libstdc++.so.5 is needed by lyx-1.3.2-1_qt
libstdc++.so.5(CXXABI_1.2) is needed by lyx-1.3.2-1_qt
libstdc++.so.5(GLIBCPP_3.2) is needed by lyx-1.3.2-1_qt

FWIW, On Sun, Aug 24, 2003 at  2:56:06PM -0700, I wrote:
> In LyX 1.1.5 if I opened the Layout->Paragraph popup with the cursor
> in paragraph A, and then moved the cursor to paragraph B, I could then
> click Apply, and have paragraph A's characteristics (vertical spaces, etc)
> applied to paragraph B.  When I do this in LyX 1.1.6fix2, nothing happens;
> that is, no changes are made to paragraph B.
> 
> How do I accomplish this transfer of details such as vertical spacing
> from one paragraph to another in LyX 1.1.6?  All paragraphs in
> question are type Standard, fwiw. 


"Warning: ...Get an older version of LyX..."

2003-08-29 Thread Jim Osborn
I've just reinstalled LyX 1.1.5, after using Lyx 1.1.6 on a few
documents, and now when I try to open those documents, I get a
box saying "Tabular format < 5 is not supported anymore/
Get an older version of LyX (< 1.1.x) for conversion!"  My only
option at that point is [Dismiss] at which point LyX exits altogether.

Have I simply lost these documents?  There's not much "tabular"
material in them, and if I knew what to go after, maybe I could edit
the offending stuff out of the .lyx files.  Could anyone give advice
on a way to salvage them?  Would a very old (like how old?) version
of LyX really know more about 1.1.6 than 1.1.5 does?  That seems
bizaare, but I'll try any suggestions. 

TIA,

Jim


Re: "Warning: ...Get an older version of LyX..."

2003-08-29 Thread Jim Osborn
On Fri, Aug 29, 2003 at 10:11:49AM +0200, Andre Poenitz wrote:
> Is there a reason you do not use 1.3.2?

Hi Andre',

Sorry, I should have referenced my other note in this one;
I'm using a SuSE 7.3 installation, by now apparently too old.
Its gcc is gcc-2.95.3-124, with qt-2.3.1-60.
When I tried to install LyX 1.3.2 I got:

  rpm -U --test lyx-1.3.2-1suse81-qt.i386.rpm
  error: failed dependencies:
  libGLcore.so.1 is needed by lyx-1.3.2-1_qt
  libgcc_s.so.1 is needed by lyx-1.3.2-1_qt
  liblcms.so is needed by lyx-1.3.2-1_qt
  libpng12.so.0 is needed by lyx-1.3.2-1_qt
  libstdc++.so.5 is needed by lyx-1.3.2-1_qt
  libstdc++.so.5(CXXABI_1.2) is needed by lyx-1.3.2-1_qt
  libstdc++.so.5(GLIBCPP_3.2) is needed by lyx-1.3.2-1_qt

Checking my /usr/lib, I see:
 (no libGLcore, libgcc_s, or libpng12 at all)
 (liblcms.so@ and liblcms.so.1.0.7*)
 libstdc++-3-libc6.1-2-2.10.0.so*
 libstdc++-3-libc6.2-2-2.10.0.a
 libstdc++-3-libc6.2-2-2.10.0.so*
 libstdc++-libc6.1-1.so.2*
 libstdc++.so.2.7.2*
 libstdc++.so.2.8*
 libstdc++.so.2.9*

which sounds a long way from libstdc++.so.5 and friends.
(I don't know why rpm didn't find the liblcms.so symlink to liblcms.so.1.0.7)

I know it would be nice to upgrade to the latest, especially LyX, but
I also know that upgrading gcc and the libs is not trivial without
known-compatible versions of everything on a nice CD, so I hesitate,
and decided to fall back to trusty old LyX 1.1.5 until I can download
(over a tenuous 56K line) all the gcc/libs and verify their
compatibility or spring for a new Linux CD.  If I'm overlooking
something that might make upgrading to LyX 1.3.2 easy, I'm open to
suggestions.

Thanks very much for asking :)

Jim


Re: spam-mail?

2003-08-26 Thread Jim Osborn
On Mon, Aug 25, 2003 at 10:21:24AM -0700, James Frye wrote:
 If spam - even spam without worms  viruses - is getting spread by
 the list server, it's far more likely to get read by people who see
 Lyx in the title, and so think it's good stuff. 

Since so many seem confused by these things, forgive me for an off-
topic post.  It's very, very unlikely any of these things are being
distributed by this list server.

The recent worm/virus emails all forge their return address, using
addresses randomly found on the victim's computer.  So, if you get
a virus sent from the LyX list, it's because it was a forgery.
It simply means that the victim had once upon a time received mail
from the list, or was Cc'd, etc., as well as mail from you.  

To determine the actual sender (or at least their network) you need
to examine the email's Received: headers, and look up the owner of
the IP address in the topmost line. 

Some of us have been getting hundreds of these emails a day,
apparently from all over the world.  But when you examine those
IP numbers, it quickly becomes apparent that it's really only a
relative handful of computers doing the sending.

Hope that helps,

Jim


Re: spam-mail?

2003-08-26 Thread Jim Osborn
On Mon, Aug 25, 2003 at 10:21:24AM -0700, James Frye wrote:
 If spam - even spam without worms  viruses - is getting spread by
 the list server, it's far more likely to get read by people who see
 Lyx in the title, and so think it's good stuff. 

Since so many seem confused by these things, forgive me for an off-
topic post.  It's very, very unlikely any of these things are being
distributed by this list server.

The recent worm/virus emails all forge their return address, using
addresses randomly found on the victim's computer.  So, if you get
a virus sent from the LyX list, it's because it was a forgery.
It simply means that the victim had once upon a time received mail
from the list, or was Cc'd, etc., as well as mail from you.  

To determine the actual sender (or at least their network) you need
to examine the email's Received: headers, and look up the owner of
the IP address in the topmost line. 

Some of us have been getting hundreds of these emails a day,
apparently from all over the world.  But when you examine those
IP numbers, it quickly becomes apparent that it's really only a
relative handful of computers doing the sending.

Hope that helps,

Jim


Re: spam-mail?

2003-08-26 Thread Jim Osborn
On Mon, Aug 25, 2003 at 10:21:24AM -0700, James Frye wrote:
> If spam - even spam without worms & viruses - is getting spread by
> the list server, it's far more likely to get read by people who see
> "Lyx" in the title, and so think it's good stuff. 

Since so many seem confused by these things, forgive me for an off-
topic post.  It's very, very unlikely any of these things are being
distributed by this list server.

The recent worm/virus emails all forge their return address, using
addresses randomly found on the victim's computer.  So, if you get
a virus "sent from" the LyX list, it's because it was a forgery.
It simply means that the victim had once upon a time received mail
from the list, or was Cc'd, etc., as well as mail from you.  

To determine the actual sender (or at least their network) you need
to examine the email's Received: headers, and look up the owner of
the IP address in the topmost line. 

Some of us have been getting hundreds of these emails a day,
apparently from all over the world.  But when you examine those
IP numbers, it quickly becomes apparent that it's really only a
relative handful of computers doing the sending.

Hope that helps,

Jim


custom_export_command format

2002-04-14 Thread Jim Osborn

In lyxrc there's a section for Export with this example:

#\custom_export_command ps2pdf '$$FName' `basename '$$FName' .ps_tmp`.pdf

I want to make a pdf file, and having epstopdf on my system, I've been
printing to ps, then doing:

  epstopdf --filter xxx.ps xxx.pdf

Following the lyxrc example, I tried making the custom command as:

\custom_export_command epstopdf -f -o=`basename '$$FName'`.pdf

and several other variations on that form, but no pdf file results.
I do get a .ps_tmp file and a very small .ps_tmp.pdf file in
/tmp/lyx_tmp.../lyx_buf... but I was hoping for a pdf file in my
working directory.  Since I don't have .ps_tmp in my custom_export
definition, I guess the suffix must be wired in somewhere.

Can someone translate that example?  I'm assuming

  `basename '$$FName'`

means

  xxx

in my little example above, but since I get no output, I'm probably
assuming wrong. FWIW, I'm using lyx1.1.5.

TIA,

Jim




custom_export_command format

2002-04-14 Thread Jim Osborn

In lyxrc there's a section for Export with this example:

#\custom_export_command ps2pdf '$$FName' `basename '$$FName' .ps_tmp`.pdf

I want to make a pdf file, and having epstopdf on my system, I've been
printing to ps, then doing:

  epstopdf --filter xxx.ps xxx.pdf

Following the lyxrc example, I tried making the custom command as:

\custom_export_command epstopdf -f -o=`basename '$$FName'`.pdf

and several other variations on that form, but no pdf file results.
I do get a .ps_tmp file and a very small .ps_tmp.pdf file in
/tmp/lyx_tmp.../lyx_buf... but I was hoping for a pdf file in my
working directory.  Since I don't have .ps_tmp in my custom_export
definition, I guess the suffix must be wired in somewhere.

Can someone translate that example?  I'm assuming

  `basename '$$FName'`

means

  xxx

in my little example above, but since I get no output, I'm probably
assuming wrong. FWIW, I'm using lyx1.1.5.

TIA,

Jim




custom_export_command format

2002-04-14 Thread Jim Osborn

In lyxrc there's a section for Export with this example:

#\custom_export_command "ps2pdf '$$FName' `basename '$$FName' .ps_tmp`.pdf"

I want to make a pdf file, and having epstopdf on my system, I've been
printing to ps, then doing:

  epstopdf --filter xxx.pdf

Following the lyxrc example, I tried making the custom command as:

\custom_export_command "epstopdf -f -o=`basename '$$FName'`.pdf"

and several other variations on that form, but no pdf file results.
I do get a .ps_tmp file and a very small .ps_tmp.pdf file in
/tmp/lyx_tmp.../lyx_buf... but I was hoping for a pdf file in my
working directory.  Since I don't have ".ps_tmp" in my custom_export
definition, I guess the suffix must be wired in somewhere.

Can someone translate that example?  I'm assuming

  "`basename '$$FName'`"

means

  "xxx"

in my little example above, but since I get no output, I'm probably
assuming wrong. FWIW, I'm using lyx1.1.5.

TIA,

Jim




Paragraph ended before \Gin@iii was complete

2002-02-16 Thread Jim Osborn

On Fri, Feb 15, 2002 at 08:05:42AM +, Jose Abilio Oliveira Matos wrote:
 Try http://www.lyx.org/help/ and there search for logo. There you will find 
 several tips how to do it [image in fixed position].

I took the simplest example on the logo page, where it says:

\begin{picture}(0,0)(-150,-200)
\includegraphics[scale=2]{Logo.eps}
\end{picture}

And I put \usepackage{graphics} in my preamble.
The error LyX gives me is:

Paragraph ended before \Gin@iii was complete...

The error msg is right before the \includegraphics[scale=2]{Logo.eps}
line.  I'm pretty sure I've got all the brackets and parens in there
per the web page example.  Do I need another package in addition to
graphics?  Can someone point out what I'm doing wrong?

I should mention that the eps I'm using is a jpg file saved as 
postscript by xv, positioned in the upper left of the page in the
xv popup.  I've used postscript files saved this way in other LyX
documents, but always as ordinary floating figures.  The eps file
says at its top: PS-Adobe-2.0 EPSF-2.0, and has a bounding box, etc.

FWIW, I'm using LyX1.1.5fix1, and the info in the graphics.sty file
that kpsewhich points to says:

\ProvidesPackage{graphics}
  [1999/02/16 v1.0l  Standard LaTeX Graphics (DPC,SPQR)]

TIA

Jim



Paragraph ended before \Gin@iii was complete

2002-02-16 Thread Jim Osborn

On Fri, Feb 15, 2002 at 08:05:42AM +, Jose Abilio Oliveira Matos wrote:
 Try http://www.lyx.org/help/ and there search for logo. There you will find 
 several tips how to do it [image in fixed position].

I took the simplest example on the logo page, where it says:

\begin{picture}(0,0)(-150,-200)
\includegraphics[scale=2]{Logo.eps}
\end{picture}

And I put \usepackage{graphics} in my preamble.
The error LyX gives me is:

Paragraph ended before \Gin@iii was complete...

The error msg is right before the \includegraphics[scale=2]{Logo.eps}
line.  I'm pretty sure I've got all the brackets and parens in there
per the web page example.  Do I need another package in addition to
graphics?  Can someone point out what I'm doing wrong?

I should mention that the eps I'm using is a jpg file saved as 
postscript by xv, positioned in the upper left of the page in the
xv popup.  I've used postscript files saved this way in other LyX
documents, but always as ordinary floating figures.  The eps file
says at its top: PS-Adobe-2.0 EPSF-2.0, and has a bounding box, etc.

FWIW, I'm using LyX1.1.5fix1, and the info in the graphics.sty file
that kpsewhich points to says:

\ProvidesPackage{graphics}
  [1999/02/16 v1.0l  Standard LaTeX Graphics (DPC,SPQR)]

TIA

Jim



Paragraph ended before \Gin@iii was complete

2002-02-16 Thread Jim Osborn

On Fri, Feb 15, 2002 at 08:05:42AM +, Jose Abilio Oliveira Matos wrote:
> Try http://www.lyx.org/help/ and there search for logo. There you will find 
> several tips how to do it [image in fixed position].

I took the simplest example on the logo page, where it says:

\begin{picture}(0,0)(-150,-200)
\includegraphics[scale=2]{Logo.eps}
\end{picture}

And I put \usepackage{graphics} in my preamble.
The error LyX gives me is:

"Paragraph ended before \Gin@iii was complete..."

The error msg is right before the \includegraphics[scale=2]{Logo.eps}
line.  I'm pretty sure I've got all the brackets and parens in there
per the web page example.  Do I need another package in addition to
graphics?  Can someone point out what I'm doing wrong?

I should mention that the "eps" I'm using is a jpg file saved as 
postscript by xv, positioned in the upper left of the page in the
xv popup.  I've used postscript files saved this way in other LyX
documents, but always as ordinary floating figures.  The eps file
says at its top: PS-Adobe-2.0 EPSF-2.0, and has a bounding box, etc.

FWIW, I'm using LyX1.1.5fix1, and the info in the graphics.sty file
that kpsewhich points to says:

\ProvidesPackage{graphics}
  [1999/02/16 v1.0l  Standard LaTeX Graphics (DPC,SPQR)]

TIA

Jim



EPS figure under text

2002-02-14 Thread Jim Osborn

I need to place an EPS image in the upper-left corner of my
document, and I need the text of that document to write over
that image as necessary.  That is, the text should be unaware
that the image is there at all.  I need to place the image
right where I want it, say .25 inch from both the top and left
edges of the paper.

I see lots of documentation and tips regarding floats and
figures, with captions, and with text wrapping around them,
but I don't see any mention of the sort of image placement
I need.  I suspect what I want to do is so simple that it
doesn't bear mention in the documentation.

I'm currently using LyX 1.1.5fix1.

Can someone give me a hint where to begin?

TIA,

Jim



EPS figure under text

2002-02-14 Thread Jim Osborn

I need to place an EPS image in the upper-left corner of my
document, and I need the text of that document to write over
that image as necessary.  That is, the text should be unaware
that the image is there at all.  I need to place the image
right where I want it, say .25 inch from both the top and left
edges of the paper.

I see lots of documentation and tips regarding floats and
figures, with captions, and with text wrapping around them,
but I don't see any mention of the sort of image placement
I need.  I suspect what I want to do is so simple that it
doesn't bear mention in the documentation.

I'm currently using LyX 1.1.5fix1.

Can someone give me a hint where to begin?

TIA,

Jim



EPS figure under text

2002-02-14 Thread Jim Osborn

I need to place an EPS image in the upper-left corner of my
document, and I need the text of that document to write over
that image as necessary.  That is, the text should be unaware
that the image is there at all.  I need to place the image
right where I want it, say .25 inch from both the top and left
edges of the paper.

I see lots of documentation and tips regarding floats and
figures, with captions, and with text wrapping around them,
but I don't see any mention of the sort of image placement
I need.  I suspect what I want to do is so simple that it
doesn't bear mention in the documentation.

I'm currently using LyX 1.1.5fix1.

Can someone give me a hint where to begin?

TIA,

Jim



myclass.layout not found

2002-01-30 Thread Jim Osborn

I'm trying to make a new document class, following the docs
from LyX 1.1.5, where in 6.2.2 it says:

For the sake of example we'll assume that the style file is
called myclass.sty and it is meant to be used with report.cls
which is a standard class.

   cp report.layout ~/.lyx/layouts/myclass.layout

Then edit myclass.layout and change the line:

   \DeclareLaTeXClass{report}

to read

   \DeclareLaTeXClass[report, myclass.sty]{report (myclass)}

then add:

  Preamble
 \usepackage{myclass}
  EndPreamble

near the top of the file.
  Start LyX and... [reconfigure, etc...]

I did all that, verbatim, except that the copy line was:

  cp /usr/share/lyx/layouts/report.layout ~/.lyx/layouts/myclass.layout

because that's my LyXDir, and there was, indeed a report.layout there.
When I restart LyX and select the Layout-Document popup, I don't see
report (myclass) as I expect.

I must say, I'm a bit confused by the mention first of myclass.sty
and then the subsequent instruction saying myclass.layout.  I
tried renaming myclass.layout to myclass.sty, with no effect.
The file report.sty in /usr/share/texmf/tex/latex/base/report.sty
doesn't have a line \DeclareLaTeXClass{report} in it, so I assume
the .layout file above is what I should be starting with.

What should I do next?

Jim



myclass.layout not found

2002-01-30 Thread Jim Osborn

I'm trying to make a new document class, following the docs
from LyX 1.1.5, where in 6.2.2 it says:

For the sake of example we'll assume that the style file is
called myclass.sty and it is meant to be used with report.cls
which is a standard class.

   cp report.layout ~/.lyx/layouts/myclass.layout

Then edit myclass.layout and change the line:

   \DeclareLaTeXClass{report}

to read

   \DeclareLaTeXClass[report, myclass.sty]{report (myclass)}

then add:

  Preamble
 \usepackage{myclass}
  EndPreamble

near the top of the file.
  Start LyX and... [reconfigure, etc...]

I did all that, verbatim, except that the copy line was:

  cp /usr/share/lyx/layouts/report.layout ~/.lyx/layouts/myclass.layout

because that's my LyXDir, and there was, indeed a report.layout there.
When I restart LyX and select the Layout-Document popup, I don't see
report (myclass) as I expect.

I must say, I'm a bit confused by the mention first of myclass.sty
and then the subsequent instruction saying myclass.layout.  I
tried renaming myclass.layout to myclass.sty, with no effect.
The file report.sty in /usr/share/texmf/tex/latex/base/report.sty
doesn't have a line \DeclareLaTeXClass{report} in it, so I assume
the .layout file above is what I should be starting with.

What should I do next?

Jim



myclass.layout not found

2002-01-30 Thread Jim Osborn

I'm trying to make a new document class, following the docs
from LyX 1.1.5, where in 6.2.2 it says:

"For the sake of example we'll assume that the style file is
called myclass.sty and it is meant to be used with report.cls
which is a standard class.

   cp report.layout ~/.lyx/layouts/myclass.layout

Then edit myclass.layout and change the line:

   \DeclareLaTeXClass{report}

to read

   \DeclareLaTeXClass[report, myclass.sty]{report (myclass)}

then add:

  Preamble
 \usepackage{myclass}
  EndPreamble

near the top of the file.
  Start LyX and... [reconfigure, etc...]"

I did all that, verbatim, except that the copy line was:

  cp /usr/share/lyx/layouts/report.layout ~/.lyx/layouts/myclass.layout

because that's my LyXDir, and there was, indeed a report.layout there.
When I restart LyX and select the Layout->Document popup, I don't see
"report (myclass)" as I expect.

I must say, I'm a bit confused by the mention first of "myclass.sty"
and then the subsequent instruction saying "myclass.layout."  I
tried renaming myclass.layout to myclass.sty, with no effect.
The file "report.sty" in /usr/share/texmf/tex/latex/base/report.sty
doesn't have a line \DeclareLaTeXClass{report} in it, so I assume
the .layout file above is what I should be starting with.

What should I do next?

Jim



using pslatex as default in 1.1.5

2002-01-26 Thread Jim Osborn

I get much better font rendering, especially when I make
a pdf, when I set Document-Layout-Fonts: to pslatex
instead of default.  I don't see a line in .lyxrc that
controls this setting.  Is there an entry I can make there
that'll make this setting my default?

TIA,

Jim



using pslatex as default in 1.1.5

2002-01-26 Thread Jim Osborn

I get much better font rendering, especially when I make
a pdf, when I set Document-Layout-Fonts: to pslatex
instead of default.  I don't see a line in .lyxrc that
controls this setting.  Is there an entry I can make there
that'll make this setting my default?

TIA,

Jim



using pslatex as default in 1.1.5

2002-01-26 Thread Jim Osborn

I get much better font rendering, especially when I make
a pdf, when I set Document->Layout->Fonts: to "pslatex"
instead of "default."  I don't see a line in .lyxrc that
controls this setting.  Is there an entry I can make there
that'll make this setting my default?

TIA,

Jim



Converting ascii to lyx

2001-12-03 Thread Jim Osborn

This seems like a silly question, but I've run up against the
problem frequently enough that I thought I'd better stop and
ask the experts.  When I have a plain text document, let's
call it foo.txt that I want to convert to Lyx, say, foo.lyx
here's what I've been doing:

Create a new document, naming it foo (LyX creates foo.lyx as
expected).
Try to import the text from foo.txt, via File-Import-ASCII text as ...
At this point, the filename in LyX changes to foo.txt with
the text in question on the screen, and the entire file selected.
The text is not, at this point, actually imported to foo.lyx, though LyX
thinks both foo.txt and foo.lyx have changed.

I can Edit-Copy in foo.txt, then switch back to foo.lyx through the
Documents menu, and Edit-Paste.  

Is this really the Import procedure?  Oftentimes, I've merrily begun
editing after doing the File-Import step, only to realize I was
making changes to foo.txt (now known as foo.txt.lyx), and hadn't
actually got the text into foo.lyx.  Is there a more straightforward
procedure I should be using?

TIA

Jim



Converting ascii to lyx

2001-12-03 Thread Jim Osborn

This seems like a silly question, but I've run up against the
problem frequently enough that I thought I'd better stop and
ask the experts.  When I have a plain text document, let's
call it foo.txt that I want to convert to Lyx, say, foo.lyx
here's what I've been doing:

Create a new document, naming it foo (LyX creates foo.lyx as
expected).
Try to import the text from foo.txt, via File-Import-ASCII text as ...
At this point, the filename in LyX changes to foo.txt with
the text in question on the screen, and the entire file selected.
The text is not, at this point, actually imported to foo.lyx, though LyX
thinks both foo.txt and foo.lyx have changed.

I can Edit-Copy in foo.txt, then switch back to foo.lyx through the
Documents menu, and Edit-Paste.  

Is this really the Import procedure?  Oftentimes, I've merrily begun
editing after doing the File-Import step, only to realize I was
making changes to foo.txt (now known as foo.txt.lyx), and hadn't
actually got the text into foo.lyx.  Is there a more straightforward
procedure I should be using?

TIA

Jim



Converting ascii to lyx

2001-12-03 Thread Jim Osborn

This seems like a silly question, but I've run up against the
problem frequently enough that I thought I'd better stop and
ask the experts.  When I have a plain text document, let's
call it "foo.txt" that I want to convert to Lyx, say, "foo.lyx"
here's what I've been doing:

Create a new document, naming it "foo" (LyX creates "foo.lyx" as
expected).
Try to import the text from foo.txt, via File->Import->ASCII text as ...
At this point, the filename in LyX changes to "foo.txt" with
the text in question on the screen, and the entire file "selected."
The text is not, at this point, actually "imported" to foo.lyx, though LyX
thinks both foo.txt and foo.lyx have changed.

I can Edit->Copy in foo.txt, then switch back to foo.lyx through the
Documents menu, and Edit->Paste.  

Is this really the Import procedure?  Oftentimes, I've merrily begun
editing after doing the File->Import step, only to realize I was
making changes to foo.txt (now known as foo.txt.lyx), and hadn't
actually got the text into foo.lyx.  Is there a more straightforward
procedure I should be using?

TIA

Jim



side-by-side minipages

2001-10-09 Thread Jim Osborn

I need to group some bits of text into little clumps,
each clump is two or three lines, and I need the clumps
to be placed two or three to a line.  Per the example
at the top of pg 106 of Lamport's LaTeX 2nd ed, I thought
putting each clump in its own minipage should do the job.

But LyX always seems to want to move each minipage down
the page, rather than putting them side-by-side.  I've
spaced each minipage with just enough length for its
respective text, and there's plenty of width on the paper.

I can get side-by-side placement if I enclose a group of
paragraphs in a single minipage and use a multicols environment
within that minipage, but then I can't specify the widths
of the clumps of text, and multicol wants to spread
them out too much, wants to equalize the column widths.

How can I get something like this?

  aaa   bbb
AA   BB

   ccc  dddeee
C  DD  

TIA
(LyX 1.1.5fix1)

Jim



side-by-side minipages

2001-10-09 Thread Jim Osborn

I need to group some bits of text into little clumps,
each clump is two or three lines, and I need the clumps
to be placed two or three to a line.  Per the example
at the top of pg 106 of Lamport's LaTeX 2nd ed, I thought
putting each clump in its own minipage should do the job.

But LyX always seems to want to move each minipage down
the page, rather than putting them side-by-side.  I've
spaced each minipage with just enough length for its
respective text, and there's plenty of width on the paper.

I can get side-by-side placement if I enclose a group of
paragraphs in a single minipage and use a multicols environment
within that minipage, but then I can't specify the widths
of the clumps of text, and multicol wants to spread
them out too much, wants to equalize the column widths.

How can I get something like this?

  aaa   bbb
AA   BB

   ccc  dddeee
C  DD  

TIA
(LyX 1.1.5fix1)

Jim



side-by-side minipages

2001-10-09 Thread Jim Osborn

I need to group some bits of text into little clumps,
each clump is two or three lines, and I need the clumps
to be placed two or three to a line.  Per the example
at the top of pg 106 of Lamport's LaTeX 2nd ed, I thought
putting each clump in its own minipage should do the job.

But LyX always seems to want to move each minipage down
the page, rather than putting them side-by-side.  I've
spaced each minipage with just enough length for its
respective text, and there's plenty of width on the paper.

I can get side-by-side placement if I enclose a group of
paragraphs in a single minipage and use a multicols environment
within that minipage, but then I can't specify the widths
of the clumps of text, and multicol wants to spread
them out too much, wants to equalize the column widths.

How can I get something like this?

  aaa   bbb
AA   BB

   ccc  dddeee
C  DD  

TIA
(LyX 1.1.5fix1)

Jim



Adding a paragraph within a minipage

2001-09-13 Thread Jim Osborn

When I hit return to add a paragraph in a minipage, LyX breaks
the minipage there, and I must then select all the paragraphs
of the minipage, call up Layout-Paragraph-ExtraOpt and hit
Apply, Cancel, Cancel to repair the rend in the minipage.

Is there a way to insert a paragraph in a minipage without
breaking it?

I'm using LyX 1.1.5fix1.

TIA,

Jim



Adding a paragraph within a minipage

2001-09-13 Thread Jim Osborn

When I hit return to add a paragraph in a minipage, LyX breaks
the minipage there, and I must then select all the paragraphs
of the minipage, call up Layout-Paragraph-ExtraOpt and hit
Apply, Cancel, Cancel to repair the rend in the minipage.

Is there a way to insert a paragraph in a minipage without
breaking it?

I'm using LyX 1.1.5fix1.

TIA,

Jim



Adding a paragraph within a minipage

2001-09-13 Thread Jim Osborn

When I hit  to add a paragraph in a minipage, LyX breaks
the minipage there, and I must then select all the paragraphs
of the minipage, call up Layout->Paragraph->ExtraOpt and hit
Apply, Cancel, Cancel to repair the rend in the minipage.

Is there a way to insert a paragraph in a minipage without
breaking it?

I'm using LyX 1.1.5fix1.

TIA,

Jim



Re: Can't view dvi

2001-08-21 Thread Jim Osborn

way back on Aug 08, 2001 I wrote:
[a bunch of stuff about LyX failing to produce any dvi, or error msgs]

Dekel Tsur [EMAIL PROTECTED] replied:
  Another problem can be that latex is not properly installed on your machine.
  What is the value of \latex_command in the lyxrc.defaults file ?

 \latex_command latex

So check what happens in the tmp dir.
Is there a .dvi file ?
Are there error messages in the .log file ?

Thanks for pointing out the wealth of info in the tmp dir.
There's no .dvi file; the .aux file contains a single line: \relax.
In the .log file I find these messages:

Overfull \hbox (5.9086pt too wide) in paragraph at lines 90--94
[][]
 []

[...several more Overfull complaints, then:]

(addrs-3x10xx-2001.aux) )
Here is how much of TeX's memory you used:
 1231 strings out of 25901
 14575 string characters out of 197575
 63356 words of memory out of 384000
 4206 multiletter control sequences out of 1+15000
 4702 words of font info for 16 fonts, out of 40 for 1000
 14 hyphenation exceptions out of 1000
 24i,1n,19p,260b,106s stack positions out of 300i,100n,500p,5b,4000s

No pages of output.
--end of /tmp/... .log file---

Examining the .tex file, I don't see anything obviously wrong-looking,
but I'm not sure I know what to look for there.

Thanks for the help,

Jim



  1   2   >