Re: Wassenhoven ans lastchecked-option

2009-11-19 Thread Dominik Waßenhoven
jezZiFeR wrote:

 Could anybody tell me how to activate  the URL-date and lastchecked  
 option in Wassenhoven-style?

I assume that you are talking of biblatex-dw with the style footnote-dw
and that you want to have the url and urldate printed in the footnote,
right? That should be working (see example below), so you should tell
us, why it is not working for you. You could do so by providing a
minimal example showing your problem.

8[ minimal example ]8
\documentclass[english]{scrartcl}
\listfiles
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@ARTICLE{article,
  author = {Name, Nobody},
  title = {An Article},
  journal = {A Journal},
  year = {2006},
  volume = {6},
  pages = {19--75},
url = {http://www.link-to-journal.com/article.html},
urldate = {2009-11-19}
}
\end{filecontents}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel,csquotes}

\usepackage[
style=footnote-dw,
]{biblatex}
\bibliography{\jobname}

\begin{document}
\cite{article}

\printbibliography
\end{document}
8---8

Regards,
Dominik.-



Re: Wassenhoven ans lastchecked-option

2009-11-19 Thread Dominik Waßenhoven
Dominik Waßenhoven wrote:

 I assume that you are talking of biblatex-dw with the style footnote-dw
 and that you want to have the url and urldate printed in the footnote,
 right? That should be working (see example below), so you should tell
 us, why it is not working for you. You could do so by providing a
 minimal example showing your problem.

Sorry, I was not quite concentrated and thougth I was reading an article
of the TeX user group (I am reading the LyX-Mails in my Newsreader via
Gmane). However, url and urldate should nevertheless work with
footnote-dw, regardless if you are using a LaTeX editor or LyX.

Regards,
Dominik.-



Defining color .

2009-11-19 Thread nikunj .
Hi,

I am using 'color' package. How do I define more colors ? All I know is that
I can use \definecolor{name}{model}{color-spec} in the preamble.
Can someone guide me with the color spec thing?  Isn' t there a
comprehensive list of such color-specs ?

Nikunj.


Re: How do I apply the ISO 690 reference style to my bibliography listings? (Mac LyX user)

2009-11-19 Thread Daisuke Koya
Hello Uwe,

Yes, I found it, thank you very much.

Unfortunately the plainnat style isn't the one I need.

I will have to figure out how to match or create a style closest to ISO 690.

Many thanks,

Daisuke

On 19 Nov 2009, at 00:11, Uwe Stöhr wrote:

 Daisuke Koya schrieb:
 Hello all,
 I would like to know how I can format my reference listing in the ISO 690 
 style using the Mac version of LyX.
 
 In the inset where you specify the BibTeX files that are used for your 
 document, you find a field named style. Use there the style plainnat.
 
 regards Uwe



scaling preview formulas

2009-11-19 Thread Stefano Baroni
Hi! Is there any way of scaling the previewed formulas by the same  
factor as the ordinary text? Thanks - SB


---
Stefano Baroni - SISSADEMOCRITOS National Simulation Center -  
Trieste
http://stefano.baroni.me [+39] 040 3787 406 (tel) -528 (fax) /  
stefanobaroni (skype)


La morale est une logique de l'action comme la logique est une morale  
de la pensée - Jean Piaget


Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html









Re: Defining color .

2009-11-19 Thread rgheck

On 11/19/2009 04:16 AM, nikunj . wrote:

Hi,

I am using 'color' package. How do I define more colors ? All I know is that
I can use \definecolor{name}{model}{color-spec} in the preamble.
Can someone guide me with the color spec thing?  Isn' t there a
comprehensive list of such color-specs ?

   
It depends on the model. But the simplest thing is to use the rgb model, 
then you can do:

\definecolor{MyColor}{rgb}{1.0,0.6,0.6}
which would give you a peachy color. Values are 0--1, rather than 
0--255, etc.


Other models include cmyk (four numbers) and gray (one).

rh



Re: How do I apply the ISO 690 reference style to my bibliography listings? (Mac LyX user)

2009-11-19 Thread rgheck

On 11/19/2009 04:45 AM, Daisuke Koya wrote:

Hello Uwe,

Yes, I found it, thank you very much.

Unfortunately the plainnat style isn't the one I need.

I will have to figure out how to match or create a style closest to ISO 690.

   
You can try using makebst, for whose docs see here: 
http://tug.ctan.org/tex-archive/macros/latex/contrib/custom-bib/makebst.pdf.


rh



Re: Unknown graphics extension: eps

2009-11-19 Thread Helge Hafting

Luca Carlon wrote:
Hi everyone! I have a document with many graphic files in eps format. 
When I try to generate the PDF using pdflatex, I get many occurrences of 
the following error:


Latex error: unknown graphics extension: .eps.

The PDF is created without errors with ps2pdf. I tried some of these 
files in a new lyx file alone, and pdflatex works correctly as well.
Any idea what there could be wrong? I tried on both MacOSX and Linux 
Kubuntu 9.10.

Thanks!


It works on debian linux with lyx 1.6.4, so check if you have necessary 
software. Also check that the converter is found in the PATH, otherwise 
LyX won't find it.


Checking in Tools-Preferences, I see that EPS is listed as a vector 
graphics format, and under converters, the converter is listed as

EPS-PDF(ps2pdf): epstopdf --outfile=$$o $$i

If you have the same, check that epstopdf is found if you give the
command on the command line. If that works, run LyX from the command 
line and see if it works that way. LyX starting from a window manager 
menu / icon may theoretically operate with a different PATH where 
epstopdf cannot be found.


Strangely, the converter is only for the format PDF(ps2pdf). When 
pdflatex is used, the target format is  PDF(pdflatex), not PDF(ps2pdf).


It works anyway for me. As an experiment, you may want to create a new 
converter:
from EPS to PDF(pdflatex). Just copy everything from the 
EPS-PDF(ps2pdf) converter.


Helge Hafting



Re: Unknown graphics extension: eps

2009-11-19 Thread Luca Carlon
On Thursday 19 November 2009 02:44:55 pm Helge Hafting wrote:
 It works on debian linux with lyx 1.6.4, so check if you have necessary
 software. Also check that the converter is found in the PATH, otherwise
 LyX won't find it.
 
 Checking in Tools-Preferences, I see that EPS is listed as a vector
 graphics format, and under converters, the converter is listed as
 EPS-PDF(ps2pdf): epstopdf --outfile=$$o $$i
 
 If you have the same, check that epstopdf is found if you give the
 command on the command line. If that works, run LyX from the command
 line and see if it works that way. LyX starting from a window manager
 menu / icon may theoretically operate with a different PATH where
 epstopdf cannot be found.
 
 Strangely, the converter is only for the format PDF(ps2pdf). When
 pdflatex is used, the target format is  PDF(pdflatex), not PDF(ps2pdf).
 
 It works anyway for me. As an experiment, you may want to create a new
 converter:
 from EPS to PDF(pdflatex). Just copy everything from the
 EPS-PDF(ps2pdf) converter.
 
 Helge Hafting

epstopdf is in the path and is found by LyX I suppose, in fact I see at the 
buttom that it converts eps files.
When running LyX from the terminal I get:

l...@luca-desktop:~$ lyx
lyx(32608)/ EPSHandler::read: kimgio EPS: starting...
lyx(32608)/ seekToCodeStart: kimgio EPS: normal EPS file
lyx(32608)/ bbox: kimgio EPS BBOX:  90   236   493   560
lyx(32608)/ EPSHandler::read: kimgio EPS: success!

Anyway, this is a problem related to this specific file, i.e. my thesis, as if 
I create a new file and I insert in there an eps file, pdflatex correctly 
produces the PDF. This is happening under both Linux and MacOSX.
Any idea why?

Thanks!
Luca


Re: How do I apply the ISO 690 reference style to my bibliography listings? (Mac LyX user)

2009-11-19 Thread Uwe Stöhr

Daisuke Koya schrieb:


Yes, I found it, thank you very much.

Unfortunately the plainnat style isn't the one I need.


But when you open the file plainnat.bst, it says that it follows the ISO 690.

When this style is not suitable for you, google for another BibTeX style file that follows the ISO 
690. I found a lot of them, also some that are adapted for certain languages line for German or 
Czech texts.


regards Uwe


Re: Defining color .

2009-11-19 Thread Uwe Stöhr

nikunj . schrieb:


I am using 'color' package. How do I define more colors ? All I know is that
I can use \definecolor{name}{model}{color-spec} in the preamble.
Can someone guide me with the color spec thing?


The EmbeddedObjects manual that you find in LyX's Help menu explains in sec. 2.11 Colored Tables 
how to define colors.



Isn' t there a comprehensive list of such color-specs?


Yes, there is:
http://mirror.ctan.org/macros/latex/contrib/xcolor/xcolor.pdf
Caution!, this PDF is huge and definecolor should already do what you need.

regards Uwe


Re: Cryptic Latex message

2009-11-19 Thread Stefano Franchi
On 11/18/09, lyx-de...@oak-tree.us wrote:
Hi Stefano,

I've been having very similar problems.  They started when I updated from
 Ubuntu 9.04 to 9.10.  I haven't been able to solve them yet. I've also had
 problems with LyX correctly creating a preview (they're usually weird
 looking and black and white).

The only solution I've found so far is to convert to PDF in Inkscape.


Right, that's what I have been doing as well. It would be nice to avoid the 
extra step, especially because it prevents the possibility of ha ving the 
inkscape and pdf versions out of sync. I guess we'll wait for the next version 
of inkscape.


Cheers,

S.


__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Re: Wassenhoven ans lastchecked-option

2009-11-19 Thread Dominik Waßenhoven
Dear Jess,

jezZiFeR wrote:
 thank you. As you said, it´s got to work under normal circumstances I  
 tried out some things, and I recognized, that my two URL-entries are  
 saved as webpage in BibDesk. When I have changed that to url  
 things are changing:
 - It still does not display the lastchecked-date, how could I change  
 that?

biblatex has no field 'lastchecked', but 'urldate' which is referring
to the retrieval date of the address specified in the url field, as the
biblatex documentation states.

 - it now displays the date entered in urlfield, but I would like to  
 have not just numbers besucht am 15.01.2005, but with the month  
 written out, if that is possible (besucht am 15. Januar 2005).

Option 'date=long'.

 In my case this would not be correct anyway, as I entered the original date  
 here. Is this the field where to enter the date, when I visited the  
 url first?

Who cares when you visited the URL first? The date you specify with an
URL is used to show when the information you took from this website was
online. It is normally stated because the website could have changed
afterwards.

Regards,
Dominik.-



Re: scaling preview formulas

2009-11-19 Thread Uwe Stöhr

Stefano Baroni schrieb:

Hi! Is there any way of scaling the previewed formulas by the same 
factor as the ordinary text?


Not directly. But you can change the scaling factor of the previews independently of the text. In 
the next LyX release LyX 1.6.5 you can do this in the LyX preferences.


In LyX 1.6.4 and earlier you need to do that by adding the following line to the file 
lyxrc.dist:

\preview_scale_factor 1.0

1.0 means 100%, 1.5 means 150%, etc.
The current default is 0.9.

regards Uwe


RE: XeLaTeX, fontenc, LyX and Stubborn Fonts

2009-11-19 Thread Rob Oakes
Hi Günter,

Thank you for the thorough reply.

Seems to be the default CM. Never call it ugly on a TeX-related list.

I will remember that.  I should probably apologize for the rather harsh 
language.  It's amazing what happens when you are frustrated.  By the time I 
had emailed the list, I had tried just about everything I knew of to get it to 
work.  I also appreciate the pointers to the previous discussion, which I only 
skimmed when it appeared on the list last week.

What do you call correct?

The document class specifies a completely different font from computer modern.  
(As I wrote the document class, there might be a problem in how I have defined 
it though.)  It should be making use of an Open Type font called Diavlo.  Here 
is the relevant font code from the document class.

\RequirePackage{fancyhdr}
\RequirePackage{fontspec}
\RequirePackage{xunicode}
\RequirePackage{xlxtra}

\setmainfont{Diavo}
\setmonofont{Courier 10 Pitch}

As I mentioned in the previous email, this code gets ignored completely.  Even 
if I add the following to the LaTeX document preamble:

\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xlxtra}

\setmainfont{Diavlo}
\setmonofont{Courier 10 Pitch}

I will go ahead and look through the archives.  Any ideas on why the document 
class font code is getting ignored?

Cheers,

Rob



Re: Wassenhoven ans lastchecked-option

2009-11-19 Thread jezZiFeR

Dear Dominik,

thanks a lot.


biblatex has no field 'lastchecked', but 'urldate' which is referring
to the retrieval date of the address specified in the url field, as  
the

biblatex documentation states.


I see.


- it now displays the date entered in urlfield, but I would like to
have not just numbers besucht am 15.01.2005, but with the month
written out, if that is possible (besucht am 15. Januar 2005).


Option 'date=long'.


I´ve entered that in the preamble in the following manner:
\usepackage[natbib=true,style=authortitle-dw, style=footnote- 
dw,date=long]{biblatex}

but it does not change the formatting. What did I do wrong?

Thank you again, best*
Jess




Re: How do I apply the ISO 690 reference style to my bibliography listings? (Mac LyX user)

2009-11-19 Thread Daisuke Koya
Thank you Uwe,

I have found that some of the IEEE formatting is similar to what I need for ISO 
690 that the Audio Engineering Society uses.

What I also found was to use

@INPROCEEDINGS

instead of

@PROCEEDINGS

for the exported BibTeX entries from Bookends, as this somehow passed along 
more fields to the bibliography entries.

Many thanks again,

Daisuke

On 19 Nov 2009, at 14:12, Uwe Stöhr wrote:

 Daisuke Koya schrieb:
 
 Yes, I found it, thank you very much.
 Unfortunately the plainnat style isn't the one I need.
 
 But when you open the file plainnat.bst, it says that it follows the ISO 690.
 
 When this style is not suitable for you, google for another BibTeX style file 
 that follows the ISO 690. I found a lot of them, also some that are adapted 
 for certain languages line for German or Czech texts.
 
 regards Uwe



Re: Wassenhoven ans lastchecked-option

2009-11-19 Thread Dominik Waßenhoven
jezZiFeR wrote:

 Option 'date=long'.
 
 I´ve entered that in the preamble in the following manner:
 \usepackage[natbib=true,style=authortitle-dw, style=footnote- 
 dw,date=long]{biblatex}

First, note that you should use /either/ authortitle-dw /or/
footnote-dw, not both styles! (It does no harm, since the last option
overrides the previously given one.)

The next thing is, I gave you not the correct hint, since it's not
date=long, but urldate=long for the urldate. Note that the month will
come out abbreviated as long as you use 'abbreviate=true' (which is the
default). Thus, for a full month, you should use the options
'urldate=long' and 'abbreviate=false'. If you would like to preserve
other abbreviations (like 'ed.'/'Hrsg.'), you could leave the abbreviate
option as is and change the way biblatex handles the month names:

8---8
\DefineBibliographyStrings{ngerman}{%
  november = {November}
}
8---8

Thus, the month name will not be abbreviated, even if abbreviate=true is
set.

Regards,
Dominik.-



What's the difference between \RequirePackage and \usepackage?

2009-11-19 Thread Steve Litt
Hi all,

I crawled all over Google and CTAN and couldn't find an answer to this 
question:

What's the difference between \RequirePackage and \usepackage?

When would I use \RequirePackage? I've never used it before -- I've always 
used \usepackage.

One thing my Google travels did uncover is that if you use two different 
packages both containing \RequirePackage{fancyhdr}, you'll get an error 
message and compilation will halt. There's no solution for this as easy as the 
old C idiom:

#ifndef MYINCLUDE
#define MYINCLUDE 1
/*begin code for myinclude.h*/
/*end code for myinclude.h*/
#endif

So, when would I need to use \RequirePackage?

Thanks

StevET
 as easy
-- 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt




Re: Defining color .

2009-11-19 Thread Yago

Search the document chroma.pdf in the CTAN.
- Original Message - 
From: nikunj . nikunjk...@gmail.com

To: lyx-users@lists.lyx.org
Sent: Thursday, November 19, 2009 10:16 AM
Subject: Defining color .



Hi,

I am using 'color' package. How do I define more colors ? All I know is 
that

I can use \definecolor{name}{model}{color-spec} in the preamble.
Can someone guide me with the color spec thing?  Isn' t there a
comprehensive list of such color-specs ?

Nikunj.





RE: XeLaTeX, fontenc, LyX and Stubborn Fonts

2009-11-19 Thread Rob Oakes
Dear Günter and other LyX users,

Again thank you for the advice to check last week's and earlier
discussions.  While reading through the old emails, I was able to
resolve the problem.  To solve it, I went to Tools-Preferences-LaTeX
and changed the TeX encoding to a null value (blank).  I saw where
others had success in setting it to default, but that didn't work for
me.  I also had to change the underlying document class to load its
defaults from the scrbook document class instead of from book.  The only
font that I could get to reliably work with book was computer modern
(which fails to impress when seen on screen, I thought the printed
output was fine).

The only explanation that I could come up with for my problem was that
the Open Type font I was given isn't compatible with a T1 font encoding.
I tried to create a font definition and proper LaTeX package for it, but
finally got frustrated and just gave up.

As I mentioned in my last email, it has been s a very frustrating two
days.  Whenever I have this much trouble with a piece of technology, I
like to create a brief write up of the things that I learned.  It gives
me a reference to go back to in the future.  Topics I'd like to include
are a discussion of the LaTeX fonts, TeX encoding, and what LyX does by
default.

Is anyone aware of a resource (wiki, book chapter, webpage, or blog)
that discusses the fontenc and fontspec packages in detail?  I think
that my issue is fairly specific to xetex, so that mailing list may be a
better place to ask.  As I'm researching this, is there anything else
that I should keep in mind?

Cheers,

Rob



greek characters in index?

2009-11-19 Thread tedc

My manuscript contains many strings that combine sequences of greek and roman
characters. How can I get these to appear in the index?

For example, the document source initially contains
$\Delta$x
which displays as upper case delta followed by x. If I select the displayed
delta and x and click on Lyx'x Insert index entry button, the document
source changes to
\index{\Deltax}$\Delta$x
but when I try to generate an index I get an undefined control sequence
error message.

If I manually change the document source to
\index{$\Delta$x}$\Delta$x
there is no error message, and the index looks OK. Is this a legitimate way
to proceed? If yes, does Insert index entry do this automatically in a
more recent version of LyX than the one I'm using (which is 1.5.6)? Is there
a better way to do this?
-- 
View this message in context: 
http://n2.nabble.com/greek-characters-in-index-tp4033865p4033865.html
Sent from the LyX - Users mailing list archive at Nabble.com.


RE: greek characters in index?

2009-11-19 Thread Vincent van Ravesteijn - TNW
For example, the document source initially contains
$\Delta$x which displays as upper case delta followed
by x. If I select the displayed delta and x and click
on Lyx'x Insert index entry button, the document source
changes to \index{\Deltax}$\Delta$x but when I try to
generate an index I get an undefined control sequence
error message.

If I manually change the document source to
\index{$\Delta$x}$\Delta$x there is no error message,
and the index looks OK. Is this a legitimate way to
proceed? If yes, does Insert index entry do this
automatically in a more recent version of LyX than
the one I'm using (which is 1.5.6)? Is there a better
way to do this?

You can just copy the math into the index and it will generate the
correct LaTeX.

I think you've found a bug. Can you report it to
http://www.lyx.org/trac/wiki/BugTrackerHome ?

Vincent



Directory path to the document cannot contain spaces

2009-11-19 Thread Adam Hoffman
I recently installed LyX 1.6.4-1 on a Windows 7 system, and I'm having an
issue that is not common to my previous LyX installs (1.6.?) on an XP SP3
and Vista 64 SP1 system.

Whenever I try to generate a pdf/dvi/ps file from a file path that includes
spaces, I get an error message indicating that this is not permitted.  I am
not having this issue with previous installs of LyX.  Can anyone explain the
source of the issue and, more importantly, how I can resolve it?

Thanks


Package unitsdef does not work correctly

2009-11-19 Thread Marcus

I migrated a LaTex project into Lyx. (karmic, Lyx1.3)
The document has many numbers with a unit like 2.5 µl or 280 nm² etc.
In LaTex I used the 
http://www.ctan.org/tex-archive/help/Catalogue/entries/unitsdef.html
unitsdef package . It makes sure that the actual unit is not separated from
the value. It also expresses indices and exponents correctly and so on.
I included the usepackage in the preamble. But somehow the specific commands
are not processed correctly. In fact they are not processed at all.

Has anybody used unitsdef in Lyx?

Does someone know about a different solution that does the same thing?

-
Und wozu? Zu Recht!
-- 
View this message in context: 
http://n2.nabble.com/Package-unitsdef-does-not-work-correctly-tp4034798p4034798.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: greek characters in index?

2009-11-19 Thread Enrico Forestieri
Vincent van Ravesteijn writes:

 I think you've found a bug. Can you report it to
 http://www.lyx.org/trac/wiki/BugTrackerHome ?

It's already reported:
http://www.lyx.org/trac/ticket/2342



How do I pick a custom font?

2009-11-19 Thread Ash Lereth
Is there any way in Lyx to use a font that my OS has? I have windows
vista and just downloaded a bunch of .ttf fonts and want to use them.
I should be able to pick my font right? All I see is
roman/serif/typewriter...I want to pick the font name, where can I do
that?

Thanks for your help.
Kris


Re: How do I pick a custom font?

2009-11-19 Thread Rob Oakes
Hi Kris,

You can indeed pick a custom font, but it's a little bit more
complicated than just pointing and clicking.  And while it might be hard
to believe, this is by design.

LyX and LaTeX are designed as a document processors for the production
of professionally type set documents.  As a result, they follow a lot of
typography conventions.  (I'm hardly an expert on this subject.  For a
much better introduction to the philosophy of LyX and LaTeX, I'd
recommend looking at the help documentation.  Steve Litt has a good
article on his website that introduces some some of the conventions in
more detail.)

One of these conventions is the idea of uniformity and purpose.  In a
typical typeset book, there are usually only a few fonts.  There is a
body font (used in chapters, footnotes, endnotes and references), a
separate font for chapter and section headings, and maybe a third font
for other miscellaneous things.  (I'm not talking about font variants
such as italics.)  When you click on the font settings for LyX, you can
see this idea in practice.  There is typically a Roman font, a
Sans-Serif font, and a typewriter font.  These are called font
families.

The actual font used for typesetting (like Times New Roman, Arial,
Comic Sans, Palatino and others) are somewhat hidden.  In fact, as
long as the writer is using the built-in document classes, she doesn't
need to worry about fonts at all.  They are typically specified by the
document class.  Since it is assumed that the document class was put
together by a typesetting specialist to specifically meet a particular
need, the amount of tinkering required is kept to a minimum.  As an
example, I have a special template put together for NIH grant proposals.
(Whenever, I need to put a proposal together, I fire up LyX and start
typing.  There aren't any worries about trying to get it just right
like there may be with Word templates.)

But like I said, you can change the font if you want.  This is done in
the Document - Settings - Font.  In the dialog, you'll see a couple of
choices.  These include Default Family, Roman, Sans Serif, and
Typewriter.  You can specify a different font for each family.  If
there isn't an option that you like, you can also use a program called
Xelatex, to specify a font from your system.  There is an introduction
on how to set up Xetex to work with LyX on the wiki:
http://wiki.lyx.org/LyX/XeTeX.

After you follow the steps in the LyX wiki, then you can specify fonts
using the commands:

\setromanfont{Font Name}
\setmonofont{Font Name}
\setsansfont{Font Name}

You'll notice that even though you can change the font, you are still
encouraged to use font families.  This is actually a very good design,
not only does it increase the visual consistency of your document, but
it also lets you easily move from one document class to another.  If you
should decide that Comic-Sans is a really ghastly font, you can easily
change it to something else without having to carefully scour your
document.

Through xetex, you can use any font installed on your computer.  Just
remember to create the PDF using xelatex instead of latex of pdflatex,
or it will fail with errors.

Cheers,

Rob Oakes

On Thu, 2009-11-19 at 20:23 -0800, Ash Lereth wrote:
 Is there any way in Lyx to use a font that my OS has? I have windows
 vista and just downloaded a bunch of .ttf fonts and want to use them.
 I should be able to pick my font right? All I see is
 roman/serif/typewriter...I want to pick the font name, where can I do
 that?
 
 Thanks for your help.
 Kris




Re: Wassenhoven ans lastchecked-option

2009-11-19 Thread Dominik Waßenhoven
jezZiFeR wrote:

 Could anybody tell me how to activate  the URL-date and lastchecked  
 option in Wassenhoven-style?

I assume that you are talking of biblatex-dw with the style footnote-dw
and that you want to have the url and urldate printed in the footnote,
right? That should be working (see example below), so you should tell
us, why it is not working for you. You could do so by providing a
minimal example showing your problem.

8[ minimal example ]8
\documentclass[english]{scrartcl}
\listfiles
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@ARTICLE{article,
  author = {Name, Nobody},
  title = {An Article},
  journal = {A Journal},
  year = {2006},
  volume = {6},
  pages = {19--75},
url = {http://www.link-to-journal.com/article.html},
urldate = {2009-11-19}
}
\end{filecontents}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel,csquotes}

\usepackage[
style=footnote-dw,
]{biblatex}
\bibliography{\jobname}

\begin{document}
\cite{article}

\printbibliography
\end{document}
8---8

Regards,
Dominik.-



Re: Wassenhoven ans lastchecked-option

2009-11-19 Thread Dominik Waßenhoven
Dominik Waßenhoven wrote:

 I assume that you are talking of biblatex-dw with the style footnote-dw
 and that you want to have the url and urldate printed in the footnote,
 right? That should be working (see example below), so you should tell
 us, why it is not working for you. You could do so by providing a
 minimal example showing your problem.

Sorry, I was not quite concentrated and thougth I was reading an article
of the TeX user group (I am reading the LyX-Mails in my Newsreader via
Gmane). However, url and urldate should nevertheless work with
footnote-dw, regardless if you are using a LaTeX editor or LyX.

Regards,
Dominik.-



Defining color .

2009-11-19 Thread nikunj .
Hi,

I am using 'color' package. How do I define more colors ? All I know is that
I can use \definecolor{name}{model}{color-spec} in the preamble.
Can someone guide me with the color spec thing?  Isn' t there a
comprehensive list of such color-specs ?

Nikunj.


Re: How do I apply the ISO 690 reference style to my bibliography listings? (Mac LyX user)

2009-11-19 Thread Daisuke Koya
Hello Uwe,

Yes, I found it, thank you very much.

Unfortunately the plainnat style isn't the one I need.

I will have to figure out how to match or create a style closest to ISO 690.

Many thanks,

Daisuke

On 19 Nov 2009, at 00:11, Uwe Stöhr wrote:

 Daisuke Koya schrieb:
 Hello all,
 I would like to know how I can format my reference listing in the ISO 690 
 style using the Mac version of LyX.
 
 In the inset where you specify the BibTeX files that are used for your 
 document, you find a field named style. Use there the style plainnat.
 
 regards Uwe



scaling preview formulas

2009-11-19 Thread Stefano Baroni
Hi! Is there any way of scaling the previewed formulas by the same  
factor as the ordinary text? Thanks - SB


---
Stefano Baroni - SISSADEMOCRITOS National Simulation Center -  
Trieste
http://stefano.baroni.me [+39] 040 3787 406 (tel) -528 (fax) /  
stefanobaroni (skype)


La morale est une logique de l'action comme la logique est une morale  
de la pensée - Jean Piaget


Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html









Re: Defining color .

2009-11-19 Thread rgheck

On 11/19/2009 04:16 AM, nikunj . wrote:

Hi,

I am using 'color' package. How do I define more colors ? All I know is that
I can use \definecolor{name}{model}{color-spec} in the preamble.
Can someone guide me with the color spec thing?  Isn' t there a
comprehensive list of such color-specs ?

   
It depends on the model. But the simplest thing is to use the rgb model, 
then you can do:

\definecolor{MyColor}{rgb}{1.0,0.6,0.6}
which would give you a peachy color. Values are 0--1, rather than 
0--255, etc.


Other models include cmyk (four numbers) and gray (one).

rh



Re: How do I apply the ISO 690 reference style to my bibliography listings? (Mac LyX user)

2009-11-19 Thread rgheck

On 11/19/2009 04:45 AM, Daisuke Koya wrote:

Hello Uwe,

Yes, I found it, thank you very much.

Unfortunately the plainnat style isn't the one I need.

I will have to figure out how to match or create a style closest to ISO 690.

   
You can try using makebst, for whose docs see here: 
http://tug.ctan.org/tex-archive/macros/latex/contrib/custom-bib/makebst.pdf.


rh



Re: Unknown graphics extension: eps

2009-11-19 Thread Helge Hafting

Luca Carlon wrote:
Hi everyone! I have a document with many graphic files in eps format. 
When I try to generate the PDF using pdflatex, I get many occurrences of 
the following error:


Latex error: unknown graphics extension: .eps.

The PDF is created without errors with ps2pdf. I tried some of these 
files in a new lyx file alone, and pdflatex works correctly as well.
Any idea what there could be wrong? I tried on both MacOSX and Linux 
Kubuntu 9.10.

Thanks!


It works on debian linux with lyx 1.6.4, so check if you have necessary 
software. Also check that the converter is found in the PATH, otherwise 
LyX won't find it.


Checking in Tools-Preferences, I see that EPS is listed as a vector 
graphics format, and under converters, the converter is listed as

EPS-PDF(ps2pdf): epstopdf --outfile=$$o $$i

If you have the same, check that epstopdf is found if you give the
command on the command line. If that works, run LyX from the command 
line and see if it works that way. LyX starting from a window manager 
menu / icon may theoretically operate with a different PATH where 
epstopdf cannot be found.


Strangely, the converter is only for the format PDF(ps2pdf). When 
pdflatex is used, the target format is  PDF(pdflatex), not PDF(ps2pdf).


It works anyway for me. As an experiment, you may want to create a new 
converter:
from EPS to PDF(pdflatex). Just copy everything from the 
EPS-PDF(ps2pdf) converter.


Helge Hafting



Re: Unknown graphics extension: eps

2009-11-19 Thread Luca Carlon
On Thursday 19 November 2009 02:44:55 pm Helge Hafting wrote:
 It works on debian linux with lyx 1.6.4, so check if you have necessary
 software. Also check that the converter is found in the PATH, otherwise
 LyX won't find it.
 
 Checking in Tools-Preferences, I see that EPS is listed as a vector
 graphics format, and under converters, the converter is listed as
 EPS-PDF(ps2pdf): epstopdf --outfile=$$o $$i
 
 If you have the same, check that epstopdf is found if you give the
 command on the command line. If that works, run LyX from the command
 line and see if it works that way. LyX starting from a window manager
 menu / icon may theoretically operate with a different PATH where
 epstopdf cannot be found.
 
 Strangely, the converter is only for the format PDF(ps2pdf). When
 pdflatex is used, the target format is  PDF(pdflatex), not PDF(ps2pdf).
 
 It works anyway for me. As an experiment, you may want to create a new
 converter:
 from EPS to PDF(pdflatex). Just copy everything from the
 EPS-PDF(ps2pdf) converter.
 
 Helge Hafting

epstopdf is in the path and is found by LyX I suppose, in fact I see at the 
buttom that it converts eps files.
When running LyX from the terminal I get:

l...@luca-desktop:~$ lyx
lyx(32608)/ EPSHandler::read: kimgio EPS: starting...
lyx(32608)/ seekToCodeStart: kimgio EPS: normal EPS file
lyx(32608)/ bbox: kimgio EPS BBOX:  90   236   493   560
lyx(32608)/ EPSHandler::read: kimgio EPS: success!

Anyway, this is a problem related to this specific file, i.e. my thesis, as if 
I create a new file and I insert in there an eps file, pdflatex correctly 
produces the PDF. This is happening under both Linux and MacOSX.
Any idea why?

Thanks!
Luca


Re: How do I apply the ISO 690 reference style to my bibliography listings? (Mac LyX user)

2009-11-19 Thread Uwe Stöhr

Daisuke Koya schrieb:


Yes, I found it, thank you very much.

Unfortunately the plainnat style isn't the one I need.


But when you open the file plainnat.bst, it says that it follows the ISO 690.

When this style is not suitable for you, google for another BibTeX style file that follows the ISO 
690. I found a lot of them, also some that are adapted for certain languages line for German or 
Czech texts.


regards Uwe


Re: Defining color .

2009-11-19 Thread Uwe Stöhr

nikunj . schrieb:


I am using 'color' package. How do I define more colors ? All I know is that
I can use \definecolor{name}{model}{color-spec} in the preamble.
Can someone guide me with the color spec thing?


The EmbeddedObjects manual that you find in LyX's Help menu explains in sec. 2.11 Colored Tables 
how to define colors.



Isn' t there a comprehensive list of such color-specs?


Yes, there is:
http://mirror.ctan.org/macros/latex/contrib/xcolor/xcolor.pdf
Caution!, this PDF is huge and definecolor should already do what you need.

regards Uwe


Re: Cryptic Latex message

2009-11-19 Thread Stefano Franchi
On 11/18/09, lyx-de...@oak-tree.us wrote:
Hi Stefano,

I've been having very similar problems.  They started when I updated from
 Ubuntu 9.04 to 9.10.  I haven't been able to solve them yet. I've also had
 problems with LyX correctly creating a preview (they're usually weird
 looking and black and white).

The only solution I've found so far is to convert to PDF in Inkscape.


Right, that's what I have been doing as well. It would be nice to avoid the 
extra step, especially because it prevents the possibility of ha ving the 
inkscape and pdf versions out of sync. I guess we'll wait for the next version 
of inkscape.


Cheers,

S.


__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Re: Wassenhoven ans lastchecked-option

2009-11-19 Thread Dominik Waßenhoven
Dear Jess,

jezZiFeR wrote:
 thank you. As you said, it´s got to work under normal circumstances I  
 tried out some things, and I recognized, that my two URL-entries are  
 saved as webpage in BibDesk. When I have changed that to url  
 things are changing:
 - It still does not display the lastchecked-date, how could I change  
 that?

biblatex has no field 'lastchecked', but 'urldate' which is referring
to the retrieval date of the address specified in the url field, as the
biblatex documentation states.

 - it now displays the date entered in urlfield, but I would like to  
 have not just numbers besucht am 15.01.2005, but with the month  
 written out, if that is possible (besucht am 15. Januar 2005).

Option 'date=long'.

 In my case this would not be correct anyway, as I entered the original date  
 here. Is this the field where to enter the date, when I visited the  
 url first?

Who cares when you visited the URL first? The date you specify with an
URL is used to show when the information you took from this website was
online. It is normally stated because the website could have changed
afterwards.

Regards,
Dominik.-



Re: scaling preview formulas

2009-11-19 Thread Uwe Stöhr

Stefano Baroni schrieb:

Hi! Is there any way of scaling the previewed formulas by the same 
factor as the ordinary text?


Not directly. But you can change the scaling factor of the previews independently of the text. In 
the next LyX release LyX 1.6.5 you can do this in the LyX preferences.


In LyX 1.6.4 and earlier you need to do that by adding the following line to the file 
lyxrc.dist:

\preview_scale_factor 1.0

1.0 means 100%, 1.5 means 150%, etc.
The current default is 0.9.

regards Uwe


RE: XeLaTeX, fontenc, LyX and Stubborn Fonts

2009-11-19 Thread Rob Oakes
Hi Günter,

Thank you for the thorough reply.

Seems to be the default CM. Never call it ugly on a TeX-related list.

I will remember that.  I should probably apologize for the rather harsh 
language.  It's amazing what happens when you are frustrated.  By the time I 
had emailed the list, I had tried just about everything I knew of to get it to 
work.  I also appreciate the pointers to the previous discussion, which I only 
skimmed when it appeared on the list last week.

What do you call correct?

The document class specifies a completely different font from computer modern.  
(As I wrote the document class, there might be a problem in how I have defined 
it though.)  It should be making use of an Open Type font called Diavlo.  Here 
is the relevant font code from the document class.

\RequirePackage{fancyhdr}
\RequirePackage{fontspec}
\RequirePackage{xunicode}
\RequirePackage{xlxtra}

\setmainfont{Diavo}
\setmonofont{Courier 10 Pitch}

As I mentioned in the previous email, this code gets ignored completely.  Even 
if I add the following to the LaTeX document preamble:

\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xlxtra}

\setmainfont{Diavlo}
\setmonofont{Courier 10 Pitch}

I will go ahead and look through the archives.  Any ideas on why the document 
class font code is getting ignored?

Cheers,

Rob



Re: Wassenhoven ans lastchecked-option

2009-11-19 Thread jezZiFeR

Dear Dominik,

thanks a lot.


biblatex has no field 'lastchecked', but 'urldate' which is referring
to the retrieval date of the address specified in the url field, as  
the

biblatex documentation states.


I see.


- it now displays the date entered in urlfield, but I would like to
have not just numbers besucht am 15.01.2005, but with the month
written out, if that is possible (besucht am 15. Januar 2005).


Option 'date=long'.


I´ve entered that in the preamble in the following manner:
\usepackage[natbib=true,style=authortitle-dw, style=footnote- 
dw,date=long]{biblatex}

but it does not change the formatting. What did I do wrong?

Thank you again, best*
Jess




Re: How do I apply the ISO 690 reference style to my bibliography listings? (Mac LyX user)

2009-11-19 Thread Daisuke Koya
Thank you Uwe,

I have found that some of the IEEE formatting is similar to what I need for ISO 
690 that the Audio Engineering Society uses.

What I also found was to use

@INPROCEEDINGS

instead of

@PROCEEDINGS

for the exported BibTeX entries from Bookends, as this somehow passed along 
more fields to the bibliography entries.

Many thanks again,

Daisuke

On 19 Nov 2009, at 14:12, Uwe Stöhr wrote:

 Daisuke Koya schrieb:
 
 Yes, I found it, thank you very much.
 Unfortunately the plainnat style isn't the one I need.
 
 But when you open the file plainnat.bst, it says that it follows the ISO 690.
 
 When this style is not suitable for you, google for another BibTeX style file 
 that follows the ISO 690. I found a lot of them, also some that are adapted 
 for certain languages line for German or Czech texts.
 
 regards Uwe



Re: Wassenhoven ans lastchecked-option

2009-11-19 Thread Dominik Waßenhoven
jezZiFeR wrote:

 Option 'date=long'.
 
 I´ve entered that in the preamble in the following manner:
 \usepackage[natbib=true,style=authortitle-dw, style=footnote- 
 dw,date=long]{biblatex}

First, note that you should use /either/ authortitle-dw /or/
footnote-dw, not both styles! (It does no harm, since the last option
overrides the previously given one.)

The next thing is, I gave you not the correct hint, since it's not
date=long, but urldate=long for the urldate. Note that the month will
come out abbreviated as long as you use 'abbreviate=true' (which is the
default). Thus, for a full month, you should use the options
'urldate=long' and 'abbreviate=false'. If you would like to preserve
other abbreviations (like 'ed.'/'Hrsg.'), you could leave the abbreviate
option as is and change the way biblatex handles the month names:

8---8
\DefineBibliographyStrings{ngerman}{%
  november = {November}
}
8---8

Thus, the month name will not be abbreviated, even if abbreviate=true is
set.

Regards,
Dominik.-



What's the difference between \RequirePackage and \usepackage?

2009-11-19 Thread Steve Litt
Hi all,

I crawled all over Google and CTAN and couldn't find an answer to this 
question:

What's the difference between \RequirePackage and \usepackage?

When would I use \RequirePackage? I've never used it before -- I've always 
used \usepackage.

One thing my Google travels did uncover is that if you use two different 
packages both containing \RequirePackage{fancyhdr}, you'll get an error 
message and compilation will halt. There's no solution for this as easy as the 
old C idiom:

#ifndef MYINCLUDE
#define MYINCLUDE 1
/*begin code for myinclude.h*/
/*end code for myinclude.h*/
#endif

So, when would I need to use \RequirePackage?

Thanks

StevET
 as easy
-- 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt




Re: Defining color .

2009-11-19 Thread Yago

Search the document chroma.pdf in the CTAN.
- Original Message - 
From: nikunj . nikunjk...@gmail.com

To: lyx-users@lists.lyx.org
Sent: Thursday, November 19, 2009 10:16 AM
Subject: Defining color .



Hi,

I am using 'color' package. How do I define more colors ? All I know is 
that

I can use \definecolor{name}{model}{color-spec} in the preamble.
Can someone guide me with the color spec thing?  Isn' t there a
comprehensive list of such color-specs ?

Nikunj.





RE: XeLaTeX, fontenc, LyX and Stubborn Fonts

2009-11-19 Thread Rob Oakes
Dear Günter and other LyX users,

Again thank you for the advice to check last week's and earlier
discussions.  While reading through the old emails, I was able to
resolve the problem.  To solve it, I went to Tools-Preferences-LaTeX
and changed the TeX encoding to a null value (blank).  I saw where
others had success in setting it to default, but that didn't work for
me.  I also had to change the underlying document class to load its
defaults from the scrbook document class instead of from book.  The only
font that I could get to reliably work with book was computer modern
(which fails to impress when seen on screen, I thought the printed
output was fine).

The only explanation that I could come up with for my problem was that
the Open Type font I was given isn't compatible with a T1 font encoding.
I tried to create a font definition and proper LaTeX package for it, but
finally got frustrated and just gave up.

As I mentioned in my last email, it has been s a very frustrating two
days.  Whenever I have this much trouble with a piece of technology, I
like to create a brief write up of the things that I learned.  It gives
me a reference to go back to in the future.  Topics I'd like to include
are a discussion of the LaTeX fonts, TeX encoding, and what LyX does by
default.

Is anyone aware of a resource (wiki, book chapter, webpage, or blog)
that discusses the fontenc and fontspec packages in detail?  I think
that my issue is fairly specific to xetex, so that mailing list may be a
better place to ask.  As I'm researching this, is there anything else
that I should keep in mind?

Cheers,

Rob



greek characters in index?

2009-11-19 Thread tedc

My manuscript contains many strings that combine sequences of greek and roman
characters. How can I get these to appear in the index?

For example, the document source initially contains
$\Delta$x
which displays as upper case delta followed by x. If I select the displayed
delta and x and click on Lyx'x Insert index entry button, the document
source changes to
\index{\Deltax}$\Delta$x
but when I try to generate an index I get an undefined control sequence
error message.

If I manually change the document source to
\index{$\Delta$x}$\Delta$x
there is no error message, and the index looks OK. Is this a legitimate way
to proceed? If yes, does Insert index entry do this automatically in a
more recent version of LyX than the one I'm using (which is 1.5.6)? Is there
a better way to do this?
-- 
View this message in context: 
http://n2.nabble.com/greek-characters-in-index-tp4033865p4033865.html
Sent from the LyX - Users mailing list archive at Nabble.com.


RE: greek characters in index?

2009-11-19 Thread Vincent van Ravesteijn - TNW
For example, the document source initially contains
$\Delta$x which displays as upper case delta followed
by x. If I select the displayed delta and x and click
on Lyx'x Insert index entry button, the document source
changes to \index{\Deltax}$\Delta$x but when I try to
generate an index I get an undefined control sequence
error message.

If I manually change the document source to
\index{$\Delta$x}$\Delta$x there is no error message,
and the index looks OK. Is this a legitimate way to
proceed? If yes, does Insert index entry do this
automatically in a more recent version of LyX than
the one I'm using (which is 1.5.6)? Is there a better
way to do this?

You can just copy the math into the index and it will generate the
correct LaTeX.

I think you've found a bug. Can you report it to
http://www.lyx.org/trac/wiki/BugTrackerHome ?

Vincent



Directory path to the document cannot contain spaces

2009-11-19 Thread Adam Hoffman
I recently installed LyX 1.6.4-1 on a Windows 7 system, and I'm having an
issue that is not common to my previous LyX installs (1.6.?) on an XP SP3
and Vista 64 SP1 system.

Whenever I try to generate a pdf/dvi/ps file from a file path that includes
spaces, I get an error message indicating that this is not permitted.  I am
not having this issue with previous installs of LyX.  Can anyone explain the
source of the issue and, more importantly, how I can resolve it?

Thanks


Package unitsdef does not work correctly

2009-11-19 Thread Marcus

I migrated a LaTex project into Lyx. (karmic, Lyx1.3)
The document has many numbers with a unit like 2.5 µl or 280 nm² etc.
In LaTex I used the 
http://www.ctan.org/tex-archive/help/Catalogue/entries/unitsdef.html
unitsdef package . It makes sure that the actual unit is not separated from
the value. It also expresses indices and exponents correctly and so on.
I included the usepackage in the preamble. But somehow the specific commands
are not processed correctly. In fact they are not processed at all.

Has anybody used unitsdef in Lyx?

Does someone know about a different solution that does the same thing?

-
Und wozu? Zu Recht!
-- 
View this message in context: 
http://n2.nabble.com/Package-unitsdef-does-not-work-correctly-tp4034798p4034798.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: greek characters in index?

2009-11-19 Thread Enrico Forestieri
Vincent van Ravesteijn writes:

 I think you've found a bug. Can you report it to
 http://www.lyx.org/trac/wiki/BugTrackerHome ?

It's already reported:
http://www.lyx.org/trac/ticket/2342



How do I pick a custom font?

2009-11-19 Thread Ash Lereth
Is there any way in Lyx to use a font that my OS has? I have windows
vista and just downloaded a bunch of .ttf fonts and want to use them.
I should be able to pick my font right? All I see is
roman/serif/typewriter...I want to pick the font name, where can I do
that?

Thanks for your help.
Kris


Re: How do I pick a custom font?

2009-11-19 Thread Rob Oakes
Hi Kris,

You can indeed pick a custom font, but it's a little bit more
complicated than just pointing and clicking.  And while it might be hard
to believe, this is by design.

LyX and LaTeX are designed as a document processors for the production
of professionally type set documents.  As a result, they follow a lot of
typography conventions.  (I'm hardly an expert on this subject.  For a
much better introduction to the philosophy of LyX and LaTeX, I'd
recommend looking at the help documentation.  Steve Litt has a good
article on his website that introduces some some of the conventions in
more detail.)

One of these conventions is the idea of uniformity and purpose.  In a
typical typeset book, there are usually only a few fonts.  There is a
body font (used in chapters, footnotes, endnotes and references), a
separate font for chapter and section headings, and maybe a third font
for other miscellaneous things.  (I'm not talking about font variants
such as italics.)  When you click on the font settings for LyX, you can
see this idea in practice.  There is typically a Roman font, a
Sans-Serif font, and a typewriter font.  These are called font
families.

The actual font used for typesetting (like Times New Roman, Arial,
Comic Sans, Palatino and others) are somewhat hidden.  In fact, as
long as the writer is using the built-in document classes, she doesn't
need to worry about fonts at all.  They are typically specified by the
document class.  Since it is assumed that the document class was put
together by a typesetting specialist to specifically meet a particular
need, the amount of tinkering required is kept to a minimum.  As an
example, I have a special template put together for NIH grant proposals.
(Whenever, I need to put a proposal together, I fire up LyX and start
typing.  There aren't any worries about trying to get it just right
like there may be with Word templates.)

But like I said, you can change the font if you want.  This is done in
the Document - Settings - Font.  In the dialog, you'll see a couple of
choices.  These include Default Family, Roman, Sans Serif, and
Typewriter.  You can specify a different font for each family.  If
there isn't an option that you like, you can also use a program called
Xelatex, to specify a font from your system.  There is an introduction
on how to set up Xetex to work with LyX on the wiki:
http://wiki.lyx.org/LyX/XeTeX.

After you follow the steps in the LyX wiki, then you can specify fonts
using the commands:

\setromanfont{Font Name}
\setmonofont{Font Name}
\setsansfont{Font Name}

You'll notice that even though you can change the font, you are still
encouraged to use font families.  This is actually a very good design,
not only does it increase the visual consistency of your document, but
it also lets you easily move from one document class to another.  If you
should decide that Comic-Sans is a really ghastly font, you can easily
change it to something else without having to carefully scour your
document.

Through xetex, you can use any font installed on your computer.  Just
remember to create the PDF using xelatex instead of latex of pdflatex,
or it will fail with errors.

Cheers,

Rob Oakes

On Thu, 2009-11-19 at 20:23 -0800, Ash Lereth wrote:
 Is there any way in Lyx to use a font that my OS has? I have windows
 vista and just downloaded a bunch of .ttf fonts and want to use them.
 I should be able to pick my font right? All I see is
 roman/serif/typewriter...I want to pick the font name, where can I do
 that?
 
 Thanks for your help.
 Kris




Re: Wassenhoven ans lastchecked-option

2009-11-19 Thread Dominik Waßenhoven
jezZiFeR wrote:

> Could anybody tell me how to activate  the URL-date and lastchecked  
> option in Wassenhoven-style?

I assume that you are talking of biblatex-dw with the style footnote-dw
and that you want to have the url and urldate printed in the footnote,
right? That should be working (see example below), so you should tell
us, why it is not working for you. You could do so by providing a
minimal example showing your problem.

8<[ minimal example ]>8
\documentclass[english]{scrartcl}
\listfiles
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@ARTICLE{article,
  author = {Name, Nobody},
  title = {An Article},
  journal = {A Journal},
  year = {2006},
  volume = {6},
  pages = {19--75},
url = {http://www.link-to-journal.com/article.html},
urldate = {2009-11-19}
}
\end{filecontents}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel,csquotes}

\usepackage[
style=footnote-dw,
]{biblatex}
\bibliography{\jobname}

\begin{document}
\cite{article}

\printbibliography
\end{document}
8<--->8

Regards,
Dominik.-



Re: Wassenhoven ans lastchecked-option

2009-11-19 Thread Dominik Waßenhoven
Dominik Waßenhoven wrote:

> I assume that you are talking of biblatex-dw with the style footnote-dw
> and that you want to have the url and urldate printed in the footnote,
> right? That should be working (see example below), so you should tell
> us, why it is not working for you. You could do so by providing a
> minimal example showing your problem.

Sorry, I was not quite concentrated and thougth I was reading an article
of the TeX user group (I am reading the LyX-Mails in my Newsreader via
Gmane). However, url and urldate should nevertheless work with
footnote-dw, regardless if you are using a LaTeX editor or LyX.

Regards,
Dominik.-



Defining color .

2009-11-19 Thread nikunj .
Hi,

I am using 'color' package. How do I define more colors ? All I know is that
I can use \definecolor{name}{model}{color-spec} in the preamble.
Can someone guide me with the color spec thing?  Isn' t there a
comprehensive list of such color-specs ?

Nikunj.


Re: How do I apply the ISO 690 reference style to my bibliography listings? (Mac LyX user)

2009-11-19 Thread Daisuke Koya
Hello Uwe,

Yes, I found it, thank you very much.

Unfortunately the "plainnat" style isn't the one I need.

I will have to figure out how to match or create a style closest to ISO 690.

Many thanks,

Daisuke

On 19 Nov 2009, at 00:11, Uwe Stöhr wrote:

> Daisuke Koya schrieb:
>> Hello all,
>> I would like to know how I can format my reference listing in the ISO 690 
>> style using the Mac version of LyX.
> 
> In the inset where you specify the BibTeX files that are used for your 
> document, you find a field named "style". Use there the style "plainnat".
> 
> regards Uwe



scaling preview formulas

2009-11-19 Thread Stefano Baroni
Hi! Is there any way of scaling the previewed formulas by the same  
factor as the ordinary text? Thanks - SB


---
Stefano Baroni - SISSA  &  DEMOCRITOS National Simulation Center -  
Trieste
http://stefano.baroni.me [+39] 040 3787 406 (tel) -528 (fax) /  
stefanobaroni (skype)


La morale est une logique de l'action comme la logique est une morale  
de la pensée - Jean Piaget


Please, if possible, don't  send me MS Word or PowerPoint attachments
Why? See:  http://www.gnu.org/philosophy/no-word-attachments.html









Re: Defining color .

2009-11-19 Thread rgheck

On 11/19/2009 04:16 AM, nikunj . wrote:

Hi,

I am using 'color' package. How do I define more colors ? All I know is that
I can use \definecolor{name}{model}{color-spec} in the preamble.
Can someone guide me with the color spec thing?  Isn' t there a
comprehensive list of such color-specs ?

   
It depends on the model. But the simplest thing is to use the rgb model, 
then you can do:

\definecolor{MyColor}{rgb}{1.0,0.6,0.6}
which would give you a peachy color. Values are 0-->1, rather than 
0-->255, etc.


Other models include cmyk (four numbers) and gray (one).

rh



Re: How do I apply the ISO 690 reference style to my bibliography listings? (Mac LyX user)

2009-11-19 Thread rgheck

On 11/19/2009 04:45 AM, Daisuke Koya wrote:

Hello Uwe,

Yes, I found it, thank you very much.

Unfortunately the "plainnat" style isn't the one I need.

I will have to figure out how to match or create a style closest to ISO 690.

   
You can try using makebst, for whose docs see here: 
http://tug.ctan.org/tex-archive/macros/latex/contrib/custom-bib/makebst.pdf.


rh



Re: Unknown graphics extension: eps

2009-11-19 Thread Helge Hafting

Luca Carlon wrote:
Hi everyone! I have a document with many graphic files in eps format. 
When I try to generate the PDF using pdflatex, I get many occurrences of 
the following error:


Latex error: unknown graphics extension: .eps.

The PDF is created without errors with ps2pdf. I tried some of these 
files in a new lyx file alone, and pdflatex works correctly as well.
Any idea what there could be wrong? I tried on both MacOSX and Linux 
Kubuntu 9.10.

Thanks!


It works on debian linux with lyx 1.6.4, so check if you have necessary 
software. Also check that the converter is found in the PATH, otherwise 
LyX won't find it.


Checking in Tools->Preferences, I see that EPS is listed as a vector 
graphics format, and under "converters", the converter is listed as

EPS->PDF(ps2pdf): epstopdf --outfile=$$o $$i

If you have the same, check that "epstopdf" is found if you give the
command on the command line. If that works, run LyX from the command 
line and see if it works that way. LyX starting from a window manager 
menu / icon may theoretically operate with a different PATH where 
epstopdf cannot be found.


Strangely, the converter is only for the format PDF(ps2pdf). When 
pdflatex is used, the target format is  PDF(pdflatex), not PDF(ps2pdf).


It works anyway for me. As an experiment, you may want to create a new 
converter:
from EPS to PDF(pdflatex). Just copy everything from the 
EPS->PDF(ps2pdf) converter.


Helge Hafting



Re: Unknown graphics extension: eps

2009-11-19 Thread Luca Carlon
On Thursday 19 November 2009 02:44:55 pm Helge Hafting wrote:
> It works on debian linux with lyx 1.6.4, so check if you have necessary
> software. Also check that the converter is found in the PATH, otherwise
> LyX won't find it.
> 
> Checking in Tools->Preferences, I see that EPS is listed as a vector
> graphics format, and under "converters", the converter is listed as
> EPS->PDF(ps2pdf): epstopdf --outfile=$$o $$i
> 
> If you have the same, check that "epstopdf" is found if you give the
> command on the command line. If that works, run LyX from the command
> line and see if it works that way. LyX starting from a window manager
> menu / icon may theoretically operate with a different PATH where
> epstopdf cannot be found.
> 
> Strangely, the converter is only for the format PDF(ps2pdf). When
> pdflatex is used, the target format is  PDF(pdflatex), not PDF(ps2pdf).
> 
> It works anyway for me. As an experiment, you may want to create a new
> converter:
> from EPS to PDF(pdflatex). Just copy everything from the
> EPS->PDF(ps2pdf) converter.
> 
> Helge Hafting

epstopdf is in the path and is found by LyX I suppose, in fact I see at the 
buttom that it converts eps files.
When running LyX from the terminal I get:

l...@luca-desktop:~$ lyx
lyx(32608)/ EPSHandler::read: kimgio EPS: starting...
lyx(32608)/ seekToCodeStart: kimgio EPS: normal EPS file
lyx(32608)/ bbox: kimgio EPS BBOX:  90   236   493   560
lyx(32608)/ EPSHandler::read: kimgio EPS: success!

Anyway, this is a problem related to this specific file, i.e. my thesis, as if 
I create a new file and I insert in there an eps file, pdflatex correctly 
produces the PDF. This is happening under both Linux and MacOSX.
Any idea why?

Thanks!
Luca


Re: How do I apply the ISO 690 reference style to my bibliography listings? (Mac LyX user)

2009-11-19 Thread Uwe Stöhr

Daisuke Koya schrieb:


Yes, I found it, thank you very much.

Unfortunately the "plainnat" style isn't the one I need.


But when you open the file plainnat.bst, it says that it follows the ISO 690.

When this style is not suitable for you, google for another BibTeX style file that follows the ISO 
690. I found a lot of them, also some that are adapted for certain languages line for German or 
Czech texts.


regards Uwe


Re: Defining color .

2009-11-19 Thread Uwe Stöhr

nikunj . schrieb:


I am using 'color' package. How do I define more colors ? All I know is that
I can use \definecolor{name}{model}{color-spec} in the preamble.
Can someone guide me with the color spec thing?


The EmbeddedObjects manual that you find in LyX's Help menu explains in sec. 2.11 "Colored Tables" 
how to define colors.



Isn' t there a comprehensive list of such color-specs?


Yes, there is:
http://mirror.ctan.org/macros/latex/contrib/xcolor/xcolor.pdf
Caution!, this PDF is huge and definecolor should already do what you need.

regards Uwe


Re: Cryptic Latex message

2009-11-19 Thread Stefano Franchi
On 11/18/09, lyx-de...@oak-tree.us wrote:
>Hi Stefano,
>
>I've been having very similar problems.  They started when I updated from
> Ubuntu 9.04 to 9.10.  I haven't been able to solve them yet. I've also had
> problems with LyX correctly creating a preview (they're usually weird
> looking and black and white).
>
>The only solution I've found so far is to convert to PDF in Inkscape.
>

Right, that's what I have been doing as well. It would be nice to avoid the 
extra step, especially because it prevents the possibility of ha ving the 
inkscape and pdf versions out of sync. I guess we'll wait for the next version 
of inkscape.


Cheers,

S.


__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas A University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237


Re: Wassenhoven ans lastchecked-option

2009-11-19 Thread Dominik Waßenhoven
Dear Jess,

jezZiFeR wrote:
> thank you. As you said, it´s got to work under normal circumstances I  
> tried out some things, and I recognized, that my two URL-entries are  
> saved as "webpage" in BibDesk. When I have changed that to "url"  
> things are changing:
> - It still does not display the "lastchecked"-date, how could I change  
> that?

biblatex has no field 'lastchecked', but 'urldate' which is "referring
to the retrieval date of the address specified in the url field", as the
biblatex documentation states.

> - it now displays the date entered in "urlfield", but I would like to  
> have not just numbers "besucht am 15.01.2005", but with the month  
> written out, if that is possible ("besucht am 15. Januar 2005").

Option 'date=long'.

> In my case this would not be correct anyway, as I entered the original date  
> here. Is this the field where to enter the date, when I visited the  
> url first?

Who cares when you visited the URL first? The date you specify with an
URL is used to show when the information you took from this website was
online. It is normally stated because the website could have changed
afterwards.

Regards,
Dominik.-



Re: scaling preview formulas

2009-11-19 Thread Uwe Stöhr

Stefano Baroni schrieb:

Hi! Is there any way of scaling the previewed formulas by the same 
factor as the ordinary text?


Not directly. But you can change the scaling factor of the previews independently of the text. In 
the next LyX release LyX 1.6.5 you can do this in the LyX preferences.


In LyX 1.6.4 and earlier you need to do that by adding the following line to the file 
"lyxrc.dist":

\preview_scale_factor "1.0"

"1.0" means 100%, "1.5" means 150%, etc.
The current default is "0.9".

regards Uwe


RE: XeLaTeX, fontenc, LyX and Stubborn Fonts

2009-11-19 Thread Rob Oakes
Hi Günter,

Thank you for the thorough reply.

"Seems to be the default CM. Never call it ugly on a TeX-related list."

I will remember that.  I should probably apologize for the rather harsh 
language.  It's amazing what happens when you are frustrated.  By the time I 
had emailed the list, I had tried just about everything I knew of to get it to 
work.  I also appreciate the pointers to the previous discussion, which I only 
skimmed when it appeared on the list last week.

"What do you call correct?"

The document class specifies a completely different font from computer modern.  
(As I wrote the document class, there might be a problem in how I have defined 
it though.)  It should be making use of an Open Type font called Diavlo.  Here 
is the relevant font code from the document class.

\RequirePackage{fancyhdr}
\RequirePackage{fontspec}
\RequirePackage{xunicode}
\RequirePackage{xlxtra}

\setmainfont{Diavo}
\setmonofont{Courier 10 Pitch}

As I mentioned in the previous email, this code gets ignored completely.  Even 
if I add the following to the LaTeX document preamble:

\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xlxtra}

\setmainfont{Diavlo}
\setmonofont{Courier 10 Pitch}

I will go ahead and look through the archives.  Any ideas on why the document 
class font code is getting ignored?

Cheers,

Rob



Re: Wassenhoven ans lastchecked-option

2009-11-19 Thread jezZiFeR

Dear Dominik,

thanks a lot.


biblatex has no field 'lastchecked', but 'urldate' which is "referring
to the retrieval date of the address specified in the url field", as  
the

biblatex documentation states.


I see.


- it now displays the date entered in "urlfield", but I would like to
have not just numbers "besucht am 15.01.2005", but with the month
written out, if that is possible ("besucht am 15. Januar 2005").


Option 'date=long'.


I´ve entered that in the preamble in the following manner:
\usepackage[natbib=true,style=authortitle-dw, style=footnote- 
dw,date=long]{biblatex}

but it does not change the formatting. What did I do wrong?

Thank you again, best*
Jess




Re: How do I apply the ISO 690 reference style to my bibliography listings? (Mac LyX user)

2009-11-19 Thread Daisuke Koya
Thank you Uwe,

I have found that some of the IEEE formatting is similar to what I need for ISO 
690 that the Audio Engineering Society uses.

What I also found was to use

@INPROCEEDINGS

instead of

@PROCEEDINGS

for the exported BibTeX entries from Bookends, as this somehow passed along 
more fields to the bibliography entries.

Many thanks again,

Daisuke

On 19 Nov 2009, at 14:12, Uwe Stöhr wrote:

> Daisuke Koya schrieb:
> 
>> Yes, I found it, thank you very much.
>> Unfortunately the "plainnat" style isn't the one I need.
> 
> But when you open the file plainnat.bst, it says that it follows the ISO 690.
> 
> When this style is not suitable for you, google for another BibTeX style file 
> that follows the ISO 690. I found a lot of them, also some that are adapted 
> for certain languages line for German or Czech texts.
> 
> regards Uwe



Re: Wassenhoven ans lastchecked-option

2009-11-19 Thread Dominik Waßenhoven
jezZiFeR wrote:

>> Option 'date=long'.
> 
> I´ve entered that in the preamble in the following manner:
> \usepackage[natbib=true,style=authortitle-dw, style=footnote- 
> dw,date=long]{biblatex}

First, note that you should use /either/ authortitle-dw /or/
footnote-dw, not both styles! (It does no harm, since the last option
overrides the previously given one.)

The next thing is, I gave you not the correct hint, since it's not
date=long, but urldate=long for the urldate. Note that the month will
come out abbreviated as long as you use 'abbreviate=true' (which is the
default). Thus, for a full month, you should use the options
'urldate=long' and 'abbreviate=false'. If you would like to preserve
other abbreviations (like 'ed.'/'Hrsg.'), you could leave the abbreviate
option as is and change the way biblatex handles the month names:

8<--->8
\DefineBibliographyStrings{ngerman}{%
  november = {November}
}
8<--->8

Thus, the month name will not be abbreviated, even if abbreviate=true is
set.

Regards,
Dominik.-



What's the difference between \RequirePackage and \usepackage?

2009-11-19 Thread Steve Litt
Hi all,

I crawled all over Google and CTAN and couldn't find an answer to this 
question:

What's the difference between \RequirePackage and \usepackage?

When would I use \RequirePackage? I've never used it before -- I've always 
used \usepackage.

One thing my Google travels did uncover is that if you use two different 
packages both containing \RequirePackage{fancyhdr}, you'll get an error 
message and compilation will halt. There's no solution for this as easy as the 
old C idiom:

#ifndef MYINCLUDE
#define MYINCLUDE 1
/*begin code for myinclude.h*/
/*end code for myinclude.h*/
#endif

So, when would I need to use \RequirePackage?

Thanks

StevET
 as easy
-- 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt




Re: Defining color .

2009-11-19 Thread Yago

Search the document chroma.pdf in the CTAN.
- Original Message - 
From: "nikunj ." 

To: 
Sent: Thursday, November 19, 2009 10:16 AM
Subject: Defining color .



Hi,

I am using 'color' package. How do I define more colors ? All I know is 
that

I can use \definecolor{name}{model}{color-spec} in the preamble.
Can someone guide me with the color spec thing?  Isn' t there a
comprehensive list of such color-specs ?

Nikunj.





RE: XeLaTeX, fontenc, LyX and Stubborn Fonts

2009-11-19 Thread Rob Oakes
Dear Günter and other LyX users,

Again thank you for the advice to check last week's and earlier
discussions.  While reading through the old emails, I was able to
resolve the problem.  To solve it, I went to Tools->Preferences->LaTeX
and changed the TeX encoding to a null value (blank).  I saw where
others had success in setting it to "default", but that didn't work for
me.  I also had to change the underlying document class to load its
defaults from the scrbook document class instead of from book.  The only
font that I could get to reliably work with book was computer modern
(which fails to impress when seen on screen, I thought the printed
output was fine).

The only explanation that I could come up with for my problem was that
the Open Type font I was given isn't compatible with a T1 font encoding.
I tried to create a font definition and proper LaTeX package for it, but
finally got frustrated and just gave up.

As I mentioned in my last email, it has been s a very frustrating two
days.  Whenever I have this much trouble with a piece of technology, I
like to create a brief write up of the things that I learned.  It gives
me a reference to go back to in the future.  Topics I'd like to include
are a discussion of the LaTeX fonts, TeX encoding, and what LyX does by
default.

Is anyone aware of a resource (wiki, book chapter, webpage, or blog)
that discusses the fontenc and fontspec packages in detail?  I think
that my issue is fairly specific to xetex, so that mailing list may be a
better place to ask.  As I'm researching this, is there anything else
that I should keep in mind?

Cheers,

Rob



greek characters in index?

2009-11-19 Thread tedc

My manuscript contains many strings that combine sequences of greek and roman
characters. How can I get these to appear in the index?

For example, the document source initially contains
$\Delta$x
which displays as upper case delta followed by x. If I select the displayed
delta and x and click on Lyx'x "Insert index entry" button, the document
source changes to
\index{\Deltax}$\Delta$x
but when I try to generate an index I get an "undefined control sequence"
error message.

If I manually change the document source to
\index{$\Delta$x}$\Delta$x
there is no error message, and the index looks OK. Is this a legitimate way
to proceed? If yes, does "Insert index entry" do this automatically in a
more recent version of LyX than the one I'm using (which is 1.5.6)? Is there
a better way to do this?
-- 
View this message in context: 
http://n2.nabble.com/greek-characters-in-index-tp4033865p4033865.html
Sent from the LyX - Users mailing list archive at Nabble.com.


RE: greek characters in index?

2009-11-19 Thread Vincent van Ravesteijn - TNW
>For example, the document source initially contains
>$\Delta$x which displays as upper case delta followed
>by x. If I select the displayed delta and x and click
>on Lyx'x "Insert index entry" button, the document source
>changes to \index{\Deltax}$\Delta$x but when I try to
>generate an index I get an "undefined control sequence"
>error message.
>
>If I manually change the document source to
>\index{$\Delta$x}$\Delta$x there is no error message,
>and the index looks OK. Is this a legitimate way to
>proceed? If yes, does "Insert index entry" do this
>automatically in a more recent version of LyX than
>the one I'm using (which is 1.5.6)? Is there a better
>way to do this?

You can just copy the math into the index and it will generate the
correct LaTeX.

I think you've found a bug. Can you report it to
http://www.lyx.org/trac/wiki/BugTrackerHome ?

Vincent



"Directory path to the document cannot contain spaces"

2009-11-19 Thread Adam Hoffman
I recently installed LyX 1.6.4-1 on a Windows 7 system, and I'm having an
issue that is not common to my previous LyX installs (1.6.?) on an XP SP3
and Vista 64 SP1 system.

Whenever I try to generate a pdf/dvi/ps file from a file path that includes
spaces, I get an error message indicating that this is not permitted.  I am
not having this issue with previous installs of LyX.  Can anyone explain the
source of the issue and, more importantly, how I can resolve it?

Thanks


Package unitsdef does not work correctly

2009-11-19 Thread Marcus

I migrated a LaTex project into Lyx. (karmic, Lyx1.3)
The document has many numbers with a unit like 2.5 µl or 280 nm² etc.
In LaTex I used the 
http://www.ctan.org/tex-archive/help/Catalogue/entries/unitsdef.html
unitsdef package . It makes sure that the actual unit is not separated from
the value. It also expresses indices and exponents correctly and so on.
I included the usepackage in the preamble. But somehow the specific commands
are not processed correctly. In fact they are not processed at all.

Has anybody used unitsdef in Lyx?

Does someone know about a different solution that does the same thing?

-
Und wozu? Zu Recht!
-- 
View this message in context: 
http://n2.nabble.com/Package-unitsdef-does-not-work-correctly-tp4034798p4034798.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: greek characters in index?

2009-11-19 Thread Enrico Forestieri
Vincent van Ravesteijn writes:

> I think you've found a bug. Can you report it to
> http://www.lyx.org/trac/wiki/BugTrackerHome ?

It's already reported:
http://www.lyx.org/trac/ticket/2342



How do I pick a custom font?

2009-11-19 Thread Ash Lereth
Is there any way in Lyx to use a font that my OS has? I have windows
vista and just downloaded a bunch of .ttf fonts and want to use them.
I should be able to pick my font right? All I see is
roman/serif/typewriter...I want to pick the font name, where can I do
that?

Thanks for your help.
Kris


Re: How do I pick a custom font?

2009-11-19 Thread Rob Oakes
Hi Kris,

You can indeed pick a custom font, but it's a little bit more
complicated than just pointing and clicking.  And while it might be hard
to believe, this is by design.

LyX and LaTeX are designed as a "document processors" for the production
of professionally type set documents.  As a result, they follow a lot of
typography conventions.  (I'm hardly an expert on this subject.  For a
much better introduction to the philosophy of LyX and LaTeX, I'd
recommend looking at the help documentation.  Steve Litt has a good
article on his website that introduces some some of the conventions in
more detail.)

One of these conventions is the idea of uniformity and purpose.  In a
typical typeset book, there are usually only a few fonts.  There is a
body font (used in chapters, footnotes, endnotes and references), a
separate font for chapter and section headings, and maybe a third font
for other miscellaneous things.  (I'm not talking about font variants
such as italics.)  When you click on the font settings for LyX, you can
see this idea in practice.  There is typically a "Roman" font, a
"Sans-Serif" font, and a typewriter font.  These are called "font
families".

The actual font used for typesetting (like "Times New Roman", "Arial",
"Comic Sans", "Palatino" and others) are somewhat hidden.  In fact, as
long as the writer is using the built-in document classes, she doesn't
need to worry about fonts at all.  They are typically specified by the
document class.  Since it is assumed that the document class was put
together by a typesetting specialist to specifically meet a particular
need, the amount of tinkering required is kept to a minimum.  As an
example, I have a special template put together for NIH grant proposals.
(Whenever, I need to put a proposal together, I fire up LyX and start
typing.  There aren't any worries about trying to get it "just right"
like there may be with Word templates.)

But like I said, you can change the font if you want.  This is done in
the Document -> Settings -> Font.  In the dialog, you'll see a couple of
choices.  These include "Default Family", "Roman", "Sans Serif", and
"Typewriter".  You can specify a different font for each family.  If
there isn't an option that you like, you can also use a program called
Xelatex, to specify a font from your system.  There is an introduction
on how to set up Xetex to work with LyX on the wiki:
http://wiki.lyx.org/LyX/XeTeX.

After you follow the steps in the LyX wiki, then you can specify fonts
using the commands:

\setromanfont{Font Name}
\setmonofont{Font Name}
\setsansfont{Font Name}

You'll notice that even though you can change the font, you are still
encouraged to use "font families".  This is actually a very good design,
not only does it increase the visual consistency of your document, but
it also lets you easily move from one document class to another.  If you
should decide that "Comic-Sans" is a really ghastly font, you can easily
change it to something else without having to carefully scour your
document.

Through xetex, you can use any font installed on your computer.  Just
remember to create the PDF using xelatex instead of latex of pdflatex,
or it will fail with errors.

Cheers,

Rob Oakes

On Thu, 2009-11-19 at 20:23 -0800, Ash Lereth wrote:
> Is there any way in Lyx to use a font that my OS has? I have windows
> vista and just downloaded a bunch of .ttf fonts and want to use them.
> I should be able to pick my font right? All I see is
> roman/serif/typewriter...I want to pick the font name, where can I do
> that?
> 
> Thanks for your help.
> Kris