mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
tex2lyx/text.cpp: support for \nameref
\nameref is not recognized should be backported to branch
This commit is contained in:
parent
b119f849d7
commit
471889e0db
@ -46,7 +46,6 @@ Format LaTeX feature LyX feature
|
|||||||
390 forward/reverse search \forward_search, \forward_macro
|
390 forward/reverse search \forward_search, \forward_macro
|
||||||
391 decimal alignment in tables InsetTabular
|
391 decimal alignment in tables InsetTabular
|
||||||
392 new beamer format InsetLayout
|
392 new beamer format InsetLayout
|
||||||
396 nameref.sty InsetRef
|
|
||||||
399 automatic mathdots loading \use_mathdots
|
399 automatic mathdots loading \use_mathdots
|
||||||
407 vertical offset for multirows InsetTabular
|
407 vertical offset for multirows InsetTabular
|
||||||
411 support for polyglossia \language_package (the cases of no package, of babel and of custom package is supported)
|
411 support for polyglossia \language_package (the cases of no package, of babel and of custom package is supported)
|
||||||
@ -80,7 +79,6 @@ Format LaTeX feature LyX feature
|
|||||||
459 beamer: \begin{frame}, \begin_layout Frame
|
459 beamer: \begin{frame}, \begin_layout Frame
|
||||||
\begin{frame}[plain], \begin_layout PlainFrame
|
\begin{frame}[plain], \begin_layout PlainFrame
|
||||||
\begin{frame}[fragile] \begin_layout FragileFrame
|
\begin{frame}[fragile] \begin_layout FragileFrame
|
||||||
461 support for kurier math font (the other kurier fonts are already supported); done in master
|
|
||||||
462 New libertine LaTeX fonts:
|
462 New libertine LaTeX fonts:
|
||||||
\usepackage[scale|scaled|ttscale=$val]{libertineMono-type1}
|
\usepackage[scale|scaled|ttscale=$val]{libertineMono-type1}
|
||||||
\font_typewriter
|
\font_typewriter
|
||||||
@ -96,7 +94,6 @@ Format LaTeX feature LyX feature
|
|||||||
\twocolumn[]{}{} Layout Twocolumn, InsetArgument
|
\twocolumn[]{}{} Layout Twocolumn, InsetArgument
|
||||||
\item[]<> InsetArgument
|
\item[]<> InsetArgument
|
||||||
\begin{enumerate|itemize|...}[] InsetArgument
|
\begin{enumerate|itemize|...}[] InsetArgument
|
||||||
467 support for iwona math font (the other iwona fonts are already supported); done in master
|
|
||||||
|
|
||||||
|
|
||||||
General
|
General
|
||||||
|
@ -86,7 +86,8 @@ Of course there are other kind of references, like page
|
|||||||
reference~\pageref{lab:test}, but also equation
|
reference~\pageref{lab:test}, but also equation
|
||||||
reference~\eqref{lab:test} (from amsmath package), or varioref's
|
reference~\eqref{lab:test} (from amsmath package), or varioref's
|
||||||
equivalents~\vref{lab:test} and~\vpageref{lab:test}, without
|
equivalents~\vref{lab:test} and~\vpageref{lab:test}, without
|
||||||
forgetting pretty references like~\prettyref{lab:test}.
|
forgetting pretty references like~\prettyref{lab:test} as well as textual
|
||||||
|
references like~\nameref{lab:test}.
|
||||||
The command \secref{lab:test} will be parsed in ERT, since LyX
|
The command \secref{lab:test} will be parsed in ERT, since LyX
|
||||||
does not support refstyle and prettyref natively at the same time.
|
does not support refstyle and prettyref natively at the same time.
|
||||||
|
|
||||||
|
@ -112,10 +112,10 @@ string parse_text_snippet(Parser & p, unsigned flags, const bool outer,
|
|||||||
|
|
||||||
|
|
||||||
char const * const known_ref_commands[] = { "ref", "pageref", "vref",
|
char const * const known_ref_commands[] = { "ref", "pageref", "vref",
|
||||||
"vpageref", "prettyref", "eqref", 0 };
|
"vpageref", "prettyref", "nameref", "eqref", 0 };
|
||||||
|
|
||||||
char const * const known_coded_ref_commands[] = { "ref", "pageref", "vref",
|
char const * const known_coded_ref_commands[] = { "ref", "pageref", "vref",
|
||||||
"vpageref", "formatted", "eqref", 0 };
|
"vpageref", "formatted", "nameref", "eqref", 0 };
|
||||||
|
|
||||||
char const * const known_refstyle_commands[] = { "algref", "chapref", "corref",
|
char const * const known_refstyle_commands[] = { "algref", "chapref", "corref",
|
||||||
"eqref", "enuref", "figref", "fnref", "lemref", "parref", "partref", "propref",
|
"eqref", "enuref", "figref", "fnref", "lemref", "parref", "partref", "propref",
|
||||||
|
Loading…
Reference in New Issue
Block a user