pub fn pass_options_with_raw(
name: &str,
ext: &str,
options: Vec<String>,
raw: Tokens,
) -> Result<()>Expand description
latex.ltx:18509-18526 \@pass@ptions, the single writer of both option
records. \opt@<name>.<ext> is the \protected@xdefed list the loader
and \ProcessOptions read (here a State list of strings). \@raw@opt@<name>.<ext>
holds the unprocessed argument tokens, accumulated comma-separated
(:18521-18525): \gdef on the first pass, \g@addto@macro{,#2} after.
ltkeys’ \ProcessKeyOptions reads only this record (:19398, :19457-19470).
OXIDIZED_DESIGN #164. LaTeXML’s binding-level loader bypasses the kernel’s,
so the record was never made and every \ProcessKeyOptions package dropped
its options (codedescribe [strict,infograb], 10 TL-doc bundles). It is
written from \PassOptionsTo* too, so tudapub.cls:194’s \exp_args:Nx \PassOptionsToPackage{paper=…}{tudarules} reaches tudarules
(DEMO-TUDaPhD). It is written at pass time, so it exists before the load and
holds the tokens themselves: fduthesis.cls:193-202 and hustthesis.cls:197
pass linespread = \c__fdu_line_spread_fp to ctexbook, whose
x-expanded, re-tokenized spelling fell apart into \s, __fp… at
ctexbook.cls:336 \ProcessKeyOptions (TeX Live class census 2026-09-24).
It is defined for every load, an option-less one included (the empty
explicit list): scrhack.sty:284-293 forwards \use:c{@raw@opt@setspace.sty}
as an option of setspaceenhanced (ijsra, sweep 72; batch 56bq). Guards:
perfect_kernel_batch53::process_key_options_sees_passed_options,
class_census::passed_options_keep_their_tokens.