Skip to content

Commit

Permalink
Fixed compilation problem
Browse files Browse the repository at this point in the history
  • Loading branch information
pablgonz committed Oct 1, 2019
1 parent 99392ac commit fc82bb9
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions sources/scontents.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,23 @@
}
\makeatother

% Custom vertamimsc
\makeatletter
\let\verbatimsc\@undefined
\let\endverbatimsc\@undefined
\makeatother
\usepackage{listings}
\lstnewenvironment{verbatimsc}
{
\lstset{
language=,%
basicstyle= \ttfamily,
columns = fullflexible,
gobble = 2,%
}
}{}
\makeatother

% Don't copy numbers in code example
\newcommand*{\noaccsupp}[1]{\BeginAccSupp{ActualText={}}#1\EndAccSupp{}}

Expand Down Expand Up @@ -334,14 +351,14 @@
% Reserved words 4 (scontents pkg)
keywordstyle=[4]{\color{mypkgcolor}},%
keywords=[4]{scontents,Scontents,getstored,typestored,verbatimsc,%
endverbatimsc,countsc,meaningsc,scheol},%
endverbatimsc,countsc,meaningsc},%
% Reserved in red
keywordstyle=[5]{\color{red}},%
keywords=[5]{makeatletter,makeatother,let},%
% Reserved in orange
keywordstyle=[6]{\color{optcolor}},%
keywords=[6]{verb,myverb,store-cmd,store-env,print-env,write-env,%
write-out,width-tab,force-eol,inner,outer,I,J,M,L},%
write-out,width-tab,force-eol,inner,outer,I,J,M,L,Ascheol},%
% Reserved in orange
keywordstyle=[7]{\color{OrangeRed}},%
keywords=[7]{foreach,DefineVerbatimEnvironment,lstnewenvironment,newminted},%
Expand Down Expand Up @@ -1690,7 +1707,7 @@ No tab
% \cs{c_@@_hidden_space_str} is a constant \emph{string} to used to hide
% the \mymeta{forced space} added by \hologo{TeX} when recording content
% in a macro. This \emph{string} contains the \emph{reserved phrase}
% ``§%^^Ascheol%§'' which is added to the end of the argument stored
% ``§%§§^^Ascheol%§'' which is added to the end of the argument stored
% in |seq| when the key §force-eol§ is false.
%
% \begin{macrocode}
Expand Down Expand Up @@ -1738,7 +1755,7 @@ No tab
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\tl_remove_once:NV,\tl_replace_all:Nxx,
% \begin{macro}[int]{\tl_remove_once:NV,\tl_replace_all:Nxx,
% \tl_replace_all:Nxn,\tl_replace_all:Nnx,\tl_if_empty:fTF}
% Some nonstandard variants.
%
Expand Down

0 comments on commit fc82bb9

Please sign in to comment.