Re: Elementary BibTeX/Lyx introduction available

2005-09-27 Thread chr
On Mon, 26 Sep 2005, Paul Johnson wrote:

> When I started using LyX, I had never heard of BiBTeX and was distressed 
> that most documentation about bibliographies in LyX assumed I knew about 
> LaTeX and BibTeX.  After a while, I found a workable way and wrote up an 
> introductory explanation for newcomers.

Hi Paul

I took your e-mail and pasted it here:
http://wiki.lyx.org/BibTeX/Introduction

Maybe you'd like to edit that page further? You can also upload your PDF 
to the wiki if you like. Let me know if you'd like help doing this!

regards
/Christian

PS. For editing pages at the wiki, the username doesn't matter and the
password is LyXers. For uploading files, the username is lyx and the
password is LyXers.

-- 
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr




Re: How to avoid "\url already defined"?

2005-09-27 Thread Georg Baum
Bo Peng wrote:

> Dear list,
> 
> I  have been annoyed by two problems recently, both related to
> lyx-added latex code  conflicting with customized document classes.
> For example, I am using manual.cls from python to produce a manual.
> However, manual.cls defines \url so it will conflict with the
> \newcommand\url command added by lyx.

Set

ProvidesUrl 1

in the layout file.

> Another case is when a 
> customized latex class (for a journal) loads natbib first but with
> different parameter to  what lyx-loaded natbib uses. If I do not
> select natbib in lyx, I can not use natbib citations although the
> document class supports it. (I know I can use ERT, but...)

Set

ProvidesNatbib 1

in the layout file.


Georg



cmap: searchable and copyable PDFs with pdftex

2005-09-27 Thread Andrei Popov
Hello All.

Maybe this is more a LaTeX-related question, but on the other hand I
think the answer would be useful to many LyX users as well.

I've recently came across CMAP which I though was a perfect solution
to make searchable and copyable PDFs (with \usepackage{cmap})

ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/cmap.zip

However, although it _appears_ to work fine, the resulting PDF file is
1) still not searchable and 2) crashes Acrobat 7 (Linux) whenever I
try to copy smth to clipboard.

If I don't use CMAP in preamble, the resulting file is again, not
searchable, and Acrobat copies some garbage to clipboard (this one was
tested on Windows, too).

The questions:

1) does anyone have a successful experience with CMAP and LyX/LaTeX?
2) is there any other way/package to solve the problem?

Many thanks in advance.

PS: I'm using Cyrillic chars (T2A), with the results above. T2A is
stated as supported by CMAP. For purely English chars, Acrobat can
search just fine.

-- 
WBR,
Andrei Popov

Using LyX 1.3.4 on Linux



Re: Menu and menubar fonts -- for lyx-qt

2005-09-27 Thread Angus Leeming
David L. Johnson wrote:
> Getting LyX to run justifies, for me, switching to OZ on the Zaurus.  I
> can't live without it.

Of course, LyX/Win might or might not run on Windows CE. I'm having fun and
games trying to get the export bit of it working on Win95. Looks like the
GUI is hopeless for now.

-- 
Angus



rotated tables doesn't show in dvi

2005-09-27 Thread christiaan johannes pauw

Hi
I'm using Lux 1.3.4 on SuSE 9.1 with KDE 3.2.1 and kdvi 1.1. If I rotate 
a table sideways its displays correctly in .ps but not in .dvi. Is it a 
bug in kdvi?


Kghostview is ok but i can't search the text in it.

Is it a bug in kdvi?

Regards
Christiaan



Re: non-LyX question: Beamer enumerate

2005-09-27 Thread Paul A. Rubin

David Soukal wrote:


Without knowing what Beamer theme you're using, it's hard to know what 
the enumerations should look like.  Can you post a LyX file containing 
a minimal example?


 >

There it is! The reason why I want this "configuration" is that the 
three properties are proved on previous slides one by one (each proof 
being slightly different). However, it is useful to interpret Prop. 2 
and Prop 3. together :)


Thank you very much for any hint!

David


I've attached a modified version of the test file.  Is this what you 
want?  There may be a better way to do this via Beamer customizations. 
I just located the code Beamer uses to typeset the enumeration numbers 
and made an ugly kludge that does two numbers.  Note the new command 
added to the preamble, and the call to \kludge in the optional argument 
to the enumeration.


Paul


ps. I'm very sorry for abusing this list! Thank you for putting up with me!


No worries, we all do it.  Or at least I do.  :-)




style_example.lyx
Description: application/lyx


Dates

2005-09-27 Thread alain . didierjean
I use a personal letter template based on koma-letter2.lyx. It prints to-day's
date in the document allright. The problem comes when I display or print an old
letter: the date that shows up is to-day's, when I wish I had saved the date I
wrote it. Any way to achieve that ?
- get to-day's date at writing time
- save this date in the document and keep it there so it appears unmodified
whenever I reprint the document

--
~adj~

In Britain these days, it's "Shoot to kill".
Rev. William Archibald Spooner


Re: rotated tables doesn't show in dvi

2005-09-27 Thread Angus Leeming
christiaan johannes pauw wrote:
> I'm using Lux 1.3.4 on SuSE 9.1 with KDE 3.2.1 and kdvi 1.1. If I rotate
> a table sideways its displays correctly in .ps but not in .dvi. Is it a
> bug in kdvi?

http://developer.kde.org/~kdvi/features.html

-- 
Angus



Re: Dates

2005-09-27 Thread Rich Shepard

On Tue, 27 Sep 2005 [EMAIL PROTECTED] wrote:


I use a personal letter template based on koma-letter2.lyx. It prints
to-day's date in the document allright. The problem comes when I display or
print an old letter: the date that shows up is to-day's, when I wish I had
saved the date I wrote it. Any way to achieve that ?


  Yup.


- get to-day's date at writing time


  Look on a calendar.


- save this date in the document and keep it there so it appears unmodified
whenever I reprint the document


  Write in the date manually rather than using a macro that grabs the system
date.

  The same thing happens in OpenOffice.org, because the insert->date macro
uses the current date rather than a fixed date. Very annoying when I need to
reprint a letter I did not anticipate needing to reprint.

  You can also look at the LaTeX code and use \renewcommand{} to redefine it
for a static date.

Rich

--
Dr. Richard B. Shepard, President |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM) |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: Dates

2005-09-27 Thread Kayvan A. Sylvan
>   Write in the date manually rather than using a macro that grabs the system
> date.
> 
>   The same thing happens in OpenOffice.org, because the insert->date macro
> uses the current date rather than a fixed date. Very annoying when I need to
> reprint a letter I did not anticipate needing to reprint.

You can always look at the file date (assuming that you did not modify
the file since its creation).

---Kayvan


pgp337UQWkUDd.pgp
Description: PGP signature


Re: non-LyX question: Beamer enumerate

2005-09-27 Thread David Soukal



I've attached a modified version of the test file.  Is this what you 
want?  There may be a better way to do this via Beamer customizations. I 
just located the code Beamer uses to typeset the enumeration numbers and 
made an ugly kludge that does two numbers.  Note the new command added 
to the preamble, and the call to \kludge in the optional argument to the 
enumeration.


Paul



Thank you very much! That's exactly what I wanted to achieve!!



ps. I'm very sorry for abusing this list! Thank you for putting up 
with me!



No worries, we all do it.  Or at least I do.  :-)




Thanks!


Re: Dates

2005-09-27 Thread Juergen Spitzmueller
Rich Shepard wrote:
> > - save this date in the document and keep it there so it appears
> > unmodified whenever I reprint the document
>
>    Write in the date manually rather than using a macro that grabs the
> system date.

Or use "Alt-x date-insert", if you're lazy.

Jürgen


Export setup

2005-09-27 Thread David Soukal

Hello,

a most peculiar thing happened to me: I have always been creating PDF 
versions of my documents by clicking the first Export/PDF option in the 
File menu. But now, this does not work as it used to. Well, I do get the 
PDF but its content is different, namely, PSFrag replacements do not work.


I never actually paid attention as to which PDF exporter I'm using; I 
simply clicked the first one (the "it works" approach). :) The first in 
the menu now is: dvipdfm. The third is ps2pdf, which works as expected.


My question is: is the Export menu fully user-configurable? If so, where 
are the items specified? Can I add my own export chain?


I played with LyX 1.4 CVS recently, is it possible that this new version 
affected the Export menu of version 1.3?


Thanks for any hints,

David


Re: Dates

2005-09-27 Thread Paul Smith
On 9/27/05, Juergen Spitzmueller <[EMAIL PROTECTED]> wrote:
> > > - save this date in the document and keep it there so it appears
> > > unmodified whenever I reprint the document
> >
> > Write in the date manually rather than using a macro that grabs the
> > system date.
>
> Or use "Alt-x date-insert", if you're lazy.

It does not work well, because it inserts the date in English in
documents whose language is different from English.

Paul


Re: Dates

2005-09-27 Thread Juergen Spitzmueller
Paul Smith wrote:
> It does not work well, because it inserts the date in English in
> documents whose language is different from English.

Actually, it uses your LC language settings (German in my case). There's 
certainly room for improvement.

Jürgen


Re: Dates

2005-09-27 Thread Paul Smith
On 9/27/05, Juergen Spitzmueller <[EMAIL PROTECTED]> wrote:
> > It does not work well, because it inserts the date in English in
> > documents whose language is different from English.
>
> Actually, it uses your LC language settings (German in my case). There's
> certainly room for improvement.

You mean the system language settings? Or the language settings of the document?

Paul


Re: Dates

2005-09-27 Thread Juergen Spitzmueller
Paul Smith wrote:
> You mean the system language settings? Or the language settings of the
> document?

The system language settings (the string is generated by means of strftime). I 
agree the the latter would be more sensible, although more difficult.

Jürgen


Re: Export setup

2005-09-27 Thread Angus Leeming
David Soukal wrote:

> Hello,
> 
> a most peculiar thing happened to me: I have always been creating PDF
> versions of my documents by clicking the first Export/PDF option in the
> File menu. But now, this does not work as it used to. Well, I do get the
> PDF but its content is different, namely, PSFrag replacements do not
> work.
> 
> I never actually paid attention as to which PDF exporter I'm using; I
> simply clicked the first one (the "it works" approach). :) The first in
> the menu now is: dvipdfm. The third is ps2pdf, which works as expected.
> 
> My question is: is the Export menu fully user-configurable? If so, where
> are the items specified?

Effectively, in the "File formats" section of the Edit->Preferences dialog.
Here I have "GUI name"s of "PDF", "PDF (pdflatex)" and "PDF (dvipdfm)"
which appear in that order in the View menu.

> Can I add my own export chain?

Sure. Add, modify and remove stuff using the Converters section. One small
UI pain: you must press "Modify" to update the list in the dialog and
thereafter press "Save" or "Apply" to save it or use it in LyX.

> I played with LyX 1.4 CVS recently, is it possible that this new version
> affected the Export menu of version 1.3?

That depends whether you configured it as
 configure --with-version-suffix
which results in your local lyx data directory being named as something
unique. On a unix machine I have:

$ ls -ald ~/.lyx* | sed 's/ \{1,\}/ /g' | cut -d' ' -f'9-'
/home/angus/.lyx -> .lyx-1.3.x
/home/angus/.lyx-1.3.x
/home/angus/.lyx-1.4.0cvs -> .lyx-1.4.x
/home/angus/.lyx-1.4.x

where .lyx-1.3.x contains any tweaked support files for LyX 1.3.x, for some
version number X. Etc.

-- 
Angus



Re: Export setup

2005-09-27 Thread Rich Shepard

On Tue, 27 Sep 2005, David Soukal wrote:


I never actually paid attention as to which PDF exporter I'm using; I
simply clicked the first one (the "it works" approach). :) The first in the
menu now is: dvipdfm. The third is ps2pdf, which works as expected.


David,

  I cannot address the configurability issue, but I've always used pdflatex
and it's worked flawlessly. If I have PSTricks images in the document, then I
use PDF4 instead of pdflatex. Try these and see if you like the results.

Rich

--
Dr. Richard B. Shepard, President |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM) |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Trouble with ispell

2005-09-27 Thread Luis Angel Fernández Cuadrado
Hi,

I'm using SuSE 9.3 on an AMD64 machine. Normally, I compile LyX from source 
but last time I was a bit lazy and downloded and installed the 1.3.6 binary 
in the LyX ftp site (bin) compiled for SuSE 9.2. Almost everything works 
allright with the exception of spell checking. My normal language for 
spelling is spanish ('espanol' in ispell terms) and I've never had problems 
with this until now. With the mentioned binary, whenever I try to check 
spelling I get a 'No word lists can be found for the language "(espanol)"' 
message. I have ispell and aspell with support for spanish and both work well 
from the command line. I've also tried to instruct LyX to use any of them but 
no luck.

Googlin' arond I've found some messages from people with similar problems and 
they seem to be related with LyX beeing compiled with support for aspell 
instead of ispell (or something like that). Can anybody please throw some 
light into this or, better, point me to an rpm which works in SuSE 9.3?

Thanks to all.
-- 
Dr. Luis A. Fernández
Department of Analytical Chemistry
University of The Basque Country
P.O. Box 644, 48080 Bilbao (Spain)
Phone: +34 946015503
Fax: +34 946013500
http://www.ehu.es/udps


Re: Export setup

2005-09-27 Thread David Soukal


  I cannot address the configurability issue, but I've always used pdflatex
and it's worked flawlessly. If I have PSTricks images in the document, 
then I

use PDF4 instead of pdflatex. Try these and see if you like the results.

Rich



What do you mean by PDF4? Do you mean ps2pdf14?
Thanks,
David


Re: Dates

2005-09-27 Thread Michael-E. Voges
Hey list,
Am Dienstag, 27. September 2005 17:39 schrieb Juergen Spitzmueller:
> Rich Shepard wrote:

> >    Write in the date manually rather than using a macro that grabs the
> > system date.
>
> Or use "Alt-x date-insert", if you're lazy.

great!! I didn't know that, yet.
But: it gives me "Dienstag, 27 September 2005"
without any dot after the day-number 27
Does anybody know a solution to get that dot  after the number - without 
moving my cursor back by hand, searching my keyboard, where could that dot be 
- and inserting it finally?

Micha-E.


Re: Export setup

2005-09-27 Thread Rich Shepard

On Tue, 27 Sep 2005, David Soukal wrote:


What do you mean by PDF4? Do you mean ps2pdf14?


David,

  No, it's ps4pdf. From :

ps4pdf.sty PostScript into PDF

A package to integrate PostScript code into a PDF output.

  It's analogous to ps2pdf, but it works great with PSTricks figures. In LyX,
it's another converter that's listed in Edit->Preferences->Converters as
LaTeX -- PDF4.

Rich

--
Dr. Richard B. Shepard, President |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM) |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: Trouble with ispell

2005-09-27 Thread Paul Smith
On 9/27/05, Luis Angel Fernández Cuadrado <[EMAIL PROTECTED]> wrote:
> I'm using SuSE 9.3 on an AMD64 machine. Normally, I compile LyX from source
> but last time I was a bit lazy and downloded and installed the 1.3.6 binary
> in the LyX ftp site (bin) compiled for SuSE 9.2. Almost everything works
> allright with the exception of spell checking. My normal language for
> spelling is spanish ('espanol' in ispell terms) and I've never had problems
> with this until now. With the mentioned binary, whenever I try to check
> spelling I get a 'No word lists can be found for the language "(espanol)"'
> message. I have ispell and aspell with support for spanish and both work well
> from the command line. I've also tried to instruct LyX to use any of them but
> no luck.
>
> Googlin' arond I've found some messages from people with similar problems and
> they seem to be related with LyX beeing compiled with support for aspell
> instead of ispell (or something like that). Can anybody please throw some
> light into this or, better, point me to an rpm which works in SuSE 9.3?

Sometimes, it happens because LyX has a name for the language which
does not match the one of ispell/aspell. Try to check whether both
names match on your computer.

Paul


Re: How to avoid "\url already defined"?

2005-09-27 Thread Bo Peng
> Set
>
> ProvidesUrl 1
> ProvidesNatbib 1
>
> in the layout file.

Thanks. These work like magic.

Bo


Newbie questions

2005-09-27 Thread lewisa
I am new to lyx, and have been hooked by the concept and potential power of the 
application. I principally would like to use it for (surgical) journal article 
preparation.
I have three questions that will ease the transation away from OpenOffice.

1) How do I get rid of the date that follows the title?

2) In need to change the *subsection font to italics, how is this done?

3) Biblographies. I have used pybliographic to create .bib databases. However, 
changing the order citations in the text upsets the citation numbering within 
the text. I can't find a simple HOWTO on getting the whole bibtext thing going.

Sorry this thread covers a lot of ground. Any pointers would be gratefully 
appreciated.


Alastair Lewis





Re: Newbie questions

2005-09-27 Thread Rich Shepard

On Mon, 26 Sep 2005 [EMAIL PROTECTED] wrote:


I am new to lyx, and have been hooked by the concept and potential power of
the application. I principally would like to use it for (surgical) journal
article preparation. I have three questions that will ease the transation
away from OpenOffice.


  That's appropriate, Alastair: a cutting-edge application for surgical
articles.


1) How do I get rid of the date that follows the title?


  In the preamble, put:

\date{}

  Oops! Just got a business call. Gotta' run.

Rich

--
Dr. Richard B. Shepard, President |   Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM) |  Impact Assessments Using Fuzzy Logic"
 Voice: 503-667-4517 Fax: 503-667-8863


Re: Newbie questions

2005-09-27 Thread Daniel Watkins
On Tue, 2005-09-27 at 23:30 +0100, [EMAIL PROTECTED] wrote:
> 3) Biblographies. I have used pybliographic to create .bib databases.
> However, changing the order citations in the text upsets the citation
> numbering within the text. I can't find a simple HOWTO on getting the
> whole bibtext thing going.
> 
I quote Paul Johnson, from a little while back, on this list:
> When I started using LyX, I had never heard of BiBTeX and was distressed 
> that most documentation about bibliographies in LyX assumed I knew about 
> LaTeX and BibTeX.  After a while, I found a workable way and wrote up an 
> introductory explanation for newcomers.
> 
> I hope users will find this helpful and I'd be delighted if any/all of 
> the content could be added to the LyX documentation or linked on your 
> website:
> 
> http://www.ku.edu/~pauljohn/latex/biblioexample.pdf
> 
> That is simple and graphically illustrated.
> 
> A less well illustrated (more fumbling and bumbling) document was 
> circulated a while ago, and I don't really recommend it to new users. 
> The only unique component is that it explains one route by which to 
> create customized natbib style files for particular journals.
> 
> http://www.ku.edu/~pauljohn/latex/LaTeX_Bibliographies.html

I hope that is helpful (I can't say I've read it through, as bibliographies 
aren't really involved in what I need LyX for).

Cheers,
Dan





\line and justification

2005-09-27 Thread Christopher M. Jones
Hi, all. This is a reiteration of my previous question. Someone
responded off-list that I should try \newline. Problem with this is that
what I really want is -inline- 'blanks' that don't break justification.
If I'm asking this question in the wrong place, then please, someone let
me know where I can find the answer. 



Slow Display on 1.4cvs

2005-09-27 Thread Daniel Watkins
I'm using 1.4cvs (downloaded and compiled a few hours ago) with the Qt
front-end. ATM, I'm noticing that LyX is barely keeping up with my
typing, which is something I hadn't noticed on 1.3.6. Is this just my
imagination, my computer, or are other people experiencing the same
thing?

It's not really a major problem, it's more a minor irritation (certainly
not enough to discourage me from LyX :p).

Cheers,
Dan



Re: Installing LyX from CVS

2005-09-27 Thread Daniel Watkins
On Mon, 2005-09-26 at 23:57 +0100, Angus Leeming wrote:

> How recent is your copy of the cvs sources?

I discovered that the problem was basically this. I had used Cervisia to
try and download the sources (because CLI cvs scares me :p). I must have
chosen the wrong branch (or just generally screwed up) but now I've used
the CLI cvs commands detailed on the website, I'm fine (and, in fact,
using LyX for Economics homework as I write this).

Thanks for the help!

Dan




article AMS and fancy headers

2005-09-27 Thread Guillaume Marcais
When using article AMS layout and fancy headers, the word "english" is 
printed in the header before the title and my name. Like this:


englishHOME WORK   englishGUILLAUME MARCAIS


Now looking for the word english in the Latex export I get:

$ grep -i english HomeWork.tex
\documentclass[oneside,english]{amsart}

The version of the system and Lyx are as follow:

$ cat /etc/mandrake-release
Mandrakelinux release 10.2 (Limited Edition 2005) for i586
$ rpm -q lyx
lyx-1.3.5-2mdk

The TeX/LaTeX is also the default Mandrake provided installation.

Any ideas how to get ride of this?

Guillaume.



Re: Dates

2005-09-27 Thread Juergen Spitzmueller
Michael-E. Voges wrote:
> great!! I didn't know that, yet.
> But: it gives me "Dienstag, 27 September 2005"
> without any dot after the day-number 27

Go to Preferences->Output->Date Format and change the string to
%A, %e. %B %Y
(i.e., add a dot after the %e parameter).

For more configuration possibilities, consult man strftime.

Jürgen