Re: How can I do \begin{tabular}[b]{...}

2004-03-12 Thread Dekel Tsur
On Fri, Mar 12, 2004 at 07:19:54PM -0500, Kostas Oikonomou wrote:
> 
> Hi, I'm using LyX 1.3.3.
> Is there a way to do \begin{tabular}[b]{...}?  The problem is how to "pass"
> the [b] to the tabular layout. Is it possible to do this without writing 
> the whole table
> as an ERT?

If you want all your tables to be \begin{tabular}[b], then
put the following in the preamble:
  \let\oldtabular=\tabular
  \renewcommand{\tabular}{\oldtabular[b]}

If you want it for only one table, put
  {\let\oldtabular=\tabular
  \renewcommand{\tabular}{\oldtabular[b]}
before the table, and
  }
after the table.





How can I do \begin{tabular}[b]{...}

2004-03-12 Thread Kostas Oikonomou
Hi, I'm using LyX 1.3.3.
Is there a way to do \begin{tabular}[b]{...}?  The problem is how to "pass"
the [b] to the tabular layout. Is it possible to do this without writing the whole 
table
as an ERT?
Thanks,

	Kostas


[correction] Help: "Page styles" won't output page number ONE [lyx ver 1.2.3]

2004-03-12 Thread Joe(theWordy)Philbrook

It would appear that on Mar 12, Joe(theWordy)Philbrook did say:
> Subject: Help:None of the "Page styles" output page numbers? [lyx ver 1.2.3]
 
But I've since noticed that it only declines to include the page number
for page one. Additional pages do actually get the page number...

My apology's for wasting peoples time with misinformation.

I guess I wasn't observant enough when I looked for the page number
in the pdf viewer... There wasn't much text on page 2 and I guess I 
didn't scroll down far enough... Sorry!

Also this seams to be related to the letter.lyx template in some
way.  Because, if I simply start a new blank document and set:

Layout|Document|(document tab)Class|Letter

and paste in a large volume of standard paragraph environment text
the output pdf will be numbered right from page 1 on.  But if I
create a letter using the template, the first page to get the page
number is page 2.  I do think page 1 should also get a number, but as
long as the rest of the pages do, then I guess it's not that important.

Sorry for the confusion.
-- 
|
|^^^   ^^^
|  Joe (theWordy) Philbrook
|^J(tWdy)P
|   ___<<[EMAIL PROTECTED]>>
|   
|  

But if I actually knew everything, then I'd know I was an idiot...


help in controlling heads

2004-03-12 Thread Jane McKean
My system: Linux RedHat 9, LyX 1.3.4 (with change bar patch - yay!)*
Using book document class with standard defaults

Hi:

I'm back with more newbie questions. (Many thanks for the help with
change bars and manual covers, especially to Guy Hindell for sharing
what he's done with his documentation set.) This list is a lifesaver.
Thanks in advance.

I want to accomplish the following in my technical manuals (under
deadline of course):

- make the running heads upper and lowercase (not all uppercase) and
sans serif font. [remove \MakeUppercase from the book.cls file?]

- make the chapter heads sans serif font (leave the body font as is) 
  [I'm not sure how or where to do this.]

- extend the length of the page (I'm outputting to 8.5 x 11 paper) so I
want to make the bottom margin smaller. [How do I do this for the whole
file? ]

I've modified the book.cls file in my local .lyx directory (deleting
\MakeUppercase) and done an Edit-->Reconfigure. The changes are not
showing up. Are these the files I need to change? Do I want to move
them?

I haven't figured out where to set the chapter font yet. Is it in my
local book.cls file? I know these are fairly simple fixes, but I don't
have time to delve into the files at this point, so I'm asking you for
help.

When I have time, I want to carefully modify the book.layout and
book.cls files.(Thank you Guy for your excellent example files.) 

Because of this deadline, I'm looking for the quick work around to solve
these problems. Ideas?

* P.S. As soon as this release is out (1-2 weeks), I'll post the RPMs
for the LyX 1.3.4 patch for RedHat 9. It seems to be working great!

Many thanks,
--jane

-- 
Jane McKean
Technical Documentation
PathScale, Inc.
[EMAIL PROTECTED]
Phone: 408-746-9100 x227
Fax: 408-746-9150



Re: Help:None of the "Page styles" output page numbers? [lyx ver 1.2.3]

2004-03-12 Thread Jean-Pierre.Chretien

>>Date: Fri, 12 Mar 2004 12:58:17 + (UTC)
>>From: "Joe(theWordy)Philbrook" <[EMAIL PROTECTED]>
>>X-X-Sender: [EMAIL PROTECTED]
>>To: [EMAIL PROTECTED]
>>Subject: Re: Help:None of the "Page styles" output page numbers? [lyx ver 
1.2.3]
>>
>> I've got an additional question about "fancyhdr package".
>>
>>Where can I get it?

It's a standard LaTeX package which *should* be in your distrib.
The right place to fetch packages is CTAN (http://www.ctan.org),
but you should not need it, check rather for a recent (La)TeX distrib
if yours is outdated. 

Moreover, the letter class (like the article class) does not
put a page number on the first page, but further pages bear a number.

If you really need a number on page 1, look for alternate letter classes
or insert in ERT \thispagestyle{plain} at the beginning of the document.


-- 
Jean-Pierre



Re: Help:None of the "Page styles" output page numbers? [lyx ver 1.2.3]

2004-03-12 Thread Joe(theWordy)Philbrook
 I've got an additional question about "fancyhdr package".

Where can I get it?

I tried a google search and found some sites that try to explain how to
use it. Some of them are explicit enough that even I might be able to
figure out how to use it, if I can get it. But I can't seam to find
anyplace that actually has an "fancyhdr package download link".



Can some one tell me where to get an rpm or tar.gx of a binary that will
run on a Mandrake 9.1 linux system with the 2.4.21-0.13mdk kernel?

Please!

-- 
  ?   ? 

-=-   -=-I'm NOT clueless...
  But I just don't know.  
^  Joe (theWordy) Philbrook   
   ---J(tWdy)P
  <[EMAIL PROTECTED]> 
  ?   ? 



Re: Pagenumbering in TOC

2004-03-12 Thread Uwe Stöhr
Insert the following to the preamble:

\let\MyTOC\tableofcontents
\renewcommand{\tableofcontents}{
\pagestyle{empty}
\MyTOC
\clearpage
\pagenumbering{arabic}
\pagestyle{plain}}

Correct the line
\pagestyle{plain}
to the option you used in your document layout, e.g. to headings or fancy.
I inserted these lines and corrected \pagestyle to empty. The first page 
of the TOC still gets numbered. What do I do wrong?
Sorry, seems that you misunderstand me. You have to set the pagestyle to 
a style that prints numbers. OK insert the preamble stuff I send you 
without changes and set the document layout pagestyle to 'empty'.
If you have some text before the document, so that the TOC does not 
begin at a new page, insert the following preable stuff instead of the 
one I send:

\clearpage
\let\MyTOC\tableofcontents
\renewcommand{\tableofcontents}{
 \clearpage
 \pagestyle{empty}
 \MyTOC
 \clearpage
 \pagenumbering{arabic}
 \pagestyle{plain}}


Title and author in preamble

2004-03-12 Thread M . C . D .
Hello again,

My LaTeX class happens to require that the \title and \author appear in 
the preamble, so that the class can issue its own \maketitle or a 
similar macro during  its \AtBeginDocument.  Setting the wisdom of such 
a design choice aside, this leaves my .layout efforts in a state where 
the user must fill in their \title and \author info in Layout | 
Document | Preamble, and thus the title won't appear in the main LyX 
document at all (though of course it will show up in the Views).

I'm guessing that I'll have to redesign the class to allow \title, 
\author and \maketitle in the document, if I want to be able to see 
them in LyX.  Am I right, or is there some way to handle this situation 
with the .layout file?

Thanks,
mary

[EMAIL PROTECTED]
http://sffms.ficml.org/


Help:None of the "Page styles" output page numbers? [lyx ver 1.2.3]

2004-03-12 Thread Joe(theWordy)Philbrook

Fri Mar 12 11:33:43 UTC 2004

Hello, I'm a very new user. (I'm not even finished with Tutorial.lyx yet)

The docs warned me that lyx takes a bit to get used to. But I'm already
starting to like the WYSIWYM concept. At least I will once most of the
keybindings become familiar enough. But I'm having a problem with the
lyx ver 1.2.3 that came with my Mandrake Linux 9.1 distribution.

I Followed the advice of the Tutorial [section 3.2] to experiment with
the "Letter" textclass by writing a letter to someone.

Since I had a letter to write, I just waded in... After a bit of writing
I viewed the output and noticed a lack of page numbers. So I searched
for "page number" in the User guide and tried:

Layout|Document|(document tab)Page style|Plain

Then when I still didn't get any page numbers in the output dvi or pdf
file I tried:

Layout|Document|(document tab)Page style|Headings

Still no page numbers... 

Then even though the user guide said


> Fancy  This allows you to create fully customizable headers and footers
>if you have the fancyhdr package installed. At the moment, support
>in LyX is limited to this setting. To use the full power of this
>package, you have to resolve to magic codes in your preamble.
>Check the documentation for the fancyhdr package for more details.

And I don't think I've got the fancyhdr package installed, I also tried:

Layout|Document|(document tab)Page style|Fancy

With the predictable result of no change in the output.

I may need to find and install the fancyhdr package to get the use of
the Fancy page style, but shouldn't I at least be able to get page
numbers without it???

What am I doing wrong?

Any/all help will be greatly appreciated.

Thanks


-- 
  ?   ? 

-=-   -=-I'm NOT clueless...
  But I just don't know.  
^  Joe (theWordy) Philbrook   
   ---J(tWdy)P
   
  ?   ? 



Re: PDF output of superscripts not match Lyx/DVI output

2004-03-12 Thread Aric Gregson
On 3/12/04 9:10 GÃnter Milde sent the following:

>On Thu, Mar 11, 2004 at 12:23:15PM -0500, Aric Gregson wrote:
>> I just realized that when I output a Lyx file to .pdf using
>> pdflatex the superscripts are no longer in a smaller size font,
>> but the same size as the main text. When viewed in Lyx and in the
>> DVI output the superscripts are of a smaller font.
>> 
>> Is there some way to force the .pdf output to look the same as in
>> Lyx and DVI?

>Maybe we need some more info...

You're probably right. I have been using Insert>Special
Character>Superscript to place the superscripts (there are only a few in
non-math equations). 

>I realized a similar behaviour (small vs. big indices) when using ^M to
>get "text in math" (e.g. ^M MTF_^Mgeo ESC).

I'm not sure what "text in math" refers to.

>With the Use_AMS button clicked in Layout>Document>Packages,
>everything is OK, without, the geo comes out too large.

This worked just fine. Thank you very much!

>A stable solution is to use Layout>Character>Roman instead the "text in
>math" toggle (e.g. ^M MTF_ Alt-cr geo ESC)

I tried this, converted to .pdf and there was no change in the size of
the superscripts.

>("text in math" is translated to \textrm{something} while Alt-c r is
>translated to \mathrm{something})
>
>Maybe these get interpreted differently in latex and pdflatex?

Not a clue on this point.

thank you!

aric



Re: Screen appearance of mathematical signs in Lyx 1.30

2004-03-12 Thread Vaclav Smidl
try any of these: 
http://wiki.lyx.org/pmwiki.php/LyX/Troubleshooting

On Friday 12 of March 2004 15:41, Robert Neumann wrote:
> Hello,
> I recently changed from Lyx 1.20 to 1.30. Lyx 1.30 seems to print rather
> the latex code like "\Rightarrow" or "cdot" on the screen instead of "=>"
> or the dot.
> I prefer the sign but I found no option to change this.
> Can anybody help me?
> Thanks
> Robert


Screen appearance of mathematical signs in Lyx 1.30

2004-03-12 Thread Robert Neumann
Hello, 
I recently changed from Lyx 1.20 to 1.30. Lyx 1.30 seems to print rather the 
latex code like "\Rightarrow" or "cdot" on the screen instead of "=>" or the 
dot.
I prefer the sign but I found no option to change this.
Can anybody help me?
Thanks
Robert


Re: Pagenumbering in TOC

2004-03-12 Thread Uwe Stöhr

I recently tried out the tips to avoid pagenumbering in the TOC at:
http://latex.s-v-p.de/tocloft/TOC.phtml#pageNr
I tried the first tip with protect. The second page got numbered. Then I 
tried the tip with the LaTeX-Preamble. The third page got numbered. I 
have only three pages of TOC. How can reach my goal, not to have 
pagenumbers at all in my TOC?
Insert the following to the preamble:

\let\MyTOC\tableofcontents
\renewcommand{\tableofcontents}{
 \pagestyle{empty}
 \MyTOC
 \clearpage
 \pagenumbering{arabic}
 \pagestyle{plain}}
The next page after the TOC would be numbered as page 1.
If you want to have the next page to be numbered as page 4, delete the line
\pagenumbering{arabic}
Correct the line
\pagestyle{plain}
to the option you used in your document layout, e.g. to headings or fancy.
regards Uwe


Re: Ruurd's win32 Lyx Port - View dvi??

2004-03-12 Thread Uwe Stöhr
thanks for the reply. I have deleted additional
converters and stick to the list you have given in the
mailing list archive. But one more problem... can you
please tell me the Converter and Extra Flag for all the
converters (because I think I have totally screwed up
the converters). For example,
From Latex--> DVI (I put yap but it's not working)
From Latex--> pdflatex
From Latex--> PDF and etc.
You needn't to correct this manually. Just go into the Windows-folder 
"documents and settings" where all user-specific setttings are saved. 
Here you delete the folder '.lyx' (For all users of your system)(LyX 
must be closed). After that restart LyX and reconfigure it. LyX creates 
a new .lyx folder and you have the original configuration.

If this doesn't work, mail me again.
regards Uwe


Re: copy and paste

2004-03-12 Thread Alfredo Braunstein
Raphael Clifford wrote:

>>You could try to use reLyX (shipped with 1.3.x) for text->lyx conversion

I meant TeX, and not "text", but I think you understood.

> OK.  So the reLyx/tex2lyx method involves making a complete latex
> document from the latex text and then converting the latex document to
> lyx and then copying and pasting from the lyx document?

reLyX has a -p option to translate LaTeX fragments, but I've never used it.
Have a look at the man page.

Alfredo




Re: copy and paste

2004-03-12 Thread Raphael Clifford
Alfredo Braunstein wrote:

Hi Raphael.

Raphael Clifford wrote:

 

1) Quite often I want to copy text from one section of a document and
paste it into another.  However, if I do that then the maths is pasted
in its latex form and I have to go to every formula and retype it in lyx
maths mode.  What should I be doing instead as this is rather painful?
   

Use edit->paste instead of the middle mouse button (which is equivalent to
edit->paste external selection).

Ah! Thanks very much :)

 

2) Also quite often someone supplies edits in latex to a document I have
written in lyx.  How do I incorporate them into a lyx document? The
latex is typically very simple with nothing fancier than maths formulae
and plain text in it.
   

You could try to use reLyX (shipped with 1.3.x) for text->lyx conversion but
it's not very good. You'll have to polish the output a bit. (there's a
replacement being worked in current cvs)
An alternative if the text has little or no formatting is to paste text
inside your document and then select math chunks and press C-M.
 



OK.  So the reLyx/tex2lyx method involves making a complete latex 
document from the latex text and then converting the latex document to 
lyx and then copying and pasting from the lyx document?

Cheers,
Raphael



math symbols (was Re: full cite in text

2004-03-12 Thread Christian Ridderström
On Fri, 12 Mar 2004, Subir Singh Lamba wrote:

> 
> I have installed lyx version 1.3.4 on Mandrake9.2. I am encountering
> strange problem. The integral sign or the summation does not appear as the 
> proper sign but just int (in red) for integral or sum ( in red) for 
> summation. I would be grateful if someone can help me.

Have a look at http://wiki.lyx.org/pmwiki.php/FAQ/Qt
(the URI is from memory, so it might be wrong, but the answer is in the 
wiki as well as in the archive of this list)

/Christian

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




Re: copy and paste

2004-03-12 Thread Alfredo Braunstein
Hi Raphael.

Raphael Clifford wrote:

> 1) Quite often I want to copy text from one section of a document and
> paste it into another.  However, if I do that then the maths is pasted
> in its latex form and I have to go to every formula and retype it in lyx
> maths mode.  What should I be doing instead as this is rather painful?

Use edit->paste instead of the middle mouse button (which is equivalent to
edit->paste external selection).
 
> 2) Also quite often someone supplies edits in latex to a document I have
> written in lyx.  How do I incorporate them into a lyx document? The
> latex is typically very simple with nothing fancier than maths formulae
> and plain text in it.

You could try to use reLyX (shipped with 1.3.x) for text->lyx conversion but
it's not very good. You'll have to polish the output a bit. (there's a
replacement being worked in current cvs)
An alternative if the text has little or no formatting is to paste text
inside your document and then select math chunks and press C-M.

Alfredo




copy and paste

2004-03-12 Thread Raphael Clifford
I have been using lyx for a while now and I love it. However there are 
one or two really basic things I don't understand.

1) Quite often I want to copy text from one section of a document and 
paste it into another.  However, if I do that then the maths is pasted 
in its latex form and I have to go to every formula and retype it in lyx 
maths mode.  What should I be doing instead as this is rather painful?

2) Also quite often someone supplies edits in latex to a document I have 
written in lyx.  How do I incorporate them into a lyx document? The 
latex is typically very simple with nothing fancier than maths formulae 
and plain text in it.

Any help is very much appreciated.

Cheers,
Raphael


Re: lyx1.3.4 problem

2004-03-12 Thread Jean-Marc Lasgouttes
> "Subir" == Subir Singh Lamba <[EMAIL PROTECTED]> writes:

Subir> I have installed lyx version 1.3.4 on Mandrake9.2 using -i
Subir> --nodeps. I am encountering strange problem. The integral sign
Subir> or the summation does not appear as the proper sign but just
Subir> int (in red) for integral or sum ( in red) for summation. I
Subir> would be grateful if someone can help me.

Subir> on using the command "rpm -q qt3-common" I get
Subir> "qt3-common-3.1.2-14mdk" on using the command "rpm -q libqt3" I
Subir> get "libqt3-3.1.2-14mdk"

You need the package latex-xft-fonts-0.1-1.noarch.rpm from
ftp.lyx.org/pub/lyx/contrib/

JMarc


lyx1.3.4 problem

2004-03-12 Thread Subir Singh Lamba



I have installed lyx version 1.3.4 on Mandrake9.2 using -i --nodeps. I am
encountering strange problem. The integral sign or the summation does not
appear as the proper sign but just int (in red) for integral or sum ( in
red) for summation. I would be grateful if someone can help me.

on using the command "rpm -q qt3-common" I get "qt3-common-3.1.2-14mdk"
on using the command "rpm -q libqt3" I get "libqt3-3.1.2-14mdk"



thanks

Subir
-- 
Those who desire to give up Freedom in order to gain Security, will not 
have, nor do they deserve, either one. (T. Jefferson or B. Franklin or 
both...)


Re: full cite in text

2004-03-12 Thread Subir Singh Lamba

I have installed lyx version 1.3.4 on Mandrake9.2. I am encountering
strange problem. The integral sign or the summation does not appear as the 
proper sign but just int (in red) for integral or sum ( in red) for 
summation. I would be grateful if someone can help me.

thanks

Subir
-- 
Those who desire to give up Freedom in order to gain Security, will not 
have, nor do they deserve, either one. (T. Jefferson or B. Franklin or 
both...)


Re: Newbie: Lyx should use an alternative Tex distribution (Debian)

2004-03-12 Thread Anca Tibor- Attila
Hello Georg,
Am Fri, Mar 12, 2004 at 10:46:47AM +0100 schrieb Georg Sommer:
> Guten!
> I'm using Debian testing/unstable, built from Knoppix (-> LyX 1.3.3)
> As some important Tex Classes (e.g. g-brief) are missing in the default 
> configuration I installed  Tex-live - but now, how can I make lyx use the 
> newly installed tex and the classes etc, shippping with it?

I think, the only thing you should do, is to include the TeX-binaries in 
your PATH. I also installed TeX Live from the net, but on Fedora Core 1. 
The installation programme asked me, if I would like to creat links to 
the binaries, so I did not have to do anything. Though, I did not find 
g-brief installed, so I had to get it from the net :-).

Regards,
-- 
Anca Tibor- Attila <[EMAIL PROTECTED]>


Pagenumbering in TOC

2004-03-12 Thread Anca Tibor- Attila
Hello,

I recently tried out the tips to avoid pagenumbering in the TOC at:
http://latex.s-v-p.de/tocloft/TOC.phtml#pageNr

I tried the first tip with protect. The second page got numbered. Then I 
tried the tip with the LaTeX-Preamble. The third page got numbered. I 
have only three pages of TOC. How can reach my goal, not to have 
pagenumbers at all in my TOC?

Thanks,
-- 
Anca Tibor- Attila <[EMAIL PROTECTED]>


Newbie: Lyx should use an alternative Tex distribution (Debian)

2004-03-12 Thread Georg Sommer
Guten!
I'm using Debian testing/unstable, built from Knoppix (-> LyX 1.3.3)
As some important Tex Classes (e.g. g-brief) are missing in the default 
configuration I installed  Tex-live - but now, how can I make lyx use the 
newly installed tex and the classes etc, shippping with it?

Thank you for any help
Georg




Re: PDF output of superscripts not match Lyx/DVI output

2004-03-12 Thread Günter Milde
On Thu, Mar 11, 2004 at 12:23:15PM -0500, Aric Gregson wrote:
> I just realized that when I output a Lyx file to .pdf using pdflatex the
> superscripts are no longer in a smaller size font, but the same size as
> the main text. When viewed in Lyx and in the DVI output the superscripts
> are of a smaller font.
> 
> Is there some way to force the .pdf output to look the same as in Lyx
> and DVI?

Maybe we need some more info...

I realized a similar behaviour (small vs. big indices) when using ^M to
get "text in math" (e.g. ^M MTF_^Mgeo ESC).

With the Use_AMS button clicked in Layout>Document>Packages, everything is
OK, without, the geo comes out too large.

A stable solution is to use Layout>Character>Roman instead the "text in
math" toggle (e.g. ^M MTF_ Alt-cr geo ESC)

("text in math" is translated to \textrm{something} while Alt-c r is
translated to \mathrm{something})

Maybe these get interpreted differently in latex and pdflatex?

Guenter

-- 
G.Milde at web.de