\over vs \frac, and large tables

2001-11-12 Thread Lee Killough

Is there a way to make LyX display \over the same way \frac is displayed?

\over displays as red source text, making formulas somewhat unreadable:

1 over 2

instead of:

1
-
2

I can see the point of displaying it differently to let you know it's \over
instead of \frac, but since LyX is not supposed to be 100% WYSIWYG, I think it
should be allowed to display \over and \frac the same, just so they are both
readable.

To fix it, I wrote a Perl script to change all of my \over's to \frac's.

Also, how do I handle large tables with LyX?

I have a large full-page table with many math forumlas in it, and if the zoom
is set to anything larger than about 80%, the table is too wide to fit in the
window. LyX doesn't handle it well if I try to resize the window so that the
table fits entirely inside it. And when the number of rows is large, LyX
sometimes jumps back to the beginning of the document when I try to move the
cursor up and down the table. This is true even if I put a page break before
the table.

Trying to change things like justification and alignment inside table cells
does not usually show the changes immediately, and sometimes it crashes LyX
(the emergency file works, though). I'm not expecting 100% WYSIWYG or anything
close (in fact, I prefer LyX's structural orientation to WYSIWYG editors which
remember every space you type), but if LyX can display things like indentation
and alignment in table cells correctly at all, it should display them as soon
as changes are made, which it doesn't seem to do.

I gave up editing the tables under LyX, and hand-edited the source code
directly, with much better results.

(I am using 1.1.6fix3 on RH 7.0 Linux.)

Thanks,

Lee



Re: Creating lyx templates

2001-11-12 Thread I Wayan Warmada


On Mon, 12 Nov 2001, Rich Shepard wrote:

>   Use ImageMagick to convert from jpeg to eps, then you can place the image
> as a float.

You don't need to convert JPEG image, if you use PDF (through pdflatex) to
produce pdf output. Pdflatex can read jpeg, pdf and png format.

Wayan




installing fonts

2001-11-12 Thread Christopher M. Jones

I tried to install a new font today... here is where I got: I put all the 
tfm, vf, and fd files in the appropriate directories, catted the pnb.map file 
to the psfonts.map file, and ran texconfig. From LyX, I am able to do a 

\newfont{\rmbasker}{pnbr8t at 12pt} 

to ge the font I want. With this, I am able to View-Postscript and I see the 
correct font. However, -only- gv shows the font: xdvi has to substitute, and 
any .ps made from a dvi has to substitute. Moreover, using 

\usefont{T1}{pnb}{m}{n}\selectfont 

gives me a substitution everywhere, even in gv. 

So clearly I have done something right, but most everything else I have done 
wrong. Where do I start?



Re: html output

2001-11-12 Thread Antonio Gulino

On Mon, 12 Nov 2001, Herbert Voss wrote:

> Antonio Gulino wrote:
>
> >   {#1 \vspace{1ex} \hrule width \columnwidth \vspace{1ex}}
>
> the above is an old tex command!
>
> it's not a real bug. but both do it not in a proper way!
> lyx, that it uses a tex and not a latex command and
> latex2html that it don't understands a tex commands.
>
> what happens when you try in latex preamble:
>
> \renewcommand\lyxline[1]{\noindent\\%
>   \rule{\columnwidth}{1pt}\vspace{1ex}}

ehm... you forget the  {} around \lyxline
and... the result is: no 

if I change (with vim) the *.tex
from
{#1 \vspace{1ex} \hrule width \columnwidth \vspace{1ex}}
to  ^
{#1 \vspace{1ex} \hrule \columnwidth \vspace{1ex}}
it is ok.
Better is
{#1 \vspace{0ex} \hrule width \columnwidth \vspace{0ex}}
^  ^
I don't speak "latex", so I don't undestand the code.
But with
 \renewcommand{\lyxline}[1]{\noindent\\%
   \rule{\columnwidth}{1pt}}
it looks good ... always without  :-(

My solution:
\renewcommand{\lyxline}[1]{\noindent\\%
 \hrule\vspace{1ex}}
And so i get  !
but there is a tradeoff:
\vspace{1ex} is nice for paperoutput (dvi)
no \space is nice for htmloutput

maybe this is better for htmloutput
\renewcommand{\lyxline}[1]{\hrule}

It's nigth, too late to make a choice

Thank you again,
ciao, antonio

> p.s. you german is perfect!
It was easy: living in South-Tyrol, swissgermanspoken mother




Re: Creating lyx templates

2001-11-12 Thread Rich Shepard

On Mon, 12 Nov 2001, Vern Kyle wrote:

> o Using a "non-standard" font, that is available in MS Word.  Need
>   to use the fonts so that they match exactly?  What abilities is provided
>   in lyx/latex to import fonts from other platforms and to use these fonts
>   to produce PDF/PS files?

Vern,

  For whatever reason, adding additional fonts is a complex, mystical
process. It's easier to install the Type1 versions, but I believe that it's
also possible to use TrueType fonts. Print and read
/usr/share/texmf/doc/fontinst/base/fontinst.dvi. That'll get you started.

> o Importing JPEG images into document.  Also, using JPEG images in header
>   or footer.

  Use ImageMagick to convert from jpeg to eps, then you can place the image
as a float.

> o If anyone knows of any documentation doing a walk-through of setting up
>   a latex template and using it in lyx... I have found examples of completed
>   templates, however, my knowledge is still a bit weak to move from an example
>   to a completed template.

  I have not yet gotten to this point. Soon, but not yet.

Rich

Dr. Richard B. Shepard, President

   Applied Ecosystem Services, Inc. (TM)
2404 SW 22nd Street | Troutdale, OR 97060-1247 | U.S.A.
 + 1 503-667-4517 (voice) | + 1 503-667-8863 (fax) | [EMAIL PROTECTED]
 http://www.appl-ecosys.com




Creating lyx templates

2001-11-12 Thread Vern Kyle

This might have a significant amount of cross-over between what is truly lyx
vs what is required formatting in Latex.  I am trying to produce a standard
company template that will follow my company's general formatting rules, and
have run into some of the following difficulties.  I have scanned some of the
documentation, but am at a loss where I might find some of these items.  Any
help is appreciated.

Issues:

o Using a "non-standard" font, that is available in MS Word.  Need
  to use the fonts so that they match exactly?  What abilities is provided
  in lyx/latex to import fonts from other platforms and to use these fonts
  to produce PDF/PS files?

o Importing JPEG images into document.  Also, using JPEG images in header
  or footer.

o If anyone knows of any documentation doing a walk-through of setting up
  a latex template and using it in lyx... I have found examples of completed
  templates, however, my knowledge is still a bit weak to move from an example
  to a completed template.

Thanks in advance,

Vern



Bug with long table

2001-11-12 Thread Vitaly Lipatov


I try to create some longtable and get a strange result.
When I mark my new table as longtable and mark some lines as
Head, 1st Head, Food, etc,
I get malformed head and food in output file.
In lyx-file I see some field filled with negative value:

\begin_inset  Tabular



If I correct manually, table work correctly.
This bug exist and in latest CVS version.
Example in attachment.
Thank you.
-- 
Lav
Vitaly Lipatov
GNU! Linux! LaTeX! LyX!


testlongtable.lyx.gz
Description: GNU Zip compressed data


Re: html output

2001-11-12 Thread Herbert Voss

Antonio Gulino wrote:

>   {#1 \vspace{1ex} \hrule width \columnwidth \vspace{1ex}}

the above is an old tex command!

it's not a real bug. but both do it not in a proper way!
lyx, that it uses a tex and not a latex command and
latex2html that it don't understands a tex commands.

what happens when you try in latex preamble:

\renewcommand\lyxline[1]{\noindent\\%
  \rule{\columnwidth}{1pt}\vspace{1ex}}

the "1pt" is the thickness of the line, you can change it.

Herbert 

p.s. you german is perfect!



Re: ?s with table captions, table text justification, double rows, math cases and more

2001-11-12 Thread Egbert J.W. Boers

Op maandag 12 november 2001 12:01, schreef John Boik:
> Eighth and last, I would like to use BibTex for my references, and I
> understand how to import the citation into Lyx, but I don't know how to
> start BibTex in the first place to enter a list of references.  If I go to
> the command line and type in "BibTex", it tells me it needs an argument.
> The help command doesn't tell me much either that I can understand.  If I
> try to make a new bib file by typing in "BibTex foo", it tells me that it
> cannot open file name 'foo.aux'.  How does one start BibTex to make a new
> file?

I use the Gnome BibTeX Editor (gBib) which has a nice interface with LyX 
itself.

Egbert



Re: html output

2001-11-12 Thread Antonio Gulino

both
latex2html lyxsurvey4web.tex
and
latex2html -no_subdir -split 1 -show_section_numbers -numbered_footnotes
lyxsurvey4web.tex
are OK
NB: the second have the same options as in my preference
Thank you



And what about the second problem: the word "with" after th ?
a bug? of LyX? of latex2html?

if I look into *.tex I find:
%% LyX specific LaTeX commands.
\providecommand{\LyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
\newcommand{\lyxline}[1]{
  {#1 \vspace{1ex} \hrule width \columnwidth \vspace{1ex}}
}

%% User specified LaTeX commands.
\usepackage{verbatim}

\makeatother
\begin{document}
Erstes Paragraf hat ein Lines=below
\lyxline{\normalsize}

Auch zweites Paragraf hat ein Layout->Paragraf Lines=below
\lyxline{\normalsize}

Dieses Paragraf hat kein Line, weder oben noch unten.
\end{document}

Normales output (dvi) ist auch ok, aber das html ist wohl falsch.
Ich kann  zwar durch einen script überall
 width 
ersetzen, aber wenn's auch anders geht...

on english:
The dvi-output is ok, but latex->html produce
 width 
I can change this with a script, but if I can avoid ...

Thanke you
antonio


On Mon, 12 Nov 2001, Herbert Voss wrote:

> Antonio Gulino wrote:
> >
> > Hi,
> > I try to make an export to html, but I have some problems with the included
> > files.
> > I have a main lyx document.
> > Inside of this I included others lyx doc, with
> > Insert->IncludeFile->"filename.lyx" [Use Include]
> > {using lyx-1.1.6fix3}
> >
> > The output is not correct because at the place of the "include" he try to put an
> > immage :-(
> > here is the output code
> >  >  WIDTH="1013" HEIGHT="1833" ALIGN="BOTTOM" BORDER="0"
> >  SRC="img2.png"
> >  ALT="\begin{center}\vbox{\input{whyprefer.tex}
> > }\end{center}">
>
> what happes, when you export to latex (file->export),
> and than run manually latex2html  ?
>
> Herbert
>
>




Re: fonts demoprint

2001-11-12 Thread Herbert Voss

"Christopher M. Jones" wrote:
> 
> I am looking high and low to find a demoprint of the fonts available for use
> with tex/latex. Always, what I find is the font package, but no way to view
> what the font is before I download it. The link on Herbert Voss's webpate, to
> http://riker.ps.missouri.edu/PrintingServices/Fonts.html is broken. Are there
> other links I should try?


http://www.buyfonts.com/fontlist.htm

Herbert



Re: html output

2001-11-12 Thread Herbert Voss

Antonio Gulino wrote:
> 
> Hi,
> I try to make an export to html, but I have some problems with the included
> files.
> I have a main lyx document.
> Inside of this I included others lyx doc, with
> Insert->IncludeFile->"filename.lyx" [Use Include]
> {using lyx-1.1.6fix3}
> 
> The output is not correct because at the place of the "include" he try to put an
> immage :-(
> here is the output code
>   WIDTH="1013" HEIGHT="1833" ALIGN="BOTTOM" BORDER="0"
>  SRC="img2.png"
>  ALT="\begin{center}\vbox{\input{whyprefer.tex}
> }\end{center}">

what happes, when you export to latex (file->export),
and than run manually latex2html  ?

Herbert





fonts demoprint

2001-11-12 Thread Christopher M. Jones

I am looking high and low to find a demoprint of the fonts available for use 
with tex/latex. Always, what I find is the font package, but no way to view 
what the font is before I download it. The link on Herbert Voss's webpate, to 
http://riker.ps.missouri.edu/PrintingServices/Fonts.html is broken. Are there 
other links I should try?



html output

2001-11-12 Thread Antonio Gulino

Hi,
I try to make an export to html, but I have some problems with the included
files.
I have a main lyx document.
Inside of this I included others lyx doc, with
Insert->IncludeFile->"filename.lyx" [Use Include]
{using lyx-1.1.6fix3}

The output is not correct because at the place of the "include" he try to put an
immage :-(
here is the output code


in my lyxprefrences->converters"Latex->html" i have
latex2html -no_subdir -split 1 -show_section_numbers -numbered_footnotes  $$i
Flags: originaldir,needaux

The first question is: what's wrong?
the second question is: exist a workaround?

An other problem is:
I have LyX-Code as Enviroment.
I want in the html output somethings like: 
but I get something like this:


 1) It works. 2) The output 


LyX (e.g., posters).



  
 width 


The last "width" maybe because I use Layout->Paragraf->[Line=below]
[I think something is bugged.]

How can I do, to get ?

Thank you very much
Antonio

PS: This all, because I want to put the answer of the "LyX-servey" into the
wwweb :¬}




Re: page numbering

2001-11-12 Thread Matej Cepl

On Sat, Nov 10, 2001 at 11:37:35PM -1000, Rodney Kanno wrote:
> >p.s. this is the longest time difference I ever had: 10 hours
> >from Berlin to Hawaii ...
> >
> Wow 10 hour differenceso how's the weather there in Berlin? It is a 
> cool 73 degrees here.

Friendly conversion to metric units:

> Wow 10 hour differenceso how's the weather there in Berlin?
> It is a cool 22.778 centigrades degrees here.

:-)

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488



Re: Accented characters

2001-11-12 Thread Matej Cepl

On Sat, Nov 10, 2001, Roberto Hernandez wrote:
> First, the spellchecker (aspell in my case) thinks the word is
> spelled wrong.

There is something wrong with the setting of your spellchecker (I
am still using ispell, so I cannot help with yours, but try man
aspell).

> I read somewhere that if you switch platforms, the characters
> might not translate over correctly.

They do. Since latex2e, encoding information is usually included
in the preamble in the form

\usepackage[latin1]{inputenc}

(check your setting in Layout/Document/Language/Encoding -- it
should be set on 'auto').

Actually, without that we Czechs would be very sorry -- there are
at least three encodings being actively used for Czech texts and
some other three ones which ocurrs sometimes :-).

Have a nice day

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
KDE is not a windows manager. GNOME is not a windows manager.
Repeat until enlightened.
-- Pavel Kankovsky in cz.comp.linux




Re: Printing Notes

2001-11-12 Thread Matej Cepl

On Sun, Nov 11, 2001 at 05:42:12PM +, Jose Abilio Oliveira Matos wrote:
> > If we wait 10 minutes, I'm sure Herbert will implement it along with a
> > lovely dialog ;)
> 
>   Come on, don't push him. ;-)

Totally agree. Although Herbert is a precise stone among us,
everyone of us should try to shoot sooner and more precisely than
he does. We usually fail (both in terms of time and precision
:-), but it at least gives him a signal, that whole load of the
list is not on his shoulders only.

Have a nice day

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The law, in its majestic equality, forbids the rich as well as
the poor to sleep under bridges, to beg in the streets, and to
steal bread.
-- Anatole France




Re: ?s with table captions, table text justification, double rows, math cases and more

2001-11-12 Thread Matej Cepl

On Mon, Nov 12, 2001 at 01:30:39PM +0100, Thomas Steffen wrote:
> 
> > First, I would like to use a different font family (sans
> > serif rather than times) for table captions.  
> 
> This is defined by the LaTeX style. Try the koma-script family
> instead of the default styles. (That's in Layout->Document.) It
> will change other details, too.

No, he has been asking about _table_ captions, not _section_
titles. There must be a special package for that somewhere on
CTAN.

> > Second, I would like to get rid of the default justification
> > for text in a table column.
> 
> Should be possible, but justification has always been a weak
> point of LaTeX (imho).

NO! Justification is exactly the most strong aspect of TeX (and
LaTeX therefore) -- it makes the stuff much better than any other
commercial program used for typesetting (except for Adobe
InDesign, but not for their PageMaker). The only other exception
which makes it as well as TeX is lout (and only because the
author copied the algorithm from TeX). Why do you think so many
high-tech professional publishing houses use TeX for their work?

For your problem: try to highlight cells in the particular column
and then set alignment in Layout/Tabular/Column-Row/H. Alignment.

> > Third, some rows of my table are intended to fall on two
> > lines. 
> 
> Very difficult. Using two rows is the easiest, if possible.
> Otherwise you can define multiline cells with linebreaks. You
> have to define a widths, imho. Details depend on the exact LyX
> version. 

Section 4.4.4 in your User Guide.

> 
> > Fourth, is there an easy way to select text and then format
> > it all in caps (not small caps, or whatever is listed in the
> > character popup), or as title caps (first word capitalized)?
> 
> Not that I know. Emacs does it with M-u. So if anyone could
> write this for LyX...

Alt-C,

> > Fifth, is there any easy way to automatically have a table
> > span exactly the width of the paper?
> 
> Yes, this can be done using LaTeX. You can specify the column
> width as part of the paper width. I don't remember the exact
> syntax, though. 

You can use \linewidth as a unit (so, .55\linewidth is a legal
expression for the column width).

> > Eighth and last, I would like to use BibTex for my
> > references, and I understand how to import the citation into
> > Lyx, but I don't know how to start BibTex in the first place
> > to enter a list of references.
> 
> BibTeX databases are just text files. You can write them with
> your favourite editor, or you use one of the several special
> programs for BibTeX files.

Try to read btxdoc.dvi in your distribution of TeX. Hint: program
called bibtex is called automagically by LyX when needed. It just
process records from your .bib file in the form which is needed
by LaTeX. BibTeX databases are really just a text files to be
written (try bibtex-mode in Emacs, or pybibliographer in GNOME).
They consists from records like this one:

@article{coleman:AJS-1988-S95,
  author =   {James S. Coleman},
  title ={Social Capital in the Creation of Human Capital},
  journal =  {American Journal of Sociology},
  year = 1988,
  volume =   94,
  pages ={S95-S120}
 }

but you need to read more about them. Try above mentioned .dvi
file and an Emacs mode -- although I really hate EMACS, this is
the only part of it, which I used for a couple of years with huge
satisfaction.

> > I know that there is an export function, but I think I read
> > that it is 95% or so accurate in conveying the full meaning
> > of what was typeset in Lyx. 
> 
> No, the export is 100% accurate (more or less). It is the
> import which not infallible. 

The export into LaTeX is done everytime you hit Ctrl-D for
previewing your document in xdvi, there it MUST be and it IS 100%
accurate.

> > Also, having it in *.tex format would allow easy sharing of
> > files with other collaborators who are using LaTex but not
> > Lyx. 

As said above, export to .tex is 100% accurate, so there is
nothing preventing you from sharing your files with the rest of
the world. The only problem is that your friends will find some
of the .tex files slightly confusing (because humans do it
better), but of course .dvi/.ps output is 100% same as the
document you would write in plain LaTeX (just, it takes less time
to do it in LyX :-).

Have a nice day and be patient

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
DOS: n., A small annoying boot virus that causes random
spontaneous system crashes, usually just before saving a massive
project. Easily cured by UNIX. See also MS-DOS, IBM-DOS, DR-DOS.
-- David Vicker's .plan




Re: Bug in labelnames?

2001-11-12 Thread Jean-Marc Lasgouttes

> "John" == John Levon <[EMAIL PROTECTED]> writes:

John> On Mon, Nov 12, 2001 at 02:37:52PM +0100, [EMAIL PROTECTED]
John> wrote:
>> My document had equations with an equal sign (=) in the labelname.
>> When

John> does latex bar this ? what about space (from comment in source)
John> ?

No, but we have this (too) clevel scheme which converts 8bits
characters to quoted-printable =XX format. This means that = has to be
encoded too.

I think we should investigate what the exact problem with 8bit chars
in labels is (does it still exist?) and remove this hack if possible.

JMarc



Re: page numbering

2001-11-12 Thread Steve Litt

Don't forget when you use \frontmatter, \mainmatter and \backmatter, put 
\frontmatter in the LaTeX preamble, and put \mainmatter as ERT on a line 
BEFORE the first Part. Note that after mainmatter you can put an ERT 
\appendix line, and all chapters after that will be labeled "Appendix A" 
instead of "Chapter 19". After the appendices you can put an ERT \backmatter 
line, after which all chapters are unnumbered.

I had a little problem in \backmatter because the sections in the backmatter 
chapters retained the appendix numbering scheme. In other words, if my last 
appendix's last section was B.1, the first section of my first \backmatter 
chapter would be B.2.


-- 
Steve Litt
Webmaster, Troubleshooters.Com
http://www.troubleshooters.com
[EMAIL PROTECTED]
(Legal Disclaimer) Follow these suggestions at your own risk.






On Sunday 11 November 2001 14:03, Roberto Hernandez wrote:
> Rodney Kanno wrote:
> > One more question. I got the page numbers to show both roman & arabic.
> > But when the arabic starts, the count continues where the roman left off
> > (ex. i, ii, iii, 4, 5, etc) can I get the arabic to start at 1?
> >
> >> p.s. this is the longest time difference I ever had: 10 hours
> >> from Berlin to Hawaii ...
> >
> > Wow 10 hour differenceso how's the weather there in Berlin? It is a
> > cool 73 degrees here.
> >
> > Thanks for your help!
> > Rodney
>
> Try using ERT with the following commands:
>
> \frontmatter
>
> Roman numerals
>
> \mainmatter
>
> Resets to 1 and uses arabic
>
> \backmatter



Re: Bug in labelnames?

2001-11-12 Thread John Levon

On Mon, Nov 12, 2001 at 02:37:52PM +0100, [EMAIL PROTECTED] wrote:

> My document had equations with an equal sign (=) in the labelname. When

does latex bar this ? what about space (from comment in source) ?

good fix would be to export allowed filter to askForText() after its ported
to GUII. Minimal fix would be to loop on askForText->OK in lyx_cb.C until we're
happy.

Can some latex guru draw up a blacklist ?

thanks
john

-- 
"I know I believe in nothing but it is my nothing"
- Manic Street Preachers



Re: ?s with table captions, table text justification, double rows, math cases and more

2001-11-12 Thread Herbert Voss

John Boik wrote:
> 
 
> Fifth, is there any easy way to automatically have a table span exactly the
> width of the paper?  I understand the tabularx package does not work with
> Lyx (or if it does I do not know how to use it).  I would like to have the
> table fit the page, and then have certain columns larger or smaller than
> others.

no, not yet possible. find out your textwidth and give the different
columns a width so that they all fit the whole width or use tabularx
in ert.

> Sixth, I have a new command that I put in the preamble that inserts the
> microgram symbol (the Greek micro and the roman g) if I type in \mg.  It is:
> 
> \newcommand{\mg}{$\mu$g }
> 
> It allows me to easily type in, for example, 70 ug.  But, when the
> paragraphs are justified, Lyx does not know to keep the 70 next to the ug
> symbol and the space looks funny.  Is there a way to keep the two next to
> each other?

put a protected space (ctrl-space) between them, not a standard space.

> Seventh, and this one might be the hardest, when I use the \begin{cases} and
> \end{cases} command in the math mode, I cannot figure how to make the two
> cases split lines vertically or how to make the left part (the equation)
> horizontally space itself away from the right part (the cases).  Here is an
> example of my command:
> 
> Y=\begin {cases}10+k&\text {if}\, k=1 \text{and}\cr 20+k&\text {if}k=2.\end
> {cases}

in special cases write the whole formula in ert.

> Eighth and last, I would like to use BibTex for my references, and I
> understand how to import the citation into Lyx, but I don't know how to
> start BibTex in the first place to enter a list of references.  If I go to
> the command line and type in "BibTex", it tells me it needs an argument.
> The help command doesn't tell me much either that I can understand.  If I
> try to make a new bib file by typing in "BibTex foo", it tells me that it
> cannot open file name 'foo.aux'.  How does one start BibTex to make a new
> file?
 
http://www.lyx.org/help/bibtex/bibtex-start.html


Herbert




Re: size of characters in pt

2001-11-12 Thread Herbert Voss

Wolfgang Engelmann wrote:
> 
> Under
> layout -> character -> size
> tiny
> smallest
> ..
> huger
> 
> is given.
> 
> I wonder whether somebody knows which one corresponds to 8 pt
> which the publisher wants me to apply to legends.
> 
> And to the developers: Could these infos be written behind the character size
> selections (e.g. small (8pt)). Or is it a relative measure, depending on the
> layout _> document -> font size?

this depends to your documentwide chosen fontsize
-- 
http://www.lyx.org/help/fonts/fonts.php3#table

Herbert





Re: Accented characters

2001-11-12 Thread Roberto Hernandez

Roberto Marabini wrote:

> Hello Roberto,
> 
>   I also use lyx for writting spanish documents and I do not find the
> problems you describe. I have redefined my keyboard using "xmodmap" so I
> can type "á" directly instead of "\'{a}" (I am working at US and therefore
> I use an american keyboard) and providing I select language "spanish"
> everything works fine including the spellchecker. What version of lyx are
> you using? I am using 1.1.6fix3. For older versions things were not so
> easy. This is a list of the things I changed for lyx 1.0 (I do not know if
> all of them are needed)
> 


I'm using version 1.1.6fix3. Actually, I think you misunderstood my 
problem. When I type the accented characters they show up fine in LyX. 
That is, I can type the "á" directly.

What I would like is that, when I export the document to TeX, the 
characters that I typed in directly as "á" show up as "\'{a}". After 
more searching I found the "iso8859-1.cdef" file which appears to be 
there to define how to translate accented characters to "\'{a}" for 
example. The problem is that it doesn't seem to be working.

As far as the spellchecker, I'm using aspell not ispell. After some 
testing, what seems to be happening is that words such as "introducción" 
are checked correctly, but "introducci\'{o}n" is checked as incorrect. I 
don't really know much about aspell, but I would think there is a way to 
change this behavior. If anyone knows how, please let me know.


>   1) add spanish hyphenation in latex:
>  log as root
>  run textconfig, select hyphenation, select latex
>  uncoment the line related with spanish
>   2) cd /usr/local/ispell (for that version of lyx I was using ispell)
>  link the "espanol" files to "spanish" lyx looked for (I do not know
> now) a file called "spanish" that ispell named "espanol" 
> 
>   3) change in lyx (when editing a spanish document).
> 
>a) layout-> document->languaje->spanish
>b) layout->document->encoding->latin1
>c) options->spellchekeroptions->input encoding switch in ispell
> 
>   hope this help
> 
> Roberto (yes, we share the same name)
> 






Re: ?s with table captions, table text justification, double rows, math cases and more

2001-11-12 Thread Roberto Hernandez

John Boik wrote:

> Fourth, is there an easy way to select text and then format it all in caps
> (not small caps, or whatever is listed in the character popup), or as title
> caps (first word capitalized)?


Don't know if this is what you're looking for, but there is a LaTeX 
command: \MakeUppercase{} which changes whatever is within the brackets 
to uppercase.

 
> Eighth and last, I would like to use BibTex for my references, and I
> understand how to import the citation into Lyx, but I don't know how to
> start BibTex in the first place to enter a list of references.  If I go to
> the command line and type in "BibTex", it tells me it needs an argument.
> The help command doesn't tell me much either that I can understand.  If I
> try to make a new bib file by typing in "BibTex foo", it tells me that it
> cannot open file name 'foo.aux'.  How does one start BibTex to make a new
> file?


There are a couple of applications which help you type up the .bib file.

http://sourceforge.net/projects/pybliographer/

http://www.cat.csiro.au/cmst/staff/pic/tkbibtex.html


> John Boik
> Oregon Medical Press
> www.ompress.com
> [EMAIL PROTECTED]






Re: page numbering

2001-11-12 Thread Roberto Hernandez

Rodney Kanno wrote:

> One more question. I got the page numbers to show both roman & arabic. 
> But when the arabic starts, the count continues where the roman left off 
> (ex. i, ii, iii, 4, 5, etc) can I get the arabic to start at 1?
> 
>> p.s. this is the longest time difference I ever had: 10 hours
>> from Berlin to Hawaii ...
>>
> Wow 10 hour differenceso how's the weather there in Berlin? It is a 
> cool 73 degrees here.
> 
> Thanks for your help!
> Rodney
> 
> 


Try using ERT with the following commands:

\frontmatter

Roman numerals

\mainmatter

Resets to 1 and uses arabic

\backmatter







size of characters in pt

2001-11-12 Thread Wolfgang Engelmann

Under 
layout -> character -> size 
tiny
smallest
..
huger

is given.

I wonder whether somebody knows which one corresponds to 8 pt
which the publisher wants me to apply to legends.

And to the developers: Could these infos be written behind the character size 
selections (e.g. small (8pt)). Or is it a relative measure, depending on the 
layout _> document -> font size?

Wolfgang Engelmann 




Re: Display formula problem

2001-11-12 Thread Remzi Seker

Thanks everyone. The main problem arised from NOT being able to see the menu
icon for the sum in MDK 8.1 (since mdk 8.0 i had some of the math panel
menu's invisible) and I think it was being in hurry made me jump to sigma
and give a false alarm, I am sorry about that. I should remember the old
saying: When you are in hurry, sit down and relax ;)
Cheers

Remzi

- Original Message -
From: "Dekel Tsur" <[EMAIL PROTECTED]>
To: "Remzi Seker" <[EMAIL PROTECTED]>; "Lyx Users" <[EMAIL PROTECTED]>
Sent: Monday, November 12, 2001 7:01 AM
Subject: Re: Display formula problem


> On Mon, Nov 12, 2001 at 03:20:55PM +1030, Nick Burgan wrote:
> > Remzi,
> >
> > I'm not sure exactly what is causing your problem.
> > When I opened your LyX file I was not able to toggle the position of the
> > limits either.
> >
> > I re-wrote the formular myself (see file attached) and it worked fine.
> >
> > It seems to be a problem with the sum symbol that you are using. When I
> > defined a sum symbol using \sum (or from the math panel) my sum symbol
came
> > out much bigger than yours. How did you define yours ? The limit
toggling
> > seems to work fine with my sum symbol but not with yours.
>
> Remzi used \Sigma, which gives the Letter Sigma, and not the summation
symbol.




Re: Display formula problem

2001-11-12 Thread Dekel Tsur

On Mon, Nov 12, 2001 at 03:20:55PM +1030, Nick Burgan wrote:
> Remzi,
> 
> I'm not sure exactly what is causing your problem.
> When I opened your LyX file I was not able to toggle the position of the 
> limits either.
> 
> I re-wrote the formular myself (see file attached) and it worked fine.
> 
> It seems to be a problem with the sum symbol that you are using. When I 
> defined a sum symbol using \sum (or from the math panel) my sum symbol came 
> out much bigger than yours. How did you define yours ? The limit toggling 
> seems to work fine with my sum symbol but not with yours.

Remzi used \Sigma, which gives the Letter Sigma, and not the summation symbol.



Bug in labelnames?

2001-11-12 Thread ingvast

Hi
I just found something that I think is a bug in version 1.1.6fix3.

My document had equations with an equal sign (=) in the labelname. When
viewing the document in ghostview the references to the equations turned
up as questionmarks, that is, they were not replaced by a eq number,
this without any warnings or errors from lyx. Exporting to latex and
running latex throws a number of errors.

Doing some testing with different label names, I found that the equal
sign was the one character I could not use.

Is this a bug or is there a reason for this behaviour?

/johan  ingvast






Re: ?s with table captions, table text justification, double rows, math cases and more

2001-11-12 Thread Thomas Steffen

"John Boik" <[EMAIL PROTECTED]> writes:

> First, I would like to use a different font family (sans serif rather than
> times) for table captions.  

This is defined by the LaTeX style. Try the koma-script family
instead of the default styles. (That's in Layout->Document.) It will
change other details, too.

> Second, I would like to get rid of the default justification for
> text in a table column.

Should be possible, but justification has always been a weak point of
LaTeX (imho).

> Third, some rows of my table are intended to fall on two lines. 

Very difficult. Using two rows is the easiest, if possible. Otherwise
you can define multiline cells with linebreaks. You have to define a
widths, imho. Details depend on the exact LyX version. 

> Fourth, is there an easy way to select text and then format it all
> in caps (not small caps, or whatever is listed in the character
> popup), or as title caps (first word capitalized)?

Not that I know. Emacs does it with M-u. So if anyone could write this
for LyX...

> Fifth, is there any easy way to automatically have a table span exactly the
> width of the paper?

Yes, this can be done using LaTeX. You can specify the column width as
part of the paper width. I don't remember the exact syntax, though. 

> Sixth, I have a new command that I put in the preamble that inserts the
> microgram symbol (the Greek micro and the roman g) if I type in \mg.  It is:
> 
> \newcommand{\mg}{$\mu$g }

Imho it should be a math macro. Look it up in the help, they are easy
to define an use. 

> It allows me to easily type in, for example, 70 ug.  But, when the
> paragraphs are justified, Lyx does not know to keep the 70 next to the ug
> symbol and the space looks funny.  Is there a way to keep the two next to
> each other?

Use a protected space (Ctrl-SPACE). 

> Seventh, and this one might be the hardest, when I use the \begin{cases} and
> \end{cases} command in the math mode, 

I always do this manually, with a left bracket and an n by 3 matrix.

> Eighth and last, I would like to use BibTex for my references, and I
> understand how to import the citation into Lyx, but I don't know how to
> start BibTex in the first place to enter a list of references.

BibTeX databases are just text files. You can write them with your
favourite editor, or you use one of the several special programs for
BibTeX files.

> One suggestion, which might be a hard one, would be to have it
> natively save its files in *.tex format and do all the conversion
> behind the scenes.

Yes, it would be nice, but LyX is not going this way. 

> I know that there is an export function, but I think I read that it
> is 95% or so accurate in conveying the full meaning of what was
> typeset in Lyx. 

No, the export is 100% accurate (more or less). It is the import which
not infallible. 

> Also, having it in *.tex format would allow easy sharing of files
> with other collaborators who are using LaTex but not Lyx. 

Well, not really. Unless the formatting of the tex-file is kept (which
cannot be done), exchanging files with TeX "purists" is always a bit
difficult. Export and import is a way of communicating this to the
user :-)

Thomas <[EMAIL PROTECTED]>
-- 
Umweltfreundlich, da aus recycleten Buchstaben.



?s with table captions, table text justification, double rows, math cases and more

2001-11-12 Thread John Boik

Hello:
I am new to the world of Lyx, LaTex, and Linux, but am learning fast.  After
only a week with all three I am most of the way though writing my first
journal article using Lyx.  But, I've run across several snags that I'm
hoping someone can help me with.  The list is a little long since I am so
new...sorry about that.  I have scanned the help files, email list archive,
and two books on LaTex, but with no luck.

First, I would like to use a different font family (sans serif rather than
times) for table captions.  Is there a global way to set this?  I know there
is an easy way to globally change the size of the font by using a certain
caption package, but I want to change the family, not the size.

Second, I would like to get rid of the default justification for text in a
table column.  Is there a way to do this without having to enter the
\rightragged tex command in every single cell of the table?  I would like to
have my text \rightragged, but I cannot find a way to set the whole table
(or even whole column) that way at once.  Is there a global solution?

Third, some rows of my table are intended to fall on two lines.  One
solution in the Lyx guide is to actually use two rows, but I don't want to
do that.  The other solution listed doesn't seem to work for me.  It says to
enter a "\\" at the needed text break and then check the "linebreaks" button
on the table format popup.  I cant find any "linebreaks" button.  If I just
type in "\\", it starts an entire new row from scratch, and does not just
move the intended second line down below the intended first line in the
column. Where is the linebreaks button, or what else am I doing wrong?

Fourth, is there an easy way to select text and then format it all in caps
(not small caps, or whatever is listed in the character popup), or as title
caps (first word capitalized)?

Fifth, is there any easy way to automatically have a table span exactly the
width of the paper?  I understand the tabularx package does not work with
Lyx (or if it does I do not know how to use it).  I would like to have the
table fit the page, and then have certain columns larger or smaller than
others.

Sixth, I have a new command that I put in the preamble that inserts the
microgram symbol (the Greek micro and the roman g) if I type in \mg.  It is:

\newcommand{\mg}{$\mu$g }

It allows me to easily type in, for example, 70 ug.  But, when the
paragraphs are justified, Lyx does not know to keep the 70 next to the ug
symbol and the space looks funny.  Is there a way to keep the two next to
each other?

Seventh, and this one might be the hardest, when I use the \begin{cases} and
\end{cases} command in the math mode, I cannot figure how to make the two
cases split lines vertically or how to make the left part (the equation)
horizontally space itself away from the right part (the cases).  Here is an
example of my command:

Y=\begin {cases}10+k&\text {if}\, k=1 \text{and}\cr 20+k&\text {if}k=2.\end
{cases}

I use the \cr above because I could not get the correct command "\\" to type
in during math mode.  But, although \cr will properly split the cases onto
two lines, every time I close the file and reopen it, it gives me an error
when sending to postscript and I have to retype the \begin{case} and
\end{case} commands again.  How strange.  Is there a way to send the "\\"
command in math mode to properly split the cases onto two lines?  Also, the
"&" character is supposed to move the case text (e.g., "if K=1 and") to the
right.  However, all it does is literally print out the "&" symbol so that
it reads "10+k&if K=1 and".  Is there a way to get Lyx to properly
left-right split the cases from the equation proper?

Eighth and last, I would like to use BibTex for my references, and I
understand how to import the citation into Lyx, but I don't know how to
start BibTex in the first place to enter a list of references.  If I go to
the command line and type in "BibTex", it tells me it needs an argument.
The help command doesn't tell me much either that I can understand.  If I
try to make a new bib file by typing in "BibTex foo", it tells me that it
cannot open file name 'foo.aux'.  How does one start BibTex to make a new
file?

I think the Lyx program is wonderful in that I love the wysiwym ability.
I'm sure there are many improvements being planned and worked on.  One
suggestion, which might be a hard one, would be to have it natively save its
files in *.tex format and do all the conversion behind the scenes.  That
way, one could just email in the *.tex file to a journal for publication.  I
know that there is an export function, but I think I read that it is 95% or
so accurate in conveying the full meaning of what was typeset in Lyx.  If
this is true (is it?), then that 5% might be some crucial part of the
manuscript and the author could miss the error if he/she was not careful in
proof reading before sending the article off for publication.  Also, having
it in *.tex format would allow easy sharing o

EC PLAZA ALERT SERVICE

2001-11-12 Thread EC Plaza Alert

Warning
Unable to process data: 
multipart/mixed;boundary="=_NextPart_1"




Re: Automatic indexing?

2001-11-12 Thread Egbert J.W. Boers

Op maandag 12 november 2001 00:48, schreef Steve Litt:
> I need to index my 117,000 word book, written in a slightly modified Book
> document class. This thing's much too big to go through every page
> inserting indexing entries. What I'd like to do is make a list of words and
> terms, and have Lyx place the indexing entries and build the index.
>
> Worst case I could make a Perl script to find words and phrases, and insert
> the indexing entries. But I bet LyX has a built-in method to do this.

Have a look at http://wwwhome.cs.utwente.nl/~schooten/latex/
I have not tried it yet, but if it works, please tell me :-)

Egbert