How to make table/figure not to span columns?

2009-06-15 Thread 李猛
Hey,all.
I use package{multicol} to make part of my document into two columns, such
as:
\begin{multicols}{2}
paragraph  in 2 columns
\end{multicols}

However, all of tables and figures within the part of document will only
appear to be normal in the output pdf when setting the table/figure 'span
columns'. I don't need all of them to span columns. How to fix this? Btw, I
use the article(Elsevier) calss.

Thanks a lot!
-- 
albert


Re: [LyX] make LyX save .pdf where I want?

2009-06-15 Thread Vincent van Ravesteijn

Florian Rubach schreef:

Murray Eisenberg schrieb:

This is manifestly not so!

I open E:\Temp\example2.lyx in LyX. Then I click the View DVI button 
to view in Yap, and the View PDF button to view in Acrobat Reader. 
Neither example2.dvi nor example2.pdf is in E:\Temp, either while I 
am viewing those files or after I close Yap or Acrobat Reader.
Well, if you pressed file>export>DVI/PDF instead of using the" view" 
Buttons, then example2.* would have been where you expected, next to 
your example2.lyx. The "view" Buttons always create temporary files. 
But I'm not sure why your temporary PDF is located in another 
directory as your temporary DVI.
Indeed, I was explicitly speaking about exporting the files, not viewing 
them.


Vincent


Re: IEEEtrans.sty different outputs for LyX 1.5 and 1.6

2009-06-15 Thread Hauser Helmut

Sorry the amount of data was too much.
Here are links for the files:

1.5 LyX:
http://tinyurl.com/mobxoy
1.5 pdf:
http://tinyurl.com/nr7fkm
=
1.6 LyX:
http://tinyurl.com/lvhcmb
1.6 pdf:
http://tinyurl.com/nxb925

- helmut

Hauser Helmut wrote:

Hello Uwe,

Thanks for your response. I have attached the two lyx files and the 
two resulting pdf files.
The version 1.6 lyx file I got by exporting the 1.5 lyx file to plain 
LaTeX (attached too) and importing it later

with Lyx 1.6.


In the pdfs you can see clearly the the side margin is different and 
the letters are bigger and even the line spacing.


Thank you for your help,
helmut

PS: Lyx 1.6 is actually 1.6.3 and 1.5 is 1.5.2.
PSS: Here the --version output for the two LyX version
==
LyX 1.5.2 (Fri, Oct 5, 2007)
Built on Oct  8 2007, 09:34:57
Configuration
 Host type:x86_64-unknown-linux-gnu
 Special build flags:  aiksaurus pch  use-aspell use-ispell
 C   Compiler: gcc
 C   Compiler LyX flags:
 C   Compiler flags: -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic

 C++ Compiler: g++ (4.1.2)
 C++ Compiler LyX flags:
 C++ Compiler flags: -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic

 Linker flags:
 Linker user flags:
 Qt 4 Frontend:
 Qt 4 version: 4.3.2
 Packaging:posix
 LyX binary dir:   /usr/bin
 LyX files dir:/usr/share/lyx


LyX 1.6.3 (2009-06-03)
Built on Jun 10 2009, 15:21:26
Configuration
 Host type:x86_64-redhat-linux-gnu
 Special build flags:  aiksaurus  use-aspell use-ispell
 C   Compiler: gcc
 C   Compiler LyX flags:
 C   Compiler flags:-O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic

 C++ Compiler: g++ (4.1.2)
 C++ Compiler LyX flags:
 C++ Compiler flags:-O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic

 Linker flags:
 Linker user flags:
 Qt 4 Frontend:
 Qt 4 version: 4.3.2
 Packaging:posix
 LyX binary dir:   /usr/bin
 LyX files dir:/usr/share/lyx

Uwe Stöhr wrote:

Hauser Helmut schrieb:

My problem is that when I make a pdf using the IEEEtrans.sty  in LYX 
1.5 and a pdf of the "same" document (exporting it from 1.5 => plain 
LaTeX => import to 1.6) in LyX (1.6.0 as well in 1.6.3) it has 
different margins and letter sizes.


Can you please provide a small example LyX file to be able to 
reproduce the problem?


thanks and regards
Uwe






--

Helmut Hauser
Institute for Theoretical Computer Sciences
Technische Universitaet Graz
Inffeldgasse 16b, I
A-8010 Graz, Austria
---
helmut.hau...@igi.tugraz.at
Tel: + 43 316 873-5821
Fax: + 43 316 873-5805
http://www.igi.TUGraz.at/helmut/





Re: IEEEtrans.sty different outputs for LyX 1.5 and 1.6

2009-06-15 Thread Hauser Helmut

Somehow it did not work out. Here are the correct links:

Lyx 1.5:
http://tinyurl.com/nylqsf
pdf 1.5:
http://tinyurl.com/nr7fkm

TeX -file:
http://tinyurl.com/nstdz3

LyX 1.6:
http://tinyurl.com/nlv2u7
pdf 1.6:
http://tinyurl.com/ktlejb

Hope it works now.

- Helmut*
*
Hauser Helmut wrote:

Sorry the amount of data was too much.
Here are links for the files:

1.5 LyX:
http://tinyurl.com/mobxoy
1.5 pdf:
http://tinyurl.com/nr7fkm
=
1.6 LyX:
http://tinyurl.com/lvhcmb
1.6 pdf:
http://tinyurl.com/nxb925

- helmut

Hauser Helmut wrote:

Hello Uwe,

Thanks for your response. I have attached the two lyx files and the 
two resulting pdf files.
The version 1.6 lyx file I got by exporting the 1.5 lyx file to plain 
LaTeX (attached too) and importing it later

with Lyx 1.6.


In the pdfs you can see clearly the the side margin is different and 
the letters are bigger and even the line spacing.


Thank you for your help,
helmut

PS: Lyx 1.6 is actually 1.6.3 and 1.5 is 1.5.2.
PSS: Here the --version output for the two LyX version
==
LyX 1.5.2 (Fri, Oct 5, 2007)
Built on Oct  8 2007, 09:34:57
Configuration
 Host type:x86_64-unknown-linux-gnu
 Special build flags:  aiksaurus pch  use-aspell use-ispell
 C   Compiler: gcc
 C   Compiler LyX flags:
 C   Compiler flags: -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic

 C++ Compiler: g++ (4.1.2)
 C++ Compiler LyX flags:
 C++ Compiler flags: -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic

 Linker flags:
 Linker user flags:
 Qt 4 Frontend:
 Qt 4 version: 4.3.2
 Packaging:posix
 LyX binary dir:   /usr/bin
 LyX files dir:/usr/share/lyx


LyX 1.6.3 (2009-06-03)
Built on Jun 10 2009, 15:21:26
Configuration
 Host type:x86_64-redhat-linux-gnu
 Special build flags:  aiksaurus  use-aspell use-ispell
 C   Compiler: gcc
 C   Compiler LyX flags:
 C   Compiler flags:-O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic

 C++ Compiler: g++ (4.1.2)
 C++ Compiler LyX flags:
 C++ Compiler flags:-O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic

 Linker flags:
 Linker user flags:
 Qt 4 Frontend:
 Qt 4 version: 4.3.2
 Packaging:posix
 LyX binary dir:   /usr/bin
 LyX files dir:/usr/share/lyx

Uwe Stöhr wrote:

Hauser Helmut schrieb:

My problem is that when I make a pdf using the IEEEtrans.sty  in 
LYX 1.5 and a pdf of the "same" document (exporting it from 1.5 => 
plain LaTeX => import to 1.6) in LyX (1.6.0 as well in 1.6.3) it 
has different margins and letter sizes.


Can you please provide a small example LyX file to be able to 
reproduce the problem?


thanks and regards
Uwe









--

Helmut Hauser
Institute for Theoretical Computer Sciences
Technische Universitaet Graz
Inffeldgasse 16b, I
A-8010 Graz, Austria
---
helmut.hau...@igi.tugraz.at
Tel: + 43 316 873-5821
Fax: + 43 316 873-5805
http://www.igi.TUGraz.at/helmut/





Child document not updated

2009-06-15 Thread bigblop

I am using LyX 1.6.2 on Vista 64. I have made a master.lyx file from where I
include a few child documents as input. I compile this master document and
preview it with sumatra pdf.

Normally when I edit and compile one of those child documents the updates
for the whole docment are shown in my PDF previewer (sumatra pdf) but that
does not work anymore. I compile the child document with the function:

master-buffer-update pdf2

Any ideas?


-- 
View this message in context: 
http://n2.nabble.com/Child-document-not-updated-tp3079483p3079483.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: IEEEtrans.sty different outputs for LyX 1.5 and 1.6

2009-06-15 Thread Manveru
2009/6/15 Hauser Helmut :
> Somehow it did not work out. Here are the correct links:
>
> Lyx 1.5:
> http://tinyurl.com/nylqsf
> pdf 1.5:
> http://tinyurl.com/nr7fkm
>
> TeX -file:
> http://tinyurl.com/nstdz3
>
> LyX 1.6:
> http://tinyurl.com/nlv2u7
> pdf 1.6:
> http://tinyurl.com/ktlejb
>
> Hope it works now.

I do not know how others see it, but for me these two PDFs are
identical in terms of typography and layout.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


help with lyx

2009-06-15 Thread esrone noel
Good day,
Is there a way to write your name in the background using lyx or an option to 
write your name on every page
without manually inserting your name on every page..I am trying to do
this to prevent plagiarism of my documentPlease help


  

Re: help with lyx

2009-06-15 Thread James C. Sutherland


On Jun 15, 2009, at 6:09 AM, esrone noel wrote:


Good day,
Is there a way to write your name in the background using lyx or an  
option to write your name on every page
without manually inserting your name on every page..I am trying  
to do

this to prevent plagiarism of my documentPlease help


Try using the fancy headers.  Document -> Settings -> Page Layout ->  
Headings style -> fancy


Then add to your preamble:
\lhead{left header text}
\rhead{right header text}

See also the docs on the fancyhdr package:
http://tug.ctan.org/get/macros/latex/contrib/fancyhdr/fancyhdr.pdf


Re: [LyX] make LyX save .pdf where I want?

2009-06-15 Thread Murat Yildizoglu
To my understanding, when you choose a View command, Lyx creates the
corresponding files in a subfolder of the Temporary folder that is indicated
in: Tools/Preferences/Paths/Temporary Folder box. The name of this folder
begins with lyx... . When you export, it uses thye base folder in which your
actual Lyx document resides.

Murat

2009/6/15 Vincent van Ravesteijn 

> Florian Rubach schreef:
>
>> Murray Eisenberg schrieb:
>>
>>> This is manifestly not so!
>>>
>>> I open E:\Temp\example2.lyx in LyX. Then I click the View DVI button to
>>> view in Yap, and the View PDF button to view in Acrobat Reader. Neither
>>> example2.dvi nor example2.pdf is in E:\Temp, either while I am viewing those
>>> files or after I close Yap or Acrobat Reader.
>>>
>> Well, if you pressed file>export>DVI/PDF instead of using the" view"
>> Buttons, then example2.* would have been where you expected, next to your
>> example2.lyx. The "view" Buttons always create temporary files. But I'm not
>> sure why your temporary PDF is located in another directory as your
>> temporary DVI.
>>
> Indeed, I was explicitly speaking about exporting the files, not viewing
> them.
>
> Vincent
>



-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: Fwd: Elyxer and Lyx 1.6.3

2009-06-15 Thread Murat Yildizoglu
Solved, sort of...
Well I can now call elyxer from Lyx.
Here is the black magic that allowed this (I do not understand at all why it
was not working before and why it works now ;-)  ):

I have tried several reconfigures+quits without any success.
Then I have decided to duplicate your configuration. I have moved elyxer.py
in Program Files/elyxer and changed the path in Lyx in conformity with this.
Then reconfigure and restart.

First trial Lyx has tried to run elyxer (instead of htlatex) and this was
already a success but it could not find elyxer since I have moved it from
the scripts folder. I have copied it back to this folder (without changing
my path string) and bingo! I have a beatiful HTML page.

Elyxer's result is really very nice out of the box. Thank you very much Alex
for this tool.

My preferences file now reads:

\path_prefix "C:/Program Files/LyX16/bin;C:/Program
Files/LyX16/python;C:/TeXLive2008/bin/win32;C:/Program
Files/LyX16/ghostscript/bin;C:/Program Files/LyX16/imagemagick;C:/Program
Files/elyxer"

and

\converter "lyx" "html" "python $$s/scripts/elyxer.py $$i $$o" ""

I am happy that it works now but I would be happy to understand why ;-)

Thanks to all (to Olivier and Alex in particular) for your help.

Best regards,

Murat

2009/6/14 Olivier Ripoll 

> Murat Yildizoglu wrote:
>
>> Thank you for all your help. In fact, I have also put the path to Lyx's
>> script folder (where elyxer resides) to the path box in the preferences of
>> Lyx in the same time as the configuration of the Lyx->HTML conversion
>> command  box. If I read well Olivier's message, there is not any
>> contradiction between these two boxes. I have also observed that during
>> the
>> first configuration,  Lyx->HTML command has disappeared from the
>> conversion
>> options and I had to add it by hand.
>>
>
> I think I remember seeing that once.
>
>  I have erased this command and done a reconfigure and here is what I see
>> in
>> my preferences file (Lyx continues to run latex and htlatex):
>>
>
> Have you tried to reconfigure twice (reconf, quit, restart, reconf, quit,
> restart) as I explained in my earlier post ?
>
>  Concerning the path (elyxer.py is in the last folder of the path)
>>
>> \path_prefix "C:/Program Files/LyX16/bin;C:/Program
>> Files/LyX16/python;C:/TeXLive2008/bin/win32;C:/Program
>> Files/LyX16/ghostscript/bin;C:/Program Files/LyX16/imagemagick; C:/Program
>> Files/LyX16/Resources/scripts"
>>
>
> Mine is:
> \path_prefix "C:/Program Files/LyX 1.6.3/bin;c:/program files/miktex
> 2.7/miktex/bin;C:/Program Files/gs/gs8.64/bin;C:/Program
> Files/ImageMagick-6.4.5-Q16;C:/Program Files/Ghostgum/gsview;;C:/Program
> Files/PSPad editor;C:/Program Files/GIMP-2.0/bin;C:/Program
> Files/Inkscape;C:/Program Files/LyX 1.6.3/etc/Metafile2eps;C:/Program
> Files/elyxer"
>
>  Concerning the conversion:
>>
>> \converter "lyx" "html" "python $$s/scripts/elyxer.py $$i $$o" ""
>>
>
> I have the same line.
>
>
>> And this is the only element about Lyx->HTML conversion
>>
>> Do you see anything strange in these items? What am I doing wrong?
>>
>
> [...]
>
> Best regards,
>
> Olivier.
>
>


-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Export LaTeX with bbl File

2009-06-15 Thread Bruce Pourciau

Dear Fellow LyXers,

When an article has been accepted for publication, one must send the  
journal the LaTeX file with the original reference to the BibTeX  
generated bibliography replaced by the associated bbl file. I keep  
instructions around to help me remember how to do this, but how hard  
would it be to have this as an export option in LyX:

Export > LaTeX (pdflatex with bbl file)?

Bruce


Fwd: Export LaTeX with bbl File

2009-06-15 Thread Murat Yildizoglu
If you view your Lyx File in PDF or DVI, it normally runs bibtex and that
creates the bbl file in the same temporary folder as the dvi file.Otherwise,
you cal also export your file in Latex and run bibtex manually. You firts
run latex myfile.tex and then bibtex myfile.tex.

I hope this helps.

Murat

2009/6/15 Bruce Pourciau 

Dear Fellow LyXers,
>
> When an article has been accepted for publication, one must send the
> journal the LaTeX file with the original reference to the BibTeX generated
> bibliography replaced by the associated bbl file. I keep instructions around
> to help me remember how to do this, but how hard would it be to have this as
> an export option in LyX:
> Export > LaTeX (pdflatex with bbl file)?
>
> Bruce
>



-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__



-- 
Prof. Murat Yildizoglu
Université Paul Cézanne (Aix-Marseille 3)
GREQAM (UMR CNRS 6579)
Centre de la Vieille Charité
2, rue de la Charité
13236 Marseille cedex 02

Bureau 320
Tel : +33 4 91 14 07 27 (standard)
Tel : +33 4 91 14 07 70 (secrétariat)
Tel : +33 4 91 14 07 47 (bureau)
Fax : +33 4 91 90 02 27

e-mail: murat.yildizo...@univ-cezanne.fr
www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
http://www.twitter.com/yildizoglu
__


Re: Fwd: Export LaTeX with bbl File

2009-06-15 Thread rgheck



When an article has been accepted for publication, one must send the
journal the LaTeX file with the original reference to the BibTeX generated
bibliography replaced by the associated bbl file. I keep instructions around
to help me remember how to do this, but how hard would it be to have this as
an export option in LyX:
Export > LaTeX (pdflatex with bbl file)?



Not too hard, probably. You might just have to define an appropriate copier.

rh



Re: Problems with LyX 1.6.3

2009-06-15 Thread rgheck

Reuven Segev wrote:
Here is a less then minimal example that exhibit the problem. Look for 
the \contr macro which seems to cause it.


Reuven

On Sun, Jun 14, 2009 at 10:30 AM, rgheck > wrote:


Uwe Stöhr wrote:

Reuven Segev schrieb:

Following your advice I uninstalled 1.6.2 and installed
1.6.3. I tried both
the "classical" and yours "alternative" version (not at
the same time) but
the results were the same. While I can run some documents,
for other
documents (converted from LaTeX by 1.6.2) I get:

Inset:: buffer member not initialized!
LyX code: 11 name unknown

Any idea what could be the source of the problem?


No, to be able to reproduce this, can you please provide a
_small_ LyX example file?

If you send me the file, I can try to reproduce it. This is a
known sort of problem, in the sense that I know what kind of thing
can cause this. It's likely a math inset (code 11) that LyX is for
some reason failing to initialize properly.

Well, I tried to file you sent, and it doesn't crash here with 1.6.4svn, 
on Linux.


rh



Problem with Bibliography author-year style in document class "book (KOMA-script)"

2009-06-15 Thread Lea Rennert
Hi,

I am writing my thesis in the book (KOMA-script) - class, and need my
citations in author-year style in the text (e.g., xxx (Freud 1928, 15)
xxx), and sorted by author (not numbered) in the bibliography.
I am maintaining my literature-database in citavi, from where I can
export the references into .bib documents.
I am working with Lyx 1.6.2 on windows, and I did not use a
bibtex-editor or anything like that.

In Document > Settings > Bibliography I chose natbib with author-year
style. I inserted the Bibliography through Insert > List/TOC..., where
I uploaded my .bib-file.
When I choose the style "plain", creating a pdf works without
problems, but the Bibliography shows up using numbers, both in the
Text - e.g.: [2, 192] - and in the Bibliography, which is not what I
want.

All the other styles I've tried (natbib, plainnat, apacite, ...)
produce various error messages when I create a PDF, and in the PDF the
Bibliography is all garbled up (Authors' names appear several times,
the German Umlaut-Letters like ö/ä/ü are not printed, formatting is
messed up, etc.).

I have been looking for a solution for hours now, and I am just not
sure where my problem lies or what to do next. Should I try changing
the document settings in Lyx (in the Preamble, for example)? Or do I
need a program to edit the bib-file? Which program would be easy to
use on windows? Or could the problem be that my .bib-file is not
configured right?

I hope for someone with more experience it is easier to tell where I
went wrong... :-)
Thank you so much for your help!

Lea


Re: Problem with Bibliography author-year style in document class "book (KOMA-script)"

2009-06-15 Thread rgheck

Lea Rennert wrote:

In Document > Settings > Bibliography I chose natbib with author-year
style. I inserted the Bibliography through Insert > List/TOC..., where
I uploaded my .bib-file.
When I choose the style "plain", creating a pdf works without
problems, but the Bibliography shows up using numbers, both in the
Text - e.g.: [2, 192] - and in the Bibliography, which is not what I
want.

  
This is almost always due to some sort of error in your bib file. A 
missing year in an entry, for example, will force BibTeX to use 
numerical citations rather than author-year citations.



All the other styles I've tried (natbib, plainnat, apacite, ...)
produce various error messages when I create a PDF, and in the PDF the
Bibliography is all garbled up (Authors' names appear several times,
the German Umlaut-Letters like ö/ä/ü are not printed, formatting is
messed up, etc.).

  
If these are written with umlauts in the bib file, that also could cause 
a problem. It depends very much upon encoding issues and the like.



I have been looking for a solution for hours now, and I am just not
sure where my problem lies or what to do next. Should I try changing
the document settings in Lyx (in the Preamble, for example)? Or do I
need a program to edit the bib-file? Which program would be easy to
use on windows? Or could the problem be that my .bib-file is not
configured right?

  
A bib file is just a text file, so you can open it in notepad or 
whatever. But you might want to use something like JabRef, which will 
give you a nice interface to the file.


Richard



Re: How to make table/figure not to span columns?

2009-06-15 Thread Uwe Stöhr

李猛 schrieb:


I use package{multicol} to make part of my document into two columns, such
as:
\begin{multicols}{2}
paragraph  in 2 columns
\end{multicols}

However, all of tables and figures within the part of document will only
appear to be normal in the output pdf when setting the table/figure 'span
columns'. I don't need all of them to span columns.


Then don't set the option  "span colums". In case I haven't understood your right, can you please 
provide a _small_ LyX example file to be able to reproduce the problem?


regards Uwe


Re: IEEEtrans.sty different outputs for LyX 1.5 and 1.6

2009-06-15 Thread Uwe Stöhr

Manveru schrieb:


I do not know how others see it, but for me these two PDFs are
identical in terms of typography and layout.


The same for me, I cannot see any difference.

regards Uwe


Re: IEEEtrans.sty different outputs for LyX 1.5 and 1.6

2009-06-15 Thread Uwe Stöhr

Hauser Helmut schrieb:

Thanks for your response. I have attached the two lyx files and the two 
resulting pdf files.


ThePDFs are absolute identical here. Another user sees the same as he reported 
you.

The version 1.6 lyx file I got by exporting the 1.5 lyx file to plain 
LaTeX (attached too) and importing it later

with Lyx 1.6.


Why that? Open the file that you created with LyX 1.5.x with LyX 1.6.3 and it 
will work.

(I see that your 1.6.x version used English as document language instead of Swedish and that the 
document preamble is missing.)


regards Uwe


eLyxer and (web) typography

2009-06-15 Thread Tim Michelsen

Hello,
I have see recten posts about eLyxer and become curious.

I would like to suggest to edit the standard stylesheet provided by
http://www.nongnu.org/elyxer/lyx.css

The text from the example is very difficult to read.

To my humble opinion, the generated html should follow the tradition of 
Lyx in creating readable, user-friedly and accessible documents.


Here are some examples for web pages (personal selection):
* http://www.nvpit.nl/cms/
* http://robcomm.net/
* http://www.swaroopch.com/notes/Python

some hints on web typography:
* 
http://www.smashingmagazine.com/2009/03/18/10-principles-for-readable-web-typography/

* http://www.csarven.ca/web-typography

Lind regards,
Timmie



Re: eLyxer and (web) typography

2009-06-15 Thread Alex Fernandez
Hi Tim,

On Tue, Jun 16, 2009 at 12:01 AM, Tim
Michelsen wrote:
> I would like to suggest to edit the standard stylesheet provided by
> http://www.nongnu.org/elyxer/lyx.css

The CSS you link is provided as a service to the community; users are
encouraged to change it on their documents with the --css option.

> To my humble opinion, the generated html should follow the tradition of Lyx
> in creating readable, user-friedly and accessible documents.

Yes, some thought has been given to that question. Unfortunately
producing usable output is much harder than would look at first sight
(or that should be); and getting it right for every browser on every
platform is not trivial. Font availability, scaling, etc. all change
when you switch platforms or even browsers. Many popular sites have
given up and just offer different stylesheets depending on the
browser, something which is not an option here.

You can see some examples at:
  http://browsershots.org/http://www.nongnu.org/elyxer/math.html
I am using Firefox on Debian, and you can see that it looks great (or
at least I like it). On Windows however Firefox looks quite ugly:
fonts are not pretty. IE 7 is a bit ugly but tolerable.

> Here are some examples for web pages (personal selection):
> * http://www.nvpit.nl/cms/
> * http://robcomm.net/
> * http://www.swaroopch.com/notes/Python

Thanks, those are nice. Unfortunately they are not immediately useful.
For one thing they can be judged on personal opinion and taste. But
the real problem is that they would probably suffer from
cross-platform issues as well. Actually I see the first one with fonts
too small and the second one too large.

> some hints on web typography:
> http://www.smashingmagazine.com/2009/03/18/10-principles-for-readable-web-typography/
> * http://www.csarven.ca/web-typography

Same problems. But let us see if we can get constructive and get
something out of this discussion.

What we can actually do is: you, or someone else who has taken the
trouble to make the output look good on their favorite platform, can
send me your CSS files (or a patch against mine). Then I can try to
blend those in and still keep the sane look on Debian. Probably we can
find a combination of fonts and sizes that look good on the most
popular platforms. We can do it; we have already got the character set
mostly right thanks to a similar effort by another user. Now is time
for good typography!

Any takers?

Thanks,

Alex.


Re: Problem with Bibliography author-year style in document class "book (KOMA-script)"

2009-06-15 Thread Lea Rennert
Thank you! I fixed my bib-file (it did miss a year!), so that was
certainly good advice. I also downloaded some additional packages
through Miktex and tried out some other citation styles. Some of them
work (such as apalike or plain), but the ones I would need don't.

The citation styles that don't work all give me a lot of error
messages saying "Undefined control sequence." and the error
descriptions look something like this (this one came when I used the
style chicago):

" ...r{Aiginger}{Aiginger}{2007}]{Aiginger.2007}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined."

I do not know why the name of the author (Aiginger) is repeated so
often, that is not the case in my bib-file. In other error messages,
symbols like % suddenly appear in the text where there are non in the
bibtex file.

Does anybody know what the problem might be?

I tried different encodings when I exported my references from citavi
to bibtex (UTF-8, US-ASCII, Western European (ISO), ...) but nothing
changed. Is there a specific encoding I should use?

Thank you!
Lea

On Mon, Jun 15, 2009 at 8:07 PM, rgheck wrote:
> Lea Rennert wrote:
>>
>> In Document  > Settings > Bibliography I chose natbib with author-year
>> style. I inserted the Bibliography through Insert > List/TOC..., where
>> I uploaded my .bib-file.
>> When I choose the style "plain", creating a pdf works without
>> problems, but the Bibliography shows up using numbers, both in the
>> Text - e.g.: [2, 192] - and in the Bibliography, which is not what I
>> want.
>>
>>
>
> This is almost always due to some sort of error in your bib file. A missing
> year in an entry, for example, will force BibTeX to use numerical citations
> rather than author-year citations.
>
>> All the other styles I've tried (natbib, plainnat, apacite, ...)
>> produce various error messages when I create a PDF, and in the PDF the
>> Bibliography is all garbled up (Authors' names appear several times,
>> the German Umlaut-Letters like ö/ä/ü are not printed, formatting is
>> messed up, etc.).
>>
>>
>
> If these are written with umlauts in the bib file, that also could cause a
> problem. It depends very much upon encoding issues and the like.
>
>> I have been looking for a solution for hours now, and I am just not
>> sure where my problem lies or what to do next. Should I try changing
>> the document settings in Lyx (in the Preamble, for example)? Or do I
>> need a program to edit the bib-file? Which program would be easy to
>> use on windows? Or could the problem be that my .bib-file is not
>> configured right?
>>
>>
>
> A bib file is just a text file, so you can open it in notepad or whatever.
> But you might want to use something like JabRef, which will give you a nice
> interface to the file.
>
> Richard
>
>


Re: How to make table/figure not to span columns?

2009-06-15 Thread 李猛
If I don't set the option  "span colums", I get the pdf without any
table/figure(using xelatex). Do your need the tex or output pdf file?

Thanks a lot.
Best Wishes.

On Tue, Jun 16, 2009 at 3:30 AM, Uwe Stöhr  wrote:

> 李猛 schrieb:
>
>  I use package{multicol} to make part of my document into two columns, such
>> as:
>> \begin{multicols}{2}
>> paragraph  in 2 columns
>> \end{multicols}
>>
>> However, all of tables and figures within the part of document will only
>> appear to be normal in the output pdf when setting the table/figure 'span
>> columns'. I don't need all of them to span columns.
>>
>
> Then don't set the option  "span colums". In case I haven't understood your
> right, can you please provide a _small_ LyX example file to be able to
> reproduce the problem?
>
> regards Uwe
>



-- 
Albert
Lab of Complex System and Artificial Intelligence,
Institute of Automation,Chinese Academy of Sciences(CASIA)
Beijing, 100190,P.R.CHINA


LyX - 1.62.......... Ctrl + Enter no longer works as in previous LyX versions

2009-06-15 Thread M-L

Hello out there,

Using LyX 1.6.2 on Debian Squeeze, Use Ctrl + Enter and there is no
longer the space as was in earlier versions of Lyx, rather a music note
comes up.

What is the correct key combination to effect the result of Ctrl +
Shift in LyX 1.6.2 please.

Have man templates that now don't work right.

TIA
Charlie
-- 
Registered Linux User:- 329524
***
We are made happy when reason can discover no occasion for it. The
memory of some past moments is more persuasive than the experience of
present ones. There have been visions of such breadth and brightness
that these motes were invisible in their
light. .Henry David Thoreau

***
Debian, just the best way to create magic
___


Re: LyX - 1.62.......... Ctrl + Enter no longer works as in previous LyX versions

2009-06-15 Thread K. Elo
Hi!

M-L wrote:
> Using LyX 1.6.2 on Debian Squeeze, Use Ctrl + Enter and there is no
> longer the space as was in earlier versions of Lyx, rather a music note
> comes up.
> 
> What is the correct key combination to effect the result of Ctrl +
> Shift in LyX 1.6.2 please.
> 

I refer to Jürgen Spitzmüller's posting on April 10, 2009. Solved my
problems with "dysfunctional shortcuts" :)

--- citation begins ---

Did you read the RELEASE_NOTES?

"Caveats when upgrading from earlier versions to 1.6.x
---

- Since several lyx functions have been renamed (see above), old
  configuration files (*.ui, *.bind) may no longer work. If some
  functions (such as Shift-right for selecting text) fail to work
  after the upgrade from previous versions, make sure you do not
  have any old configuration files in your LyX user directory, or
  adapt these files to the new functions. If anything else fails,
  try if deleting your LyX user directory helps."

Jürgen
--- citation ends ---

HTH,
Kimmo


Re: LyX - 1.62.......... Ctrl + Enter no longer works as in previous LyX versions [solved thanks to Kimmo and Jürgen]

2009-06-15 Thread M-L
On Tue, 16 Jun 2009 08:36:39 +0300 "K. Elo"  shared
this with is all on the Lyx users list:

>Hi!
>
>M-L wrote:
>> Using LyX 1.6.2 on Debian Squeeze, Use Ctrl + Enter and there is no
>> longer the space as was in earlier versions of Lyx, rather a music
>> note comes up.
>> 
>> What is the correct key combination to effect the result of Ctrl +
>> Shift in LyX 1.6.2 please.
>> 
>
>I refer to Jürgen Spitzmüller's posting on April 10, 2009. Solved my
>problems with "dysfunctional shortcuts" :)
>
>--- citation begins ---
>
>Did you read the RELEASE_NOTES?
>
>"Caveats when upgrading from earlier versions to 1.6.x
>---
>
>- Since several lyx functions have been renamed (see above), old
>  configuration files (*.ui, *.bind) may no longer work. If some
>  functions (such as Shift-right for selecting text) fail to work
>  after the upgrade from previous versions, make sure you do not
>  have any old configuration files in your LyX user directory, or
>  adapt these files to the new functions. If anything else fails,
>  try if deleting your LyX user directory helps."
>
>Jürgen
>--- citation ends ---
>
>HTH,
>Kimmo
 

Many Thanks Kimmo for not only pointing me in the right direction, but
not making me hunt the post, it is very much appreciated as time was
kind of limited.

Also thanks to Jürgen for his post regarding this matter, it also is
much appreciated.

I actually did the LyX upgrade, when I went from Debian Lenny [stable]
to Debian Squeeze [testing]

Again many thanks to you both.

Stay well,
Charlie
-- 
Registered Linux User:- 329524
***
Facts is stubborn things and can't be drove.
Mrs. Gamp

***
Debian, just the best way to create magic
___