texlive[68815] Master/texmf-dist: q-and-a (11nov23)

commits+karl at tug.org commits+karl at tug.org
Sat Nov 11 22:11:21 CET 2023


Revision: 68815
          https://tug.org/svn/texlive?view=revision&revision=68815
Author:   karl
Date:     2023-11-11 22:11:21 +0100 (Sat, 11 Nov 2023)
Log Message:
-----------
q-and-a (11nov23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/q-and-a/doc/Q-and-A-doc.pdf
    trunk/Master/texmf-dist/doc/latex/q-and-a/doc/Q-and-A-doc.tex
    trunk/Master/texmf-dist/tex/latex/q-and-a/Q-and-A.cls

Modified: trunk/Master/texmf-dist/doc/latex/q-and-a/doc/Q-and-A-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/q-and-a/doc/Q-and-A-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/q-and-a/doc/Q-and-A-doc.tex	2023-11-11 21:11:09 UTC (rev 68814)
+++ trunk/Master/texmf-dist/doc/latex/q-and-a/doc/Q-and-A-doc.tex	2023-11-11 21:11:21 UTC (rev 68815)
@@ -5,7 +5,7 @@
   scroll,
 ]{Q-and-A}
 
-\def\PackageVersion{2023/11/09}
+\def\PackageVersion{2023/11/11}
 \def\PackageSubVersion{}
 
 \newcommand{\QApackage}{{\normalfont\textsf{Q-and-A}}}

Modified: trunk/Master/texmf-dist/tex/latex/q-and-a/Q-and-A.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/q-and-a/Q-and-A.cls	2023-11-11 21:11:09 UTC (rev 68814)
+++ trunk/Master/texmf-dist/tex/latex/q-and-a/Q-and-A.cls	2023-11-11 21:11:21 UTC (rev 68815)
@@ -12,7 +12,7 @@
 \NeedsTeXFormat{LaTeX2e}[2022-06-01]
 \ProvidesExplClass
   {Q-and-A}
-  {2023/11/09} {}
+  {2023/11/11} {}
   {Document class for typesetting Q&A conversation}
 
 \keys_define:nn { Q-and-A }
@@ -282,6 +282,20 @@
 \definecolor{QA-code-comment}{RGB}{128,128,128}
 \definecolor{QA-code-string }{RGB}{  5,165,126}
 \lstdefinelanguage{plaintext}{}
+\lstdefinelanguage{Markdown}{
+  keywords={
+    \#,\#\#,\#\#\#,\#\#\#\#,\#\#\#\#\#,\#\#\#\#\#\#,
+    >,
+    ---,----,-----,------,-------,--------,---------,
+  },
+  alsoletter={\#,>,*,-,`},
+  moredelim=[s][\color{QA-code-string}\ttfamily]{`}{`},
+  moredelim=[s][\itshape]{*}{*},
+  moredelim=[s][\bfseries]{**}{**},
+  moredelim=[s][\bfseries\itshape]{***}{***},
+  morecomment=[s]{<!--}{-->},
+  sensitive=true
+}
 \lstdefinelanguage{JavaScript}{% https://tex.stackexchange.com/q/89574
   keywords={abstract, any, as, boolean, break, case, catch, class, console,
     const, continue, debugger, declare, default, delete, do, else, enum, export,
@@ -1139,11 +1153,11 @@
 
         \regex_replace_all:nnN
           { \*\*\* (.*?) \*\*\* }
-          { \c{textbf} { \c{emph} {\1} } }
+          { \c{QAEmph} { \c{emph} {\1} } }
           \l_QA_tmp_tl
         \regex_replace_all:nnN
           { \*\* (.*?) \*\* }
-          { \c{textbf} {\1} }
+          { \c{QAEmph} {\1} }
           \l_QA_tmp_tl
         \regex_replace_all:nnN
           { \* (.*?) \* }



More information about the tex-live-commits mailing list.