%%%============================================================================== %% 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-20} { name = {codehighlight-20} , prefix = {codehl} , date = {2026/11/27} , version = {1.0} , description = {codehighlight ~language ~definitions ~20} } %%%%%%% %%% End of cut-n-paste %%%%%%% \codehl_keyset_def:nn { TeX.l3exp } { %%% info / note = { Adapted ~ from ~ package ~ codedescribe. ~ Original ~ command: ~ lstdefinelanguage[l3exp]{TeX}[LaTeX]{TeX} ~ (original ~ file: ~ codelstlang.sty) } , %%% texcs = {1} { coffin_if_exist, draw_begin, draw_box_use, draw_coffin_use, draw_end, draw_layer_begin, draw_layer_end, draw_layer_new, draw_path_arc, draw_path_arc_axes, draw_path_canvas_curveto, draw_path_canvas_lineto, draw_path_canvas_moveto, draw_path_circle, draw_path_close, draw_path_corner_arc, draw_path_curveto, draw_path_ellipse, draw_path_grid, draw_path_lineto, draw_path_moveto, draw_path_rectangle, draw_path_rectangle_corners, draw_path_replace_bb, draw_path_scope_begin, draw_path_scope_end, draw_path_use, draw_path_use_clear, draw_point, draw_point_interpolate_arcaxes, draw_point_interpolate_curve, draw_point_interpolate_distance, draw_point_interpolate_line, draw_point_intersect_circles, draw_point_intersect_line_circle, draw_point_intersect_lines, draw_point_polar, draw_point_transform, draw_point_unit_vector, draw_point_vec, draw_point_vec_polar, draw_scope_begin, draw_scope_end, draw_set_baseline, draw_set_cap_butt, draw_set_cap_rectangle, draw_set_cap_round, draw_set_dash_pattern, draw_set_evenodd_rule, draw_set_join_bevel, draw_set_join_miter, draw_set_join_round, draw_set_linewidth, draw_set_miterlimit, draw_set_nonzero_rule, draw_suspend_begin, draw_suspend_end, draw_transform_matrix, draw_transform_matrix_absolute, draw_transform_matrix_invert, draw_transform_matrix_reset, draw_transform_rotate, draw_transform_scale, draw_transform_shift, draw_transform_shift_absolute, draw_transform_shift_invert, draw_transform_shift_reset, draw_transform_triangle, draw_transform_xscale, draw_transform_xshift, draw_transform_xslant, draw_transform_yscale, draw_transform_yshift, draw_transform_yslant, draw_xvec, draw_yvec, draw_zvec, galley_break_line, galley_club_penalties_set, galley_cutout_left, galley_cutout_right, galley_display_begin, galley_display_club_penalties_set, galley_display_end, galley_display_widow_penalties_set, galley_interline_penalties_set, galley_interline_penalty, galley_interline_penalty_set, galley_interword_spacing_set, galley_level, galley_margins_set_absolute, galley_margins_set_relative, galley_par, galley_parshape_set_multi, galley_parshape_set_single, galley_penalty_add_single, galley_penalty_set_single, galley_save_club_penalties, galley_save_display_club_penalties, galley_save_display_widow_penalties, galley_save_interline_penalties, galley_save_widow_penalties, galley_vspace_add_single, galley_vspace_max_single, galley_vspace_set_single, galley_widow_penalties_set, property_record } } %% end of l3exp %%%%%%% %%% This restore the 'expl syntax' state saved (hopefully) at the beginning %%%%%%% \hlExplFileOut