Skip to content

Commit

Permalink
Merge adef64f into 93fc3c9
Browse files Browse the repository at this point in the history
  • Loading branch information
aureliojargas committed Aug 10, 2015
2 parents 93fc3c9 + adef64f commit 2ba2c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mgp2pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ def _handleSpecialDirective_deffont(self, parts):
Defines a named font, to be used with %font <name>.
"""
if not self.inPreamble():
raise MgpSyntaxError("%tab must be used in the preamble")
raise MgpSyntaxError("%deffont must be used in the preamble")
name, = self._parseArgs(parts[:2], "s")
for directive in parts[2:]:
args = self._splitArgs(directive)
Expand Down

0 comments on commit 2ba2c43

Please sign in to comment.