forked from pgf-tikz/pgf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement and document pgfkeys tracing.
The tracing code is based on the draft of package `trace-pgfkeys.sty` (2012/02/06) by Ryan Reich <[email protected]>. `trace-pgfkeys` had a form of a runtime patch, and was thus difficult to maintain. The present implementation integrates the tracing code into `pgfkeys.code.tex`. The approach is DocStrip-like: every line of tracing code occurs behind character `&`, which is set to either catcode 9 (ignore) or 14 (comment) to include or exclude the tracing code, respectively. Consequently, the tracing code is not loaded unless specifically requested, and therefore does not slow down normal key processing. Signed-off-by: Sašo Živanović <[email protected]>
- Loading branch information
1 parent
6e5fd71
commit 063cec7
Showing
2 changed files
with
393 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.