Skip to content

Add latex warning for undefined queries#3

Open
rebeccamccabe wants to merge 2 commits into
CameronDevine:masterfrom
rebeccamccabe:master
Open

Add latex warning for undefined queries#3
rebeccamccabe wants to merge 2 commits into
CameronDevine:masterfrom
rebeccamccabe:master

Conversation

@rebeccamccabe

Copy link
Copy Markdown
Contributor

Redefines the final else block to include a warning, keeping the ?? output as before:

\else%
  \PackageWarning{json2latex}{Undefined query `#1'}%
  \def\resultsRE@out{%
??}%

Example latex log entry:

Package json2latex Warning: Undefined query `numLinConstraints' on input line 236.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant