Re: Colour of hyperlinks.

2009-10-31 Thread M-L
On Sat, 31 Oct 2009 04:58:52 +0100 Guillaume Yziquel
guillaume.yziq...@citycable.ch shared this with is all on the Lyx
users list:

Hi.

I'm just finishing up a document, and I'm now focusing on hyperrefs, 
urls, and the like.

Now, when I make URI hyperrefs, the colour is an ugly pink (well not
so ugly, by the way). Is there a way to change the colour of the link. 
Couldn't find how to do it...

All the best,

This might help:

In preamble:

\usepackage{hyperref}
\hypersetup{colorlinks=true,linkcolor=blue,urlcolor=blue}

Charlie
-- 
Registered Linux User:- 329524
***
I put a piece of paper under my pillow, and when I could not sleep I
wrote in the dark. ...Henry David
Thoreau

***
Debian GNU/Linux - just the best way to create magic
___


Re: problem with lyx equations on mac

2009-10-31 Thread Anders Ekberg

On 30 okt 2009, at 19.15, Eric Clarkson wrote:


10/30/09

Problem with LyX 1.6 on my Mac (Downloaded yesterday). If an  
equation (in-line or display) has a mathbold character in it then,  
when the cursor is moved out of the equation box, the equation is  
displayed at the top of a very large white box. Nothing else appears  
in the box and I have to scroll down to get out of the box and see  
what follows the equation. This only happens with mathbold  
characters, other  special fonts do not create this effect.


Eric, I can't reproduce this. can you send a more elaborate step-by- 
step description?


/Anders


Re: Cannot specify bullets

2009-10-31 Thread Ignacio García
Guillaume Yziquel guillaume.yziq...@... writes:

 
 Hi.
 
 I'm using Lyx 1.6.4, and I'm having trouble specifying the bullets 
 properly. When I'm generating .pdf files, my bullets are always dashes, 
 no matter what I do to specify the bullets in the preferences menu.
 
 Is this a known issue?
 

Is it French your document language?

See you this thread:

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg77083.html

Regards
IG



Re: Cannot specify bullets

2009-10-31 Thread Ignacio García
Ignacio García ignacio.gmora...@... writes:

 
 Guillaume Yziquel guillaume.yziq...@... writes:
 
  
  Hi.
  
  I'm using Lyx 1.6.4, and I'm having trouble specifying the bullets 
  properly. When I'm generating .pdf files, my bullets are always dashes, 
  no matter what I do to specify the bullets in the preferences menu.
  
  Is this a known issue?
  
 
 Is it French your document language?
 
 See you this thread:


Sorry, now it's right link
 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg77083.html
 
 Regards
 IG
 
 






Re: pdf changed when using fncychap

2009-10-31 Thread Waluyo Adi Siswanto
On Sat, 2009-10-31 at 12:57 +0800, Waluyo Adi Siswanto wrote:
 Hi all LyX users
 
 I wrote in LyX LaTeX preample:
 
  \usepackage[Lenny]{fncychap}
 
 but when I viewed pdf, I found two problems:
 a. It changed the sidepane of pdf bookmarks, all chapters under the preface
 b. Some of the link to the page in TOC are not accurate, (not the same
 with the page number showed in pdf). If I click from TOC, it goes to
 the wrong page.
 
 If I dissable \usepackage[Lenny]{fncychap}  the pdf output back to normal.
 
 Could anyone help me to get correct links in pdf output when using fncychap?
 
 Thanks
 WAS

I am attaching a minimal example, if I view pdf, the side pane pdf

List of Pictures vii
tables   vii
Acknowledgements vii
Preface  vii

How can I use fncychap but maintaining the accuracy of link in pdf?

Thank you for any information and help


I am in Ubuntu 8.04, LyX 1.6.4.1

Regards
WAS


sample.lyx
Description: application/lyx


Problems when I try to insert a graph into Lyx

2009-10-31 Thread Daniele_P

Hi everyone!
I'm using the last version of Lyx for Mac (OS: Snow Leopard).. I have a
graph in jpeg format (but I also tried with a gif format and many many
others) and I want to insert it into Lyx.. 

I go in Insert--Graphics and browse the file. Then, Lyx displays the
graph correctly but when I create the pdf (pdflatex) I get this error: 

LaTeX Error: Unknown option `dvialw' for package `graphics'.

...and in the description box:

 \if
!\...@driver!
The option `dvialw' was not declared in package `graphics', perhaps you
misspelled its name. Try typing  return  to proceed.
 
-Any advise? I'm getting quite desperate!

Thanks in advance!
Cheers,
Daniele

-- 
View this message in context: 
http://n2.nabble.com/Problems-when-I-try-to-insert-a-graph-into-Lyx-tp3924552p3924552.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Problems when I try to insert a graph into Lyx

2009-10-31 Thread Vincent van Ravesteijn

Daniele_P schreef:

Hi everyone!
I'm using the last version of Lyx for Mac (OS: Snow Leopard).. I have a
graph in jpeg format (but I also tried with a gif format and many many
others) and I want to insert it into Lyx.. 


I go in Insert--Graphics and browse the file. Then, Lyx displays the
graph correctly but when I create the pdf (pdflatex) I get this error: 


LaTeX Error: Unknown option `dvialw' for package `graphics'.

...and in the description box:

 \if
!\...@driver!
The option `dvialw' was not declared in package `graphics', perhaps you
misspelled its name. Try typing  return  to proceed.
 
-Any advise? I'm getting quite desperate!


Thanks in advance!
Cheers,
Daniele

  
Did you change the Graphics Driver setting in Document 
Settings-Document Class ?


Is it solved if you set this back to default ?

Vincent


Re: Colour of hyperlinks.

2009-10-31 Thread Guillaume Yziquel

M-L a écrit :

On Sat, 31 Oct 2009 04:58:52 +0100 Guillaume Yziquel
guillaume.yziq...@citycable.ch shared this with is all on the Lyx
users list:


Hi.

I'm just finishing up a document, and I'm now focusing on hyperrefs, 
urls, and the like.


Now, when I make URI hyperrefs, the colour is an ugly pink (well not
so ugly, by the way). Is there a way to change the colour of the link. 
Couldn't find how to do it...


All the best,


This might help:

In preamble:

\usepackage{hyperref}
\hypersetup{colorlinks=true,linkcolor=blue,urlcolor=blue}

Charlie


Thanks. It worked perfectly.

I instead used


\usepackage{xcolor}
\hypersetup{colorlinks=true,urlcolor={brown!100!orange!75!black!100}}


It doesn't seem that \usepackage{hyperref} is necessary in the preamble.

By the way, I just ported my CV from OpenOffice to Lyx, and I'm really 
amazed by the way you can get precise layout control using tables. It's 
a bit a pain to do it this way, but not that much, and I more and more 
fail to perceive the added value of software such as OpenOffice / MS Word.


The only thing that I found to be a real pain is using Libertine / 
Biolinum fonts. Haven't figured out yet how to do it.


--
 Guillaume Yziquel
http://yziquel.homelinux.org/


Re: Cannot specify bullets

2009-10-31 Thread Guillaume Yziquel

Ignacio García a écrit :

Ignacio García ignacio.gmora...@... writes:


Guillaume Yziquel guillaume.yziq...@... writes:


Hi.

I'm using Lyx 1.6.4, and I'm having trouble specifying the bullets 
properly. When I'm generating .pdf files, my bullets are always dashes, 
no matter what I do to specify the bullets in the preferences menu.


Is this a known issue?


Is it French your document language?

See you this thread:
 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg77083.html


Yes. French is my document language. I'll have a look at this thread.

Thanks for being helpful.

--
 Guillaume Yziquel
http://yziquel.homelinux.org/


Re: Epsilon ran off ...

2009-10-31 Thread Guenter Milde
On 2009-10-30, Paul A. Rubin wrote:
 Guenter Milde wrote:
 On 2009-10-19, Paul A. Rubin wrote:

 Usually missing math glyphs are the result of a missing screen font, but 
 it seems unlikely to be the case here since only two glyphs are missing. 
   I've also got LyX 1.6.3 installed on an Ubuntu (Jaunty) box, and the 
 glyphs are present there.

 This is very likely, as these could be Greek *variants* missing from a font
 that provides basic Greek letters.

 That would make sense for \varrho, but it's the regular \epsilon (not 
 \varepsilon) that's missing.

The mapping of small *letters* or *symbols* to plain vs. \var* commands
is not consistent:

\theta GREEK SMALL LETTER THETA 
\vartheta GREEK THETA SYMBOL 

\phi GREEK PHI SYMBOL
\varphi GREEK SMALL LETTER PHI 

\pi GREEK SMALL LETTER PI 
\varpi GREEK PI SYMBOL

\kappa GREEK SMALL LETTER KAPPA 
\varkappa GREEK KAPPA SYMBOL

\rho GREEK SMALL LETTER RHO
\varrho GREEK RHO SYMBOL

\epsilon GREEK LUNATE EPSILON SYMBOL
\varepsilon GREEK SMALL LETTER EPSILON


 (Are the Greek letters *in math* upright or cursive?

 Now that you mention it, they're upright.  Which is odd.  I checked my 
 Ubuntu box, which also has LyX 1.6.3 on it (and where Greek letters in 
 math appear slanted, and \epsilon is what it should be).  The Ubuntu box 
 is using DejaVu Serif/Sans/Sans Mono for the screen fonts.  So is the 
 Mint Gloria installation.  I checked with Synaptic, and they both have 
 the same version (2.28-1) of the ttf-deja-whatever fonts installed (all 
 three packages).

 Any suggestions where I could look for the cause?

 Try a different screen font.

 I did.  There was a slight change in font width, but the Greek letters 
 in math mode remained upright, and \epsilon remained epsilon (no glyph).

I remember having the problem of upright greek symbols in math with DejaVu.
For no known reason, this problem disappeared after I tried with another
font and back to DejaVu Serif (maybe this is after upgrage to 1.6.4).

Günter



Re: Cannot specify bullets

2009-10-31 Thread Guillaume Yziquel

Guillaume Yziquel a écrit :


Ignacio García a écrit :


Ignacio García ignacio.gmora...@... writes:


Guillaume Yziquel guillaume.yziq...@... writes:

I'm using Lyx 1.6.4, and I'm having trouble specifying the bullets 
properly. When I'm generating .pdf files, my bullets are always 
dashes, no matter what I do to specify the bullets in the 
preferences menu.


See you this thread:
 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg77083.html


Yes. French is my document language. I'll have a look at this thread.


I've had a look at this thread, and more specifically at

http://daniel.flipo.free.fr/frenchb/frenchb2-doc.pdf

I've been trying to add a \frenchbsetup to the preamble, but it doesn't 
seem to be a recognised command. I've had a look at french.ldf, and it 
seems that on Debian, it's the frenchpro package that's used in place of 
frenchb. So I'm a bit confused.


I'm not really familiar with TeX output from LyX. The beginning of the 
.tex file follows. I'm wondering what should be done in the .tex file to 
be able to access the \frenchbsetup command.



\documentclass[french]{article}
\usepackage{berasans}
\usepackage[T1]{fontenc}
\usepackage[utf8x]{inputenc}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=2cm,bmargin=1cm,lmargin=1cm,rmargin=1cm,headheight=0cm,headsep=0cm,footskip=0cm}
\pagestyle{empty}
\setlength{\parskip}{\medskipamount}
\setlength{\parindent}{0pt}
\usepackage{color}
\usepackage{babel}
\addto\extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecommand{\fg}{\ifdim\lastskip\...@\unskip\fi~\frqq}}

\usepackage{array}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage[unicode=true, 
 bookmarks=false,

 breaklinks=false,pdfborder={0 0 
0},backref=false,colorlinks=true,pdfpagemode=FullScreen]
 {hyperref}
\hypersetup{pdftitle={YZIQUEL Guillaume},
 pdfauthor={Guillaume Yziquel}}


All the best,

--
 Guillaume Yziquel
http://yziquel.homelinux.org/


BUG - Unable to view User Guide in PDF or PS

2009-10-31 Thread James Ronback
When I download from http://wiki.lyx.org/LyX/Manuals and attempt to view 
the The LyX User's Guide by the LyX TeamVersion 1.6.x as a PDF file by 
clicking on the PDF icon (View pdflatex) I get the following error message:


tex\latex\subfig\subfig.sty is missing:

When I say install from 
ftp://tug.ctan.org/tex-archive/systems/win32/miktex/tm/packages/

the following messages occur:

An empty output file was generated

LaTeX Error: File `subfig.sty' not found.

\makeatother

*** (cannot \read from terminal in nonstop modes) .


Am I doing something wrong? I've installed the Windows version Lyx ver 
1.6.4 on an PC with Windows XP Pro sp 3 and I have Adobe Reader 9.2.0  

PS The same problem occurs when I try to view the User Guide as 
Postscript file

But I can view the PDF version of the Lyx tutorial OK.


Re: BUG - Unable to view User Guide in PDF or PS

2009-10-31 Thread Uwe Stöhr

James Ronback schrieb:

When I download from http://wiki.lyx.org/LyX/Manuals and attempt to view 
the The LyX User's Guide by the LyX TeamVersion 1.6.x as a PDF file by 
clicking on the PDF icon (View pdflatex) I get the following error message:


tex\latex\subfig\subfig.sty is missing:


So your LaTeX installation misses the package subfig. To fix this

- open an Internet connection
- start LyX by double-clicking on the file lyx.exe
- reconfigure LyX (Tools-Reconfigure)

MiKTeX (the LaTeX engine) will now install all LaTeX-packages needed by LyX. You can see the 
progress in the console window that was opened together with LyX.


regards Uwe


Re: question regarding LyX's placement of hyperref

2009-10-31 Thread Uwe Stöhr

Venable schrieb:


I have a small question about the way LyX places hyperref among other
packages. From exporting LyX files to plain latex, it appears that LyX
does not place hyperref last among the packages, as recommended in the
hyperref manual. This is innocuous 99% of the time but has in my
experience caused problems for some more esoteric packages such as
bibentry or endfloat.


It is impossible to find a location for hyperref, so that it worjks in every case. So we've chosen 
the place that should work in most cases.



A simple workaround is to hand-code \usepackage{hyperref} (with
whatever options) into the LaTeX preamble rather than using the PDF
Properties pulldown menu. However, since the pulldown menu is very
convenient, I'm wondering if there's a way to customize LyX to place
hyperref in the right place.


The feature to be able to customize the package placement is in planning.

regards Uwe


Layout file for Problem Set Solutions (making layout for hmcpset.cls)

2009-10-31 Thread Adam
Hi Everyone.

Could someone please help me in trying to make a LyX .layout file for
mathematical problem set solutions? I was really hoping to create something like
the Harvey Mudd College Problem Set Distribution, available here:

http://www.math.hmc.edu/computing/suppo ... s/hmcpset/

Download it, and you'll see that it's excellent! It provides one latex class
file called hmcpset.cls, a template, and an example. Open the example in your
favorite LaTeX editor, compile it with pdflatex, and you'll see what I mean...
really a great interface for typing the solutions.

I followed the instructions on making a .layout for LyX from a .cls, and made 
this hmcpset.layout file:
-
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[hmcpset,article]{homework (Harvey Mudd Problem Set)}
# DescriptionBegin 
# 2009/10/1 HMC Problem Set class in LyX
# DescriptionEnd

Input article.layout
-

Unfortunately, none of the environments from hmcpset.cls find their way into
LyX.  Must I hard code these myself in the layout file, or is there a way to get
the same thing into LyX without coding them?

In particular, I think I have to recode all of the environments (like
\begin{problem}  \end{problem}, \begin{solution} ... \end{solution}), and I
don't know how to do that.  Furthermore, I'd like to avoid doing it because
that's really the only thing the .cls file provides!

Thus, could some kind soul either:
(a) Show me how to do this and/or easily convert the hmcpset.cls file to a valid
layout, with the same environments and all, or
(b) Point me in the right direction in terms of a .layout for doing problem 
sets?

This would be EXTREMELY appreciated. Seriously you'll be my new favorite person.
Thanks for your help.

- Adam



Re: BUG - Unable to view User Guide in PDF or PS

2009-10-31 Thread James Ronback

Uwe,
Reconfiguring does not resolve the problem. I get the same symptoms.
I gave the wrong source of lyx file below.
The lyx file that is giving me the problem is the User's Guide fetched 
via the Help tab, not the web site indicated below.
So the bug still exists. Maybe the lyx file that comes with the program 
is faulty.


As workaround I'm using the merged 1.6.4/Manuals.pdf file from 
http://wiki.lyx.org/LyX/Manuals


Thanks Jim

Uwe Stöhr wrote:

James Ronback schrieb:

When I fetch the User's Guide from [http://wiki.lyx.org/LyX/Manuals 
(sic)] the Help tab and attempt to view the The LyX User's Guide by 
the LyX TeamVersion 1.6.x as a PDF file by clicking on the PDF icon 
(View pdflatex) I get the following error message:


tex\latex\subfig\subfig.sty is missing:


So your LaTeX installation misses the package subfig. To fix this

- open an Internet connection
- start LyX by double-clicking on the file lyx.exe
- reconfigure LyX (Tools-Reconfigure)

MiKTeX (the LaTeX engine) will now install all LaTeX-packages needed 
by LyX. You can see the progress in the console window that was opened 
together with LyX.


regards Uwe



Re: Colour of hyperlinks.

2009-10-31 Thread M-L
On Sat, 31 Oct 2009 04:58:52 +0100 Guillaume Yziquel
guillaume.yziq...@citycable.ch shared this with is all on the Lyx
users list:

Hi.

I'm just finishing up a document, and I'm now focusing on hyperrefs, 
urls, and the like.

Now, when I make URI hyperrefs, the colour is an ugly pink (well not
so ugly, by the way). Is there a way to change the colour of the link. 
Couldn't find how to do it...

All the best,

This might help:

In preamble:

\usepackage{hyperref}
\hypersetup{colorlinks=true,linkcolor=blue,urlcolor=blue}

Charlie
-- 
Registered Linux User:- 329524
***
I put a piece of paper under my pillow, and when I could not sleep I
wrote in the dark. ...Henry David
Thoreau

***
Debian GNU/Linux - just the best way to create magic
___


Re: problem with lyx equations on mac

2009-10-31 Thread Anders Ekberg

On 30 okt 2009, at 19.15, Eric Clarkson wrote:


10/30/09

Problem with LyX 1.6 on my Mac (Downloaded yesterday). If an  
equation (in-line or display) has a mathbold character in it then,  
when the cursor is moved out of the equation box, the equation is  
displayed at the top of a very large white box. Nothing else appears  
in the box and I have to scroll down to get out of the box and see  
what follows the equation. This only happens with mathbold  
characters, other  special fonts do not create this effect.


Eric, I can't reproduce this. can you send a more elaborate step-by- 
step description?


/Anders


Re: Cannot specify bullets

2009-10-31 Thread Ignacio García
Guillaume Yziquel guillaume.yziq...@... writes:

 
 Hi.
 
 I'm using Lyx 1.6.4, and I'm having trouble specifying the bullets 
 properly. When I'm generating .pdf files, my bullets are always dashes, 
 no matter what I do to specify the bullets in the preferences menu.
 
 Is this a known issue?
 

Is it French your document language?

See you this thread:

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg77083.html

Regards
IG



Re: Cannot specify bullets

2009-10-31 Thread Ignacio García
Ignacio García ignacio.gmora...@... writes:

 
 Guillaume Yziquel guillaume.yziq...@... writes:
 
  
  Hi.
  
  I'm using Lyx 1.6.4, and I'm having trouble specifying the bullets 
  properly. When I'm generating .pdf files, my bullets are always dashes, 
  no matter what I do to specify the bullets in the preferences menu.
  
  Is this a known issue?
  
 
 Is it French your document language?
 
 See you this thread:


Sorry, now it's right link
 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg77083.html
 
 Regards
 IG
 
 






Re: pdf changed when using fncychap

2009-10-31 Thread Waluyo Adi Siswanto
On Sat, 2009-10-31 at 12:57 +0800, Waluyo Adi Siswanto wrote:
 Hi all LyX users
 
 I wrote in LyX LaTeX preample:
 
  \usepackage[Lenny]{fncychap}
 
 but when I viewed pdf, I found two problems:
 a. It changed the sidepane of pdf bookmarks, all chapters under the preface
 b. Some of the link to the page in TOC are not accurate, (not the same
 with the page number showed in pdf). If I click from TOC, it goes to
 the wrong page.
 
 If I dissable \usepackage[Lenny]{fncychap}  the pdf output back to normal.
 
 Could anyone help me to get correct links in pdf output when using fncychap?
 
 Thanks
 WAS

I am attaching a minimal example, if I view pdf, the side pane pdf

List of Pictures vii
tables   vii
Acknowledgements vii
Preface  vii

How can I use fncychap but maintaining the accuracy of link in pdf?

Thank you for any information and help


I am in Ubuntu 8.04, LyX 1.6.4.1

Regards
WAS


sample.lyx
Description: application/lyx


Problems when I try to insert a graph into Lyx

2009-10-31 Thread Daniele_P

Hi everyone!
I'm using the last version of Lyx for Mac (OS: Snow Leopard).. I have a
graph in jpeg format (but I also tried with a gif format and many many
others) and I want to insert it into Lyx.. 

I go in Insert--Graphics and browse the file. Then, Lyx displays the
graph correctly but when I create the pdf (pdflatex) I get this error: 

LaTeX Error: Unknown option `dvialw' for package `graphics'.

...and in the description box:

 \if
!\...@driver!
The option `dvialw' was not declared in package `graphics', perhaps you
misspelled its name. Try typing  return  to proceed.
 
-Any advise? I'm getting quite desperate!

Thanks in advance!
Cheers,
Daniele

-- 
View this message in context: 
http://n2.nabble.com/Problems-when-I-try-to-insert-a-graph-into-Lyx-tp3924552p3924552.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Problems when I try to insert a graph into Lyx

2009-10-31 Thread Vincent van Ravesteijn

Daniele_P schreef:

Hi everyone!
I'm using the last version of Lyx for Mac (OS: Snow Leopard).. I have a
graph in jpeg format (but I also tried with a gif format and many many
others) and I want to insert it into Lyx.. 


I go in Insert--Graphics and browse the file. Then, Lyx displays the
graph correctly but when I create the pdf (pdflatex) I get this error: 


LaTeX Error: Unknown option `dvialw' for package `graphics'.

...and in the description box:

 \if
!\...@driver!
The option `dvialw' was not declared in package `graphics', perhaps you
misspelled its name. Try typing  return  to proceed.
 
-Any advise? I'm getting quite desperate!


Thanks in advance!
Cheers,
Daniele

  
Did you change the Graphics Driver setting in Document 
Settings-Document Class ?


Is it solved if you set this back to default ?

Vincent


Re: Colour of hyperlinks.

2009-10-31 Thread Guillaume Yziquel

M-L a écrit :

On Sat, 31 Oct 2009 04:58:52 +0100 Guillaume Yziquel
guillaume.yziq...@citycable.ch shared this with is all on the Lyx
users list:


Hi.

I'm just finishing up a document, and I'm now focusing on hyperrefs, 
urls, and the like.


Now, when I make URI hyperrefs, the colour is an ugly pink (well not
so ugly, by the way). Is there a way to change the colour of the link. 
Couldn't find how to do it...


All the best,


This might help:

In preamble:

\usepackage{hyperref}
\hypersetup{colorlinks=true,linkcolor=blue,urlcolor=blue}

Charlie


Thanks. It worked perfectly.

I instead used


\usepackage{xcolor}
\hypersetup{colorlinks=true,urlcolor={brown!100!orange!75!black!100}}


It doesn't seem that \usepackage{hyperref} is necessary in the preamble.

By the way, I just ported my CV from OpenOffice to Lyx, and I'm really 
amazed by the way you can get precise layout control using tables. It's 
a bit a pain to do it this way, but not that much, and I more and more 
fail to perceive the added value of software such as OpenOffice / MS Word.


The only thing that I found to be a real pain is using Libertine / 
Biolinum fonts. Haven't figured out yet how to do it.


--
 Guillaume Yziquel
http://yziquel.homelinux.org/


Re: Cannot specify bullets

2009-10-31 Thread Guillaume Yziquel

Ignacio García a écrit :

Ignacio García ignacio.gmora...@... writes:


Guillaume Yziquel guillaume.yziq...@... writes:


Hi.

I'm using Lyx 1.6.4, and I'm having trouble specifying the bullets 
properly. When I'm generating .pdf files, my bullets are always dashes, 
no matter what I do to specify the bullets in the preferences menu.


Is this a known issue?


Is it French your document language?

See you this thread:
 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg77083.html


Yes. French is my document language. I'll have a look at this thread.

Thanks for being helpful.

--
 Guillaume Yziquel
http://yziquel.homelinux.org/


Re: Epsilon ran off ...

2009-10-31 Thread Guenter Milde
On 2009-10-30, Paul A. Rubin wrote:
 Guenter Milde wrote:
 On 2009-10-19, Paul A. Rubin wrote:

 Usually missing math glyphs are the result of a missing screen font, but 
 it seems unlikely to be the case here since only two glyphs are missing. 
   I've also got LyX 1.6.3 installed on an Ubuntu (Jaunty) box, and the 
 glyphs are present there.

 This is very likely, as these could be Greek *variants* missing from a font
 that provides basic Greek letters.

 That would make sense for \varrho, but it's the regular \epsilon (not 
 \varepsilon) that's missing.

The mapping of small *letters* or *symbols* to plain vs. \var* commands
is not consistent:

\theta GREEK SMALL LETTER THETA 
\vartheta GREEK THETA SYMBOL 

\phi GREEK PHI SYMBOL
\varphi GREEK SMALL LETTER PHI 

\pi GREEK SMALL LETTER PI 
\varpi GREEK PI SYMBOL

\kappa GREEK SMALL LETTER KAPPA 
\varkappa GREEK KAPPA SYMBOL

\rho GREEK SMALL LETTER RHO
\varrho GREEK RHO SYMBOL

\epsilon GREEK LUNATE EPSILON SYMBOL
\varepsilon GREEK SMALL LETTER EPSILON


 (Are the Greek letters *in math* upright or cursive?

 Now that you mention it, they're upright.  Which is odd.  I checked my 
 Ubuntu box, which also has LyX 1.6.3 on it (and where Greek letters in 
 math appear slanted, and \epsilon is what it should be).  The Ubuntu box 
 is using DejaVu Serif/Sans/Sans Mono for the screen fonts.  So is the 
 Mint Gloria installation.  I checked with Synaptic, and they both have 
 the same version (2.28-1) of the ttf-deja-whatever fonts installed (all 
 three packages).

 Any suggestions where I could look for the cause?

 Try a different screen font.

 I did.  There was a slight change in font width, but the Greek letters 
 in math mode remained upright, and \epsilon remained epsilon (no glyph).

I remember having the problem of upright greek symbols in math with DejaVu.
For no known reason, this problem disappeared after I tried with another
font and back to DejaVu Serif (maybe this is after upgrage to 1.6.4).

Günter



Re: Cannot specify bullets

2009-10-31 Thread Guillaume Yziquel

Guillaume Yziquel a écrit :


Ignacio García a écrit :


Ignacio García ignacio.gmora...@... writes:


Guillaume Yziquel guillaume.yziq...@... writes:

I'm using Lyx 1.6.4, and I'm having trouble specifying the bullets 
properly. When I'm generating .pdf files, my bullets are always 
dashes, no matter what I do to specify the bullets in the 
preferences menu.


See you this thread:
 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg77083.html


Yes. French is my document language. I'll have a look at this thread.


I've had a look at this thread, and more specifically at

http://daniel.flipo.free.fr/frenchb/frenchb2-doc.pdf

I've been trying to add a \frenchbsetup to the preamble, but it doesn't 
seem to be a recognised command. I've had a look at french.ldf, and it 
seems that on Debian, it's the frenchpro package that's used in place of 
frenchb. So I'm a bit confused.


I'm not really familiar with TeX output from LyX. The beginning of the 
.tex file follows. I'm wondering what should be done in the .tex file to 
be able to access the \frenchbsetup command.



\documentclass[french]{article}
\usepackage{berasans}
\usepackage[T1]{fontenc}
\usepackage[utf8x]{inputenc}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=2cm,bmargin=1cm,lmargin=1cm,rmargin=1cm,headheight=0cm,headsep=0cm,footskip=0cm}
\pagestyle{empty}
\setlength{\parskip}{\medskipamount}
\setlength{\parindent}{0pt}
\usepackage{color}
\usepackage{babel}
\addto\extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecommand{\fg}{\ifdim\lastskip\...@\unskip\fi~\frqq}}

\usepackage{array}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage[unicode=true, 
 bookmarks=false,

 breaklinks=false,pdfborder={0 0 
0},backref=false,colorlinks=true,pdfpagemode=FullScreen]
 {hyperref}
\hypersetup{pdftitle={YZIQUEL Guillaume},
 pdfauthor={Guillaume Yziquel}}


All the best,

--
 Guillaume Yziquel
http://yziquel.homelinux.org/


BUG - Unable to view User Guide in PDF or PS

2009-10-31 Thread James Ronback
When I download from http://wiki.lyx.org/LyX/Manuals and attempt to view 
the The LyX User's Guide by the LyX TeamVersion 1.6.x as a PDF file by 
clicking on the PDF icon (View pdflatex) I get the following error message:


tex\latex\subfig\subfig.sty is missing:

When I say install from 
ftp://tug.ctan.org/tex-archive/systems/win32/miktex/tm/packages/

the following messages occur:

An empty output file was generated

LaTeX Error: File `subfig.sty' not found.

\makeatother

*** (cannot \read from terminal in nonstop modes) .


Am I doing something wrong? I've installed the Windows version Lyx ver 
1.6.4 on an PC with Windows XP Pro sp 3 and I have Adobe Reader 9.2.0  

PS The same problem occurs when I try to view the User Guide as 
Postscript file

But I can view the PDF version of the Lyx tutorial OK.


Re: BUG - Unable to view User Guide in PDF or PS

2009-10-31 Thread Uwe Stöhr

James Ronback schrieb:

When I download from http://wiki.lyx.org/LyX/Manuals and attempt to view 
the The LyX User's Guide by the LyX TeamVersion 1.6.x as a PDF file by 
clicking on the PDF icon (View pdflatex) I get the following error message:


tex\latex\subfig\subfig.sty is missing:


So your LaTeX installation misses the package subfig. To fix this

- open an Internet connection
- start LyX by double-clicking on the file lyx.exe
- reconfigure LyX (Tools-Reconfigure)

MiKTeX (the LaTeX engine) will now install all LaTeX-packages needed by LyX. You can see the 
progress in the console window that was opened together with LyX.


regards Uwe


Re: question regarding LyX's placement of hyperref

2009-10-31 Thread Uwe Stöhr

Venable schrieb:


I have a small question about the way LyX places hyperref among other
packages. From exporting LyX files to plain latex, it appears that LyX
does not place hyperref last among the packages, as recommended in the
hyperref manual. This is innocuous 99% of the time but has in my
experience caused problems for some more esoteric packages such as
bibentry or endfloat.


It is impossible to find a location for hyperref, so that it worjks in every case. So we've chosen 
the place that should work in most cases.



A simple workaround is to hand-code \usepackage{hyperref} (with
whatever options) into the LaTeX preamble rather than using the PDF
Properties pulldown menu. However, since the pulldown menu is very
convenient, I'm wondering if there's a way to customize LyX to place
hyperref in the right place.


The feature to be able to customize the package placement is in planning.

regards Uwe


Layout file for Problem Set Solutions (making layout for hmcpset.cls)

2009-10-31 Thread Adam
Hi Everyone.

Could someone please help me in trying to make a LyX .layout file for
mathematical problem set solutions? I was really hoping to create something like
the Harvey Mudd College Problem Set Distribution, available here:

http://www.math.hmc.edu/computing/suppo ... s/hmcpset/

Download it, and you'll see that it's excellent! It provides one latex class
file called hmcpset.cls, a template, and an example. Open the example in your
favorite LaTeX editor, compile it with pdflatex, and you'll see what I mean...
really a great interface for typing the solutions.

I followed the instructions on making a .layout for LyX from a .cls, and made 
this hmcpset.layout file:
-
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[hmcpset,article]{homework (Harvey Mudd Problem Set)}
# DescriptionBegin 
# 2009/10/1 HMC Problem Set class in LyX
# DescriptionEnd

Input article.layout
-

Unfortunately, none of the environments from hmcpset.cls find their way into
LyX.  Must I hard code these myself in the layout file, or is there a way to get
the same thing into LyX without coding them?

In particular, I think I have to recode all of the environments (like
\begin{problem}  \end{problem}, \begin{solution} ... \end{solution}), and I
don't know how to do that.  Furthermore, I'd like to avoid doing it because
that's really the only thing the .cls file provides!

Thus, could some kind soul either:
(a) Show me how to do this and/or easily convert the hmcpset.cls file to a valid
layout, with the same environments and all, or
(b) Point me in the right direction in terms of a .layout for doing problem 
sets?

This would be EXTREMELY appreciated. Seriously you'll be my new favorite person.
Thanks for your help.

- Adam



Re: BUG - Unable to view User Guide in PDF or PS

2009-10-31 Thread James Ronback

Uwe,
Reconfiguring does not resolve the problem. I get the same symptoms.
I gave the wrong source of lyx file below.
The lyx file that is giving me the problem is the User's Guide fetched 
via the Help tab, not the web site indicated below.
So the bug still exists. Maybe the lyx file that comes with the program 
is faulty.


As workaround I'm using the merged 1.6.4/Manuals.pdf file from 
http://wiki.lyx.org/LyX/Manuals


Thanks Jim

Uwe Stöhr wrote:

James Ronback schrieb:

When I fetch the User's Guide from [http://wiki.lyx.org/LyX/Manuals 
(sic)] the Help tab and attempt to view the The LyX User's Guide by 
the LyX TeamVersion 1.6.x as a PDF file by clicking on the PDF icon 
(View pdflatex) I get the following error message:


tex\latex\subfig\subfig.sty is missing:


So your LaTeX installation misses the package subfig. To fix this

- open an Internet connection
- start LyX by double-clicking on the file lyx.exe
- reconfigure LyX (Tools-Reconfigure)

MiKTeX (the LaTeX engine) will now install all LaTeX-packages needed 
by LyX. You can see the progress in the console window that was opened 
together with LyX.


regards Uwe



Re: Colour of hyperlinks.

2009-10-31 Thread M-L
On Sat, 31 Oct 2009 04:58:52 +0100 Guillaume Yziquel
 shared this with is all on the Lyx
users list:

>Hi.
>
>I'm just finishing up a document, and I'm now focusing on hyperrefs, 
>urls, and the like.
>
>Now, when I make URI hyperrefs, the colour is an ugly pink (well not
>so ugly, by the way). Is there a way to change the colour of the link. 
>Couldn't find how to do it...
>
>All the best,

This might help:

In preamble:

\usepackage{hyperref}
\hypersetup{colorlinks=true,linkcolor=blue,urlcolor=blue}

Charlie
-- 
Registered Linux User:- 329524
***
I put a piece of paper under my pillow, and when I could not sleep I
wrote in the dark. ...Henry David
Thoreau

***
Debian GNU/Linux - just the best way to create magic
___


Re: problem with lyx equations on mac

2009-10-31 Thread Anders Ekberg

On 30 okt 2009, at 19.15, Eric Clarkson wrote:


10/30/09

Problem with LyX 1.6 on my Mac (Downloaded yesterday). If an  
equation (in-line or display) has a mathbold character in it then,  
when the cursor is moved out of the equation box, the equation is  
displayed at the top of a very large white box. Nothing else appears  
in the box and I have to scroll down to get out of the box and see  
what follows the equation. This only happens with mathbold  
characters, other  special fonts do not create this effect.


Eric, I can't reproduce this. can you send a more elaborate step-by- 
step description?


/Anders


Re: Cannot specify bullets

2009-10-31 Thread Ignacio García
Guillaume Yziquel  writes:

> 
> Hi.
> 
> I'm using Lyx 1.6.4, and I'm having trouble specifying the bullets 
> properly. When I'm generating .pdf files, my bullets are always dashes, 
> no matter what I do to specify the bullets in the preferences menu.
> 
> Is this a known issue?
> 

Is it French your document language?

See you this thread:

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg77083.html

Regards
IG



Re: Cannot specify bullets

2009-10-31 Thread Ignacio García
Ignacio García  writes:

> 
> Guillaume Yziquel  writes:
> 
> > 
> > Hi.
> > 
> > I'm using Lyx 1.6.4, and I'm having trouble specifying the bullets 
> > properly. When I'm generating .pdf files, my bullets are always dashes, 
> > no matter what I do to specify the bullets in the preferences menu.
> > 
> > Is this a known issue?
> > 
> 
> Is it French your document language?
> 
> See you this thread:
>

Sorry, now it's right link
 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg77083.html
 
 Regards
 IG
 
 






Re: pdf changed when using fncychap

2009-10-31 Thread Waluyo Adi Siswanto
On Sat, 2009-10-31 at 12:57 +0800, Waluyo Adi Siswanto wrote:
> Hi all LyX users
> 
> I wrote in LyX LaTeX preample:
> 
>  \usepackage[Lenny]{fncychap}
> 
> but when I viewed pdf, I found two problems:
> a. It changed the sidepane of pdf bookmarks, all chapters under the preface
> b. Some of the link to the page in TOC are not accurate, (not the same
> with the page number showed in pdf). If I click from TOC, it goes to
> the wrong page.
> 
> If I dissable \usepackage[Lenny]{fncychap}  the pdf output back to normal.
> 
> Could anyone help me to get correct links in pdf output when using fncychap?
> 
> Thanks
> WAS

I am attaching a minimal example, if I view pdf, the side pane pdf

List of Pictures vii
tables   vii
Acknowledgements vii
Preface  vii

How can I use fncychap but maintaining the accuracy of link in pdf?

Thank you for any information and help


I am in Ubuntu 8.04, LyX 1.6.4.1

Regards
WAS


sample.lyx
Description: application/lyx


Problems when I try to insert a graph into Lyx

2009-10-31 Thread Daniele_P

Hi everyone!
I'm using the last version of Lyx for Mac (OS: Snow Leopard).. I have a
graph in jpeg format (but I also tried with a gif format and many many
others) and I want to insert it into Lyx.. 

I go in "Insert"-->"Graphics" and browse the file. Then, Lyx displays the
graph correctly but when I create the pdf (pdflatex) I get this error: 

LaTeX Error: Unknown option `dvialw' for package `graphics'.

...and in the description box:

 \if
!\...@driver!
The option `dvialw' was not declared in package `graphics', perhaps you
misspelled its name. Try typingto proceed.
 
->Any advise? I'm getting quite desperate!

Thanks in advance!
Cheers,
Daniele

-- 
View this message in context: 
http://n2.nabble.com/Problems-when-I-try-to-insert-a-graph-into-Lyx-tp3924552p3924552.html
Sent from the LyX - Users mailing list archive at Nabble.com.


Re: Problems when I try to insert a graph into Lyx

2009-10-31 Thread Vincent van Ravesteijn

Daniele_P schreef:

Hi everyone!
I'm using the last version of Lyx for Mac (OS: Snow Leopard).. I have a
graph in jpeg format (but I also tried with a gif format and many many
others) and I want to insert it into Lyx.. 


I go in "Insert"-->"Graphics" and browse the file. Then, Lyx displays the
graph correctly but when I create the pdf (pdflatex) I get this error: 


LaTeX Error: Unknown option `dvialw' for package `graphics'.

...and in the description box:

 \if
!\...@driver!
The option `dvialw' was not declared in package `graphics', perhaps you
misspelled its name. Try typingto proceed.
 
->Any advise? I'm getting quite desperate!


Thanks in advance!
Cheers,
Daniele

  
Did you change the "Graphics Driver" setting in "Document 
Settings->Document Class" ?


Is it solved if you set this back to default ?

Vincent


Re: Colour of hyperlinks.

2009-10-31 Thread Guillaume Yziquel

M-L a écrit :

On Sat, 31 Oct 2009 04:58:52 +0100 Guillaume Yziquel
 shared this with is all on the Lyx
users list:


Hi.

I'm just finishing up a document, and I'm now focusing on hyperrefs, 
urls, and the like.


Now, when I make URI hyperrefs, the colour is an ugly pink (well not
so ugly, by the way). Is there a way to change the colour of the link. 
Couldn't find how to do it...


All the best,


This might help:

In preamble:

\usepackage{hyperref}
\hypersetup{colorlinks=true,linkcolor=blue,urlcolor=blue}

Charlie


Thanks. It worked perfectly.

I instead used


\usepackage{xcolor}
\hypersetup{colorlinks=true,urlcolor={brown!100!orange!75!black!100}}


It doesn't seem that \usepackage{hyperref} is necessary in the preamble.

By the way, I just ported my CV from OpenOffice to Lyx, and I'm really 
amazed by the way you can get precise layout control using tables. It's 
a bit a pain to do it this way, but not that much, and I more and more 
fail to perceive the added value of software such as OpenOffice / MS Word.


The only thing that I found to be a real pain is using Libertine / 
Biolinum fonts. Haven't figured out yet how to do it.


--
 Guillaume Yziquel
http://yziquel.homelinux.org/


Re: Cannot specify bullets

2009-10-31 Thread Guillaume Yziquel

Ignacio García a écrit :

Ignacio García  writes:


Guillaume Yziquel  writes:


Hi.

I'm using Lyx 1.6.4, and I'm having trouble specifying the bullets 
properly. When I'm generating .pdf files, my bullets are always dashes, 
no matter what I do to specify the bullets in the preferences menu.


Is this a known issue?


Is it French your document language?

See you this thread:
 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg77083.html


Yes. French is my document language. I'll have a look at this thread.

Thanks for being helpful.

--
 Guillaume Yziquel
http://yziquel.homelinux.org/


Re: Epsilon ran off ...

2009-10-31 Thread Guenter Milde
On 2009-10-30, Paul A. Rubin wrote:
> Guenter Milde wrote:
>> On 2009-10-19, Paul A. Rubin wrote:

>>> Usually missing math glyphs are the result of a missing screen font, but 
>>> it seems unlikely to be the case here since only two glyphs are missing. 
>>>   I've also got LyX 1.6.3 installed on an Ubuntu (Jaunty) box, and the 
>>> glyphs are present there.

>> This is very likely, as these could be Greek *variants* missing from a font
>> that provides basic Greek letters.

> That would make sense for \varrho, but it's the regular \epsilon (not 
> \varepsilon) that's missing.

The mapping of small *letters* or *symbols* to plain vs. \var* commands
is not consistent:

\theta GREEK SMALL LETTER THETA 
\vartheta GREEK THETA SYMBOL 

\phi GREEK PHI SYMBOL
\varphi GREEK SMALL LETTER PHI 

\pi GREEK SMALL LETTER PI 
\varpi GREEK PI SYMBOL

\kappa GREEK SMALL LETTER KAPPA 
\varkappa GREEK KAPPA SYMBOL

\rho GREEK SMALL LETTER RHO
\varrho GREEK RHO SYMBOL

\epsilon GREEK LUNATE EPSILON SYMBOL
\varepsilon GREEK SMALL LETTER EPSILON


>> (Are the Greek letters *in math* upright or cursive?

> Now that you mention it, they're upright.  Which is odd.  I checked my 
> Ubuntu box, which also has LyX 1.6.3 on it (and where Greek letters in 
> math appear slanted, and \epsilon is what it should be).  The Ubuntu box 
> is using DejaVu Serif/Sans/Sans Mono for the screen fonts.  So is the 
> Mint Gloria installation.  I checked with Synaptic, and they both have 
> the same version (2.28-1) of the ttf-deja-whatever fonts installed (all 
> three packages).

>>> Any suggestions where I could look for the cause?

>> Try a different screen font.

> I did.  There was a slight change in font width, but the Greek letters 
> in math mode remained upright, and \epsilon remained "epsilon" (no glyph).

I remember having the problem of upright greek symbols in math with DejaVu.
For no known reason, this problem disappeared after I tried with another
font and back to DejaVu Serif (maybe this is after upgrage to 1.6.4).

Günter



Re: Cannot specify bullets

2009-10-31 Thread Guillaume Yziquel

Guillaume Yziquel a écrit :


Ignacio García a écrit :


Ignacio García  writes:


Guillaume Yziquel  writes:

I'm using Lyx 1.6.4, and I'm having trouble specifying the bullets 
properly. When I'm generating .pdf files, my bullets are always 
dashes, no matter what I do to specify the bullets in the 
preferences menu.


See you this thread:
 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg77083.html


Yes. French is my document language. I'll have a look at this thread.


I've had a look at this thread, and more specifically at

http://daniel.flipo.free.fr/frenchb/frenchb2-doc.pdf

I've been trying to add a \frenchbsetup to the preamble, but it doesn't 
seem to be a recognised command. I've had a look at french.ldf, and it 
seems that on Debian, it's the frenchpro package that's used in place of 
frenchb. So I'm a bit confused.


I'm not really familiar with TeX output from LyX. The beginning of the 
.tex file follows. I'm wondering what should be done in the .tex file to 
be able to access the \frenchbsetup command.



\documentclass[french]{article}
\usepackage{berasans}
\usepackage[T1]{fontenc}
\usepackage[utf8x]{inputenc}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=2cm,bmargin=1cm,lmargin=1cm,rmargin=1cm,headheight=0cm,headsep=0cm,footskip=0cm}
\pagestyle{empty}
\setlength{\parskip}{\medskipamount}
\setlength{\parindent}{0pt}
\usepackage{color}
\usepackage{babel}
\addto\extrasfrench{\providecommand{\og}{\leavevmode\flqq~}\providecommand{\fg}{\ifdim\lastskip>\...@\unskip\fi~\frqq}}

\usepackage{array}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage[unicode=true, 
 bookmarks=false,

 breaklinks=false,pdfborder={0 0 
0},backref=false,colorlinks=true,pdfpagemode=FullScreen]
 {hyperref}
\hypersetup{pdftitle={YZIQUEL Guillaume},
 pdfauthor={Guillaume Yziquel}}


All the best,

--
 Guillaume Yziquel
http://yziquel.homelinux.org/


BUG - Unable to view User Guide in PDF or PS

2009-10-31 Thread James Ronback
When I download from http://wiki.lyx.org/LyX/Manuals and attempt to view 
the "The LyX User's Guide by the LyX TeamVersion 1.6.x" as a PDF file by 
clicking on the PDF icon (View pdflatex) I get the following error message:


"tex\latex\subfig\subfig.sty is missing:"

When I say install from 
ftp://tug.ctan.org/tex-archive/systems/win32/miktex/tm/packages/

the following messages occur:

"An empty output file was generated"

LaTeX Error: File `subfig.sty' not found.

\makeatother

*** (cannot \read from terminal in nonstop modes) .


Am I doing something wrong? I've installed the Windows version Lyx ver 
1.6.4 on an PC with Windows XP Pro sp 3 and I have Adobe Reader 9.2.0  

PS The same problem occurs when I try to view the User Guide as 
Postscript file

But I can view the PDF version of the Lyx tutorial OK.


Re: BUG - Unable to view User Guide in PDF or PS

2009-10-31 Thread Uwe Stöhr

James Ronback schrieb:

When I download from http://wiki.lyx.org/LyX/Manuals and attempt to view 
the "The LyX User's Guide by the LyX TeamVersion 1.6.x" as a PDF file by 
clicking on the PDF icon (View pdflatex) I get the following error message:


"tex\latex\subfig\subfig.sty is missing:"


So your LaTeX installation misses the package "subfig". To fix this

- open an Internet connection
- start LyX by double-clicking on the file "lyx.exe"
- reconfigure LyX (Tools->Reconfigure)

MiKTeX (the LaTeX engine) will now install all LaTeX-packages needed by LyX. You can see the 
progress in the console window that was opened together with LyX.


regards Uwe


Re: question regarding LyX's placement of hyperref

2009-10-31 Thread Uwe Stöhr

Venable schrieb:


I have a small question about the way LyX places hyperref among other
packages. From exporting LyX files to plain latex, it appears that LyX
does not place hyperref last among the packages, as recommended in the
hyperref manual. This is innocuous 99% of the time but has in my
experience caused problems for some more esoteric packages such as
bibentry or endfloat.


It is impossible to find a location for hyperref, so that it worjks in every case. So we've chosen 
the place that should work in most cases.



A simple workaround is to hand-code \usepackage{hyperref} (with
whatever options) into the LaTeX preamble rather than using the PDF
Properties pulldown menu. However, since the pulldown menu is very
convenient, I'm wondering if there's a way to customize LyX to place
hyperref in the right place.


The feature to be able to customize the package placement is in planning.

regards Uwe


Layout file for Problem Set Solutions (making layout for hmcpset.cls)

2009-10-31 Thread Adam
Hi Everyone.

Could someone please help me in trying to make a LyX .layout file for
mathematical problem set solutions? I was really hoping to create something like
the Harvey Mudd College Problem Set Distribution, available here:

http://www.math.hmc.edu/computing/suppo ... s/hmcpset/

Download it, and you'll see that it's excellent! It provides one latex class
file called hmcpset.cls, a template, and an example. Open the example in your
favorite LaTeX editor, compile it with pdflatex, and you'll see what I mean...
really a great interface for typing the solutions.

I followed the instructions on making a .layout for LyX from a .cls, and made 
this hmcpset.layout file:
-
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[hmcpset,article]{homework (Harvey Mudd Problem Set)}
# DescriptionBegin 
# 2009/10/1 HMC Problem Set class in LyX
# DescriptionEnd

Input article.layout
-

Unfortunately, none of the environments from hmcpset.cls find their way into
LyX.  Must I hard code these myself in the layout file, or is there a way to get
the same thing into LyX without coding them?

In particular, I think I have to recode all of the environments (like
\begin{problem}  \end{problem}, \begin{solution} ... \end{solution}), and I
don't know how to do that.  Furthermore, I'd like to avoid doing it because
that's really the only thing the .cls file provides!

Thus, could some kind soul either:
(a) Show me how to do this and/or easily convert the hmcpset.cls file to a valid
layout, with the same environments and all, or
(b) Point me in the right direction in terms of a .layout for doing problem 
sets?

This would be EXTREMELY appreciated. Seriously you'll be my new favorite person.
Thanks for your help.

- Adam



Re: BUG - Unable to view User Guide in PDF or PS

2009-10-31 Thread James Ronback

Uwe,
Reconfiguring does not resolve the problem. I get the same symptoms.
I gave the wrong source of lyx file below.
The lyx file that is giving me the problem is the User's Guide fetched 
via the Help tab, not the web site indicated below.
So the bug still exists. Maybe the lyx file that comes with the program 
is faulty.


As workaround I'm using the merged 1.6.4/Manuals.pdf file from 
http://wiki.lyx.org/LyX/Manuals


Thanks Jim

Uwe Stöhr wrote:

James Ronback schrieb:

When I fetch the User's Guide from [http://wiki.lyx.org/LyX/Manuals 
(sic)] the Help tab and attempt to view the "The LyX User's Guide by 
the LyX TeamVersion 1.6.x" as a PDF file by clicking on the PDF icon 
(View pdflatex) I get the following error message:


"tex\latex\subfig\subfig.sty is missing:"


So your LaTeX installation misses the package "subfig". To fix this

- open an Internet connection
- start LyX by double-clicking on the file "lyx.exe"
- reconfigure LyX (Tools->Reconfigure)

MiKTeX (the LaTeX engine) will now install all LaTeX-packages needed 
by LyX. You can see the progress in the console window that was opened 
together with LyX.


regards Uwe