10.07.2015 Views

The microtype package

The microtype package

The microtype package

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

IMPLEMENTATION: Font setup 86\MT@get@inh@list\MT@context2344 \fi2345 \@secondoftwo2346 }%2347 }<strong>The</strong> inheritance lists are global (no context).2348 \def\MT@get@inh@list{%2349 \let\MT@context\@empty2350 \MT@get@listname{\MT@feat @inh}%2351 \MT@ifdefined@c@TF\MT@listname{%2352 \MT@edef@n{MT@\MT@feat @inh@name}{\MT@listname}%2353 \MT@dinfo@nl{1}{... Using \@nameuse{MT@abbr@\MT@feat} inheritance list2354 `\MT@listname’}%2355 \MT@let@cn\@tempc{MT@\MT@feat @inh@\MT@listname}%If the list is \@empty, it has already been parsed.2356 \ifx\@tempc\@empty \else2357 \MT@dinfo@nl{1}{parsing inheritance list ...}%<strong>The</strong> group is only required in case an input encoding is given.2358 \begingroup2359 \edef\MT@curr@list@name{inheritance list\noexpand\MessageBreak`\MT@listname’}%2360 \MT@set@inputenc{inh}%2361 \expandafter\MT@inh@do\@tempc,\relax,%2362 \MT@glet@nc{MT@\MT@feat @inh@\MT@listname}\@empty2363 \endgroup2364 \fi2365 }{%2366 \MT@let@nc{MT@\MT@feat @inh@name}\@undefined2367 }%2368 }\MT@get@slot14.2.8 Translating characters into slots\MT@char\MT@char@Get the slot number of the character in the current encoding.<strong>The</strong>re are lots of possibilities how a character may be specified in the configurationfiles, which makes translating them into slot numbers quite expensive. Also, wewant to have this as robust as possible, so that the user does not have to solve asphinx’s riddle if anything goes wrong.<strong>The</strong> character is in \@tempa, we want its slot number in \MT@char.2369 \def\MT@get@slot{%2370 \escapechar`\\2371 \let\MT@char@\m@ne2372 \MT@noresttrueSave unexpanded string in case we need to issue a warning message.2373 \MT@toks=\expandafter{\@tempa}%Now, let’s walk through (hopefully) all possible cases.• It’s a letter, a character or a number.2374 \expandafter\MT@is@letter\@tempa\relax\relax2375 \ifnum\MT@char@ < \z@• It might be an active character, i.e., an 8-bit character defined by inputenc. If so,we will expand it here to its LICR form.2376 \MT@exp@two@c\MT@is@active\string\@tempa\@nil

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!