%%%============================================================================== %% 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-2B} { name = {codehighlight-2B} , prefix = {codehl} , date = {2026/11/27} , version = {1.0} , description = {codehighlight ~language ~definitions ~2B} } %%%%%%% %%% End of cut-n-paste %%%%%%% \codehl_keyset_def:nn { TeX.xpacks } { %%% info / note = { Adapted ~ from ~ package ~ codedescribe. ~ Original ~ command: ~ lstdefinelanguage[xpacks]{TeX}[LaTeX]{TeX} ~ (original ~ file: ~ codelstlang.sty) } , %%% texcs = {1} { AddCustomColor , CoffinDepth , CoffinHeight , CoffinTotalHeight , CoffinWidth , DeclareOptionX , DefineNamedColor , Depth , DisplayCoffinHandles , ExecuteOptionsX , GDebug , GetGinDriver , GinDriver , Height , IfBeginWith , IfDecimal , IfEndWith , IfEq , IfEqCase , IfInteger , IfStrCase , IfStrEq , IfStrEqCase , IfSubStr , IfSubStrBefore , IfSubStrBehind , JoinCoffins , MarkCoffinHandle , NOM , NewCoffin , PSTXKeyCatcodes , PSTXKeyLoaded , ProcessOptionsX , ResizeCoffin , RotateCoffin , ScaleCoffin , SetHorizontalCoffin , SetHorizontalPole , SetVerticalCoffin , SetVerticalPole , ShowCoffinStructure , StrBefore , StrBehind , StrBetween , StrChar , StrCompare , StrCount , StrCut , StrDel , StrExpand , StrFindGroup , StrGobbleLeft , StrGobbleRight , StrLeft , StrLen , StrMid , StrPosition , StrRemoveBraces , StrRight , StrSplit , StrSubstitute , TotalHeight , TypesetCoffin , Width , XKVcatcodes , XKeyValLoaded , XKeyValUtilsCatcodes , XKeyValUtilsLoaded , adjustUCRBG , afterdecimal , aftergroupdef , aftergroupedef , afterinteger , blendcolors , blendcolorsfalse , blendcolorstrue , boxframe , colorblend , colorbox , colorlet , colormask , colornameprefix , colorseriescycle , columncolor , comparenormal , comparestrict , convertcolorsDfalse , convertcolorsDtrue , convertcolorsUfalse , convertcolorsUtrue , convertcolorspec , decimalpart , definecolor , definecolors , definecolorseries , definecolorset , definecolorsfalse , definecolorstrue , delpresetkeys , delsavekeys , endfirsthead , endfoot , endhead , endlastfoot , expandarg , expandingroups , exploregroups , extractcolorspec , extractcolorspecs , fcolorbox , fullexpandarg , gdelpresetkeys , gdelsavekeys , globalcolorsfalse , gpresetkeys , groupID , gsavekeys , gsavevalue , gunpresetkeys , gunsavekeys , hiderowcolors , ifblendcolors , ifconvertcolorsD , ifconvertcolorsU , ifdefinecolors , ifglobalcolors , ifmaskcolors , integerpart , keyi , keyia , keyii , keyiii , keyiv , keyv , keyvi , keyvii , keyviii , llshift , llshiftnum , llshiftset , lshift , lshiftnum , lshiftset , macroA , macroB , maskcolors , maskcolorsfalse , maskcolorstrue , noexpandarg , noexpandingroups , noexploregroups , nopagecolor , normalexpandarg , pagecolor , paperquality , preparecolor , preparecolorset , presetkeys , providecolor , providecolors , providecolorset , psset , rangeGray , rangeHsb , rangeRGB , rangetHsb , rdivide , resetcolorseries , restorecomparemode , restoreexpandmode , restoreexploremode , restorexstringcatcode , rmultiply , rowcolors , rownum , rrshift , rshift , savecomparemode , saveexpandmode , saveexploremode , savekeys , savevalue , scancs , selectcolormodel , setkeys , setrmkeys , setverbdelim , showrowcolors , sm , substitutecolormodel , testcolor , tm , tokenize , tracingcolors , truc , unpresetkeys , unsavekeys , usevalue , verbtocs , xappindextolistformat , xapptobibdriver , xapptobibmacro , xapptocmd , xapptofieldformat , xapptoindexfieldformat , xapptoindexnameformat , xapptolistformat , xapptonameformat , xdefinecolor , xglobal , xkvview , xpatchbibdriver , xpatchbibmacro , xpatchcmd , xpatchfieldformat , xpatchindexfieldformat , xpatchindexlistformat , xpatchindexnameformat , xpatchlistformat , xpatchnameformat , xpretobibdriver , xpretobibmacro , xpretocmd , xpretofieldformat , xpretoindexfieldformat , xpretoindexlistformat , xpretoindexnameformat , xpretolistformat , xpretonameformat , xshowbibdriver , xshowbibmacro , xshowcmd , xshowfieldformat , xshowindexfieldformat , xshowindexlistformat , xshowindexnameformat , xshowlistformat , xshownameformat , xstringdate , xstringname , xstringversion } } %% end of xpacks %%%%%%% %%% This restore the 'expl syntax' state saved (hopefully) at the beginning %%%%%%% \hlExplFileOut