Re: LyX Userguide issues - update 2 (paper format solution)

2004-02-26 Thread Uwe Stöhr
What is the difference between mustn't and may not/cannot?
Mustn't = may not, or am I wrong?


The reason I didn't like 'Mustn't' is that it sounds too much like spoken
language, i.e. slang.
As for the semantic difference of 'may not', 'cannot' and 'must not', you
need to ask someone with a more conscious knowledge of English grammar :-(
I used to know this stuff, but that was well over a decade ago.
We should let the "natives" decide this --- any natives out there? ;-)
OK.

* Added this to the preamble:
% Set nicer fonts for PDF-output
\usepackage[scaled=0.92]{helvet}
\usepackage{mathptmx}
\usepackage{courier}
  so that the PDF file's fonts don't look crappy
I can't compile the doc when I use
\usepackage{mathptmx}
some tfm fonts couldn't be loaded, probably due to
the table in chapter 6.6.3.
Has anybody the same problem?


I get a warning:

	dvips: Warning: missing glyph `dotlessj'

when I do View->PDF and use 'mathptmx', but that's all.
Astonishing, because we don't have a dotless j in our document.

Another way is to use ae in Layout->Document->Layout->Font


Or times (which also gives 'missing ... dotlessj'. But Herbert keeps
saying these options are depreceated. OTOH, what he recommends is maybe
not available on all systems...
I'll ask Herbert.

BTW. I've installed ghostview 4.5 and it doesn't look pixeld.


The PDF output looks ok when you use ghostview 3.5.8 as well, but not 
when you use Acroread... then it's crappy regardless if I use 
	View-PDF, View->PDF (dvipdfm) or View->PDF (pdflatex).

I'm using tetex 2.02 and ghostscript 8.00.
Acroread 5.x is very buggy. The font display for bitmap fonts is fixed 
in Acroread 6.x, which is available for Windows since 9 Months. But 
there is no Linux version, I don't know why.

Question: Should we add a list of tables and a list of figures? I'm 
guessing there aren't many figures, but maybe there are some tables?
No, this will only introduce four extra empty pages. Because we have 
only three pictures and three tables.


Re: LyX Userguide issues - update 2 (paper format solution)

2004-02-26 Thread Christian Ridderström
On Thu, 26 Feb 2004, Uwe Stöhr wrote:

> Acroread 5.x is very buggy. The font display for bitmap fonts is fixed 
> in Acroread 6.x, which is available for Windows since 9 Months. But 
> there is no Linux version, I don't know why.

They've got an evil compact with Micro$oft? Anyway, even if 6.x was 
available for Linux etc, I don't think we could expect all (or even most 
users) to upgrade their versions just like that...

But, IIRC, aren't the fonts bad even if you use e.g. xpdf?

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: LyX Userguide issues - update 2 (paper format solution)

2004-02-26 Thread Herbert Voss
Uwe Stöhr wrote:

On my system LaTeX uses by default the paper format A4, so hopefully it 
will use USletter on US systems.
LaTeX itself has no default.

Herbert




Re: LyX Userguide issues - update 2 (paper format solution)

2004-02-26 Thread Christian Ridderström
On Thu, 26 Feb 2004, Uwe Stöhr wrote:

> > * Changed "Macro names mustn't contain numbers!"
> >   into"Macro names cannot contain numbers!"
> 
> What is the difference between mustn't and may not/cannot?
> Mustn't = may not, or am I wrong?

The reason I didn't like 'Mustn't' is that it sounds too much like spoken
language, i.e. slang.

As for the semantic difference of 'may not', 'cannot' and 'must not', you
need to ask someone with a more conscious knowledge of English grammar :-(
I used to know this stuff, but that was well over a decade ago.

We should let the "natives" decide this --- any natives out there? ;-)

> > * Added this to the preamble:
> > % Set nicer fonts for PDF-output
> > \usepackage[scaled=0.92]{helvet}
> > \usepackage{mathptmx}
> > \usepackage{courier}
> >so that the PDF file's fonts don't look crappy
> 
> I can't compile the doc when I use
> \usepackage{mathptmx}
> some tfm fonts couldn't be loaded, probably due to
> the table in chapter 6.6.3.
> Has anybody the same problem?

I get a warning:

dvips: Warning: missing glyph `dotlessj'

when I do View->PDF and use 'mathptmx', but that's all.

> Another way is to use ae in Layout->Document->Layout->Font

Or times (which also gives 'missing ... dotlessj'. But Herbert keeps
saying these options are depreceated. OTOH, what he recommends is maybe
not available on all systems...

> but then we have to hack to get the characters in table (chapter 6.6.3) 
> displayed.
> 
> BTW. I've installed ghostview 4.5 and it doesn't look pixeld.

The PDF output looks ok when you use ghostview 3.5.8 as well, but not 
when you use Acroread... then it's crappy regardless if I use 
View-PDF, View->PDF (dvipdfm) or View->PDF (pdflatex).

I'm using tetex 2.02 and ghostscript 8.00.

> 
> > * Added this to the preamble:
> > 
> > % Use roman page number in general, but
> > % arabic numbers up until the TOC
> > % In addition, add a PDF bookmark for the TOC
> > \pagenumbering{roman}
> > \let\myTOC\tableofcontents
> > \renewcommand\tableofcontents{%
> > %\hypertarget{Inhalt}{}
> > \pdfbookmark[1]{Contents}{TOC}
> > \myTOC
> > \clearpage
> > \pagenumbering{arabic}
> > }
> >so that we get the roman/arabic page numbering (I like it! ;-)
> 
> I corrected it:
> 
> % the pages of the TOC are numbered roman
> % and a PDF bookmark for the TOC is added
> \pagenumbering{Roman}
> \let\myTOC\tableofcontents
> \renewcommand\tableofcontents{%
>   \pdfbookmark[1]{Contents}{}
>   \myTOC
>   \clearpage
>   \pagenumbering{arabic}  }
> 
> - use big roman numbers: 'Roman' instead of 'roman'
Ok

Question: Should we add a list of tables and a list of figures? I'm 
guessing there aren't many figures, but maybe there are some tables?

> > * Change "URLs mustn't end with a backslash!" into
> >  "URLs may not end with a backslash!"
> 
> See my question above.

Same answer.

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: LyX Userguide issues - update 2 (paper format solution)

2004-02-25 Thread Uwe Stöhr
Well, here we go again :-)

I took your version and did the following:

* Changed "Macro names mustn't contain numbers!"
  into"Macro names cannot contain numbers!"
What is the difference between mustn't and may not/cannot?
Mustn't = may not, or am I wrong?
* Added this to the preamble:
% Set nicer fonts for PDF-output
\usepackage[scaled=0.92]{helvet}
\usepackage{mathptmx}
\usepackage{courier}
   so that the PDF file's fonts don't look crappy
I can't compile the doc when I use
\usepackage{mathptmx}
some tfm fonts couldn't be loaded, probably due to
the table in chapter 6.6.3.
Has anybody the same problem?
Another way is to use ae in Layout->Document->Layout->Font
but then we have to hack to get the characters in table (chapter 6.6.3) 
displayed.

BTW. I've installed ghostview 4.5 and it doesn't look pixeld.

* Added this to the preamble:

% Use roman page number in general, but
% arabic numbers up until the TOC
% In addition, add a PDF bookmark for the TOC
\pagenumbering{roman}
\let\myTOC\tableofcontents
\renewcommand\tableofcontents{%
%\hypertarget{Inhalt}{}
\pdfbookmark[1]{Contents}{TOC}
\myTOC
\clearpage
\pagenumbering{arabic}
}
   so that we get the roman/arabic page numbering (I like it! ;-)
I corrected it:

% the pages of the TOC are numbered roman
% and a PDF bookmark for the TOC is added
\pagenumbering{Roman}
\let\myTOC\tableofcontents
\renewcommand\tableofcontents{%
 \pdfbookmark[1]{Contents}{}
 \myTOC
 \clearpage
 \pagenumbering{arabic} }
- use big roman numbers: 'Roman' instead of 'roman'
- the \hypertarget command is not really necessary in this case, my
  fault.
* Changed "These package should..." into "This package should..." in the 
  note in the beginning.
My fault.

* Change "URLs mustn't end with a backslash!" into
 "URLs may not end with a backslash!"
See my question above.

I also added some space in the formula in chapter 5.3.

regards Uwe


Re: LyX Userguide issues - update 2 (paper format solution)

2004-02-25 Thread Angus Leeming
Christian Ridderström wrote:

This section is now a little out of date: graphics will now fit on the 
lyx screen; the user can set the size of the screen image independent 
of its size in the exported document.

1.2.2 How LYX Looks
...
There are three cases where you might want a horizontal scrollbar. The 
first case is large figures, displayed WYSIWYG. This, however, is due 
to a flaw in the routine that displays graphics on the LYX screen in 
a WYSIWYG fashion; it should rescale the graphics to fit in the 
window, just as you d need to rescale graphics to fit on a page. The 
second and third cases are tables and equations which are wider than 
the LYX window. You can use the arrow keys to scroll horizontally 
through the table, but this doesn t work for equations yet.

-- 
Angus



Re: LyX Userguide issues - update 2 (paper format solution)

2004-02-25 Thread Christian Ridderström
On Wed, 25 Feb 2004, Uwe Stöhr wrote:

> Here the corrected version of UserguidePDF:
> 
> http://wiki.lyx.org/uploads/LyX/UserGuidePDF.lyx

Well, here we go again :-)

I took your version and did the following:

* Changed "Macro names mustn't contain numbers!"
  into"Macro names cannot contain numbers!"

* Added this to the preamble:
% Set nicer fonts for PDF-output
\usepackage[scaled=0.92]{helvet}
\usepackage{mathptmx}
\usepackage{courier}
   so that the PDF file's fonts don't look crappy

* Added this to the preamble:

% Use roman page number in general, but
% arabic numbers up until the TOC
% In addition, add a PDF bookmark for the TOC
\pagenumbering{roman}
\let\myTOC\tableofcontents
\renewcommand\tableofcontents{%
%\hypertarget{Inhalt}{}
\pdfbookmark[1]{Contents}{TOC}
\myTOC
\clearpage
\pagenumbering{arabic}
}
   so that we get the roman/arabic page numbering (I like it! ;-)

* Changed "These package should..." into "This package should..." in the 
  note in the beginning.

* Change "URLs mustn't end with a backslash!" into
 "URLs may not end with a backslash!"

and I've uploaded this file as:
   http://wiki.lyx.org/uploads/DevelDoc/UserGuide/UserGuidePDF_chr.lyx

enjoy

/Christian

-- 
Christian Ridderström   http://www.md.kth.se/~chr




Re: LyX Userguide issues - update 2 (paper format solution)

2004-02-25 Thread Uwe Stöhr
> The file prints fine.

Good news.

> Other quibbles:
>
> 1. The "note" up front: translate 'oder' to 'or'.
Done.

> 2. sec 3.3.4.3, table: the word 'add' is sometimes in the default
> font, sometimes marked 'Sans Serif'.
All 'add' are sans serif now.

> 3. sec 3.3.4.4, second *: it's _displayed_ math that doesn't work in a
> section heading. Inline math is fine.
Rendered more precisely.

> 4. sec 3.3.6.2, second-to-last paragraph: the ERT "\linebreak" seemes
> unneccesary. If it's needed, replace with 'C-Return'.
\linebreak is not C-Return (\newline).
I added these commands to avoid 'overfull \hbox'-warnings.
(BTW LyX should support \linebreak. I'll open an enhancement in bugzilla.)
> 5. 3.4.1, discussion of keybindings: do consider a footnote reminding
> R-To-L users that "S-M-Left", "S-M-Right" decrease and increase the
> nesting level respectively, regardless of the direction of the
> paragraph!
This confuses me. The text doesn't say that S-M-Left or S-M-Right 
depends on the direction. How did you came on this idea?
Anyway I corrected the menu name from 'Increase List Depth' to 'Increase 
Environment Depth'.

> 6. 3.4.2, "Unnestable": Part* and Chapter* in 'default' rather than
> 'Sans Serif' font.
They are 'Sans Serif' now.

> 7. 5.7.2, example: this should use '\cases' rather than a 2x2 matrix.

Then you have to use AMS-LaTeX. The userguide never used this.
I wrote an extra documentation, that explains it:
http://wiki.lyx.org/pmwiki.php/LyX/LyXMathebefehle
(still in german, but I'll translate it sometime)
> [independently, does '\cases' deserve its own subsection?]

No.

Here the corrected version of UserguidePDF:

http://fkurth.de/uwest/LyX/userguide/
or
http://wiki.lyx.org/uploads/LyX/UserGuidePDF.lyx
regards Uwe



Re: LyX Userguide issues - update 2 (paper format solution)

2004-02-25 Thread Lior Silberman
As Mike point out since the USA are very decentralized, there is a lot
more inertia with these things. I'm slowly getting better at converting
furlong-hundredweight-fortnight measurements to MKS. I still convert
Farenheit to Celsius to figure out if it's cold outside :-)

The file prints fine.

Other quibbles:

1. The "note" up front: translate 'oder' to 'or'.
2. sec 3.3.4.3, table: the word 'add' is sometimes in the default font, 
sometimes marked 'Sans Serif'.
3. sec 3.3.4.4, second *: it's _displayed_ math that doesn't work in a 
section heading. Inline math is fine.
4. sec 3.3.6.2, second-to-last paragraph: the ERT "\linebreak" seemes 
unneccesary. If it's needed, replace with 'C-Return'.
5. 3.4.1, discussion of keybindings: do consider a footnote reminding 
R-To-L users that "S-M-Left", "S-M-Right" decrease and increase the 
nesting level respectively, regardless of the direction of the paragraph!
6. 3.4.2, "Unnestable": Part* and Chapter* in 'default' rather than 'Sans 
Serif' font.
7. 5.7.2, example: this should use '\cases' rather than a 2x2 matrix. 
[independently, does '\cases' deserve its own subsection?]

Lior

On Wed, 25 Feb 2004, Uwe Stöhr wrote:

> On my system LaTeX uses by default the paper format A4, so hopefully it 
> will use USletter on US systems.
> It was new for me that the USA don't use the ISO standard.
> But I tried to reproduce your problem and printed the Userguide in 
> USletter format on A4 without any problems. And USletter is 6mm wider 
> than A4, so I wonder why you have such problems.
> 
> OK, I provided a new version, named UserguidePDF that could be found at
> 
> http://fkurth.de/uwest/LyX/userguide/
> or
> http://wiki.lyx.org/uploads/LyX/UserGuidePDF.lyx
> 
> I changed the following in comparison to UserguideA4PDFv2:
> 
> - use LaTeX's default paper size instead of A4
> - don't use babel
> - delete the preamble stuff about the vertical table spacing
> - remove the unneeded page break after the TOC (proposed by Christian)
> - added short title to 3.4.5.3
>Example #3: Labels, Levels and other list environments
>(proposed by Christian)
> - another try at new sentence in 4.3 abt. figure transformation and
>the table caption (not proposed by Christian ;-) )
> 
> @JeanMarc: It's not necessary to have it in LyX 1.3.5
> @Lior: Does this version works on your printer?
> 
> For further information, here is a short history of the ISO paper-formats:
> http://www.iso.org/iso/en/commcentre/isocafe/link/papersizes.html
> 
> Seems that the ISO sizes are going to be the world standard.
> Astonishing why the USA doesn't adopt it. (That's the same with the 
> units: All over the world they use the metric system (invented by the 
> french), except of the USA.)
> Has anybody an explanation for this?
> 
> regards Uwe
> 





Re: LyX Userguide issues - update 2 (paper format solution)

2004-02-25 Thread Mike Ressler
On Wed, 2004-02-25 at 08:58, Uwe Stöhr wrote:
> Lior Silberman schrieb:
> > In the US at least, 'letter' is the standard paper size. I think England
> > uses A4. IIRC 'legal' pages have the same width as 'letter', but are much
> > longer.

"legal" is 8.5 x 14 inches, IIRC.

> Seems that the ISO sizes are going to be the world standard.
> Astonishing why the USA doesn't adopt it. (That's the same with the 
> units: All over the world they use the metric system (invented by the 
> french), except of the USA.)
> Has anybody an explanation for this?

Money. In a ruthlessly capitalistic society, money is the final decision
maker. We don't deal well with rules handed down from on high; if it
costs us something to change, we rebel. I really wish we had forced it
through when converting to metric was first proposed 30 years ago. As I
scientist, I can think well in both systems (except for temperature - I
still have to convert Celsius to Fahrenheit in my head to decide if it
is cold outside :-), but it is sad that we are still stuck in Imperial
units.

As for your actual rewrite of the User Guide, I haven't had a chance to
read it yet :-), but it sounds like you are moving in a good direction.
I'll try to review it later today.

The very American ...
Mike

P.S. Since centimeters are the metric equivalent of inches, and
kilograms the equivalent of pounds, just remember that "football" is the
metric term for "soccer".


Re: LyX Userguide issues - update 2 (paper format solution)

2004-02-25 Thread Uwe Stöhr
Lior Silberman schrieb:
In the US at least, 'letter' is the standard paper size. I think England
uses A4. IIRC 'legal' pages have the same width as 'letter', but are much
longer.
What happens if you print an A4 file on a modern printer is that it
doesn't print -- instead it displays an "informative" error message like
"load A4" and patiently waits for the user to give it paper suitable for
the file being printed. This is very confusing to non-technical users and 
means nobody else can print until the job is manually cancelled on the 
printer (once somebody notices the problem).

Why is it necessary to override the default paper size in the first place? 
Do TeX installations use 'letter' by default even in non-US locales?
On my system LaTeX uses by default the paper format A4, so hopefully it 
will use USletter on US systems.
It was new for me that the USA don't use the ISO standard.
But I tried to reproduce your problem and printed the Userguide in 
USletter format on A4 without any problems. And USletter is 6mm wider 
than A4, so I wonder why you have such problems.

OK, I provided a new version, named UserguidePDF that could be found at

http://fkurth.de/uwest/LyX/userguide/
or
http://wiki.lyx.org/uploads/LyX/UserGuidePDF.lyx
I changed the following in comparison to UserguideA4PDFv2:

- use LaTeX's default paper size instead of A4
- don't use babel
- delete the preamble stuff about the vertical table spacing
- remove the unneeded page break after the TOC (proposed by Christian)
- added short title to 3.4.5.3
  Example #3: Labels, Levels and other list environments
  (proposed by Christian)
- another try at new sentence in 4.3 abt. figure transformation and
  the table caption (not proposed by Christian ;-) )
@JeanMarc: It's not necessary to have it in LyX 1.3.5
@Lior: Does this version works on your printer?
For further information, here is a short history of the ISO paper-formats:
http://www.iso.org/iso/en/commcentre/isocafe/link/papersizes.html
Seems that the ISO sizes are going to be the world standard.
Astonishing why the USA doesn't adopt it. (That's the same with the 
units: All over the world they use the metric system (invented by the 
french), except of the USA.)
Has anybody an explanation for this?

regards Uwe