%%%============================================================================== %% 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-29} { name = {codehighlight-29} , prefix = {codehl} , date = {2026/11/27} , version = {1.0} , description = {codehighlight ~language ~definitions ~29} } %%%%%%% %%% End of cut-n-paste %%%%%%% \codehl_keyset_def:nn { TeX.hyperref } { %%% info / note = { Adapted ~ from ~ package ~ codedescribe. ~ Original ~ command: ~ lstdefinelanguage[hyperref]{TeX}[LaTeX]{TeX} ~ (original ~ file: ~ codelstlang.sty) } , %%% texcs = {1} { AMSautorefname , Acrobatmenu , AddToDocumentProperties , AfterBeginDocument , BeforeTeXIVht , CJKdigits , CJKkern , CJKnumber , CheckBox , ChoiceBox , ChoiceMenu , Cube , DeclareBoolOption , DeclareComplementaryOption , DeclareLocalOptions , DeclareVoidOption , DefaultHeightofCheckBox , DefaultHeightofChoiceMenu , DefaultHeightofReset , DefaultHeightofSubmit , DefaultHeightofText , DefaultHeightofTextMultiline , DefaultOptionsofCheckBox , DefaultOptionsofComboBox , DefaultOptionsofListBox , DefaultOptionsofPopdownBox , DefaultOptionsofPushButton , DefaultOptionsofRadio , DefaultOptionsofReset , DefaultOptionsofSubmit , DefaultOptionsofText , DefaultWidthofCheckBox , DefaultWidthofChoiceMenu , DefaultWidthofReset , DefaultWidthofSubmit , DefaultWidthofText , END , FancyVerbLineautorefname , Form , Gauge , GetTitleString , GetTitleStringResult , Hfootnoteautorefname , Huge , Hurl , HyperDestLabelReplace , HyperDestNameFilter , HyperDestRename , HyperFirstAtBeginDocument , HyperGlobalCurrentHref , HyperLocalCurrentHref , HyperRaiseLinkDefault , HyperRaiseLinkHook , HyperRaiseLinkLength , IfHyperBoolean , IfHyperBooleanExists , IntCalcAdd , IntCalcDec , IntCalcDiv , IntCalcMod , IntCalcSub , LayoutCheckField , LayoutChoiceField , LayoutPushButtonField , LayoutTextField , MakeButtonField , MakeCheckField , MakeChoiceField , MakeLowercaseUnsupportedInPdfStrings , MakeRadioField , MakeTextField , MakeUppercaseUnsupportedInPdfStrings , MaybeStopEarly , NoHyper , PrerenderUnicode , ProcessKeyvalOptions , PushButton , ReadBookmarks , RerunFileCheck , Reset , Sectionformat , SetLinkTargetFilter , SpecialDvipdfmxOutlineOpen , StringEncodingConvertTest , Submit , Unicode , WriteBookmarks , XeTeXLinkBox , XeTeXLinkMargin , acctonos , acircumflex , appendixautorefname , autopageref , autoref , backcite , backref , backrefafrikaans , backrefalt , backrefbrazil , backrefenglish , backrefentrycount , backreffrench , backrefgerman , backrefitalian , backreflastsep , backrefpagesname , backrefparscanfalse , backrefparscantrue , backrefprint , backrefsectionsname , backrefsep , backrefsetup , backrefspanish , backreftwosep , backrefxxx , backrefxxxdupe , bitsetGetDec , bitsetGetHex , bitsetGetSetBitList , bitsetIsEmpty , bitsetReset , bitsetSetValue , chapterautorefname , citeN , citeauthoryear , codeof , cyr , cyra , cyrch , cyrery , cyrl , cyrr , cyrs , cyrt , cyrv , endForm , endNoHyper , endsubeqnarray , equationautorefname , externalcitedocument , externaldocument , extrasvietnam , extrasvietnamese , figureautorefname , footnoteautorefname , getrefbykeydefault , harvardcite , harvarditem , hyperbaseurl , hypercalcbp , hypercalcbpdef , hyperdef , hyperget , hypergetpageref , hypergetref , hyperimage , hyperindexformat , hyperlinkfileprefix , hyperpage , hyperrefundefinedlink , hypersetup , hyperxindexformat , ifbackrefparscan , ifpdfstringunicode , intcalcNum , itemautorefname , kvsetkeys , nameref , newlabelxx , newname , noexpandQ , nofrenchguillemets , nohyperpage , note , ohorn , oldb , oldd , oldnewlabel , overlay , pageautorefname , paragraphautorefname , partautorefname , pdfbookmark , pdfstringdef , pdfstringdefPostHook , pdfstringdefPreHook , pdfstringdefWarn , realfootnote , sectionautorefname , setpdflinkmargin , shortciteN , slabel , slide , subeqnarray , subparagraphautorefname , subsectionautorefname , subsubsectionautorefname , tableautorefname , textEncodingNoboundary , textEpsilon , textTheta , textalpha , textampersand , textchi , textclubsuitblack , textdelta , textdiamondsuitblack , texteta , textflq , textflqq , textfrq , textfrqq , textgamma , textglq , textglqq , textgrq , textgrqq , textheartsuitblack , textiota , textkappa , textlambda , textleftrightarrow , textnu , textnumbersign , textomega , textomicron , textparenleft , textpercent , textphi , textpi , textrho , textsigma , textspadesuitblack , texttau , textupdownarrow , textupsilon , textvarsigma , textxi , theH , theHHfootnote , theHHmpfootnote , theHItem , theHchapter , theHenumi , theHenumii , theHenumiii , theHenumiv , theHequation , theHfigure , theHfootnote , theHlisting , theHlstlisting , theHmpfootnote , theHpage , theHparagraph , theHparentequation , theHpart , theHsubequation , theHsubparagraph , theHsubsection , theHsubsubsection , theHtable , theHtheorem , theHthm , thelisting , thelstlisting , theoremautorefname , thesubequation , thispdfpagelabel , uhorn , unichar , vnameref , vpageref , xspaceaddexceptions } } %% end of hyperref %%%%%%% %%% This restore the 'expl syntax' state saved (hopefully) at the beginning %%%%%%% \hlExplFileOut