As far as I understand, the shorthand
field will only provide a "short identifier" for a certain bibliographry entry (say, a collection), but it will not use this identifier as an abbreviation in other entries (say, articles) that may be crossref
ed with the first one. If you're interested to display abbreviated journal titles for articles (but only in citations, not in the bibliography), I suggest the following:
To correctly display the title of the @collection
entry, change the journaltitle
field into title
;
Drop the crossref
/xref
field from the @article
entries;
Add a shortjournal
field (with EP
as content) to the @article
entries (Note: This field is not used by the standard styles shipping with biblatex
);
Use the \AtEveryCitekey
macro to locally replace the content of the journaltitle
field with that of the shortjournal
field.
Note: The following example is meant to be compiled with pdfLaTeX
.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage[babel=false]{csquotes}
\usepackage[style=verbose-ibid,citepages=suppress]{biblatex}
\AtEveryCitekey{%
\savefield{shortjournal}{\temptitle}%
\restorefield{journaltitle}{\temptitle}%
}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Article{Episkepsis1971:36,
title = {La Commission préparatoire},
journaltitle = {Episkepsis},
shortjournal = {EP},
date = {1971},
number = {36},
pages = {2},
}
@Article{Episkepsis1971:36_2,
title = {Communique de la Commission},
journaltitle = {Episkepsis},
shortjournal = {EP},
date = {1971},
number = {36},
pages = {8--9},
}
@Article{Episkepsis1972:54,
title = {La première Conférence},
journaltitle = {Episkepsis},
shortjournal = {EP},
date = {1972},
number = {54},
pages = {2--5},
}
@Collection{Episkepsis,
title = {Episkepsis},
date = {1970/},
shorthand = {EP},
keywords = {primary},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\nocite{*}
\begin{document}
Some text \autocite{Episkepsis1971:36}.
\printshorthands
\printbibheading
\printbibliography[keyword=primary,heading=subbibliography,title={Les sources principaux}]
\printbibliography[notkeyword=primary,heading=subbibliography,title={Les sources secondaires}]
\end{document}
This has nothing to do with LyX in the first place, it is just nomencl
’s standard behaviour. The \nomenclature
command just stores the entry for the list, but it does not print any text. However, you can redefine the \nomenclature
command in order to print the text as well. You could, for instance, put the following in the preamble of your document:
\let\nomenclOrig\nomenclature
\renewcommand*{\nomenclature}[3][]{#2\nomenclOrig[#1]{#2}{#3}}
The first line stores the \nomenclature
command in \nomenclOrig
. This is necessary, since we have to redefince the \nomenclature
command. This is done in the second line. Since the \nomenclature
command has two mandatory arguments and one optional argument, we have to specify 3 arguments (the [3]
bit). The optional argument has no standard value (the []
bit). Then we print the second argument (which is the first mandatory argument, since the optional argument is always #1
) as normal text and use the original command that we have stored in \nomenclOrig
.
I tried this with LyX, without problems. Note, though, that the two lines will give an error in a document without a nomenclature entry or list, because then LyX will not load the nomencl
package and thus the \renewcommand
will throw an error.
Best Answer
LyX directly supports the
nomencl
package.In the main menu, choose the
Insert
menu and thenList/ToC
,Nomenclature
.You can add nomenclature entries using also the menu,
Insert
, thenNomenclature Entry
.For further information have a look at the
nomencl
documentation.A very good alternative to
nomencl
is theglossaries
package.