mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
BiblioInfo: provide macro for ellipses
This commit is contained in:
parent
d05809da3c
commit
a4b99aee94
@ -26272,6 +26272,45 @@ status collapsed
|
||||
Note that these are not macros,
|
||||
in the sense just defined.
|
||||
They will not be expanded.
|
||||
\change_inserted -712698321 1720499621
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
\change_inserted -712698321 1720499725
|
||||
For some characters which are otherwise hard to get,
|
||||
we have predefined macros.
|
||||
Currently,
|
||||
this only includes:
|
||||
\end_layout
|
||||
|
||||
\begin_layout Itemize
|
||||
|
||||
\change_inserted -712698321 1720499707
|
||||
\begin_inset Flex Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
|
||||
\change_inserted -712698321 1720499707
|
||||
%elp%
|
||||
\change_unchanged
|
||||
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
which outputs the ellipsis character (
|
||||
\begin_inset Quotes eld
|
||||
\end_inset
|
||||
|
||||
\SpecialChar ldots
|
||||
|
||||
\begin_inset Quotes erd
|
||||
\end_inset
|
||||
|
||||
)
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
|
@ -25323,6 +25323,34 @@ status collapsed
|
||||
Sie werden nicht expandiert.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Für manche Sonderzeichen haben wir Makros vordefiniert.
|
||||
Momentan betrifft das nur
|
||||
\end_layout
|
||||
|
||||
\begin_layout Itemize
|
||||
\begin_inset Flex Code
|
||||
status collapsed
|
||||
|
||||
\begin_layout Plain Layout
|
||||
%elp%
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
|
||||
,
|
||||
welches Auslassungspunkte (
|
||||
\begin_inset Quotes gld
|
||||
\end_inset
|
||||
|
||||
\SpecialChar ldots
|
||||
|
||||
\begin_inset Quotes grd
|
||||
\end_inset
|
||||
|
||||
) ausgibt.
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Hier ist abschließend ein Beispiel,
|
||||
das mehrere Möglichkeiten ausschöpft:
|
||||
|
@ -1282,6 +1282,9 @@ docstring BibTeXInfo::getValueForKey(string const & oldkey, Buffer const & buf,
|
||||
}
|
||||
} else if (key == "year")
|
||||
ret = getYear();
|
||||
else if (key == "elp")
|
||||
// ellipsis
|
||||
ret = docstring(1, char_type(0x2026));
|
||||
}
|
||||
|
||||
// If we have no result, check in the cross-ref'ed entries
|
||||
|
Loading…
Reference in New Issue
Block a user