Glyph - Generic Errors

Error Message Description
Invalid alias: macro 'macro_name' already exists The alias name supplied to the macro_alias method has already been used for another macro or alias.
Undefined macro 'macro_name' The document contains a macro that does not exist, i.e. it is not a standard or used-defined Glyph macro or alias.
No macro representation for 'macro_name' There is no valid macro representation for the specified macro.
An error occurred when generating _file-name_.pdf Returned if Prince could not generate the PDF file or if Prince is not installed. Normally, Prince provides additional details on the specific error(s).
Glyph cannot generate PDF. Please specify a valid output.pdf.generator setting Returned if the output.pdf.generator setting has not be set to a valid PDF renderer. Currently, the only supported values for this setting are prince and wkhtmltopdf.
Glyph cannot generate e-book. At present, output.ebook_format.generator can only be set to 'calibre'. Returned if the output.ebook_format.generator setting has not be set to @calibre@.
The current directory is not a valid Glyph project Returned if a glyph command was executed outside a valid glyph project directory.
Invalid snippet file The snippet.yml file contains invalid data. Most likely, it does not evaluate to a Ruby Hash.
Directory 'directory_name' is not empty Returned when executing the init command in a directory that is not empty.
File 'file_name' already exists Returned if the name of an existing file was specified as a parameter for the add command.
Unknown macro 'macro_name' Returned by the stats command if the specified macro was not found.
Macro 'macro_name' is not used in this document Returned by the stats command if the specified macro is defined but unused.
Bookmark 'bookmark_name' does not exist Returned by the stats command if the specified bookmark does not exist.
No link matching /regexp/ was found Returned by the stats command if the no link target matches the supplied regular expression.
Unknown snippet 'snippet_name' Returned by the stats command if the specified snippet was not found.
Snippet 'snippet_name' is not used in this document Returned by the stats command if the specified snippet is defined but unused.