Re: Page breaks for double column

2002-03-15 Thread Peter Rexigel

Am Don, 2002-03-14 um 23.59 schrieb Bob Gamble:
 Hello,
 
 Originally, I had a single column paper using the article document
 layout.  I am required to convert this to a two-column layout.  My
 problem is that, when viewed in .dvi, it shows my table of contents and
 bibliography on the same pages as the text of my research paper, even
 though I have page breaks inserted to separate these parts of my paper.

put \usepackage{multicols} in your praeambel; with \begin{multicols}{2}
in ERT you can switch to the two column-layout.
At the end of your document put an \end{multicols}.


 I also need to start the numbering on the first page of the paper itself,
 not on the table of contents page. Everything else about the article
 layout is great.  Any help appreciated.

put \thispagestyle{empty} in RET on the first page (with the TOC). With
\setcounter{page}{0} in RET you can reset the pagenumber to zero.
Have a look to the short lyx-example-file. There a the commands above a
little bit enhanced with the possibility to change the
columnseparator-width.

I hope this helps
Peter


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\usepackage{multicol}
\newcommand\myColumnSep[1]{%
  \setlength{\columnsep}{#1}}
\newcommand\mymulticols[2]{%
   \myColumnSep{#2}\begin{multicols}{#1}%
   }
\newcommand\multicolsoff{\end{multicols}} 
\end_preamble
\language english
\inputencoding latin1
\fontscheme palatino
\graphics default
\paperfontsize default
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Title

Changing between one + X- column
\latex latex 

\backslash 
thanks{this is a short example}
\layout Abstract
\noindent 
Here a short example of changing between one and twocolumn-layout.
 Have a look to the praeambel.
\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Standard


\latex latex 

\backslash 
thispagestyle{empty}
\backslash 
setcounter{page}{0}
\backslash 
newpage
\layout Standard


\latex latex 

\backslash 
mymulticols{2}{0.5cm}
\layout Section

Columns
\layout Itemize

with 
\family typewriter 

\backslash 
usepackage{multicol} 
\family default 
you are ready to do it;
\layout Itemize

in the text use the command 
\family typewriter 

\backslash 
mymulticols {#number of colums}{#columnseparator-size}
\family default 
 you switch to your new layout.
\layout Itemize

the command
\family typewriter 
 
\backslash 
multicolsoff
\family default 
 resets to the default value.
\layout Section

Changing the Pagenumber
\layout Itemize

with
\family typewriter 
 
\backslash 
thispagestyle{empty}
\family default 
 you get your page with no numbers displayed.
\layout Itemize


\family typewriter 

\backslash 
setcounter{page}{0}
\family default 
 reset the pagecounter to 0.
\layout Standard


\latex latex 

\backslash 
multicolsoff
\layout Standard
\noindent 
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla 
\layout Standard
\align left 
I hope this helps
\layout Standard
\added_space_top 2cm \align left 
Peter
\the_end



Re: Getting Lyx to clip EPS image to bounding box

2002-03-15 Thread Rudolph van der Merwe

Well, I also thought that might work, but it doesn't. When I put the following 
in the preamble:

\renewcommand{\includegraphics}{\includegraphics*}

I get the following Latex compilation error:

  ! TeX capacity exceeded, sorry [input stack size=1500].
  \includegraphics -\includegraphics
  *
  l.280 ...mnwidth}{!}{\includegraphics{ut_fig.eps}}
\par}


R.


Guenter Milde wrote:
 On Thu, 14 Mar 2002 19:42:16 -0800 wrote Rudolph van der Merwe 
[EMAIL PROTECTED]:
 
 
How do I get Lyx to clip an EPS image to its bounding box? I pure Latex this
is 
quite easy, by simply using
\includegraphics*  in place of  \includegraphics . I know that Lyx uses 
\includegraphics internally (its in the
generated Latex source) but how do I get it to use \includegraphics* instead 
from within Lyx?

More generally speaking, how do you pass options/parameters to
includegraphics 
from within Lyx?
 
 
 AFAIK, you cannot.
 
 A workaround would be to have
 
 \renewcommand{\includegraphics}{\*includegraphics}
 
 in your preamble.
 
 Guenter
 
 --
 [EMAIL PROTECTED]
 


-- 
Rudolph van der Merwe  |  http://ece.ogi.edu/~rvdmerwe




Re: Getting Lyx to clip EPS image to bounding box

2002-03-15 Thread Rudolph van der Merwe

It seems the correct way to achieve this is with the following in the preamble:

\let\foobar=\includegraphics
\renewcommand{\includegraphics}[1]{\foobar*{#1}}

Works nicely now!

R.




Rudolph van der Merwe wrote:
 Well, I also thought that might work, but it doesn't. When I put the 
 following in the preamble:
 
 \renewcommand{\includegraphics}{\includegraphics*}
 
 I get the following Latex compilation error:
 
   ! TeX capacity exceeded, sorry [input stack size=1500].
   \includegraphics -\includegraphics
   *
   l.280 ...mnwidth}{!}{\includegraphics{ut_fig.eps}}
 \par}
 
 
 R.
 
 
 Guenter Milde wrote:
 
 On Thu, 14 Mar 2002 19:42:16 -0800 wrote Rudolph van der Merwe 
 [EMAIL PROTECTED]:


 How do I get Lyx to clip an EPS image to its bounding box? I pure 
 Latex this
 is quite easy, by simply using
 \includegraphics*  in place of  \includegraphics . I know that Lyx 
 uses \includegraphics internally (its in the
 generated Latex source) but how do I get it to use \includegraphics* 
 instead from within Lyx?

 More generally speaking, how do you pass options/parameters to
 includegraphics from within Lyx?



 AFAIK, you cannot.

 A workaround would be to have

 \renewcommand{\includegraphics}{\*includegraphics}

 in your preamble.

 Guenter

 -- 
 [EMAIL PROTECTED]

 
 


-- 
Rudolph van der Merwe  |  http://ece.ogi.edu/~rvdmerwe




Re: Getting Lyx to clip EPS image to bounding box

2002-03-15 Thread Dekel Tsur

On Fri, Mar 15, 2002 at 12:51:51AM -0800, Rudolph van der Merwe wrote:
 Well, I also thought that might work, but it doesn't. When I put the following 
 in the preamble:
 
 \renewcommand{\includegraphics}{\includegraphics*}
 
 I get the following Latex compilation error:
 
   ! TeX capacity exceeded, sorry [input stack size=1500].
   \includegraphics -\includegraphics

This doesn't work as you define an endless recursive macro.
Use

\let\oldincludegraphics=\includegraphics
\def\includegraphics{\oldincludegraphics*}



Re: Copy/paste changes language

2002-03-15 Thread Dekel Tsur

On Fri, Mar 15, 2002 at 01:49:29AM +0100, Laszlo E Szabo wrote:
 Hello,
 
 I am editing Hungarian text with LyX 1.1.6fix4. When I select a (Hungarian) 
 text, say one word, and put it to another place (say back to the same place!) 
 with copy/paste or cut/paste the pasted text is underlined as if it were not 
 Hungarian (probably English). It is very inconvenient always to select it 
 again and change language to default (which is Hungarian in this case). Is 
 this a bug in the editor, or I can configure LyX to make copy/paste without 
 changing the language of the selection back to English?
 Does anybody have similar experience?

I can't recreate this.
When I do copy/paste, the language of the text is kept.



Re: Page breaks for double column

2002-03-15 Thread Dekel Tsur

On Thu, Mar 14, 2002 at 03:59:07PM -0700, Bob Gamble wrote:
 Hello,
 
 Originally, I had a single column paper using the article document
 layout.  I am required to convert this to a two-column layout.  My
 problem is that, when viewed in .dvi, it shows my table of contents and
 bibliography on the same pages as the text of my research paper, even
 though I have page breaks inserted to separate these parts of my paper.I

It should work.
Please give a minimal example file.



Re: Page breaks for double column

2002-03-15 Thread Dekel Tsur

On Fri, Mar 15, 2002 at 09:43:39AM +0100, Peter Rexigel wrote:
 Am Don, 2002-03-14 um 23.59 schrieb Bob Gamble:
  Hello,
  
  Originally, I had a single column paper using the article document
  layout.  I am required to convert this to a two-column layout.  My
  problem is that, when viewed in .dvi, it shows my table of contents and
  bibliography on the same pages as the text of my research paper, even
  though I have page breaks inserted to separate these parts of my paper.
 
 put \usepackage{multicols} in your praeambel; with \begin{multicols}{2}
 in ERT you can switch to the two column-layout.
 At the end of your document put an \end{multicols}.

multicols has a very big drawback: it does not support floats.




Re: How to change \paragraph

2002-03-15 Thread Dekel Tsur

On Thu, Mar 14, 2002 at 06:05:53AM +0100, Laszlo E Szabo wrote:
 Could you tell me please how can I change in the preamble (in a book.cls 
 document) the vskip before a new paragraph (I mean \paragraph{} )? I would 
 like to make no skip when I start a new paragraph-section.

\renewcommand\paragraph{\@startsection{paragraph}{4}{\z}%
{0ex}%
{-1em}%
{\normalfont\normalsize\bfseries}}

Perhaps using '0ex \@plus1ex' instead of '0ex' would be better.



Re: Copy/paste changes language

2002-03-15 Thread Juergen Fenn



Laszlo E Szabo schrieb:

 I am editing Hungarian text with LyX 1.1.6fix4. When I select a (Hungarian)
 text, say one word, and put it to another place (say back to the same place!)
 with copy/paste or cut/paste the pasted text is underlined as if it were not
 Hungarian (probably English). It is very inconvenient always to select it
 again and change language to default (which is Hungarian in this case). Is
 this a bug in the editor, or I can configure LyX to make copy/paste without
 changing the language of the selection back to English?
 Does anybody have similar experience?

Yes, me. It is a known bug. I asked for help some months ago already and
it was confirmed on the list, then. :-(

By the way: Does KLyX behave the same?

Juergen.




Re: How to change \paragraph

2002-03-15 Thread Laszlo E Szabo

Dear Dekel,

Thank you! It works.

Laszlo

On 2002. March 15. 12:27, Dekel Tsur wrote:
 On Thu, Mar 14, 2002 at 06:05:53AM +0100, Laszlo E Szabo wrote:
  Could you tell me please how can I change in the preamble (in a book.cls
  document) the vskip before a new paragraph (I mean \paragraph{} )? I
  would like to make no skip when I start a new paragraph-section.

 \renewcommand\paragraph{\@startsection{paragraph}{4}{\z}%
 {0ex}%
 {-1em}%
 {\normalfont\normalsize\bfseries}}

 Perhaps using '0ex \@plus1ex' instead of '0ex' would be better.

-- 

Laszlo E. Szabo
Department of Theoretical Physics
Department of History and Philosophy of Science
Eotvos University, Budapest
H-1518 Budapest, Pf. 32, Hungary
Phone/Fax: (36-1)372-2924
Home: (36-1) 200-7318
Mobil/SMS: (36) 20-366-1172
http://hps.elte.hu/~leszabo



Convert to html with include/input docs

2002-03-15 Thread Fab themroc

Hello.

Using lyx-1.6fix4 on Debian, i've got a problem when i want to
convert a lyx-file with some other include/input lyx-files inside: the
final html-file does not include the files i wanted. This happens both
with hevea and latex2html. What have i done wrong? Having only one
lyx-file is a solution, but is it the only one?

I have another question, wich is more hevea or latex2html oriented: when i
include urls in a document, latex2html does not make a link with them
(only writes the url), and hevea makes a link only with the letter next
the url. 
with hevea 
* [http://www.univ-lyon2.fr/||Université Lyon2] Le
site de Lyon2 
becomes this: 
Universiteacute; Lyon2A HREF=http://www.univ-lyon2.fr/;L/Ae site de
Lyon2 when i want this: 
A HREF=http://www.univ-lyon2.fr/;Universiteacute; Lyon2/A Le site de
Lyon2 Is there a way to fix it and have good looking links?

Thanks

Fabrice



Re: Copy/paste changes language

2002-03-15 Thread Jean-Marc Lasgouttes

 Laszlo == Laszlo E Szabo [EMAIL PROTECTED] writes:

Laszlo Dear Juergen, Klyx knows much less then the last version of
Laszlo LyX, that's why I don't want to change for that. But even my
Laszlo LyX 1.1.6fix4 does not produce this problem with all files. If
Laszlo I create a new Hungarian text, it works correctly. I have a
Laszlo long book, however, and that file produces this problem. I
Laszlo tried to change the language of the whole text, also made a
Laszlo copy paste into a newly created Hungarian file, but the the
Laszlo problem remained the same.

But you did set language to bulgarian in LayoutDocument?

JMarc



small formulas

2002-03-15 Thread Davide Cavallari

When I need multi-line equation I  create a matrix. Sometimes the formulad
are very small  and the lines are very  close. Is there a way  to get more
spacing and a bigger result?
-- 
Cheers,
Davide Cavallari
Legge del Lavoro Accurato:
Quando si lavora alla soluzione di un problema, fa sempre comodo
sapere la risposta.



Re: Copy/paste changes language

2002-03-15 Thread Laszlo E Szabo

Dear JMarc and Juergen,

[First, I didn't set language to Bulgarian, of course, because the text is 
Hungarian:) ]
I made the following observation. Here is a little lyx-file:


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\language magyar
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

Els\i \H{o}
 közelítésben valóban úgy t\i \H{u}
nik, ha ez a kontrafaktuális mondat igaz,
 akkor a virágok elhervadásának oka Mari nem-locsolása.
 Úgy értjük, sok minden más mellett, ez egy releváns kauzális faktor.
 A helyzet azonban ett\i \H{o}
l bonyolultabb, hiszen nyilván igaz a következ\i \H{o}
 mondat
 is:
\begin_inset Quotes pld
\end_inset

Ha George Buch locsolta volna a virágaimat, akkor nem hervadtak volna el.
\begin_inset Quotes prd
\end_inset 


\begin_float footnote
\layout Standard

A találó példa Jaegwon Kimt\i \H{o}
l származik.
\end_float 
 Mégsem gondolnánk, hogy virágaim elhervadásának oka az egyesült államok
 elnökének nem-locsolása.
 Mégcsak azt sem gondoljuk, hogy az elnök nem-locsolása egyike a releváns
 kauzális faktoroknak.

\the_end


1) Now, open it with LyX 1.1.6fix4. Keep the foot closed. Then copy a word 
from anywher in the text. If you paste it before the foot, then it is OK. 
Paste it after the foot, the problem appears. It changes the language of 
the word back to English. 
2) Now open the foot-box by clicking it. Then the problem disappears!
3) You can change the language of the text anything different from English (I 
tried German, Italian), the problem is the same.
4) Delete foot: The problem disappears.

I hope this observation helps to figure out this little bug.

Best wishes,
Laszlo


On 2002. March 15. 16:59, Jean-Marc Lasgouttes wrote:
  Laszlo == Laszlo E Szabo [EMAIL PROTECTED] writes:

 Laszlo Dear Juergen, Klyx knows much less then the last version of
 Laszlo LyX, that's why I don't want to change for that. But even my
 Laszlo LyX 1.1.6fix4 does not produce this problem with all files. If
 Laszlo I create a new Hungarian text, it works correctly. I have a
 Laszlo long book, however, and that file produces this problem. I
 Laszlo tried to change the language of the whole text, also made a
 Laszlo copy paste into a newly created Hungarian file, but the the
 Laszlo problem remained the same.

 But you did set language to bulgarian in LayoutDocument?

 JMarc

-- 

Laszlo E. Szabo
Department of Theoretical Physics
Department of History and Philosophy of Science
Eotvos University, Budapest
H-1518 Budapest, Pf. 32, Hungary
Phone/Fax: (36-1)372-2924
Home: (36-1) 200-7318
Mobil/SMS: (36) 20-366-1172
http://hps.elte.hu/~leszabo



Re: Copy/paste changes language

2002-03-15 Thread Jean-Marc Lasgouttes

 Laszlo == Laszlo E Szabo [EMAIL PROTECTED] writes:

Laszlo [First, I didn't set language to
Laszlo Bulgarian, of course, because the text is Hungarian:) ] 

OK, time for me to go home and rest. Note that in the unlikely event
that you would like to use bulgarian, I have added support for it in
cvs this week...

JMarc



Visite o site Buscacompra

2002-03-15 Thread contato










 

O Buscacompra veio 
para ser a principal referência para quem busca encontrar os melhores preços, 
produtos e informações sobre: Cinema, Teatro, Shows, Supermercado, Bancos, 
Imobiliária, Concessionária de Automóvel, Auto Peças, Magazines, Financeiras, 
Material de Construção, Lazer, Saúde, Lojas de Informática, Indústria, Turismo, 
Farmácias e outros.NOTA: Faça pesquisa ou acesse qualquer outro site 
através do www.buscacompra.com.br, é mais 
rápido e eficiente.
Esta é uma empresa 100% 
nacional. Valorize o que é nosso.
ATENÇÃO: NÃO 
ACEITE IMITAÇÕES
www.buscacompra.com.br




brasil.gif
Description: GIF image


Re: Copy/paste changes language

2002-03-15 Thread Laszlo E Szabo




 Note that in the unlikely event
 that you would like to use Bulgarian, I have added support for it in
 cvs this week...

 JMarc

Well, I have very nice memories of the Bulgarian seeside ... but 
unfortunately I don't speak the language. Anyhow, thank you, and 
congratulations!

One more info about the copy/paste problem: I checked on Klyx 0.9.9. It works 
correctly.

Best,
Laszlo


-- 

Laszlo E. Szabo
Department of Theoretical Physics
Department of History and Philosophy of Science
Eotvos University, Budapest
H-1518 Budapest, Pf. 32, Hungary
Phone/Fax: (36-1)372-2924
Home: (36-1) 200-7318
Mobil/SMS: (36) 20-366-1172
http://hps.elte.hu/~leszabo



html conversion and included documents

2002-03-15 Thread Fab themroc


Hello.

Using lyx-1.6fix4 on Debian, i've got a problem when i want to
convert a lyx-file with some other include/input lyx-files inside: the
final html-file does not include the files i wanted. This happens both
with hevea and latex2html. What have i done wrong? Having only one
lyx-file is a solution, but is it the only one?

I have another question, wich is more hevea or latex2html oriented: when i
include urls in a document, latex2html does not make a link with them
(only writes the url), and hevea makes a link only with the letter next
the url. 
with hevea 
* [http://www.univ-lyon2.fr/||Université Lyon2] Le
site de Lyon2 
becomes this: 
Universiteacute; Lyon2A HREF=http://www.univ-lyon2.fr/;L/Ae site de
Lyon2 when i want this: 
A HREF=http://www.univ-lyon2.fr/;Universiteacute; Lyon2/A Le site de
Lyon2 Is there a way to fix it and have good looking links?

Thanks

Fabrice



Re: import an Excel spreadsheet?

2002-03-15 Thread Ronny Buchmann

* Herbert Voss [EMAIL PROTECTED] [2002-03-13 07:06] wrote:
 Nirmal Govind wrote:
 
  Hi.. this might sound totally crazy but is there any way to import an 
  Excel spreadsheet into LyX as a table? I guess I can copy and paste it 
  but then I need to keep track of the number of rows and columns etc. I 
  also tried saving the spreadsheet as tab limited and space separated 
  text files and then imported them as ascii lines into LyX but it doesn't 
  work well (the spacing is all distorted). Please let me know if anyone 
  has any ideas.
 
 
 
 there is an exel2latex,
 
 http://www.lyx.org/help/table.php#excel
there actually two makros for this stuff

CTAN:/support/excel2latex (or never version: http://www.jam-software.com/software.html)
and
CTAN:/support/xl2latex (never version only on my hd, but since i dont have excel at 
home i seldom find some time to work on it)
 
 Herbert
 

-- 
ronny



Locating missing labels

2002-03-15 Thread laurent . duperval

Hello,

Is there a way for me to check for missing labels other than going through
the LaTeX log?

Thanks,

L

-- 
Laurent Duperval mailto:[EMAIL PROTECTED]

Why isn't phonetic spelled the way it sounds?





multline environement

2002-03-15 Thread Davide Cavallari

What should I do to use the multline environment? I get an error
message complaining it is an undefined environment.
-- 
A presto,
Davide Cavallari
Work Hard.
Rock Hard.
Eat Hard.
Sleep Hard.
Grow Big.
Wear Glasses If You Need 'Em.
-- The Webb Wilder Credo



root-installable mail-merge software for LyX

2002-03-15 Thread Richard Harris

Dear LyX users,

I have upgraded and unifed the envelope and mail-merge software
that I use everyday with LyX. It is available at:

http://emptydog.com/geekland/gl_lyx.html

and the download is called: LyxDogs

And I am happy to support the use of it and answer any questions.


-- 

Richard Harris

Editor, Words on a Wire
http://woaw-poetry.org

Keeper of the emptydog
http://emptydog.com



Yow! Are we laid back yet?
   [Zippy]



Re: Page breaks for double column

2002-03-15 Thread Peter Rexigel

Am Don, 2002-03-14 um 23.59 schrieb Bob Gamble:
 Hello,
 
 Originally, I had a single column paper using the article document
 layout.  I am required to convert this to a two-column layout.  My
 problem is that, when viewed in .dvi, it shows my table of contents and
 bibliography on the same pages as the text of my research paper, even
 though I have page breaks inserted to separate these parts of my paper.

put \usepackage{multicols} in your praeambel; with \begin{multicols}{2}
in ERT you can switch to the two column-layout.
At the end of your document put an \end{multicols}.


 I also need to start the numbering on the first page of the paper itself,
 not on the table of contents page. Everything else about the article
 layout is great.  Any help appreciated.

put \thispagestyle{empty} in RET on the first page (with the TOC). With
\setcounter{page}{0} in RET you can reset the pagenumber to zero.
Have a look to the short lyx-example-file. There a the commands above a
little bit enhanced with the possibility to change the
columnseparator-width.

I hope this helps
Peter


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\usepackage{multicol}
\newcommand\myColumnSep[1]{%
  \setlength{\columnsep}{#1}}
\newcommand\mymulticols[2]{%
   \myColumnSep{#2}\begin{multicols}{#1}%
   }
\newcommand\multicolsoff{\end{multicols}} 
\end_preamble
\language english
\inputencoding latin1
\fontscheme palatino
\graphics default
\paperfontsize default
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Title

Changing between one + X- column
\latex latex 

\backslash 
thanks{this is a short example}
\layout Abstract
\noindent 
Here a short example of changing between one and twocolumn-layout.
 Have a look to the praeambel.
\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Standard


\latex latex 

\backslash 
thispagestyle{empty}
\backslash 
setcounter{page}{0}
\backslash 
newpage
\layout Standard


\latex latex 

\backslash 
mymulticols{2}{0.5cm}
\layout Section

Columns
\layout Itemize

with 
\family typewriter 

\backslash 
usepackage{multicol} 
\family default 
you are ready to do it;
\layout Itemize

in the text use the command 
\family typewriter 

\backslash 
mymulticols {#number of colums}{#columnseparator-size}
\family default 
 you switch to your new layout.
\layout Itemize

the command
\family typewriter 
 
\backslash 
multicolsoff
\family default 
 resets to the default value.
\layout Section

Changing the Pagenumber
\layout Itemize

with
\family typewriter 
 
\backslash 
thispagestyle{empty}
\family default 
 you get your page with no numbers displayed.
\layout Itemize


\family typewriter 

\backslash 
setcounter{page}{0}
\family default 
 reset the pagecounter to 0.
\layout Standard


\latex latex 

\backslash 
multicolsoff
\layout Standard
\noindent 
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla 
\layout Standard
\align left 
I hope this helps
\layout Standard
\added_space_top 2cm \align left 
Peter
\the_end



Re: Getting Lyx to clip EPS image to bounding box

2002-03-15 Thread Rudolph van der Merwe

Well, I also thought that might work, but it doesn't. When I put the following 
in the preamble:

\renewcommand{\includegraphics}{\includegraphics*}

I get the following Latex compilation error:

  ! TeX capacity exceeded, sorry [input stack size=1500].
  \includegraphics -\includegraphics
  *
  l.280 ...mnwidth}{!}{\includegraphics{ut_fig.eps}}
\par}


R.


Guenter Milde wrote:
 On Thu, 14 Mar 2002 19:42:16 -0800 wrote Rudolph van der Merwe 
[EMAIL PROTECTED]:
 
 
How do I get Lyx to clip an EPS image to its bounding box? I pure Latex this
is 
quite easy, by simply using
\includegraphics*  in place of  \includegraphics . I know that Lyx uses 
\includegraphics internally (its in the
generated Latex source) but how do I get it to use \includegraphics* instead 
from within Lyx?

More generally speaking, how do you pass options/parameters to
includegraphics 
from within Lyx?
 
 
 AFAIK, you cannot.
 
 A workaround would be to have
 
 \renewcommand{\includegraphics}{\*includegraphics}
 
 in your preamble.
 
 Guenter
 
 --
 [EMAIL PROTECTED]
 


-- 
Rudolph van der Merwe  |  http://ece.ogi.edu/~rvdmerwe




Re: Getting Lyx to clip EPS image to bounding box

2002-03-15 Thread Rudolph van der Merwe

It seems the correct way to achieve this is with the following in the preamble:

\let\foobar=\includegraphics
\renewcommand{\includegraphics}[1]{\foobar*{#1}}

Works nicely now!

R.




Rudolph van der Merwe wrote:
 Well, I also thought that might work, but it doesn't. When I put the 
 following in the preamble:
 
 \renewcommand{\includegraphics}{\includegraphics*}
 
 I get the following Latex compilation error:
 
   ! TeX capacity exceeded, sorry [input stack size=1500].
   \includegraphics -\includegraphics
   *
   l.280 ...mnwidth}{!}{\includegraphics{ut_fig.eps}}
 \par}
 
 
 R.
 
 
 Guenter Milde wrote:
 
 On Thu, 14 Mar 2002 19:42:16 -0800 wrote Rudolph van der Merwe 
 [EMAIL PROTECTED]:


 How do I get Lyx to clip an EPS image to its bounding box? I pure 
 Latex this
 is quite easy, by simply using
 \includegraphics*  in place of  \includegraphics . I know that Lyx 
 uses \includegraphics internally (its in the
 generated Latex source) but how do I get it to use \includegraphics* 
 instead from within Lyx?

 More generally speaking, how do you pass options/parameters to
 includegraphics from within Lyx?



 AFAIK, you cannot.

 A workaround would be to have

 \renewcommand{\includegraphics}{\*includegraphics}

 in your preamble.

 Guenter

 -- 
 [EMAIL PROTECTED]

 
 


-- 
Rudolph van der Merwe  |  http://ece.ogi.edu/~rvdmerwe




Re: Getting Lyx to clip EPS image to bounding box

2002-03-15 Thread Dekel Tsur

On Fri, Mar 15, 2002 at 12:51:51AM -0800, Rudolph van der Merwe wrote:
 Well, I also thought that might work, but it doesn't. When I put the following 
 in the preamble:
 
 \renewcommand{\includegraphics}{\includegraphics*}
 
 I get the following Latex compilation error:
 
   ! TeX capacity exceeded, sorry [input stack size=1500].
   \includegraphics -\includegraphics

This doesn't work as you define an endless recursive macro.
Use

\let\oldincludegraphics=\includegraphics
\def\includegraphics{\oldincludegraphics*}



Re: Copy/paste changes language

2002-03-15 Thread Dekel Tsur

On Fri, Mar 15, 2002 at 01:49:29AM +0100, Laszlo E Szabo wrote:
 Hello,
 
 I am editing Hungarian text with LyX 1.1.6fix4. When I select a (Hungarian) 
 text, say one word, and put it to another place (say back to the same place!) 
 with copy/paste or cut/paste the pasted text is underlined as if it were not 
 Hungarian (probably English). It is very inconvenient always to select it 
 again and change language to default (which is Hungarian in this case). Is 
 this a bug in the editor, or I can configure LyX to make copy/paste without 
 changing the language of the selection back to English?
 Does anybody have similar experience?

I can't recreate this.
When I do copy/paste, the language of the text is kept.



Re: Page breaks for double column

2002-03-15 Thread Dekel Tsur

On Thu, Mar 14, 2002 at 03:59:07PM -0700, Bob Gamble wrote:
 Hello,
 
 Originally, I had a single column paper using the article document
 layout.  I am required to convert this to a two-column layout.  My
 problem is that, when viewed in .dvi, it shows my table of contents and
 bibliography on the same pages as the text of my research paper, even
 though I have page breaks inserted to separate these parts of my paper.I

It should work.
Please give a minimal example file.



Re: Page breaks for double column

2002-03-15 Thread Dekel Tsur

On Fri, Mar 15, 2002 at 09:43:39AM +0100, Peter Rexigel wrote:
 Am Don, 2002-03-14 um 23.59 schrieb Bob Gamble:
  Hello,
  
  Originally, I had a single column paper using the article document
  layout.  I am required to convert this to a two-column layout.  My
  problem is that, when viewed in .dvi, it shows my table of contents and
  bibliography on the same pages as the text of my research paper, even
  though I have page breaks inserted to separate these parts of my paper.
 
 put \usepackage{multicols} in your praeambel; with \begin{multicols}{2}
 in ERT you can switch to the two column-layout.
 At the end of your document put an \end{multicols}.

multicols has a very big drawback: it does not support floats.




Re: How to change \paragraph

2002-03-15 Thread Dekel Tsur

On Thu, Mar 14, 2002 at 06:05:53AM +0100, Laszlo E Szabo wrote:
 Could you tell me please how can I change in the preamble (in a book.cls 
 document) the vskip before a new paragraph (I mean \paragraph{} )? I would 
 like to make no skip when I start a new paragraph-section.

\renewcommand\paragraph{\@startsection{paragraph}{4}{\z}%
{0ex}%
{-1em}%
{\normalfont\normalsize\bfseries}}

Perhaps using '0ex \@plus1ex' instead of '0ex' would be better.



Re: Copy/paste changes language

2002-03-15 Thread Juergen Fenn



Laszlo E Szabo schrieb:

 I am editing Hungarian text with LyX 1.1.6fix4. When I select a (Hungarian)
 text, say one word, and put it to another place (say back to the same place!)
 with copy/paste or cut/paste the pasted text is underlined as if it were not
 Hungarian (probably English). It is very inconvenient always to select it
 again and change language to default (which is Hungarian in this case). Is
 this a bug in the editor, or I can configure LyX to make copy/paste without
 changing the language of the selection back to English?
 Does anybody have similar experience?

Yes, me. It is a known bug. I asked for help some months ago already and
it was confirmed on the list, then. :-(

By the way: Does KLyX behave the same?

Juergen.




Re: How to change \paragraph

2002-03-15 Thread Laszlo E Szabo

Dear Dekel,

Thank you! It works.

Laszlo

On 2002. March 15. 12:27, Dekel Tsur wrote:
 On Thu, Mar 14, 2002 at 06:05:53AM +0100, Laszlo E Szabo wrote:
  Could you tell me please how can I change in the preamble (in a book.cls
  document) the vskip before a new paragraph (I mean \paragraph{} )? I
  would like to make no skip when I start a new paragraph-section.

 \renewcommand\paragraph{\@startsection{paragraph}{4}{\z}%
 {0ex}%
 {-1em}%
 {\normalfont\normalsize\bfseries}}

 Perhaps using '0ex \@plus1ex' instead of '0ex' would be better.

-- 

Laszlo E. Szabo
Department of Theoretical Physics
Department of History and Philosophy of Science
Eotvos University, Budapest
H-1518 Budapest, Pf. 32, Hungary
Phone/Fax: (36-1)372-2924
Home: (36-1) 200-7318
Mobil/SMS: (36) 20-366-1172
http://hps.elte.hu/~leszabo



Convert to html with include/input docs

2002-03-15 Thread Fab themroc

Hello.

Using lyx-1.6fix4 on Debian, i've got a problem when i want to
convert a lyx-file with some other include/input lyx-files inside: the
final html-file does not include the files i wanted. This happens both
with hevea and latex2html. What have i done wrong? Having only one
lyx-file is a solution, but is it the only one?

I have another question, wich is more hevea or latex2html oriented: when i
include urls in a document, latex2html does not make a link with them
(only writes the url), and hevea makes a link only with the letter next
the url. 
with hevea 
* [http://www.univ-lyon2.fr/||Université Lyon2] Le
site de Lyon2 
becomes this: 
Universiteacute; Lyon2A HREF=http://www.univ-lyon2.fr/;L/Ae site de
Lyon2 when i want this: 
A HREF=http://www.univ-lyon2.fr/;Universiteacute; Lyon2/A Le site de
Lyon2 Is there a way to fix it and have good looking links?

Thanks

Fabrice



Re: Copy/paste changes language

2002-03-15 Thread Jean-Marc Lasgouttes

 Laszlo == Laszlo E Szabo [EMAIL PROTECTED] writes:

Laszlo Dear Juergen, Klyx knows much less then the last version of
Laszlo LyX, that's why I don't want to change for that. But even my
Laszlo LyX 1.1.6fix4 does not produce this problem with all files. If
Laszlo I create a new Hungarian text, it works correctly. I have a
Laszlo long book, however, and that file produces this problem. I
Laszlo tried to change the language of the whole text, also made a
Laszlo copy paste into a newly created Hungarian file, but the the
Laszlo problem remained the same.

But you did set language to bulgarian in LayoutDocument?

JMarc



small formulas

2002-03-15 Thread Davide Cavallari

When I need multi-line equation I  create a matrix. Sometimes the formulad
are very small  and the lines are very  close. Is there a way  to get more
spacing and a bigger result?
-- 
Cheers,
Davide Cavallari
Legge del Lavoro Accurato:
Quando si lavora alla soluzione di un problema, fa sempre comodo
sapere la risposta.



Re: Copy/paste changes language

2002-03-15 Thread Laszlo E Szabo

Dear JMarc and Juergen,

[First, I didn't set language to Bulgarian, of course, because the text is 
Hungarian:) ]
I made the following observation. Here is a little lyx-file:


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\language magyar
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

Els\i \H{o}
 közelítésben valóban úgy t\i \H{u}
nik, ha ez a kontrafaktuális mondat igaz,
 akkor a virágok elhervadásának oka Mari nem-locsolása.
 Úgy értjük, sok minden más mellett, ez egy releváns kauzális faktor.
 A helyzet azonban ett\i \H{o}
l bonyolultabb, hiszen nyilván igaz a következ\i \H{o}
 mondat
 is:
\begin_inset Quotes pld
\end_inset

Ha George Buch locsolta volna a virágaimat, akkor nem hervadtak volna el.
\begin_inset Quotes prd
\end_inset 


\begin_float footnote
\layout Standard

A találó példa Jaegwon Kimt\i \H{o}
l származik.
\end_float 
 Mégsem gondolnánk, hogy virágaim elhervadásának oka az egyesült államok
 elnökének nem-locsolása.
 Mégcsak azt sem gondoljuk, hogy az elnök nem-locsolása egyike a releváns
 kauzális faktoroknak.

\the_end


1) Now, open it with LyX 1.1.6fix4. Keep the foot closed. Then copy a word 
from anywher in the text. If you paste it before the foot, then it is OK. 
Paste it after the foot, the problem appears. It changes the language of 
the word back to English. 
2) Now open the foot-box by clicking it. Then the problem disappears!
3) You can change the language of the text anything different from English (I 
tried German, Italian), the problem is the same.
4) Delete foot: The problem disappears.

I hope this observation helps to figure out this little bug.

Best wishes,
Laszlo


On 2002. March 15. 16:59, Jean-Marc Lasgouttes wrote:
  Laszlo == Laszlo E Szabo [EMAIL PROTECTED] writes:

 Laszlo Dear Juergen, Klyx knows much less then the last version of
 Laszlo LyX, that's why I don't want to change for that. But even my
 Laszlo LyX 1.1.6fix4 does not produce this problem with all files. If
 Laszlo I create a new Hungarian text, it works correctly. I have a
 Laszlo long book, however, and that file produces this problem. I
 Laszlo tried to change the language of the whole text, also made a
 Laszlo copy paste into a newly created Hungarian file, but the the
 Laszlo problem remained the same.

 But you did set language to bulgarian in LayoutDocument?

 JMarc

-- 

Laszlo E. Szabo
Department of Theoretical Physics
Department of History and Philosophy of Science
Eotvos University, Budapest
H-1518 Budapest, Pf. 32, Hungary
Phone/Fax: (36-1)372-2924
Home: (36-1) 200-7318
Mobil/SMS: (36) 20-366-1172
http://hps.elte.hu/~leszabo



Re: Copy/paste changes language

2002-03-15 Thread Jean-Marc Lasgouttes

 Laszlo == Laszlo E Szabo [EMAIL PROTECTED] writes:

Laszlo [First, I didn't set language to
Laszlo Bulgarian, of course, because the text is Hungarian:) ] 

OK, time for me to go home and rest. Note that in the unlikely event
that you would like to use bulgarian, I have added support for it in
cvs this week...

JMarc



Visite o site Buscacompra

2002-03-15 Thread contato










 

O Buscacompra veio 
para ser a principal referência para quem busca encontrar os melhores preços, 
produtos e informações sobre: Cinema, Teatro, Shows, Supermercado, Bancos, 
Imobiliária, Concessionária de Automóvel, Auto Peças, Magazines, Financeiras, 
Material de Construção, Lazer, Saúde, Lojas de Informática, Indústria, Turismo, 
Farmácias e outros.NOTA: Faça pesquisa ou acesse qualquer outro site 
através do www.buscacompra.com.br, é mais 
rápido e eficiente.
Esta é uma empresa 100% 
nacional. Valorize o que é nosso.
ATENÇÃO: NÃO 
ACEITE IMITAÇÕES
www.buscacompra.com.br




brasil.gif
Description: GIF image


Re: Copy/paste changes language

2002-03-15 Thread Laszlo E Szabo




 Note that in the unlikely event
 that you would like to use Bulgarian, I have added support for it in
 cvs this week...

 JMarc

Well, I have very nice memories of the Bulgarian seeside ... but 
unfortunately I don't speak the language. Anyhow, thank you, and 
congratulations!

One more info about the copy/paste problem: I checked on Klyx 0.9.9. It works 
correctly.

Best,
Laszlo


-- 

Laszlo E. Szabo
Department of Theoretical Physics
Department of History and Philosophy of Science
Eotvos University, Budapest
H-1518 Budapest, Pf. 32, Hungary
Phone/Fax: (36-1)372-2924
Home: (36-1) 200-7318
Mobil/SMS: (36) 20-366-1172
http://hps.elte.hu/~leszabo



html conversion and included documents

2002-03-15 Thread Fab themroc


Hello.

Using lyx-1.6fix4 on Debian, i've got a problem when i want to
convert a lyx-file with some other include/input lyx-files inside: the
final html-file does not include the files i wanted. This happens both
with hevea and latex2html. What have i done wrong? Having only one
lyx-file is a solution, but is it the only one?

I have another question, wich is more hevea or latex2html oriented: when i
include urls in a document, latex2html does not make a link with them
(only writes the url), and hevea makes a link only with the letter next
the url. 
with hevea 
* [http://www.univ-lyon2.fr/||Université Lyon2] Le
site de Lyon2 
becomes this: 
Universiteacute; Lyon2A HREF=http://www.univ-lyon2.fr/;L/Ae site de
Lyon2 when i want this: 
A HREF=http://www.univ-lyon2.fr/;Universiteacute; Lyon2/A Le site de
Lyon2 Is there a way to fix it and have good looking links?

Thanks

Fabrice



Re: import an Excel spreadsheet?

2002-03-15 Thread Ronny Buchmann

* Herbert Voss [EMAIL PROTECTED] [2002-03-13 07:06] wrote:
 Nirmal Govind wrote:
 
  Hi.. this might sound totally crazy but is there any way to import an 
  Excel spreadsheet into LyX as a table? I guess I can copy and paste it 
  but then I need to keep track of the number of rows and columns etc. I 
  also tried saving the spreadsheet as tab limited and space separated 
  text files and then imported them as ascii lines into LyX but it doesn't 
  work well (the spacing is all distorted). Please let me know if anyone 
  has any ideas.
 
 
 
 there is an exel2latex,
 
 http://www.lyx.org/help/table.php#excel
there actually two makros for this stuff

CTAN:/support/excel2latex (or never version: http://www.jam-software.com/software.html)
and
CTAN:/support/xl2latex (never version only on my hd, but since i dont have excel at 
home i seldom find some time to work on it)
 
 Herbert
 

-- 
ronny



Locating missing labels

2002-03-15 Thread laurent . duperval

Hello,

Is there a way for me to check for missing labels other than going through
the LaTeX log?

Thanks,

L

-- 
Laurent Duperval mailto:[EMAIL PROTECTED]

Why isn't phonetic spelled the way it sounds?





multline environement

2002-03-15 Thread Davide Cavallari

What should I do to use the multline environment? I get an error
message complaining it is an undefined environment.
-- 
A presto,
Davide Cavallari
Work Hard.
Rock Hard.
Eat Hard.
Sleep Hard.
Grow Big.
Wear Glasses If You Need 'Em.
-- The Webb Wilder Credo



root-installable mail-merge software for LyX

2002-03-15 Thread Richard Harris

Dear LyX users,

I have upgraded and unifed the envelope and mail-merge software
that I use everyday with LyX. It is available at:

http://emptydog.com/geekland/gl_lyx.html

and the download is called: LyxDogs

And I am happy to support the use of it and answer any questions.


-- 

Richard Harris

Editor, Words on a Wire
http://woaw-poetry.org

Keeper of the emptydog
http://emptydog.com



Yow! Are we laid back yet?
   [Zippy]



Re: Page breaks for double column

2002-03-15 Thread Peter Rexigel

Am Don, 2002-03-14 um 23.59 schrieb Bob Gamble:
> Hello,
> 
> Originally, I had a single column paper using the article document
> layout.  I am required to convert this to a two-column layout.  My
> problem is that, when viewed in .dvi, it shows my table of contents and
> bibliography on the same pages as the text of my research paper, even
> though I have page breaks inserted to separate these parts of my paper.

put \usepackage{multicols} in your praeambel; with \begin{multicols}{2}
in ERT you can switch to the two column-layout.
At the end of your document put an \end{multicols}.


> I also need to start the numbering on the first page of the paper itself,
> not on the table of contents page. Everything else about the article
> layout is great.  Any help appreciated.

put \thispagestyle{empty} in RET on the first page (with the TOC). With
\setcounter{page}{0} in RET you can reset the pagenumber to zero.
Have a look to the short lyx-example-file. There a the commands above a
little bit enhanced with the possibility to change the
columnseparator-width.

I hope this helps
Peter


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\usepackage{multicol}
\newcommand\myColumnSep[1]{%
  \setlength{\columnsep}{#1}}
\newcommand\mymulticols[2]{%
   \myColumnSep{#2}\begin{multicols}{#1}%
   }
\newcommand\multicolsoff{\end{multicols}} 
\end_preamble
\language english
\inputencoding latin1
\fontscheme palatino
\graphics default
\paperfontsize default
\spacing single 
\papersize a4paper
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Title

Changing between one + X- column
\latex latex 

\backslash 
thanks{this is a short example}
\layout Abstract
\noindent 
Here a short example of changing between one and twocolumn-layout.
 Have a look to the praeambel.
\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Standard


\latex latex 

\backslash 
thispagestyle{empty}
\backslash 
setcounter{page}{0}
\backslash 
newpage
\layout Standard


\latex latex 

\backslash 
mymulticols{2}{0.5cm}
\layout Section

Columns
\layout Itemize

with 
\family typewriter 

\backslash 
usepackage{multicol} 
\family default 
you are ready to do it;
\layout Itemize

in the text use the command 
\family typewriter 

\backslash 
mymulticols {#number of colums}{#columnseparator-size}
\family default 
 you switch to your new layout.
\layout Itemize

the command
\family typewriter 
 
\backslash 
multicolsoff
\family default 
 resets to the default value.
\layout Section

Changing the Pagenumber
\layout Itemize

with
\family typewriter 
 
\backslash 
thispagestyle{empty}
\family default 
 you get your page with no numbers displayed.
\layout Itemize


\family typewriter 

\backslash 
setcounter{page}{0}
\family default 
 reset the pagecounter to 0.
\layout Standard


\latex latex 

\backslash 
multicolsoff
\layout Standard
\noindent 
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
 bla bla bla 
\layout Standard
\align left 
I hope this helps
\layout Standard
\added_space_top 2cm \align left 
Peter
\the_end



Re: Getting Lyx to clip EPS image to bounding box

2002-03-15 Thread Rudolph van der Merwe

Well, I also thought that might work, but it doesn't. When I put the following 
in the preamble:

\renewcommand{\includegraphics}{\includegraphics*}

I get the following Latex compilation error:

 > ! TeX capacity exceeded, sorry [input stack size=1500].
 > \includegraphics ->\includegraphics
 > *
 > l.280 ...mnwidth}{!}{\includegraphics{ut_fig.eps}}
 >   \par}


R.


Guenter Milde wrote:
> On Thu, 14 Mar 2002 19:42:16 -0800 wrote Rudolph van der Merwe 
><[EMAIL PROTECTED]>:
> 
> 
>>How do I get Lyx to clip an EPS image to its bounding box? I pure Latex this
>>is 
>>quite easy, by simply using
>>\includegraphics*  in place of  \includegraphics . I know that Lyx uses 
>>\includegraphics internally (its in the
>>generated Latex source) but how do I get it to use \includegraphics* instead 
>>from within Lyx?
>>
>>More generally speaking, how do you pass options/parameters to
>>includegraphics 
>>from within Lyx?
> 
> 
> AFAIK, you cannot.
> 
> A workaround would be to have
> 
> \renewcommand{\includegraphics}{\*includegraphics}
> 
> in your preamble.
> 
> Guenter
> 
> --
> [EMAIL PROTECTED]
> 


-- 
Rudolph van der Merwe  |  http://ece.ogi.edu/~rvdmerwe




Re: Getting Lyx to clip EPS image to bounding box

2002-03-15 Thread Rudolph van der Merwe

It seems the correct way to achieve this is with the following in the preamble:

\let\foobar=\includegraphics
\renewcommand{\includegraphics}[1]{\foobar*{#1}}

Works nicely now!

R.




Rudolph van der Merwe wrote:
> Well, I also thought that might work, but it doesn't. When I put the 
> following in the preamble:
> 
> \renewcommand{\includegraphics}{\includegraphics*}
> 
> I get the following Latex compilation error:
> 
>  > ! TeX capacity exceeded, sorry [input stack size=1500].
>  > \includegraphics ->\includegraphics
>  > *
>  > l.280 ...mnwidth}{!}{\includegraphics{ut_fig.eps}}
>  >   \par}
> 
> 
> R.
> 
> 
> Guenter Milde wrote:
> 
>> On Thu, 14 Mar 2002 19:42:16 -0800 wrote Rudolph van der Merwe 
>> <[EMAIL PROTECTED]>:
>>
>>
>>> How do I get Lyx to clip an EPS image to its bounding box? I pure 
>>> Latex this
>>> is quite easy, by simply using
>>> \includegraphics*  in place of  \includegraphics . I know that Lyx 
>>> uses \includegraphics internally (its in the
>>> generated Latex source) but how do I get it to use \includegraphics* 
>>> instead from within Lyx?
>>>
>>> More generally speaking, how do you pass options/parameters to
>>> includegraphics from within Lyx?
>>
>>
>>
>> AFAIK, you cannot.
>>
>> A workaround would be to have
>>
>> \renewcommand{\includegraphics}{\*includegraphics}
>>
>> in your preamble.
>>
>> Guenter
>>
>> -- 
>> [EMAIL PROTECTED]
>>
> 
> 


-- 
Rudolph van der Merwe  |  http://ece.ogi.edu/~rvdmerwe




Re: Getting Lyx to clip EPS image to bounding box

2002-03-15 Thread Dekel Tsur

On Fri, Mar 15, 2002 at 12:51:51AM -0800, Rudolph van der Merwe wrote:
> Well, I also thought that might work, but it doesn't. When I put the following 
> in the preamble:
> 
> \renewcommand{\includegraphics}{\includegraphics*}
> 
> I get the following Latex compilation error:
> 
>  > ! TeX capacity exceeded, sorry [input stack size=1500].
>  > \includegraphics ->\includegraphics

This doesn't work as you define an endless recursive macro.
Use

\let\oldincludegraphics=\includegraphics
\def\includegraphics{\oldincludegraphics*}



Re: Copy/paste changes language

2002-03-15 Thread Dekel Tsur

On Fri, Mar 15, 2002 at 01:49:29AM +0100, Laszlo E Szabo wrote:
> Hello,
> 
> I am editing Hungarian text with LyX 1.1.6fix4. When I select a (Hungarian) 
> text, say one word, and put it to another place (say back to the same place!) 
> with copy/paste or cut/paste the pasted text is underlined as if it were not 
> Hungarian (probably English). It is very inconvenient always to select it 
> again and change language to "default" (which is Hungarian in this case). Is 
> this a bug in the editor, or I can configure LyX to make copy/paste without 
> changing the language of the selection back to English?
> Does anybody have similar experience?

I can't recreate this.
When I do copy/paste, the language of the text is kept.



Re: Page breaks for double column

2002-03-15 Thread Dekel Tsur

On Thu, Mar 14, 2002 at 03:59:07PM -0700, Bob Gamble wrote:
> Hello,
> 
> Originally, I had a single column paper using the article document
> layout.  I am required to convert this to a two-column layout.  My
> problem is that, when viewed in .dvi, it shows my table of contents and
> bibliography on the same pages as the text of my research paper, even
> though I have page breaks inserted to separate these parts of my paper.I

It should work.
Please give a minimal example file.



Re: Page breaks for double column

2002-03-15 Thread Dekel Tsur

On Fri, Mar 15, 2002 at 09:43:39AM +0100, Peter Rexigel wrote:
> Am Don, 2002-03-14 um 23.59 schrieb Bob Gamble:
> > Hello,
> > 
> > Originally, I had a single column paper using the article document
> > layout.  I am required to convert this to a two-column layout.  My
> > problem is that, when viewed in .dvi, it shows my table of contents and
> > bibliography on the same pages as the text of my research paper, even
> > though I have page breaks inserted to separate these parts of my paper.
> 
> put \usepackage{multicols} in your praeambel; with \begin{multicols}{2}
> in ERT you can switch to the two column-layout.
> At the end of your document put an \end{multicols}.

multicols has a very big drawback: it does not support floats.




Re: How to change \paragraph

2002-03-15 Thread Dekel Tsur

On Thu, Mar 14, 2002 at 06:05:53AM +0100, Laszlo E Szabo wrote:
> Could you tell me please how can I change in the preamble (in a book.cls 
> document) the vskip before a new paragraph (I mean \paragraph{} )? I would 
> like to make no skip when I start a new paragraph-section.

\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
{0ex}%
{-1em}%
{\normalfont\normalsize\bfseries}}

Perhaps using '0ex \@plus1ex' instead of '0ex' would be better.



Re: Copy/paste changes language

2002-03-15 Thread Juergen Fenn



Laszlo E Szabo schrieb:

> I am editing Hungarian text with LyX 1.1.6fix4. When I select a (Hungarian)
> text, say one word, and put it to another place (say back to the same place!)
> with copy/paste or cut/paste the pasted text is underlined as if it were not
> Hungarian (probably English). It is very inconvenient always to select it
> again and change language to "default" (which is Hungarian in this case). Is
> this a bug in the editor, or I can configure LyX to make copy/paste without
> changing the language of the selection back to English?
> Does anybody have similar experience?

Yes, me. It is a known bug. I asked for help some months ago already and
it was confirmed on the list, then. :-(

By the way: Does KLyX behave the same?

Juergen.




Re: How to change \paragraph

2002-03-15 Thread Laszlo E Szabo

Dear Dekel,

Thank you! It works.

Laszlo

On 2002. March 15. 12:27, Dekel Tsur wrote:
> On Thu, Mar 14, 2002 at 06:05:53AM +0100, Laszlo E Szabo wrote:
> > Could you tell me please how can I change in the preamble (in a book.cls
> > document) the vskip before a new paragraph (I mean \paragraph{} )? I
> > would like to make no skip when I start a new paragraph-section.
>
> \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
> {0ex}%
> {-1em}%
> {\normalfont\normalsize\bfseries}}
>
> Perhaps using '0ex \@plus1ex' instead of '0ex' would be better.

-- 

Laszlo E. Szabo
Department of Theoretical Physics
Department of History and Philosophy of Science
Eotvos University, Budapest
H-1518 Budapest, Pf. 32, Hungary
Phone/Fax: (36-1)372-2924
Home: (36-1) 200-7318
Mobil/SMS: (36) 20-366-1172
http://hps.elte.hu/~leszabo



Convert to html with include/input docs

2002-03-15 Thread Fab themroc

Hello.

Using lyx-1.6fix4 on Debian, i've got a problem when i want to
convert a lyx-file with some other include/input lyx-files inside: the
final html-file does not include the files i wanted. This happens both
with hevea and latex2html. What have i done wrong? Having only one
lyx-file is a solution, but is it the only one?

I have another question, wich is more hevea or latex2html oriented: when i
include urls in a document, latex2html does not make a link with them
(only writes the url), and hevea makes a link only with the letter next
the url. 
with hevea 
* [http://www.univ-lyon2.fr/||Université Lyon2] Le
site de Lyon2 
becomes this: 
Universit Lyon2http://www.univ-lyon2.fr/;>Le site de
Lyon2 when i want this: 
http://www.univ-lyon2.fr/;>Universit Lyon2 Le site de
Lyon2 Is there a way to fix it and have good looking links?

Thanks

Fabrice



Re: Copy/paste changes language

2002-03-15 Thread Jean-Marc Lasgouttes

> "Laszlo" == Laszlo E Szabo <[EMAIL PROTECTED]> writes:

Laszlo> Dear Juergen, Klyx knows much less then the last version of
Laszlo> LyX, that's why I don't want to change for that. But even my
Laszlo> LyX 1.1.6fix4 does not produce this problem with all files. If
Laszlo> I create a new Hungarian text, it works correctly. I have a
Laszlo> long book, however, and that file produces this problem. I
Laszlo> tried to change the language of the whole text, also made a
Laszlo> copy paste into a newly created Hungarian file, but the the
Laszlo> problem remained the same.

But you did set language to bulgarian in Layout>Document?

JMarc



small formulas

2002-03-15 Thread Davide Cavallari

When I need multi-line equation I  create a matrix. Sometimes the formulad
are very small  and the lines are very  close. Is there a way  to get more
spacing and a bigger result?
-- 
Cheers,
Davide Cavallari
Legge del Lavoro Accurato:
Quando si lavora alla soluzione di un problema, fa sempre comodo
sapere la risposta.



Re: Copy/paste changes language

2002-03-15 Thread Laszlo E Szabo

Dear JMarc and Juergen,

[First, I didn't set language to Bulgarian, of course, because the text is 
Hungarian:) ]
I made the following observation. Here is a little lyx-file:


#LyX 1.1 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\language magyar
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard

Els\i \H{o}
 közelítésben valóban úgy t\i \H{u}
nik, ha ez a kontrafaktuális mondat igaz,
 akkor a virágok elhervadásának oka Mari nem-locsolása.
 Úgy értjük, sok minden más mellett, ez egy releváns kauzális faktor.
 A helyzet azonban ett\i \H{o}
l bonyolultabb, hiszen nyilván igaz a következ\i \H{o}
 mondat
 is:
\begin_inset Quotes pld
\end_inset

Ha George Buch locsolta volna a virágaimat, akkor nem hervadtak volna el.
\begin_inset Quotes prd
\end_inset 


\begin_float footnote
\layout Standard

A találó példa Jaegwon Kimt\i \H{o}
l származik.
\end_float 
 Mégsem gondolnánk, hogy virágaim elhervadásának oka az egyesült államok
 elnökének nem-locsolása.
 Mégcsak azt sem gondoljuk, hogy az elnök nem-locsolása egyike a releváns
 kauzális faktoroknak.

\the_end


1) Now, open it with LyX 1.1.6fix4. Keep the "foot" closed. Then copy a word 
from anywher in the text. If you paste it before the "foot", then it is OK. 
Paste it after the "foot", the problem appears. It changes the language of 
the word back to English. 
2) Now open the "foot"-box by clicking it. Then the problem disappears!
3) You can change the language of the text anything different from English (I 
tried German, Italian), the problem is the same.
4) Delete "foot": The problem disappears.

I hope this observation helps to figure out this little bug.

Best wishes,
Laszlo


On 2002. March 15. 16:59, Jean-Marc Lasgouttes wrote:
> > "Laszlo" == Laszlo E Szabo <[EMAIL PROTECTED]> writes:
>
> Laszlo> Dear Juergen, Klyx knows much less then the last version of
> Laszlo> LyX, that's why I don't want to change for that. But even my
> Laszlo> LyX 1.1.6fix4 does not produce this problem with all files. If
> Laszlo> I create a new Hungarian text, it works correctly. I have a
> Laszlo> long book, however, and that file produces this problem. I
> Laszlo> tried to change the language of the whole text, also made a
> Laszlo> copy paste into a newly created Hungarian file, but the the
> Laszlo> problem remained the same.
>
> But you did set language to bulgarian in Layout>Document?
>
> JMarc

-- 

Laszlo E. Szabo
Department of Theoretical Physics
Department of History and Philosophy of Science
Eotvos University, Budapest
H-1518 Budapest, Pf. 32, Hungary
Phone/Fax: (36-1)372-2924
Home: (36-1) 200-7318
Mobil/SMS: (36) 20-366-1172
http://hps.elte.hu/~leszabo



Re: Copy/paste changes language

2002-03-15 Thread Jean-Marc Lasgouttes

> "Laszlo" == Laszlo E Szabo <[EMAIL PROTECTED]> writes:

Laszlo> [First, I didn't set language to
Laszlo> Bulgarian, of course, because the text is Hungarian:) ] 

OK, time for me to go home and rest. Note that in the unlikely event
that you would like to use bulgarian, I have added support for it in
cvs this week...

JMarc



Visite o site Buscacompra

2002-03-15 Thread contato



 






 

O Buscacompra veio 
para ser a principal referência para quem busca encontrar os melhores preços, 
produtos e informações sobre: Cinema, Teatro, Shows, Supermercado, Bancos, 
Imobiliária, Concessionária de Automóvel, Auto Peças, Magazines, Financeiras, 
Material de Construção, Lazer, Saúde, Lojas de Informática, Indústria, Turismo, 
Farmácias e outros.NOTA: Faça pesquisa ou acesse qualquer outro site 
através do www.buscacompra.com.br, é mais 
rápido e eficiente.
Esta é uma empresa 100% 
nacional. Valorize o que é nosso.
ATENÇÃO: NÃO 
ACEITE IMITAÇÕES
www.buscacompra.com.br




brasil.gif
Description: GIF image


Re: Copy/paste changes language

2002-03-15 Thread Laszlo E Szabo




> Note that in the unlikely event
> that you would like to use Bulgarian, I have added support for it in
> cvs this week...
>
> JMarc

Well, I have very nice memories of the Bulgarian seeside ... but 
unfortunately I don't speak the language. Anyhow, thank you, and 
congratulations!

One more info about the copy/paste problem: I checked on Klyx 0.9.9. It works 
correctly.

Best,
Laszlo


-- 

Laszlo E. Szabo
Department of Theoretical Physics
Department of History and Philosophy of Science
Eotvos University, Budapest
H-1518 Budapest, Pf. 32, Hungary
Phone/Fax: (36-1)372-2924
Home: (36-1) 200-7318
Mobil/SMS: (36) 20-366-1172
http://hps.elte.hu/~leszabo



html conversion and included documents

2002-03-15 Thread Fab themroc


Hello.

Using lyx-1.6fix4 on Debian, i've got a problem when i want to
convert a lyx-file with some other include/input lyx-files inside: the
final html-file does not include the files i wanted. This happens both
with hevea and latex2html. What have i done wrong? Having only one
lyx-file is a solution, but is it the only one?

I have another question, wich is more hevea or latex2html oriented: when i
include urls in a document, latex2html does not make a link with them
(only writes the url), and hevea makes a link only with the letter next
the url. 
with hevea 
* [http://www.univ-lyon2.fr/||Université Lyon2] Le
site de Lyon2 
becomes this: 
Universit Lyon2http://www.univ-lyon2.fr/;>Le site de
Lyon2 when i want this: 
http://www.univ-lyon2.fr/;>Universit Lyon2 Le site de
Lyon2 Is there a way to fix it and have good looking links?

Thanks

Fabrice



Re: import an Excel spreadsheet?

2002-03-15 Thread Ronny Buchmann

* Herbert Voss <[EMAIL PROTECTED]> [2002-03-13 07:06] wrote:
> Nirmal Govind wrote:
> 
> > Hi.. this might sound totally crazy but is there any way to import an 
> > Excel spreadsheet into LyX as a table? I guess I can copy and paste it 
> > but then I need to keep track of the number of rows and columns etc. I 
> > also tried saving the spreadsheet as tab limited and space separated 
> > text files and then imported them as ascii lines into LyX but it doesn't 
> > work well (the spacing is all distorted). Please let me know if anyone 
> > has any ideas.
> 
> 
> 
> there is an exel2latex,
> 
> http://www.lyx.org/help/table.php#excel
there actually two makros for this stuff

CTAN:/support/excel2latex (or never version: http://www.jam-software.com/software.html)
and
CTAN:/support/xl2latex (never version only on my hd, but since i dont have excel at 
home i seldom find some time to work on it)
> 
> Herbert
> 

-- 
ronny



Locating missing labels

2002-03-15 Thread laurent . duperval

Hello,

Is there a way for me to check for missing labels other than going through
the LaTeX log?

Thanks,

L

-- 
Laurent Duperval 

Why isn't phonetic spelled the way it sounds?





multline environement

2002-03-15 Thread Davide Cavallari

What should I do to use the multline environment? I get an error
message complaining it is an undefined environment.
-- 
A presto,
Davide Cavallari
Work Hard.
Rock Hard.
Eat Hard.
Sleep Hard.
Grow Big.
Wear Glasses If You Need 'Em.
-- The Webb Wilder Credo



root-installable mail-merge software for LyX

2002-03-15 Thread Richard Harris

Dear LyX users,

I have upgraded and unifed the envelope and mail-merge software
that I use everyday with LyX. It is available at:

http://emptydog.com/geekland/gl_lyx.html

and the download is called: LyxDogs

And I am happy to support the use of it and answer any questions.


-- 

Richard Harris

Editor, Words on a Wire
http://woaw-poetry.org

Keeper of the emptydog
http://emptydog.com



Yow! Are we laid back yet?
   [Zippy]