section titles styles

2014-09-24 Thread Alberto Escrig Vidal
Dear LyX users

 

I'm writing a document using the KOMA-Script class. I prefer all titles to be 
also in roman, so I added to my preamble \addtokomafont{disposition}{\rmfamily}.

 

The problem is that filenames appear in some titles, which I want to be typed 
in Sans. By selecting the filename and modifying the text style to Sans, LyX 
does nothing, since it believes the title is in Sans. Is there a solution for 
this that involves neither ERT boxes nor editing stdsections.inc? 

 

Thanks so much

Alberto

 

CONFIDENCIALIDAD
La información contenida en este mensaje y/o archivo(s) adjunto(s) es 
confidencial/privilegiada y está destinada a ser leída sólo por la(s) 
persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el 
destinatario señalado, el empleado o el agente responsable de entregar el 
mensaje al destinatario, o ha recibido esta comunicación por error le 
informamos que está totalmente prohibida, y puede ser ilegal, cualquier 
divulgación, distribución o reproducción de esta comunicación, y le rogamos que 
nos lo notifique inmediatamente y nos devuelva el mensaje original al e-mail: 
i...@itc.uji.es. Gracias.

CONFIDENTIALITY NOTICE
The information in this e-mail message and any files transmitted with it are 
confidential/ privileged and intended solely for the person(s) to whom they are 
addressed. If you are not the intended recipient, or employee or person acting 
on behalf of the intended recipient, or have received this message by mistake, 
you are notified that disclosing, distributing or reproducing this message or 
files is strictly prohibited. If you receive this message or files in error, 
please notify us immediately and return the original message to: 
i...@itc.uji.es. Thank you.

 



RE: section titles styles

2014-09-24 Thread Alberto Escrig Vidal
Thanks so much Richard! Works like a charm. 

 

Is it possible that child documents inherit the local layout of the master 
document?

 

I know that a user module may be written in such a case, but to me is a bit 
inconvenient to have to store it in a different folder than that of the 
document (especially when working with several computers).

 

Thanks a lot for LyX. It's just great! The equation editor is amazing.

 

Alberto

 

CONFIDENCIALIDAD
La información contenida en este mensaje y/o archivo(s) adjunto(s) es 
confidencial/privilegiada y está destinada a ser leída sólo por la(s) 
persona(s) a la(s) que va dirigida. Si usted lee este mensaje y no es el 
destinatario señalado, el empleado o el agente responsable de entregar el 
mensaje al destinatario, o ha recibido esta comunicación por error le 
informamos que está totalmente prohibida, y puede ser ilegal, cualquier 
divulgación, distribución o reproducción de esta comunicación, y le rogamos que 
nos lo notifique inmediatamente y nos devuelva el mensaje original al e-mail: 
i...@itc.uji.es. Gracias.

CONFIDENTIALITY NOTICE
The information in this e-mail message and any files transmitted with it are 
confidential/ privileged and intended solely for the person(s) to whom they are 
addressed. If you are not the intended recipient, or employee or person acting 
on behalf of the intended recipient, or have received this message by mistake, 
you are notified that disclosing, distributing or reproducing this message or 
files is strictly prohibited. If you receive this message or files in error, 
please notify us immediately and return the original message to: 
i...@itc.uji.es. Thank you.



De: Richard Heck [mailto:rgh...@lyx.org] 
Enviado el: miércoles, 24 de septiembre de 2014 16:58
Para: Alberto Escrig Vidal; lyx-users@lists.lyx.org
Asunto: Re: section titles styles

 

On 09/24/2014 09:18 AM, Alberto Escrig Vidal wrote:

Dear LyX users

 

I'm writing a document using the KOMA-Script class. I prefer all titles 
to be also in roman, so I added to my preamble 
\addtokomafont{disposition}{\rmfamily}.

 

The problem is that filenames appear in some titles, which I want to be 
typed in Sans. By selecting the filename and modifying the text style to Sans, 
LyX does nothing, since it believes the title is in Sans. Is there a solution 
for this that involves neither ERT boxes nor editing stdsections.inc? 


You need to inform LyX of this change. Try adding to Document> Settings> Local 
Layout:

Format 49

Style Section
  Font 
Family Roman
  EndFont
End

And similarly for any other cases.

Richard





Hyperref color links

2014-09-28 Thread Alberto Escrig Vidal
When this option is selected, LyX automatically adds:

 

\usepackage{color}

 

before babel is loaded.

 

If a multilingual Italian/Spanish document is involved (Spanish being
the main language), this causes the document to fail to compile (with an
updated MiKTeX distribution), such as the following minimal example:

 

\documentclass[italian,spanish]{book}

 

\usepackage{color}

\usepackage{babel}

\usepackage[colorlinks=true]{hyperref}

 

\begin{document}

foo

\end{document}

 

The problem is easily solved in LaTeX by loading color after babel is
loaded. In LyX there is also a workaround: providing colorlinks=true as
an additional hyperref option, which is not very elegant, because the
LaTeX translate will look like:

 

\usepackage[colorlinks=false,colorlinks=true]{hyperref}

 

Is it possible to influence LyX to load color after babel being loaded?

 

 

 

 

 

 

 



RE: Hyperref color links

2014-10-02 Thread Alberto Escrig Vidal
It Works!

Thanks so much Scott