Re: Generating a bbl File

2013-05-26 Thread Bruce Pourciau

On May 9, 2013, at 4:33 PM, UD wrote:

> I repeat my request to activate this option by default, perhaps with a 
> warning (shown when the option is actually used) that there are problems with 
> multiple bibliographies.  My colleagues have often complained about the 
> ornate dance that is required to produce the Latex file with the content of 
> the .bbl file embedded in it.  Since this is a routine application (until 
> journals accept Lyx files, it must be faced each time you submit an article 
> to a journal), it would be very helpful to have it by default.
> 
> Ehud Kaplan
> 
> 
> On 05/03/2013 03:23 PM, Richard Heck wrote:
>> On 05/03/2013 02:37 PM, Bruce Pourciau wrote: 
>>> On May 3, 2013, at 1:04 PM, Richard Heck wrote: 
>>> 
 On 05/03/2013 11:40 AM, Bruce Pourciau wrote: 
> Once a submitted paper has been accepted by a journal, one must replace 
> the BibTeX bibliography with a bbl file. What's the easiest way to do 
> this? I have instructions around someplace, but has this replacement 
> become more automatic (like PDF pdflatex with bbl, as an export option) 
> in the newest versions of LyX? 
 There's an option to export "LaTeX (with Bib)", which includes the 
 contents of the bbl file in the LaTeX file itself. Which is usually what 
 they want. 
 
 rh 
 
>>> I just updated to LyX 2.0.5.1, but do not see the export option LaTeX (with 
>>> bib). 
>> 
>> Sorry, I forgot, we do not enable it by default. 
>> 
>> There are instructions about how to get this in the file include_bib.py, 
>> which you will find in your LyX installation (e.g., at 
>> /usr/share/lyx/scripts/). The easiest thing to do is to open your 
>> preferences file and add these two lines: 
>> 
>> \format "ltxbib" "tex" "LaTeX (With Bib)" "" "" "" "document,menu=export" 
>> \converter "pdflatex" "ltxbib" "python -tt $$s/scripts/include_bib.py $$i 
>> $$o" "needaux" 
>> 
>> in the appropriate places, which should be obvious. 
>> 
>> Richard 
>> 


Personally, I wouldn't  need or wish to have exporting LaTeX with the bbl file 
be the default, but given that the bbl file must replace the bibtex 
bibliography every time one submits a paper for publication, it would indeed 
seem very useful to have Export > LaTeX (with bib) as a menu choice. How hard 
would this be?

Bruce

Re: short title, name

2013-05-26 Thread Uwe Stöhr

Am 26.05.2013 18:52, schrieb Patrick Dupre:


I did not find an option to set a
short title
short name
short institute


Set the cursor in title, name or institute and use the menu Insert->Short Title.

regards Uwe

p.s. start with the file "beamerlyxexample1.lyx" that you find in LyX's 
examples folder.


short title, name

2013-05-26 Thread Patrick Dupre
Hello,

I did not find an option to set a 
short title
short name
short institute
in the beamer class.

These options do not exist?

Thank

===
 Patrick DUPRÉ                                 | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===


Re: lyx in arabic or persian

2013-05-26 Thread Uwe Stöhr

On Wed, Jan 30, 2013 at 1:50 PM, Parastoo Mojabi 
wrote:

> I have difficulties making lyx in Farsi, I did as the internet saying, but
> article[arabic] is un available in my document class, I paste
> article-arabic.layout. every where but still doesnt work.

Hello Parastoo,

where have you read that you should use article[arabic] as document class for Farsi. Doing this can 
break the compilation.


In our Wiki we have a recipe what you need to to to get Farsi to work:
http://wiki.lyx.org/Windows/Farsi

(Unfortunately the Ubuntu section there is incorrect because it describes a 
nasty hack.)
The clean solution is to install the LaTeX-package "arabi" to your LaTeX distribution. This is in 
fact the only thing you need to do because LyX does then the rest for you.


Attached if the Farsi LyX welcome file. Can you compile it?

regards Uwe


splash.lyx
Description: application/lyx


'extended' glossary in lyx

2013-05-26 Thread Tino Langer

Hello,

I'm looking for a possibility to create a glossary with 3 columns 
(formula, short description, description) using lyx . It it possible to 
do this with lyx natively?


Googeling around I found the package glossaries - but using it I don't 
get a glossary generated. It seems there are calls missing to generate 
.gls-files on the base of .glo-files using makeindex.


perhaps a small example can help?

* document -> LaTeX-preample
--

\usepackage[nonumberlist,numberline,acronym,toc]{glossaries}

\newlength{\glsfixfirstwidth}

\setlength{\glsfixfirstwidth}{5em}

\newcommand*{\longtablealign}{l}

\newglossarystyle{symbvz}{

\renewenvironment{theglossary}

{\begin{longtable}[\longtablealign]{@{}ccp{0.75\textwidth}@{}}}

{\end{longtable}}


\renewcommand*{\glossaryheader}{

\textbf{Symbol} & \textbf{Einheit} & \textbf{Beschreibung} \\

\endhead}


\renewcommand*{\glsgroupheading}[1]{}

\renewcommand*{\glossaryentryfield}[4]{

\vspace{0.1cm}

\glsentryuseri{##1}% Symbol

& \si{\glsentryuserii{##1}}% Einheit

& \glstarget{##1}{##2}% Name

\\

}


\renewcommand*{\glossarysubentryfield}[6]{

\glossaryentryfield{##2}{##3}{##4}{##5}{##6}}

\renewcommand*{\glsgroupskip}{}

}


\makeglossaries


* a ERT in lyx-document to generate an entry

-

\newglossaryentry{Masse}{
name={Masse},
user1={\ensuremath{m}},
user2={\ensuremath{kg}},
%sort=a
}

* a ERT in lyx-document to generate the glossary
-

\printglossary[style=symbvz,title={Symbolverzeichnis},nonumberlist]

Many thanks for help! - Tino