X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fsyntax.default;h=893b983aa086a644a270be092ceeabe46a96de9c;hb=02a31b4c5c2165fee7845986d222f118f5e0ded1;hp=f18ea74b795e729d59a251bd5704881c1a5b9f5f;hpb=3d3f87f36a91686e82fcc8ae12b9448bcc27217a;p=lyx.git diff --git a/lib/syntax.default b/lib/syntax.default index f18ea74b79..893b983aa0 100644 --- a/lib/syntax.default +++ b/lib/syntax.default @@ -64,9 +64,11 @@ $$ %\begin{}(,)(,) %\begin{}{}[]{} \bf +\bibbysection[] % biblatex \bibitem[]{} \bibliography{} \bibliographystyle{} +\addbibresource{} % biblatex \c{} \cite[]{} @@ -110,7 +112,27 @@ $$ \footciteyear[]{} \footciteyearpar[][]{} \citefield[]{} -\citetitle[]{} +%\citetitle[]{} + +% biblatex: +\Cite[][]{} +\cite*[][]{} +\textcite[][]{} +\Textcite[][]{} +\parencite[][]{} +\Parencite[][]{} +\parencite* +\smartcite[][]{} +\Smartcite[][]{} +\footcite[][]{} +\Footcite[][]{} +\autocite[][]{} +\Autocite[][]{} +\citecite[][]{} +\citecite*[][]{} +\fullcite[][]{} +\footfullcite[][]{} +\supercite[][]{} \cline{ - } \d{} @@ -142,6 +164,7 @@ $$ \Large \LARGE \marginpar[]{} +\mintinline[,]{} \multicolumn{}{}{} \newline \noindent @@ -403,6 +426,7 @@ $$ \ce{} \cf{} \ccname +\cellcolor[]{} \centering \centerline{translate} \chapter[]{} @@ -418,10 +442,11 @@ $$ \cleardoublepage \clearpage \closing{} -\color[]{,,} % Two variants of this command and the next (jpw) +\color[]{} % Two variants of this command and the next (jpw) %\color{} -\colorspec[]{,,}{} +\colorspec[]{}{} %\colorspec{}{} +\columncolor[]{} %\contentsline{}{\numberline{} }{} % Appears only in .toc file (JMarc) \contentsname %\dashbox{}(,)[]{} %picture @@ -434,7 +459,7 @@ $$ \DeclareRobustCommandx{}[][]{} % xargs.sty \DeclareRobustCommandx*{}[][]{} % xargs.sty \def{}{} -\definecolor{}{}{,,} +\definecolor{}{}{} \DeleteShortVerb{} % from doc.sty, argument must be verbatim \DescribeMacro{} \discretionary{}{}{} @@ -445,7 +470,7 @@ $$ \ensuremath{} \extracolsep{} \fbox{translate} -\fcolorbox[]{,,}{,,}{} % Two variants of this command +\fcolorbox[]{}{}{} % Two variants of this command %\fcolorbox{}{}{} \figurename \floatpagefraction @@ -558,7 +583,7 @@ $$ \opening{} % \oval(,)[] %picture \pagebreak[] -\pagecolor[]{,,} +\pagecolor[]{} % \pagecolor{} % tex2lyx can first care about this when fileformat 351 is supported \pagename \pagenumbering{} @@ -574,6 +599,7 @@ $$ \pdfstringdef{}{} % from the hyperref package \poptabs \prefacename +\printbibliography[] % biblatex \printindex[]{} \protect \providecommand{}[][]{} @@ -610,7 +636,8 @@ $$ \rmdefault \Roman{} \roman{} -\rotatebox{}{translate} +\rotatebox[]{}{translate} +\rowcolor[]{} \rule[]{}{} \samepage \savebox{}[][]{} @@ -641,15 +668,22 @@ $$ \stepcounter{} \stretch{} %\subitem{} % unsupported theindex environment +\subcaption[translate]{translate} +\subcaptionbox[translate]{translate}[][]{translate} % subcaption.sty +\subcaptionbox*{translate}[][]{translate} % subcaption.sty \subjectname -\subfigure[]{translate} +\subfloat[][]{} +\subfigure[translate][translate]{translate} % obsolete subfigure.sty \subparagraph[]{} % These "sub" versions of the sectioning commands weren't \subparagraph*{} % in the original commandlist for some reason (adk) +\subref{} % subcaption.sty +\subref*{} % subcaption.sty \subsection[]{} % \subsection*{} % \subsubsection[]{} % \subsubsection*{} % %\subsubitem{} % unsupported theindex environment +\subtable[translate][translate]{translate} % obsolete subfigure.sty \suppressfloats[] \symbol{} \tablename @@ -658,7 +692,7 @@ $$ \telephone{translate} \texorpdfstring{translate}{translate} % from the hyperref package \textcircled{translate} -\textcolor[]{,,}{translate} +\textcolor[]{}{translate} %\textcolor{}{} \textbf{translate} % hardcoded, but needed nevertheless for \let\xyz\textbf \textnormal{translate} % hardcoded, but needed nevertheless for \let\xyz\textnormal @@ -695,7 +729,6 @@ $$ \vspace{} \vspace*{} \whiledo{}{} -\xymatrix{} % this is basically an array => the contents would be parsed badly (bug 8396) % LaTeX environments. % They have always one extra "argument": @@ -703,9 +736,14 @@ $$ % LaTeX code that can be translated to LyX. \begin{environments} bibunit[]{translate} +listing{} % minted.sty +minted{} % minted.sty psmatrix[]{} +subfigure[]{translate} % subcaption.sty +subtable[]{translate} % subcaption.sty theorem[]{translate} % from amsthm.sty and probably others thebibliography{} +tikzpicture[]{} \end{environments} % Environments that start math mode. @@ -725,7 +763,7 @@ multline*{displaymath} math{} displaymath{displaymath} flalign{displaymath} -flalign{displaymath} +flalign*{displaymath} % These require extra args alignat{}{displaymath} alignat*{displaymath}