%%%============================================================================== %% Copyright 2026-present by Alceu Frigeri %% %% This work may be distributed and/or modified under the conditions of %% %% * The [LaTeX Project Public License](http://www.latex-project.org/lppl.txt), %% version 1.3c (or later), and/or %% * The [GNU Affero General Public License](https://www.gnu.org/licenses/agpl-3.0.html), %% version 3 (or later) %% %% This work has the LPPL maintenance status *maintained*. %% %% The Current Maintainer of this work is Alceu Frigeri %% %% This is version {1.0} {2026/11/27} %% %% The list of files that compose this work can be found in the README.md file at %% https://ctan.org/pkg/codehighlight %% %%%============================================================================== %% %% Nota Bene: %% Some languages 'got' an specific identifier %% like ==> identifier = { pragma } { \# } { } %% or ==> identifier = { texcs } { \\ } { } %% this is a flexible way to declare keywords/pragmas instead %% of changing the catcode of some chars to letter %% main implication: some keyword/pragma's lists got split. %%%============================================================================== %%%%%%% %%% This save the current 'expl syntax' state %%%%%%% \hlExplFileTest %%%%%%% %%% %%% Just an attempt at having my package's info in a regular way %%% \pkginfograb_set:nn {} { props} sets package info %%% %%% \pkginfograbProvidesExplPackage {} { props} sets package info %%% and calls \ProvidesExplPackage %%% %%%%%%% \RequirePackage{pkginfograb} \pkginfograbProvidesExplFile {codehighlight-27} { name = {codehighlight-27} , prefix = {codehl} , date = {2026/11/27} , version = {1.0} , description = {codehighlight ~language ~definitions ~27} } %%%%%%% %%% End of cut-n-paste %%%%%%% \codehl_keyset_def:nn { TeX.l3bibtexsign } { %%% info / note = { Adapted ~ from ~ package ~ codedescribe. ~ Original ~ command: ~ lstdefinelanguage[l3bibtexsign]{TeX}[LaTeX]{TeX} ~ (original ~ file: ~ codelstlang.sty) } , %%% texcs = {1} { biblatex_maplang_babel_to_pseudobcp:nn , biblatex_text_bibtex_to_expl:n , biblatex_text_lowercase:Vn , biblatex_text_lowercase:n , biblatex_text_lowercase:nn , biblatex_text_makecapital:Vn , biblatex_text_makecapital:n , biblatex_text_makecapital:nn , biblatex_text_sentencecase:Vo , biblatex_text_sentencecase:nn , biblatex_text_sentencecase:xo , biblatex_text_sentencecase_preprocess:n , biblatex_text_uppercase:Vn , biblatex_text_uppercase:n , biblatex_text_uppercase:nn , biblatex_unmaplang_babel_to_pseudobcp:n } } %% end of l3bibtexsign %%%%%%% %%% This restore the 'expl syntax' state saved (hopefully) at the beginning %%%%%%% \hlExplFileOut