mirror of
https://github.com/rosenpass/rosenpass.git
synced 2026-06-12 11:01:19 -07:00
more sluggish LaTeX fixes
This commit is contained in:
@@ -29,6 +29,7 @@
|
|||||||
citations,
|
citations,
|
||||||
tightLists=false,
|
tightLists=false,
|
||||||
html,
|
html,
|
||||||
|
hybrid,
|
||||||
relativeReferences=true,
|
relativeReferences=true,
|
||||||
]{markdown}
|
]{markdown}
|
||||||
|
|
||||||
@@ -91,32 +92,35 @@ relativeReferences=true,
|
|||||||
\markdownSetup{
|
\markdownSetup{
|
||||||
renderers = {
|
renderers = {
|
||||||
jekyllDataTypographicString = {
|
jekyllDataTypographicString = {
|
||||||
\keys_set:nn { Markdown/Template/jekyllData } { {#1} = {#2} }
|
\keys_set:nn { Markdown/Template/jekyllData } { {#1} = {#2} }
|
||||||
},
|
},
|
||||||
jekyllDataProgrammaticString = {},
|
jekyllDataProgrammaticString = {},
|
||||||
jekyllDataNumber = {
|
jekyllDataNumber = {
|
||||||
\keys_set:nn { Markdown/Template/jekyllData } { {#1} = {#2} }
|
\keys_set:nn { Markdown/Template/jekyllData } { {#1} = {#2} }
|
||||||
},
|
},
|
||||||
jekyllDataBoolean = {
|
jekyllDataBoolean = {
|
||||||
\keys_set:nn { Markdown/Template/jekyllData } { {#1} = {#2} }
|
\keys_set:nn { Markdown/Template/jekyllData } { {#1} = {#2} }
|
||||||
},
|
},
|
||||||
jekyllDataEmpty = {
|
jekyllDataEmpty = {
|
||||||
\keys_set:nn { Markdown/Template/jekyllData } { {#1} = {} }
|
\keys_set:nn { Markdown/Template/jekyllData } { {#1} = {} }
|
||||||
},
|
},
|
||||||
jekyllDataSequenceBegin = {
|
jekyllDataSequenceBegin = {
|
||||||
\begingroup
|
\begingroup
|
||||||
\renewcommand*{\markdownRendererJekyllDataTypographicString}[2]{
|
|
||||||
\seq_if_exist:cF { g__ptxcd_##1_seq } {
|
\seq_if_exist:cTF { g__ptxcd_#1_seq }
|
||||||
\seq_new:c { g__ptxcd_##1_seq }
|
{ \seq_gclear:c { g__ptxcd_#1_seq } }
|
||||||
}
|
{ \seq_new:c { g__ptxcd_#1_seq } }
|
||||||
\seq_gput_right:cn { g__ptxcd_##1_seq } { ##2 }
|
|
||||||
}
|
\renewcommand*{\markdownRendererJekyllDataTypographicString}[2]{
|
||||||
\renewcommand*{\markdownRendererJekyllDataProgrammaticString}[2]{}
|
\seq_gput_right:cn { g__ptxcd_#1_seq } { ##2 }
|
||||||
},
|
}
|
||||||
|
|
||||||
|
\renewcommand*{\markdownRendererJekyllDataProgrammaticString}[2]{}
|
||||||
|
},
|
||||||
jekyllDataSequenceEnd = {
|
jekyllDataSequenceEnd = {
|
||||||
\endgroup
|
\endgroup
|
||||||
},
|
}%,
|
||||||
backslash = {\\},
|
% backslash = {\\},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -164,6 +168,11 @@ relativeReferences=true,
|
|||||||
\markdownInputPlainTeX{\MarkDownInputFile}%
|
\markdownInputPlainTeX{\MarkDownInputFile}%
|
||||||
\UseHook{markdownInput/end}%
|
\UseHook{markdownInput/end}%
|
||||||
|
|
||||||
|
\markdownSetup{rendererPrototypes={
|
||||||
|
backslash = {\\},
|
||||||
|
}}
|
||||||
|
|
||||||
|
|
||||||
\AddToHook{markdownInput/end}{\TemplateEnd}
|
\AddToHook{markdownInput/end}{\TemplateEnd}
|
||||||
\AddToHook{markdownInput/begin}{\TemplateBegin}
|
\AddToHook{markdownInput/begin}{\TemplateBegin}
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
\usepackage{minted}
|
\usepackage{minted2}
|
||||||
|
|
||||||
\setminted{bgcolor=rosenpass-gray!20,breaklines}
|
\setminted{bgcolor=rosenpass-gray!20,breaklines}
|
||||||
|
|
||||||
|
|||||||
@@ -23,11 +23,13 @@ let
|
|||||||
eso-pic
|
eso-pic
|
||||||
fancyvrb
|
fancyvrb
|
||||||
fontspec
|
fontspec
|
||||||
|
framed
|
||||||
gitinfo2
|
gitinfo2
|
||||||
gobble
|
gobble
|
||||||
ifmtarg
|
ifmtarg
|
||||||
koma-script
|
koma-script
|
||||||
latexmk
|
latexmk
|
||||||
|
lineno
|
||||||
lm
|
lm
|
||||||
lualatex-math
|
lualatex-math
|
||||||
lua-ul
|
lua-ul
|
||||||
@@ -44,6 +46,7 @@ let
|
|||||||
upquote
|
upquote
|
||||||
xifthen
|
xifthen
|
||||||
xkeyval
|
xkeyval
|
||||||
|
xstring
|
||||||
xurl
|
xurl
|
||||||
dirtytalk
|
dirtytalk
|
||||||
;
|
;
|
||||||
|
|||||||
Reference in New Issue
Block a user