Bug in spell checker?

2005-04-11 Thread Rob S
Hi List;
Perhaps not a LyX issue this one so bare with me.
Lyx 1.3.3, Ruurds port for Win XP
When using the spell checker I've just found that if only one suggestion 
for a correction appears it cannot be used to replace the offending text.

 For example (using English dict) if in error I type necessacrilary I 
have only the one correct spelling option this can be selected but will 
not replace.

Note;  This bug will only appear if this spelling error follows another. 
If this is the FIRST spelling error the spell checker will work ok.

This highlights a point I made some (long) time ago where I noted that 
the top item in the spell check listbox cannot be selected and used to 
replace an error directly. I find you need to first select a word from 
lower in the list and then reselect the top word for this to work.

1. Can this be confirmed?
2. If so where best to report it?
Rob S
--
R D Saunders
Hydraulic Research Group
Department of Civil and Environmental Engineering
University of Southampton
UK


Re: Bug in spell checker?

2005-04-11 Thread Geoffrey Lloyd
I have tested your problem on 1.3.5-QT for WinXp and whatever the bug it 
seems to have been fixed.  I can select and replace using the first in the 
list, the only in the list etc

I realise this is not the same port but maybe whatever the bug was has 
already been repaired.

Hope this is of some help.
However while we are on the subject of spell checkers I find the 'ignore 
all' selection doesnt work.  It just ignores the first one.  ANy ideas 
anyone?

Geoff
On Mon, 11 Apr 2005, Rob S wrote:
Hi List;
Perhaps not a LyX issue this one so bare with me.
Lyx 1.3.3, Ruurds port for Win XP
When using the spell checker I've just found that if only one suggestion for 
a correction appears it cannot be used to replace the offending text.

For example (using English dict) if in error I type necessacrilary I have 
only the one correct spelling option this can be selected but will not 
replace.

Note;  This bug will only appear if this spelling error follows another. If 
this is the FIRST spelling error the spell checker will work ok.

This highlights a point I made some (long) time ago where I noted that the 
top item in the spell check listbox cannot be selected and used to replace an 
error directly. I find you need to first select a word from lower in the list 
and then reselect the top word for this to work.

1. Can this be confirmed?
2. If so where best to report it?
Rob S
--
R D Saunders
Hydraulic Research Group
Department of Civil and Environmental Engineering
University of Southampton
UK



Re: Bug in spell checker?

2005-04-11 Thread Rob S
Geoffrey Lloyd wrote:
I have tested your problem on 1.3.5-QT for WinXp and whatever the bug it 
seems to have been fixed.  I can select and replace using the first in 
the list, the only in the list etc


This highlights a point I made some (long) time ago where I noted that 
the top item in the spell check listbox cannot be selected and used to 
replace an error directly. I find you need to first select a word from 
lower in the list and then reselect the top word for this to work.

1. Can this be confirmed?
2. If so where best to report it?

Thanks Geoff;
You're right. This does not appear a problem in 1.3.5.
Problem solved.
I'll stick with 1.3.5 from now!
Rob
--
R D Saunders
Hydraulic Research Group
Department of Civil and Environmental Engineering
University of Southampton
UK


Fancyhdr

2005-04-11 Thread Geoffrey Lloyd
Hi
I am tyring to use the fancy header package to put a header (no less!) 
across the top of my thesis document.  However the layout I want I cant 
seem to get.

I would like
Chapter # (fully aligned left)Chapter Title (fully aligned right)
It strikes me that these are controlled by the same label.  Is there any 
way to split them up??

Geoff


Re: Fancyhdr

2005-04-11 Thread Steve Litt
On Monday 11 April 2005 06:18 am, Geoffrey Lloyd wrote:
 Hi

 I am tyring to use the fancy header package to put a header (no less!)
 across the top of my thesis document.  However the layout I want I cant
 seem to get.

 I would like

 Chapter # (fully aligned left)Chapter Title (fully aligned right)

 It strikes me that these are controlled by the same label.  Is there any
 way to split them up??

 Geoff

Hi Geoff,

It's been a long time since I did this, but IIRC I did it. The documentation 
is here:

http://www.troubleshooters.com/lpm/200210/200210.htm#_HeadersandFooters

Note that the chapter number is available as \thechapter, while the actual 
chapter title is available, from a callback, as #1.

Read the abovereferenced URL and I think you'll be successful.

SteveT

 
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Couldn't \renewenvironment\subsubsection

2005-04-11 Thread Steve Litt
Hi all,

Trying to lessen the space between my headings and the text below, I tried the 
following:

[EMAIL PROTECTED] [EMAIL PROTECTED]
   {-33.5ex [EMAIL PROTECTED] -1ex [EMAIL 
PROTECTED] -.2ex}%
   {32.3ex [EMAIL PROTECTED]
   {\Large}}

That was pretty much copied out of book.cls, except that I dinked with the 
various distances to try to reverse engineer what caused the spacing above 
and below the heading. Nothing I did changed anything. To see whether I was 
just not changing the environment, I did the following:

\renewcommand\subsubsection{\Huge}%

The preceding produced absolutely no change in subsubsection.

I added this code to my layout file, and was careful to Edit-reconfigure and 
then quit and restart LyX every time.

I though perhaps my \renewcommands weren't even being read, but when I changed 
one to \newcommand instead, LyX complained that subsubsection was already 
defined, so it's obviously reading my code.

So why are my renewcommands not recognized?

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: Fancyhdr

2005-04-11 Thread Geoffrey Lloyd
Hi
Many thanks for the help so far, list and Steve.  I now have a further 
issue.  In my fancy header preamble i set the header and also the page 
number as a footer.  However on one of my pages (the abstract) I only want 
the page number.  How can i force this page to not include the header, 
just the footer.

Geoff
On Mon, 11 Apr 2005, Steve Litt wrote:
On Monday 11 April 2005 06:18 am, Geoffrey Lloyd wrote:
Hi
I am tyring to use the fancy header package to put a header (no less!)
across the top of my thesis document.  However the layout I want I cant
seem to get.
I would like
Chapter # (fully aligned left)Chapter Title (fully aligned right)
It strikes me that these are controlled by the same label.  Is there any
way to split them up??
Geoff
Hi Geoff,
It's been a long time since I did this, but IIRC I did it. The documentation
is here:
http://www.troubleshooters.com/lpm/200210/200210.htm#_HeadersandFooters
Note that the chapter number is available as \thechapter, while the actual
chapter title is available, from a callback, as #1.
Read the abovereferenced URL and I think you'll be successful.
SteveT
Steve Litt
Author:
  * Universal Troubleshooting Process courseware
  * Troubleshooting Techniques of the Successful Technologist
  * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
  * Troubleshooters.Com
  * http://www.troubleshooters.com


Re: Couldn't \renewenvironment\subsubsection

2005-04-11 Thread Steve Litt
On Monday 11 April 2005 12:00 pm, Steve Litt wrote:
 Hi all,

 Trying to lessen the space between my headings and the text below, I tried
 the following:

 [EMAIL PROTECTED] [EMAIL PROTECTED]
{-33.5ex [EMAIL PROTECTED] -1ex [EMAIL 
 PROTECTED] -.2ex}%
{32.3ex [EMAIL PROTECTED]
{\Large}}

 That was pretty much copied out of book.cls, except that I dinked with the
 various distances to try to reverse engineer what caused the spacing above
 and below the heading. Nothing I did changed anything. To see whether I was
 just not changing the environment, I did the following:

 \renewcommand\subsubsection{\Huge}%

 The preceding produced absolutely no change in subsubsection.

 I added this code to my layout file, and was careful to Edit-reconfigure
 and then quit and restart LyX every time.

 I though perhaps my \renewcommands weren't even being read, but when I
 changed one to \newcommand instead, LyX complained that subsubsection was
 already defined, so it's obviously reading my code.

 So why are my renewcommands not recognized?

Ughhh! I went to Herbert's website, and to accomplish what I wanted, Herbert 
had basically the same code I wrote in the preceding quoted material. Knowing 
I wasn't totally out to lunch, I started messing with stuff til I found out 
that whether my code was recognized depended on where it was in my .layout 
file. Anyway, I got it to work somewhat.

But there's another problem. It seems like this method can get the heading 
only as close to its headed text as the paragraph skip, which in my case is a 
big number (18 points, and I like it that way). If I set paragraph skip 
to .18, I can snug the heading right up against its headed text. So I need 
some way to snug it up when the skip is 18. If I try setting a negative 
number on the under length, it actually fits into the first paragraph, in 
much the same way as default book style paragraphs and subparagraphs.

LaTeX. Can't live with it, can't live without it.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: Fancyhdr

2005-04-11 Thread Geoffrey Lloyd
And.(excuse me for reply to my own thread)
but it seems that the fancyhdr format is not used on Chapter title pages. 
This is fine for the header (it would look silly), but it also shifts my 
page numbers back to the middle of the footer - i assume the default for 
plainpage.

Any way to over ride this
Geoff
On Mon, 11 Apr 2005, Geoffrey Lloyd wrote:
Hi
Many thanks for the help so far, list and Steve.  I now have a further issue. 
In my fancy header preamble i set the header and also the page number as a 
footer.  However on one of my pages (the abstract) I only want the page 
number.  How can i force this page to not include the header, just the 
footer.

Geoff
On Mon, 11 Apr 2005, Steve Litt wrote:
On Monday 11 April 2005 06:18 am, Geoffrey Lloyd wrote:
Hi
I am tyring to use the fancy header package to put a header (no less!)
across the top of my thesis document.  However the layout I want I cant
seem to get.
I would like
Chapter # (fully aligned left)Chapter Title (fully aligned right)
It strikes me that these are controlled by the same label.  Is there any
way to split them up??
Geoff
Hi Geoff,
It's been a long time since I did this, but IIRC I did it. The 
documentation
is here:

http://www.troubleshooters.com/lpm/200210/200210.htm#_HeadersandFooters
Note that the chapter number is available as \thechapter, while the actual
chapter title is available, from a callback, as #1.
Read the abovereferenced URL and I think you'll be successful.
SteveT
Steve Litt
Author:
  * Universal Troubleshooting Process courseware
  * Troubleshooting Techniques of the Successful Technologist
  * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
  * Troubleshooters.Com
  * http://www.troubleshooters.com



footnotes: two questions

2005-04-11 Thread Marcelo Acuÿfffff1a
Hello,
I writing a book with koma-script style (scrbook).
I have long footnotes and two questions.

1) When a footnote not fit in the initial page 
  then carry on in the next page.
I need that Lyx put a mark or symbol at the 
end of first page that indicate this to the reader.
How I can get it?
 
2) In koma-script style footnotes appears:
-
 1 Text of note, blah, blah,
blah, blah,
blah, 
 
I want that appears like AMS book, book or mwbook:
 ---
 1 Text of note, blah, blah, blah,
  blah, blah, blah, blah
  blah, ...
 
How I can get it?
 
 Thanks in advance.
 
Marcelo Acuña
 


-
 250MB gratis, Antivirus y Antispam
 Correo Yahoo!, el mejor correo web del mundo
 Abrí tu cuenta aquí

What's the difference between parskip and parsep?

2005-04-11 Thread Steve Litt
Hi all,

What's the difference between parskip and parsep?

SteveT


Re: Simplifying the print job

2005-04-11 Thread Paul A. Rubin
Yousef Raffah wrote:
I have created a lyx document and converted it to pdf using pdflatex. 
When I print the pdf document, the HP laser printer gives me an error 
message 21 Page Too Complex and some of the pages print in half only, 
I googled that error and found 
http://www.printertechs.com/tech/error-codes/error-codes-20-49.php which 
advices to simplify the print job. My question, how can I ensure my lyx 
document is simply when I convert it to pdf?


Haven't seen this problem (and don't use an HP laser), but what happens 
if you use a different method of producing a PDF?  LyX supports at least 
three different approaches:  direct to PDF using pdflatex; through dvi 
using dvipdfm; or through Postscript using ps2pdf.  On the LyX export 
menu the last one is denoted PDF with no qualifier.  In my experience, 
the last one generates the smallest files, which may well imply less 
complex page output once converted to PCL.

There have been several posts to the list about the relative merits of 
the three methods (particularly when graphics are involved?), and I know 
that the beamer package requires pdflatex, but you might try one or the 
other two and see if you like the output quality and if your printer 
finds it more digestible.

-- Paul


What are makeatletter and makeatother for?

2005-04-11 Thread Steve Litt
What are makeatletter and makeatother for?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


BibTex Reference

2005-04-11 Thread Jarosław Protasiewicz
Hi
I have problem with BibTex Generated Reference.
When i click on BibTex Reference, as many web browsers is opened as many 
BibTex Reference consist links to bib files.
I can't edit it. How fix this bug?
I use: lyx 1.3.5 for Windows, Windows XP Pro, Mozilla 1.3

Thanks
--
Jaroslaw Protasiewicz




Re: What are makeatletter and makeatother for?

2005-04-11 Thread Angus Leeming
Steve Litt wrote:

 What are makeatletter and makeatother for?

'@' is usually a LaTeX special char. These commands are used to mark a
block of code where it is to be treated as 'normal'. Eg, if you try and
generate a .dvi file of your doc and then go and look at the generated
LaTeX file in the temp directory, you'll probably find that the file
starts with something like:

\batchmode
\makeatletter
[EMAIL PROTECTED]:/MinSYS/home/Angus/trial_tex//}}
\makeatother
\documentclass[a4paper,english]{article}

For a more detailed description see
http://www.tug.org/pipermail/tugindia/2002-January/000178.html

Amazing what googling for makeatletter throws up ;-)

There's currently a discussion on the lyx-devel list on how to get LaTeX to
recognize the arbitrary file names that users like to throw at us. One
particularly joyful solution, for a file name im%ge.png, comes from
Jürgen Spitzmüller (See
http://article.gmane.org/gmane.editors.lyx.devel:43570)

\begingroup  \catcode`\%=12
\toks0={\endgroup
  \def\percentchar{%}}
\the\toks0 \relax

\includegraphics{F:/Download/ima\percentchar ge}

Urgh! Isn't TeX horrible ?
-- 
Angus



problem with spellchecker (polish)

2005-04-11 Thread Jaroslaw Protasiewicz
hi
Spellchecker with polish aspell dictionary doesn't work properly.
For istance:
it regards word narzdzie with polish letter  as two different 
words: narz and dzie.
I use lyx 1.3.5 for windows. Aspell from commands line works corectly.

Thanks
--
Jaroslaw Protasiewicz



Re: What are makeatletter and makeatother for?

2005-04-11 Thread Rich Shepard
On Mon, 11 Apr 2005, Angus Leeming wrote:
For a more detailed description see
http://www.tug.org/pipermail/tugindia/2002-January/000178.html
  Thanks, Angus. I've been wondering about this, too. That's a very cogent
explanation on that page.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: problem with spellchecker (polish)

2005-04-11 Thread Alexander Blüm
On Mon, 11 Apr 2005 21:04:41 +0200
Jaroslaw Protasiewicz [EMAIL PROTECTED] wrote:

 hi
 
 Spellchecker with polish aspell dictionary doesn't work properly.
 For istance:
 it regards word narzêdzie with polish letter ê as two different 
 words: narz and dzie.
 I use lyx 1.3.5 for windows. Aspell from commands line works corectly.
 
 Thanks
 --
 Jaroslaw Protasiewicz
 
 

Hello Jaroslaw,

  what you _probably_ forgot, is in the lyx 
preferences -- Lang Opts -- Spell checker use input encoding and 
Accept compound words...

Other than that... no idea.. :)


Cheers,
  Alex

shakespeare:
/(bb|[^b]{2})/


Re: problem with spellchecker (polish)

2005-04-11 Thread Jaroslaw Protasiewicz
HI
Spellchecker with polish aspell dictionary doesn't work properly.
For istance:
it regards word narzêdzie with polish letter ê as two different
words: narz and dzie.
I use lyx 1.3.5 for windows. Aspell from commands line works corectly.
 Hello Jaroslaw,

   what you _probably_ forgot, is in the lyx
 preferences -- Lang Opts -- Spell checker use input encoding and
 Accept compound words...
unfortunately it doesn't fix the problem.
Cheers
--
Jaroslaw Protasiewicz



Re: Simplifying the print job

2005-04-11 Thread Michael Wojcik
Yousef Raffah wrote:
I have created a lyx document and converted it to pdf using pdflatex. 
When I print the pdf document, the HP laser printer gives me an error 
message 21 Page Too Complex and some of the pages print in half only, 
I googled that error and found 
http://www.printertechs.com/tech/error-codes/error-codes-20-49.php which 
advices to simplify the print job. My question, how can I ensure my lyx 
document is simply when I convert it to pdf?
As far as I know, that's difficult to do in LyX itself without changing 
the content of the document.  There are probably places where you could 
achieve the same final appearance with different LaTeX constructs which 
would produce a simpler PDF structure, but I don't know any easy way to 
find them.

I'd recommend starting with the settings for your printer driver (if 
this is Windows - remember when posting a question to say what your 
platform is!) and the program you're using to print the PDF.

Adobe has some suggestions at [1] for problems printing PDF documents to 
a Postscript printer.

The easiest solution, though, is to add more memory to your printer, if 
that's an option.

1. http://www.adobe.com/support/techdocs/316508.html
--
Michael Wojcik



Re: What's the difference between parskip and parsep?

2005-04-11 Thread Paul A. Rubin
Steve Litt wrote:
Hi all,
What's the difference between parskip and parsep?
SteveT
I'm not positive, but my sense is that parskip is the vertical space 
between paragraphs in a standard environment and parsep is the spacing 
between paragraphs in a list environment (?).

-- Paul


Re: What are makeatletter and makeatother for?

2005-04-11 Thread Andre Poenitz
On Mon, Apr 11, 2005 at 06:57:38PM +, Angus Leeming wrote:
 \begingroup  \catcode`\%=12
 \toks0={\endgroup
   \def\percentchar{%}}
 \the\toks0 \relax
 
 \includegraphics{F:/Download/ima\percentchar ge}
 
 Urgh! Isn't TeX horrible ?

You need to prevent '%' being recognized as comment, so you put it
in a macro. To prevent the same in the macro's definition, you
temporarily change %'s catcode. Now, the straight-forward approach
(putting the thing in {...} or \begingroup..  \endgroup) would also
forget the macro after the end of the group...  'Fortunately' TeX allows
for 'bits of control structures' hanging around independently. So the
changed catcode is valid in durign the definition of the contents
register (the whole {...} block uses the new catcode) yet when using the
register (\the\toks0) the \endgroup reset the catcode but the following
\def uses a body that's already fully parsed with the temporary catcode,
i.e. contains indeed a % sign with catcode 12, not a comment...
Somewthing like that...

Well, I still wonder whether that stuff smoked while inventing TeX
was legal at that time.  [Or at any time in mankind's history for that
matter...]

Andre'


parskip

2005-04-11 Thread Rich Shepard
\parskip
\parskip is the extra vertical space inserted before a paragraph. It has a
natural length of zero but should be a rubber length so that it may be
stretched in a flushbottom environment.
To increase \parskip to skip a line between paragraphs one could use
  \addtolength{\parskip}{\baselineskip}
  I forgot the other command mentioned before I deleted the message. Found
the above via google, +LaTeX +parskip.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: BibTex Reference

2005-04-11 Thread Uwe Stöhr
Jarosaw Protasiewicz wrote:
I have problem with BibTex Generated Reference.
When i click on BibTex Reference, as many web browsers is opened as many 
BibTex Reference consist links to bib files.
I can't edit it. How fix this bug?
What exactly do you want? If you want to edit a bib-file, you need a 
special program. E.g. I can recommend the shareware program BibTexMng:

http://www.latexsoft.com/bibtexmng.htm
regards Uwe
p.s.
I use: lyx 1.3.5 for Windows, Windows XP Pro, Mozilla 1.3
Better update to Mozilla 1.7.6 or Firefox/Thunderbird 1.0.2.


Titlesec was the answer

2005-04-11 Thread Steve Litt
Hi all,

First, thank you Matej for suggesting titlesec. Of all the solutions I tried, 
and I tried several, that was the most straightforward. Using the 
\titlespacing command, it's very easy to put just the right amount of space 
above and below the header, regardless of your \parskip value 
(Layout-Document-Separation).

I was able to tweak it using Herbert's tip on his website, but that left me 
open to all sorts of erratic behavior based on what environments were above 
and below. I was unable to change the below spacing using just the sectsty 
package, although it was by far the easiest to use for fonts.

The primary problem with titlesec is its documentation is horrendous, with 
absolutely no examples. I ended up getting examples from Google searches, and 
trying them until one worked, and then slowly twisting it into shape.

Here is the code for my section, subsection, and subsubsection. I'm satisfied 
with it, and believe it conforms nicely with 
http://www.ntg.nl/maps/pdf/19_10.pdf and 
http://www.ntg.nl/maps/pdf/19_11.pdf:

\usepackage{titlesec}%  Special fonts for sections
%\titleformat{\section}[hang]{\large\bfseries}{\thesection}{.5em}
{\hspace{0.2in}}{}

\titleformat{\section}[hang]{\Large\sffamily\bfseries}{\rule[0in]{0.4in}
{0.17in}\rule[0in]{.1in}{0in}\thesection}{.5em}{\hspace{0.2in}}{}
\titlespacing{\section}{0pt}{0.9cm}{-0.2cm}

\titleformat{\subsection}[hang]{\large\sffamily\bfseries}{\rule[0in]{0.4in}
{0.05in}\rule[0in]{.1in}{0in}\thesubsection}{.5em}{\hspace{0.2in}}{}
\titlespacing{\subsection}{0pt}{0.3cm}{-0.3cm}

\titleformat{\subsubsection}[hang]{\small\sffamily\bfseries}{\rule[0in]{0.4in}
{0.015in}\rule[0in]{.1in}{0in}\thesubsubsection}{.5em}{\hspace{0.2in}}{}
\titlespacing{\subsubsection}{0pt}{0.0cm}{-0.5cm}


Re: Typography aesthetic question

2005-04-11 Thread Matej Cepl
Steve Litt wrote:
 before the text, but not after. I want to remove the obnoxious empty space
 AFTER the heading (which will also provide a handy reduction to my page
 count). Anyone have an idea how to do that?

I saw somewhere using \vspace with negative value (or was it \raisebox?),
and they claim that it even worked, but it is hard to believe that.

Matj

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
A fool-proof method for sculpting an elephant: first, get a huge
block of marble; then you chip away everything that doesn't look
like an elephant.




Wrong papersize when using pdflatex

2005-04-11 Thread Paul Medwell
Hi all,
If my LyX documents contain images then the papersize of the pdflatex 
output gets set to letter (8.5 × 11 inch), whereas I want it to be A4.
I don't have this problem if the margins are set to default or custom.

If I remove the images OR use a different pdf generator OR change the 
margin settings then the paper size is okay, but I would prefer having 
all of these things.

I'm guessing that if I update some packages the problem could probably 
be fixed, but I don't really want to update everything. If someone could 
suggest the exact cause that would be great.

I'm running LyX 1.3.5 (Qt) on Fedora Core 2, TeTex version 2.0.2-13. 
From what I can tell, the default paper size for pdflatex is set to A4.

Many thanks.
Lata,
Paul


Bug in spell checker?

2005-04-11 Thread Rob S
Hi List;
Perhaps not a LyX issue this one so bare with me.
Lyx 1.3.3, Ruurds port for Win XP
When using the spell checker I've just found that if only one suggestion 
for a correction appears it cannot be used to replace the offending text.

 For example (using English dict) if in error I type necessacrilary I 
have only the one correct spelling option this can be selected but will 
not replace.

Note;  This bug will only appear if this spelling error follows another. 
If this is the FIRST spelling error the spell checker will work ok.

This highlights a point I made some (long) time ago where I noted that 
the top item in the spell check listbox cannot be selected and used to 
replace an error directly. I find you need to first select a word from 
lower in the list and then reselect the top word for this to work.

1. Can this be confirmed?
2. If so where best to report it?
Rob S
--
R D Saunders
Hydraulic Research Group
Department of Civil and Environmental Engineering
University of Southampton
UK


Re: Bug in spell checker?

2005-04-11 Thread Geoffrey Lloyd
I have tested your problem on 1.3.5-QT for WinXp and whatever the bug it 
seems to have been fixed.  I can select and replace using the first in the 
list, the only in the list etc

I realise this is not the same port but maybe whatever the bug was has 
already been repaired.

Hope this is of some help.
However while we are on the subject of spell checkers I find the 'ignore 
all' selection doesnt work.  It just ignores the first one.  ANy ideas 
anyone?

Geoff
On Mon, 11 Apr 2005, Rob S wrote:
Hi List;
Perhaps not a LyX issue this one so bare with me.
Lyx 1.3.3, Ruurds port for Win XP
When using the spell checker I've just found that if only one suggestion for 
a correction appears it cannot be used to replace the offending text.

For example (using English dict) if in error I type necessacrilary I have 
only the one correct spelling option this can be selected but will not 
replace.

Note;  This bug will only appear if this spelling error follows another. If 
this is the FIRST spelling error the spell checker will work ok.

This highlights a point I made some (long) time ago where I noted that the 
top item in the spell check listbox cannot be selected and used to replace an 
error directly. I find you need to first select a word from lower in the list 
and then reselect the top word for this to work.

1. Can this be confirmed?
2. If so where best to report it?
Rob S
--
R D Saunders
Hydraulic Research Group
Department of Civil and Environmental Engineering
University of Southampton
UK



Re: Bug in spell checker?

2005-04-11 Thread Rob S
Geoffrey Lloyd wrote:
I have tested your problem on 1.3.5-QT for WinXp and whatever the bug it 
seems to have been fixed.  I can select and replace using the first in 
the list, the only in the list etc


This highlights a point I made some (long) time ago where I noted that 
the top item in the spell check listbox cannot be selected and used to 
replace an error directly. I find you need to first select a word from 
lower in the list and then reselect the top word for this to work.

1. Can this be confirmed?
2. If so where best to report it?

Thanks Geoff;
You're right. This does not appear a problem in 1.3.5.
Problem solved.
I'll stick with 1.3.5 from now!
Rob
--
R D Saunders
Hydraulic Research Group
Department of Civil and Environmental Engineering
University of Southampton
UK


Fancyhdr

2005-04-11 Thread Geoffrey Lloyd
Hi
I am tyring to use the fancy header package to put a header (no less!) 
across the top of my thesis document.  However the layout I want I cant 
seem to get.

I would like
Chapter # (fully aligned left)Chapter Title (fully aligned right)
It strikes me that these are controlled by the same label.  Is there any 
way to split them up??

Geoff


Re: Fancyhdr

2005-04-11 Thread Steve Litt
On Monday 11 April 2005 06:18 am, Geoffrey Lloyd wrote:
 Hi

 I am tyring to use the fancy header package to put a header (no less!)
 across the top of my thesis document.  However the layout I want I cant
 seem to get.

 I would like

 Chapter # (fully aligned left)Chapter Title (fully aligned right)

 It strikes me that these are controlled by the same label.  Is there any
 way to split them up??

 Geoff

Hi Geoff,

It's been a long time since I did this, but IIRC I did it. The documentation 
is here:

http://www.troubleshooters.com/lpm/200210/200210.htm#_HeadersandFooters

Note that the chapter number is available as \thechapter, while the actual 
chapter title is available, from a callback, as #1.

Read the abovereferenced URL and I think you'll be successful.

SteveT

 
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Couldn't \renewenvironment\subsubsection

2005-04-11 Thread Steve Litt
Hi all,

Trying to lessen the space between my headings and the text below, I tried the 
following:

[EMAIL PROTECTED] [EMAIL PROTECTED]
   {-33.5ex [EMAIL PROTECTED] -1ex [EMAIL 
PROTECTED] -.2ex}%
   {32.3ex [EMAIL PROTECTED]
   {\Large}}

That was pretty much copied out of book.cls, except that I dinked with the 
various distances to try to reverse engineer what caused the spacing above 
and below the heading. Nothing I did changed anything. To see whether I was 
just not changing the environment, I did the following:

\renewcommand\subsubsection{\Huge}%

The preceding produced absolutely no change in subsubsection.

I added this code to my layout file, and was careful to Edit-reconfigure and 
then quit and restart LyX every time.

I though perhaps my \renewcommands weren't even being read, but when I changed 
one to \newcommand instead, LyX complained that subsubsection was already 
defined, so it's obviously reading my code.

So why are my renewcommands not recognized?

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: Fancyhdr

2005-04-11 Thread Geoffrey Lloyd
Hi
Many thanks for the help so far, list and Steve.  I now have a further 
issue.  In my fancy header preamble i set the header and also the page 
number as a footer.  However on one of my pages (the abstract) I only want 
the page number.  How can i force this page to not include the header, 
just the footer.

Geoff
On Mon, 11 Apr 2005, Steve Litt wrote:
On Monday 11 April 2005 06:18 am, Geoffrey Lloyd wrote:
Hi
I am tyring to use the fancy header package to put a header (no less!)
across the top of my thesis document.  However the layout I want I cant
seem to get.
I would like
Chapter # (fully aligned left)Chapter Title (fully aligned right)
It strikes me that these are controlled by the same label.  Is there any
way to split them up??
Geoff
Hi Geoff,
It's been a long time since I did this, but IIRC I did it. The documentation
is here:
http://www.troubleshooters.com/lpm/200210/200210.htm#_HeadersandFooters
Note that the chapter number is available as \thechapter, while the actual
chapter title is available, from a callback, as #1.
Read the abovereferenced URL and I think you'll be successful.
SteveT
Steve Litt
Author:
  * Universal Troubleshooting Process courseware
  * Troubleshooting Techniques of the Successful Technologist
  * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
  * Troubleshooters.Com
  * http://www.troubleshooters.com


Re: Couldn't \renewenvironment\subsubsection

2005-04-11 Thread Steve Litt
On Monday 11 April 2005 12:00 pm, Steve Litt wrote:
 Hi all,

 Trying to lessen the space between my headings and the text below, I tried
 the following:

 [EMAIL PROTECTED] [EMAIL PROTECTED]
{-33.5ex [EMAIL PROTECTED] -1ex [EMAIL 
 PROTECTED] -.2ex}%
{32.3ex [EMAIL PROTECTED]
{\Large}}

 That was pretty much copied out of book.cls, except that I dinked with the
 various distances to try to reverse engineer what caused the spacing above
 and below the heading. Nothing I did changed anything. To see whether I was
 just not changing the environment, I did the following:

 \renewcommand\subsubsection{\Huge}%

 The preceding produced absolutely no change in subsubsection.

 I added this code to my layout file, and was careful to Edit-reconfigure
 and then quit and restart LyX every time.

 I though perhaps my \renewcommands weren't even being read, but when I
 changed one to \newcommand instead, LyX complained that subsubsection was
 already defined, so it's obviously reading my code.

 So why are my renewcommands not recognized?

Ughhh! I went to Herbert's website, and to accomplish what I wanted, Herbert 
had basically the same code I wrote in the preceding quoted material. Knowing 
I wasn't totally out to lunch, I started messing with stuff til I found out 
that whether my code was recognized depended on where it was in my .layout 
file. Anyway, I got it to work somewhat.

But there's another problem. It seems like this method can get the heading 
only as close to its headed text as the paragraph skip, which in my case is a 
big number (18 points, and I like it that way). If I set paragraph skip 
to .18, I can snug the heading right up against its headed text. So I need 
some way to snug it up when the skip is 18. If I try setting a negative 
number on the under length, it actually fits into the first paragraph, in 
much the same way as default book style paragraphs and subparagraphs.

LaTeX. Can't live with it, can't live without it.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: Fancyhdr

2005-04-11 Thread Geoffrey Lloyd
And.(excuse me for reply to my own thread)
but it seems that the fancyhdr format is not used on Chapter title pages. 
This is fine for the header (it would look silly), but it also shifts my 
page numbers back to the middle of the footer - i assume the default for 
plainpage.

Any way to over ride this
Geoff
On Mon, 11 Apr 2005, Geoffrey Lloyd wrote:
Hi
Many thanks for the help so far, list and Steve.  I now have a further issue. 
In my fancy header preamble i set the header and also the page number as a 
footer.  However on one of my pages (the abstract) I only want the page 
number.  How can i force this page to not include the header, just the 
footer.

Geoff
On Mon, 11 Apr 2005, Steve Litt wrote:
On Monday 11 April 2005 06:18 am, Geoffrey Lloyd wrote:
Hi
I am tyring to use the fancy header package to put a header (no less!)
across the top of my thesis document.  However the layout I want I cant
seem to get.
I would like
Chapter # (fully aligned left)Chapter Title (fully aligned right)
It strikes me that these are controlled by the same label.  Is there any
way to split them up??
Geoff
Hi Geoff,
It's been a long time since I did this, but IIRC I did it. The 
documentation
is here:

http://www.troubleshooters.com/lpm/200210/200210.htm#_HeadersandFooters
Note that the chapter number is available as \thechapter, while the actual
chapter title is available, from a callback, as #1.
Read the abovereferenced URL and I think you'll be successful.
SteveT
Steve Litt
Author:
  * Universal Troubleshooting Process courseware
  * Troubleshooting Techniques of the Successful Technologist
  * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
  * Troubleshooters.Com
  * http://www.troubleshooters.com



footnotes: two questions

2005-04-11 Thread Marcelo Acuÿfffff1a
Hello,
I writing a book with koma-script style (scrbook).
I have long footnotes and two questions.

1) When a footnote not fit in the initial page 
  then carry on in the next page.
I need that Lyx put a mark or symbol at the 
end of first page that indicate this to the reader.
How I can get it?
 
2) In koma-script style footnotes appears:
-
 1 Text of note, blah, blah,
blah, blah,
blah, 
 
I want that appears like AMS book, book or mwbook:
 ---
 1 Text of note, blah, blah, blah,
  blah, blah, blah, blah
  blah, ...
 
How I can get it?
 
 Thanks in advance.
 
Marcelo Acuña
 


-
 250MB gratis, Antivirus y Antispam
 Correo Yahoo!, el mejor correo web del mundo
 Abrí tu cuenta aquí

What's the difference between parskip and parsep?

2005-04-11 Thread Steve Litt
Hi all,

What's the difference between parskip and parsep?

SteveT


Re: Simplifying the print job

2005-04-11 Thread Paul A. Rubin
Yousef Raffah wrote:
I have created a lyx document and converted it to pdf using pdflatex. 
When I print the pdf document, the HP laser printer gives me an error 
message 21 Page Too Complex and some of the pages print in half only, 
I googled that error and found 
http://www.printertechs.com/tech/error-codes/error-codes-20-49.php which 
advices to simplify the print job. My question, how can I ensure my lyx 
document is simply when I convert it to pdf?


Haven't seen this problem (and don't use an HP laser), but what happens 
if you use a different method of producing a PDF?  LyX supports at least 
three different approaches:  direct to PDF using pdflatex; through dvi 
using dvipdfm; or through Postscript using ps2pdf.  On the LyX export 
menu the last one is denoted PDF with no qualifier.  In my experience, 
the last one generates the smallest files, which may well imply less 
complex page output once converted to PCL.

There have been several posts to the list about the relative merits of 
the three methods (particularly when graphics are involved?), and I know 
that the beamer package requires pdflatex, but you might try one or the 
other two and see if you like the output quality and if your printer 
finds it more digestible.

-- Paul


What are makeatletter and makeatother for?

2005-04-11 Thread Steve Litt
What are makeatletter and makeatother for?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


BibTex Reference

2005-04-11 Thread Jarosław Protasiewicz
Hi
I have problem with BibTex Generated Reference.
When i click on BibTex Reference, as many web browsers is opened as many 
BibTex Reference consist links to bib files.
I can't edit it. How fix this bug?
I use: lyx 1.3.5 for Windows, Windows XP Pro, Mozilla 1.3

Thanks
--
Jaroslaw Protasiewicz




Re: What are makeatletter and makeatother for?

2005-04-11 Thread Angus Leeming
Steve Litt wrote:

 What are makeatletter and makeatother for?

'@' is usually a LaTeX special char. These commands are used to mark a
block of code where it is to be treated as 'normal'. Eg, if you try and
generate a .dvi file of your doc and then go and look at the generated
LaTeX file in the temp directory, you'll probably find that the file
starts with something like:

\batchmode
\makeatletter
[EMAIL PROTECTED]:/MinSYS/home/Angus/trial_tex//}}
\makeatother
\documentclass[a4paper,english]{article}

For a more detailed description see
http://www.tug.org/pipermail/tugindia/2002-January/000178.html

Amazing what googling for makeatletter throws up ;-)

There's currently a discussion on the lyx-devel list on how to get LaTeX to
recognize the arbitrary file names that users like to throw at us. One
particularly joyful solution, for a file name im%ge.png, comes from
Jürgen Spitzmüller (See
http://article.gmane.org/gmane.editors.lyx.devel:43570)

\begingroup  \catcode`\%=12
\toks0={\endgroup
  \def\percentchar{%}}
\the\toks0 \relax

\includegraphics{F:/Download/ima\percentchar ge}

Urgh! Isn't TeX horrible ?
-- 
Angus



problem with spellchecker (polish)

2005-04-11 Thread Jaroslaw Protasiewicz
hi
Spellchecker with polish aspell dictionary doesn't work properly.
For istance:
it regards word narzdzie with polish letter  as two different 
words: narz and dzie.
I use lyx 1.3.5 for windows. Aspell from commands line works corectly.

Thanks
--
Jaroslaw Protasiewicz



Re: What are makeatletter and makeatother for?

2005-04-11 Thread Rich Shepard
On Mon, 11 Apr 2005, Angus Leeming wrote:
For a more detailed description see
http://www.tug.org/pipermail/tugindia/2002-January/000178.html
  Thanks, Angus. I've been wondering about this, too. That's a very cogent
explanation on that page.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: problem with spellchecker (polish)

2005-04-11 Thread Alexander Blüm
On Mon, 11 Apr 2005 21:04:41 +0200
Jaroslaw Protasiewicz [EMAIL PROTECTED] wrote:

 hi
 
 Spellchecker with polish aspell dictionary doesn't work properly.
 For istance:
 it regards word narzêdzie with polish letter ê as two different 
 words: narz and dzie.
 I use lyx 1.3.5 for windows. Aspell from commands line works corectly.
 
 Thanks
 --
 Jaroslaw Protasiewicz
 
 

Hello Jaroslaw,

  what you _probably_ forgot, is in the lyx 
preferences -- Lang Opts -- Spell checker use input encoding and 
Accept compound words...

Other than that... no idea.. :)


Cheers,
  Alex

shakespeare:
/(bb|[^b]{2})/


Re: problem with spellchecker (polish)

2005-04-11 Thread Jaroslaw Protasiewicz
HI
Spellchecker with polish aspell dictionary doesn't work properly.
For istance:
it regards word narzêdzie with polish letter ê as two different
words: narz and dzie.
I use lyx 1.3.5 for windows. Aspell from commands line works corectly.
 Hello Jaroslaw,

   what you _probably_ forgot, is in the lyx
 preferences -- Lang Opts -- Spell checker use input encoding and
 Accept compound words...
unfortunately it doesn't fix the problem.
Cheers
--
Jaroslaw Protasiewicz



Re: Simplifying the print job

2005-04-11 Thread Michael Wojcik
Yousef Raffah wrote:
I have created a lyx document and converted it to pdf using pdflatex. 
When I print the pdf document, the HP laser printer gives me an error 
message 21 Page Too Complex and some of the pages print in half only, 
I googled that error and found 
http://www.printertechs.com/tech/error-codes/error-codes-20-49.php which 
advices to simplify the print job. My question, how can I ensure my lyx 
document is simply when I convert it to pdf?
As far as I know, that's difficult to do in LyX itself without changing 
the content of the document.  There are probably places where you could 
achieve the same final appearance with different LaTeX constructs which 
would produce a simpler PDF structure, but I don't know any easy way to 
find them.

I'd recommend starting with the settings for your printer driver (if 
this is Windows - remember when posting a question to say what your 
platform is!) and the program you're using to print the PDF.

Adobe has some suggestions at [1] for problems printing PDF documents to 
a Postscript printer.

The easiest solution, though, is to add more memory to your printer, if 
that's an option.

1. http://www.adobe.com/support/techdocs/316508.html
--
Michael Wojcik



Re: What's the difference between parskip and parsep?

2005-04-11 Thread Paul A. Rubin
Steve Litt wrote:
Hi all,
What's the difference between parskip and parsep?
SteveT
I'm not positive, but my sense is that parskip is the vertical space 
between paragraphs in a standard environment and parsep is the spacing 
between paragraphs in a list environment (?).

-- Paul


Re: What are makeatletter and makeatother for?

2005-04-11 Thread Andre Poenitz
On Mon, Apr 11, 2005 at 06:57:38PM +, Angus Leeming wrote:
 \begingroup  \catcode`\%=12
 \toks0={\endgroup
   \def\percentchar{%}}
 \the\toks0 \relax
 
 \includegraphics{F:/Download/ima\percentchar ge}
 
 Urgh! Isn't TeX horrible ?

You need to prevent '%' being recognized as comment, so you put it
in a macro. To prevent the same in the macro's definition, you
temporarily change %'s catcode. Now, the straight-forward approach
(putting the thing in {...} or \begingroup..  \endgroup) would also
forget the macro after the end of the group...  'Fortunately' TeX allows
for 'bits of control structures' hanging around independently. So the
changed catcode is valid in durign the definition of the contents
register (the whole {...} block uses the new catcode) yet when using the
register (\the\toks0) the \endgroup reset the catcode but the following
\def uses a body that's already fully parsed with the temporary catcode,
i.e. contains indeed a % sign with catcode 12, not a comment...
Somewthing like that...

Well, I still wonder whether that stuff smoked while inventing TeX
was legal at that time.  [Or at any time in mankind's history for that
matter...]

Andre'


parskip

2005-04-11 Thread Rich Shepard
\parskip
\parskip is the extra vertical space inserted before a paragraph. It has a
natural length of zero but should be a rubber length so that it may be
stretched in a flushbottom environment.
To increase \parskip to skip a line between paragraphs one could use
  \addtolength{\parskip}{\baselineskip}
  I forgot the other command mentioned before I deleted the message. Found
the above via google, +LaTeX +parskip.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
http://www.appl-ecosys.com   Voice: 503-667-4517   Fax: 503-667-8863


Re: BibTex Reference

2005-04-11 Thread Uwe Stöhr
Jarosaw Protasiewicz wrote:
I have problem with BibTex Generated Reference.
When i click on BibTex Reference, as many web browsers is opened as many 
BibTex Reference consist links to bib files.
I can't edit it. How fix this bug?
What exactly do you want? If you want to edit a bib-file, you need a 
special program. E.g. I can recommend the shareware program BibTexMng:

http://www.latexsoft.com/bibtexmng.htm
regards Uwe
p.s.
I use: lyx 1.3.5 for Windows, Windows XP Pro, Mozilla 1.3
Better update to Mozilla 1.7.6 or Firefox/Thunderbird 1.0.2.


Titlesec was the answer

2005-04-11 Thread Steve Litt
Hi all,

First, thank you Matej for suggesting titlesec. Of all the solutions I tried, 
and I tried several, that was the most straightforward. Using the 
\titlespacing command, it's very easy to put just the right amount of space 
above and below the header, regardless of your \parskip value 
(Layout-Document-Separation).

I was able to tweak it using Herbert's tip on his website, but that left me 
open to all sorts of erratic behavior based on what environments were above 
and below. I was unable to change the below spacing using just the sectsty 
package, although it was by far the easiest to use for fonts.

The primary problem with titlesec is its documentation is horrendous, with 
absolutely no examples. I ended up getting examples from Google searches, and 
trying them until one worked, and then slowly twisting it into shape.

Here is the code for my section, subsection, and subsubsection. I'm satisfied 
with it, and believe it conforms nicely with 
http://www.ntg.nl/maps/pdf/19_10.pdf and 
http://www.ntg.nl/maps/pdf/19_11.pdf:

\usepackage{titlesec}%  Special fonts for sections
%\titleformat{\section}[hang]{\large\bfseries}{\thesection}{.5em}
{\hspace{0.2in}}{}

\titleformat{\section}[hang]{\Large\sffamily\bfseries}{\rule[0in]{0.4in}
{0.17in}\rule[0in]{.1in}{0in}\thesection}{.5em}{\hspace{0.2in}}{}
\titlespacing{\section}{0pt}{0.9cm}{-0.2cm}

\titleformat{\subsection}[hang]{\large\sffamily\bfseries}{\rule[0in]{0.4in}
{0.05in}\rule[0in]{.1in}{0in}\thesubsection}{.5em}{\hspace{0.2in}}{}
\titlespacing{\subsection}{0pt}{0.3cm}{-0.3cm}

\titleformat{\subsubsection}[hang]{\small\sffamily\bfseries}{\rule[0in]{0.4in}
{0.015in}\rule[0in]{.1in}{0in}\thesubsubsection}{.5em}{\hspace{0.2in}}{}
\titlespacing{\subsubsection}{0pt}{0.0cm}{-0.5cm}


Re: Typography aesthetic question

2005-04-11 Thread Matej Cepl
Steve Litt wrote:
 before the text, but not after. I want to remove the obnoxious empty space
 AFTER the heading (which will also provide a handy reduction to my page
 count). Anyone have an idea how to do that?

I saw somewhere using \vspace with negative value (or was it \raisebox?),
and they claim that it even worked, but it is hard to believe that.

Matj

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
A fool-proof method for sculpting an elephant: first, get a huge
block of marble; then you chip away everything that doesn't look
like an elephant.




Wrong papersize when using pdflatex

2005-04-11 Thread Paul Medwell
Hi all,
If my LyX documents contain images then the papersize of the pdflatex 
output gets set to letter (8.5 × 11 inch), whereas I want it to be A4.
I don't have this problem if the margins are set to default or custom.

If I remove the images OR use a different pdf generator OR change the 
margin settings then the paper size is okay, but I would prefer having 
all of these things.

I'm guessing that if I update some packages the problem could probably 
be fixed, but I don't really want to update everything. If someone could 
suggest the exact cause that would be great.

I'm running LyX 1.3.5 (Qt) on Fedora Core 2, TeTex version 2.0.2-13. 
From what I can tell, the default paper size for pdflatex is set to A4.

Many thanks.
Lata,
Paul


Bug in spell checker?

2005-04-11 Thread Rob S
Hi List;
Perhaps not a LyX issue this one so bare with me.
Lyx 1.3.3, Ruurds port for Win XP
When using the spell checker I've just found that if only one suggestion 
for a correction appears it cannot be used to replace the offending text.

 For example (using English dict) if in error I type "necessacrilary" I 
have only the one correct spelling option this can be selected but will 
not replace.

Note;  This bug will only appear if this spelling error follows another. 
If this is the FIRST spelling error the spell checker will work ok.

This highlights a point I made some (long) time ago where I noted that 
the top item in the spell check listbox cannot be selected and used to 
replace an error directly. I find you need to first select a word from 
lower in the list and then reselect the top word for this to work.

1. Can this be confirmed?
2. If so where best to report it?
Rob S
--
R D Saunders
Hydraulic Research Group
Department of Civil and Environmental Engineering
University of Southampton
UK


Re: Bug in spell checker?

2005-04-11 Thread Geoffrey Lloyd
I have tested your problem on 1.3.5-QT for WinXp and whatever the bug it 
seems to have been fixed.  I can select and replace using the first in the 
list, the only in the list etc

I realise this is not the same port but maybe whatever the bug was has 
already been repaired.

Hope this is of some help.
However while we are on the subject of spell checkers I find the 'ignore 
all' selection doesnt work.  It just ignores the first one.  ANy ideas 
anyone?

Geoff
On Mon, 11 Apr 2005, Rob S wrote:
Hi List;
Perhaps not a LyX issue this one so bare with me.
Lyx 1.3.3, Ruurds port for Win XP
When using the spell checker I've just found that if only one suggestion for 
a correction appears it cannot be used to replace the offending text.

For example (using English dict) if in error I type "necessacrilary" I have 
only the one correct spelling option this can be selected but will not 
replace.

Note;  This bug will only appear if this spelling error follows another. If 
this is the FIRST spelling error the spell checker will work ok.

This highlights a point I made some (long) time ago where I noted that the 
top item in the spell check listbox cannot be selected and used to replace an 
error directly. I find you need to first select a word from lower in the list 
and then reselect the top word for this to work.

1. Can this be confirmed?
2. If so where best to report it?
Rob S
--
R D Saunders
Hydraulic Research Group
Department of Civil and Environmental Engineering
University of Southampton
UK



Re: Bug in spell checker?

2005-04-11 Thread Rob S
Geoffrey Lloyd wrote:
I have tested your problem on 1.3.5-QT for WinXp and whatever the bug it 
seems to have been fixed.  I can select and replace using the first in 
the list, the only in the list etc


This highlights a point I made some (long) time ago where I noted that 
the top item in the spell check listbox cannot be selected and used to 
replace an error directly. I find you need to first select a word from 
lower in the list and then reselect the top word for this to work.

1. Can this be confirmed?
2. If so where best to report it?

Thanks Geoff;
You're right. This does not appear a problem in 1.3.5.
Problem solved.
I'll stick with 1.3.5 from now!
Rob
--
R D Saunders
Hydraulic Research Group
Department of Civil and Environmental Engineering
University of Southampton
UK


Fancyhdr

2005-04-11 Thread Geoffrey Lloyd
Hi
I am tyring to use the fancy header package to put a header (no less!) 
across the top of my thesis document.  However the layout I want I cant 
seem to get.

I would like
Chapter # (fully aligned left)Chapter Title (fully aligned right)
It strikes me that these are controlled by the same label.  Is there any 
way to split them up??

Geoff


Re: Fancyhdr

2005-04-11 Thread Steve Litt
On Monday 11 April 2005 06:18 am, Geoffrey Lloyd wrote:
> Hi
>
> I am tyring to use the fancy header package to put a header (no less!)
> across the top of my thesis document.  However the layout I want I cant
> seem to get.
>
> I would like
>
> Chapter # (fully aligned left)Chapter Title (fully aligned right)
>
> It strikes me that these are controlled by the same label.  Is there any
> way to split them up??
>
> Geoff

Hi Geoff,

It's been a long time since I did this, but IIRC I did it. The documentation 
is here:

http://www.troubleshooters.com/lpm/200210/200210.htm#_HeadersandFooters

Note that the chapter number is available as \thechapter, while the actual 
chapter title is available, from a callback, as #1.

Read the abovereferenced URL and I think you'll be successful.

SteveT

 
Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Couldn't \renewenvironment\subsubsection

2005-04-11 Thread Steve Litt
Hi all,

Trying to lessen the space between my headings and the text below, I tried the 
following:

[EMAIL PROTECTED] [EMAIL PROTECTED]
   {-33.5ex [EMAIL PROTECTED] -1ex [EMAIL 
PROTECTED] -.2ex}%
   {32.3ex [EMAIL PROTECTED]
   {\Large}}

That was pretty much copied out of book.cls, except that I dinked with the 
various distances to try to reverse engineer what caused the spacing above 
and below the heading. Nothing I did changed anything. To see whether I was 
just not changing the environment, I did the following:

\renewcommand\subsubsection{\Huge}%

The preceding produced absolutely no change in subsubsection.

I added this code to my layout file, and was careful to Edit->reconfigure and 
then quit and restart LyX every time.

I though perhaps my \renewcommands weren't even being read, but when I changed 
one to \newcommand instead, LyX complained that subsubsection was already 
defined, so it's obviously reading my code.

So why are my renewcommands not recognized?

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: Fancyhdr

2005-04-11 Thread Geoffrey Lloyd
Hi
Many thanks for the help so far, list and Steve.  I now have a further 
issue.  In my fancy header preamble i set the header and also the page 
number as a footer.  However on one of my pages (the abstract) I only want 
the page number.  How can i force this page to not include the header, 
just the footer.

Geoff
On Mon, 11 Apr 2005, Steve Litt wrote:
On Monday 11 April 2005 06:18 am, Geoffrey Lloyd wrote:
Hi
I am tyring to use the fancy header package to put a header (no less!)
across the top of my thesis document.  However the layout I want I cant
seem to get.
I would like
Chapter # (fully aligned left)Chapter Title (fully aligned right)
It strikes me that these are controlled by the same label.  Is there any
way to split them up??
Geoff
Hi Geoff,
It's been a long time since I did this, but IIRC I did it. The documentation
is here:
http://www.troubleshooters.com/lpm/200210/200210.htm#_HeadersandFooters
Note that the chapter number is available as \thechapter, while the actual
chapter title is available, from a callback, as #1.
Read the abovereferenced URL and I think you'll be successful.
SteveT
Steve Litt
Author:
  * Universal Troubleshooting Process courseware
  * Troubleshooting Techniques of the Successful Technologist
  * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
  * Troubleshooters.Com
  * http://www.troubleshooters.com


Re: Couldn't \renewenvironment\subsubsection

2005-04-11 Thread Steve Litt
On Monday 11 April 2005 12:00 pm, Steve Litt wrote:
> Hi all,
>
> Trying to lessen the space between my headings and the text below, I tried
> the following:
>
> [EMAIL PROTECTED] [EMAIL PROTECTED]
>{-33.5ex [EMAIL PROTECTED] -1ex [EMAIL 
> PROTECTED] -.2ex}%
>{32.3ex [EMAIL PROTECTED]
>{\Large}}
>
> That was pretty much copied out of book.cls, except that I dinked with the
> various distances to try to reverse engineer what caused the spacing above
> and below the heading. Nothing I did changed anything. To see whether I was
> just not changing the environment, I did the following:
>
> \renewcommand\subsubsection{\Huge}%
>
> The preceding produced absolutely no change in subsubsection.
>
> I added this code to my layout file, and was careful to Edit->reconfigure
> and then quit and restart LyX every time.
>
> I though perhaps my \renewcommands weren't even being read, but when I
> changed one to \newcommand instead, LyX complained that subsubsection was
> already defined, so it's obviously reading my code.
>
> So why are my renewcommands not recognized?

Ughhh! I went to Herbert's website, and to accomplish what I wanted, Herbert 
had basically the same code I wrote in the preceding quoted material. Knowing 
I wasn't totally out to lunch, I started messing with stuff til I found out 
that whether my code was recognized depended on where it was in my .layout 
file. Anyway, I got it to work somewhat.

But there's another problem. It seems like this method can get the heading 
only as close to its headed text as the paragraph skip, which in my case is a 
big number (18 points, and I like it that way). If I set paragraph skip 
to .18, I can snug the heading right up against its headed text. So I need 
some way to snug it up when the skip is 18. If I try setting a negative 
number on the "under" length, it actually fits into the first paragraph, in 
much the same way as default book style paragraphs and subparagraphs.

LaTeX. Can't live with it, can't live without it.

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Re: Fancyhdr

2005-04-11 Thread Geoffrey Lloyd
And.(excuse me for reply to my own thread)
but it seems that the fancyhdr format is not used on Chapter title pages. 
This is fine for the header (it would look silly), but it also shifts my 
page numbers back to the middle of the footer - i assume the default for 
plainpage.

Any way to over ride this
Geoff
On Mon, 11 Apr 2005, Geoffrey Lloyd wrote:
Hi
Many thanks for the help so far, list and Steve.  I now have a further issue. 
In my fancy header preamble i set the header and also the page number as a 
footer.  However on one of my pages (the abstract) I only want the page 
number.  How can i force this page to not include the header, just the 
footer.

Geoff
On Mon, 11 Apr 2005, Steve Litt wrote:
On Monday 11 April 2005 06:18 am, Geoffrey Lloyd wrote:
Hi
I am tyring to use the fancy header package to put a header (no less!)
across the top of my thesis document.  However the layout I want I cant
seem to get.
I would like
Chapter # (fully aligned left)Chapter Title (fully aligned right)
It strikes me that these are controlled by the same label.  Is there any
way to split them up??
Geoff
Hi Geoff,
It's been a long time since I did this, but IIRC I did it. The 
documentation
is here:

http://www.troubleshooters.com/lpm/200210/200210.htm#_HeadersandFooters
Note that the chapter number is available as \thechapter, while the actual
chapter title is available, from a callback, as #1.
Read the abovereferenced URL and I think you'll be successful.
SteveT
Steve Litt
Author:
  * Universal Troubleshooting Process courseware
  * Troubleshooting Techniques of the Successful Technologist
  * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
  * Troubleshooters.Com
  * http://www.troubleshooters.com



footnotes: two questions

2005-04-11 Thread Marcelo Acuÿfffff1a
Hello,
I writing a book with koma-script style (scrbook).
I have long footnotes and two questions.

1) When a footnote not fit in the initial page 
  then carry on in the next page.
I need that Lyx put a mark or symbol at the 
end of first page that indicate this to the reader.
How I can get it?
 
2) In koma-script style footnotes appears:
-
 1 Text of note, blah, blah,
blah, blah,
blah, 
 
I want that appears like AMS book, book or mwbook:
 ---
 1 Text of note, blah, blah, blah,
  blah, blah, blah, blah
  blah, ...
 
How I can get it?
 
 Thanks in advance.
 
Marcelo Acuña
 


-
 250MB gratis, Antivirus y Antispam
 Correo Yahoo!, el mejor correo web del mundo
 Abrí tu cuenta aquí

What's the difference between parskip and parsep?

2005-04-11 Thread Steve Litt
Hi all,

What's the difference between parskip and parsep?

SteveT


Re: Simplifying the print job

2005-04-11 Thread Paul A. Rubin
Yousef Raffah wrote:
I have created a lyx document and converted it to pdf using pdflatex. 
When I print the pdf document, the HP laser printer gives me an error 
message "21 Page Too Complex" and some of the pages print in half only, 
I googled that error and found 
http://www.printertechs.com/tech/error-codes/error-codes-20-49.php which 
advices to simplify the print job. My question, how can I ensure my lyx 
document is "simply" when I convert it to pdf?


Haven't seen this problem (and don't use an HP laser), but what happens 
if you use a different method of producing a PDF?  LyX supports at least 
three different approaches:  direct to PDF using pdflatex; through dvi 
using dvipdfm; or through Postscript using ps2pdf.  On the LyX export 
menu the last one is denoted PDF with no qualifier.  In my experience, 
the last one generates the smallest files, which may well imply less 
complex page output once converted to PCL.

There have been several posts to the list about the relative merits of 
the three methods (particularly when graphics are involved?), and I know 
that the beamer package requires pdflatex, but you might try one or the 
other two and see if you like the output quality and if your printer 
finds it more digestible.

-- Paul


What are makeatletter and makeatother for?

2005-04-11 Thread Steve Litt
What are makeatletter and makeatother for?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


BibTex Reference

2005-04-11 Thread Jarosław Protasiewicz
Hi
I have problem with BibTex Generated Reference.
When i click on BibTex Reference, as many web browsers is opened as many 
BibTex Reference consist links to bib files.
I can't edit it. How fix this bug?
I use: lyx 1.3.5 for Windows, Windows XP Pro, Mozilla 1.3

Thanks
--
Jaroslaw Protasiewicz




Re: What are makeatletter and makeatother for?

2005-04-11 Thread Angus Leeming
Steve Litt wrote:

> What are makeatletter and makeatother for?

'@' is usually a LaTeX special char. These commands are used to mark a
block of code where it is to be treated as 'normal'. Eg, if you try and
generate a .dvi file of your doc and then go and look at the generated
LaTeX file in the temp directory, you'll probably find that the file
starts with something like:

\batchmode
\makeatletter
[EMAIL PROTECTED]:/MinSYS/home/Angus/trial_tex//}}
\makeatother
\documentclass[a4paper,english]{article}

For a more detailed description see
http://www.tug.org/pipermail/tugindia/2002-January/000178.html

Amazing what googling for "makeatletter" throws up ;-)

There's currently a discussion on the lyx-devel list on how to get LaTeX to
recognize the arbitrary file names that users like to throw at us. One
particularly joyful solution, for a file name "im%ge.png", comes from
Jürgen Spitzmüller (See
http://article.gmane.org/gmane.editors.lyx.devel:43570)

\begingroup  \catcode`\%=12
\toks0={\endgroup
  \def\percentchar{%}}
\the\toks0 \relax

\includegraphics{"F:/Download/ima\percentchar ge"}

Urgh! Isn't TeX horrible ?
-- 
Angus



problem with spellchecker (polish)

2005-04-11 Thread Jaroslaw Protasiewicz
hi
Spellchecker with polish aspell dictionary doesn't work properly.
For istance:
it regards word "narzędzie" with polish letter "ę" as two different 
words: "narz" and "dzie".
I use lyx 1.3.5 for windows. Aspell from commands line works corectly.

Thanks
--
Jaroslaw Protasiewicz



Re: What are makeatletter and makeatother for?

2005-04-11 Thread Rich Shepard
On Mon, 11 Apr 2005, Angus Leeming wrote:
For a more detailed description see
http://www.tug.org/pipermail/tugindia/2002-January/000178.html
  Thanks, Angus. I've been wondering about this, too. That's a very cogent
explanation on that page.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Re: problem with spellchecker (polish)

2005-04-11 Thread Alexander Blüm
On Mon, 11 Apr 2005 21:04:41 +0200
Jaroslaw Protasiewicz <[EMAIL PROTECTED]> wrote:

> hi
> 
> Spellchecker with polish aspell dictionary doesn't work properly.
> For istance:
> it regards word "narzêdzie" with polish letter "ê" as two different 
> words: "narz" and "dzie".
> I use lyx 1.3.5 for windows. Aspell from commands line works corectly.
> 
> Thanks
> --
> Jaroslaw Protasiewicz
> 
> 

Hello Jaroslaw,

  what you _probably_ forgot, is in the lyx 
preferences --> Lang Opts --> Spell checker "use input encoding" and 
"Accept compound words"...

Other than that... no idea.. :)


Cheers,
  Alex

shakespeare:
/(bb|[^b]{2})/


Re: problem with spellchecker (polish)

2005-04-11 Thread Jaroslaw Protasiewicz
HI
>>Spellchecker with polish aspell dictionary doesn't work properly.
>>For istance:
>>it regards word "narzêdzie" with polish letter "ê" as two different
>>words: "narz" and "dzie".
>>I use lyx 1.3.5 for windows. Aspell from commands line works corectly.
> Hello Jaroslaw,
>
>   what you _probably_ forgot, is in the lyx
> preferences --> Lang Opts --> Spell checker "use input encoding" and
> "Accept compound words"...
unfortunately it doesn't fix the problem.
Cheers
--
Jaroslaw Protasiewicz



Re: Simplifying the print job

2005-04-11 Thread Michael Wojcik
Yousef Raffah wrote:
I have created a lyx document and converted it to pdf using pdflatex. 
When I print the pdf document, the HP laser printer gives me an error 
message "21 Page Too Complex" and some of the pages print in half only, 
I googled that error and found 
http://www.printertechs.com/tech/error-codes/error-codes-20-49.php which 
advices to simplify the print job. My question, how can I ensure my lyx 
document is "simply" when I convert it to pdf?
As far as I know, that's difficult to do in LyX itself without changing 
the content of the document.  There are probably places where you could 
achieve the same final appearance with different LaTeX constructs which 
would produce a simpler PDF structure, but I don't know any easy way to 
find them.

I'd recommend starting with the settings for your printer driver (if 
this is Windows - remember when posting a question to say what your 
platform is!) and the program you're using to print the PDF.

Adobe has some suggestions at [1] for problems printing PDF documents to 
a Postscript printer.

The easiest solution, though, is to add more memory to your printer, if 
that's an option.

1. http://www.adobe.com/support/techdocs/316508.html
--
Michael Wojcik



Re: What's the difference between parskip and parsep?

2005-04-11 Thread Paul A. Rubin
Steve Litt wrote:
Hi all,
What's the difference between parskip and parsep?
SteveT
I'm not positive, but my sense is that parskip is the vertical space 
between paragraphs in a standard environment and parsep is the spacing 
between paragraphs in a list environment (?).

-- Paul


Re: What are makeatletter and makeatother for?

2005-04-11 Thread Andre Poenitz
On Mon, Apr 11, 2005 at 06:57:38PM +, Angus Leeming wrote:
> \begingroup  \catcode`\%=12
> \toks0={\endgroup
>   \def\percentchar{%}}
> \the\toks0 \relax
> 
> \includegraphics{"F:/Download/ima\percentchar ge"}
> 
> Urgh! Isn't TeX horrible ?

You need to prevent '%' being recognized as comment, so you put it
in a macro. To prevent the same in the macro's definition, you
temporarily change %'s catcode. Now, the straight-forward approach
(putting the thing in {...} or \begingroup..  \endgroup) would also
forget the macro after the end of the group...  'Fortunately' TeX allows
for 'bits of control structures' hanging around independently. So the
changed catcode is valid in durign the definition of the contents
register (the whole {...} block uses the new catcode) yet when using the
register (\the\toks0) the \endgroup reset the catcode but the following
\def uses a body that's already fully parsed with the temporary catcode,
i.e. contains indeed a % sign with catcode 12, not a comment...
Somewthing like that...

Well, I still wonder whether that stuff smoked while inventing TeX
was legal at that time.  [Or at any time in mankind's history for that
matter...]

Andre'


parskip

2005-04-11 Thread Rich Shepard
\parskip
\parskip is the extra vertical space inserted before a paragraph. It has a
natural length of zero but should be a rubber length so that it may be
stretched in a flushbottom environment.
To increase \parskip to skip a line between paragraphs one could use
  \addtolength{\parskip}{\baselineskip}
  I forgot the other command mentioned before I deleted the message. Found
the above via google, "+LaTeX +parskip".
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Re: BibTex Reference

2005-04-11 Thread Uwe Stöhr
JarosÅaw Protasiewicz wrote:
I have problem with BibTex Generated Reference.
When i click on BibTex Reference, as many web browsers is opened as many 
BibTex Reference consist links to bib files.
I can't edit it. How fix this bug?
What exactly do you want? If you want to edit a bib-file, you need a 
special program. E.g. I can recommend the shareware program "BibTexMng":

http://www.latexsoft.com/bibtexmng.htm
regards Uwe
p.s.
I use: lyx 1.3.5 for Windows, Windows XP Pro, Mozilla 1.3
Better update to Mozilla 1.7.6 or Firefox/Thunderbird 1.0.2.


Titlesec was the answer

2005-04-11 Thread Steve Litt
Hi all,

First, thank you Matej for suggesting titlesec. Of all the solutions I tried, 
and I tried several, that was the most straightforward. Using the 
\titlespacing command, it's very easy to put just the right amount of space 
above and below the header, regardless of your \parskip value 
(Layout->Document->Separation).

I was able to tweak it using Herbert's tip on his website, but that left me 
open to all sorts of erratic behavior based on what environments were above 
and below. I was unable to change the below spacing using just the sectsty 
package, although it was by far the easiest to use for fonts.

The primary problem with titlesec is its documentation is horrendous, with 
absolutely no examples. I ended up getting examples from Google searches, and 
trying them until one worked, and then slowly twisting it into shape.

Here is the code for my section, subsection, and subsubsection. I'm satisfied 
with it, and believe it conforms nicely with 
http://www.ntg.nl/maps/pdf/19_10.pdf and 
http://www.ntg.nl/maps/pdf/19_11.pdf:

\usepackage{titlesec}%  Special fonts for sections
%\titleformat{\section}[hang]{\large\bfseries}{\thesection}{.5em}
{\hspace{0.2in}}{}

\titleformat{\section}[hang]{\Large\sffamily\bfseries}{\rule[0in]{0.4in}
{0.17in}\rule[0in]{.1in}{0in}\thesection}{.5em}{\hspace{0.2in}}{}
\titlespacing{\section}{0pt}{0.9cm}{-0.2cm}

\titleformat{\subsection}[hang]{\large\sffamily\bfseries}{\rule[0in]{0.4in}
{0.05in}\rule[0in]{.1in}{0in}\thesubsection}{.5em}{\hspace{0.2in}}{}
\titlespacing{\subsection}{0pt}{0.3cm}{-0.3cm}

\titleformat{\subsubsection}[hang]{\small\sffamily\bfseries}{\rule[0in]{0.4in}
{0.015in}\rule[0in]{.1in}{0in}\thesubsubsection}{.5em}{\hspace{0.2in}}{}
\titlespacing{\subsubsection}{0pt}{0.0cm}{-0.5cm}


Re: Typography aesthetic question

2005-04-11 Thread Matej Cepl
Steve Litt wrote:
> before the text, but not after. I want to remove the obnoxious empty space
> AFTER the heading (which will also provide a handy reduction to my page
> count). Anyone have an idea how to do that?

I saw somewhere using \vspace with negative value (or was it \raisebox?),
and they claim that it even worked, but it is hard to believe that.

Matěj

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
A fool-proof method for sculpting an elephant: first, get a huge
block of marble; then you chip away everything that doesn't look
like an elephant.




Wrong papersize when using pdflatex

2005-04-11 Thread Paul Medwell
Hi all,
If my LyX documents contain images then the papersize of the pdflatex 
output gets set to "letter" (8.5 × 11 inch), whereas I want it to be A4.
I don't have this problem if the margins are set to default or custom.

If I remove the images OR use a different pdf generator OR change the 
margin settings then the paper size is okay, but I would prefer having 
all of these things.

I'm guessing that if I update some packages the problem could probably 
be fixed, but I don't really want to update everything. If someone could 
suggest the exact cause that would be great.

I'm running LyX 1.3.5 (Qt) on Fedora Core 2, TeTex version 2.0.2-13. 
From what I can tell, the default paper size for pdflatex is set to A4.

Many thanks.
Lata,
Paul