class Rake4LaTeX::TeXMessage
Informations about one TeX-Message
end¶ ↑
Constants
- TYPES
List of supported message types.
Attributes
Hash with details for the message (special informations…)
Line in the TeX-Sourcefile. Place, where the error should be corrected. No number, may be something line ‘621-625’.
Line in the log line
Message text of the message
collect additional lines for the message.
Next page in the generated document. The previous page should be the location, where the effect of the error should be visible.
TeX-Sourcefile. Place, where the error should be corrected.
Type of the message
-
Error
-
Warning
-
…
Public Class Methods
Define a new TeX-Message.
line: Source code line of the tex-file, where the message was created. No number, may be something line ‘621-625’.
end¶ ↑
# File lib/rake4latex/tex_statistic.rb, line 42 def initialize(type, logline, message, details = {}, page = nil, source = nil, line = nil) @type = type #~ Rake4LaTeX::Logger.error("undefined TeX-message type #{@type.inspect}") if ! TYPES.include?(@type) @message = message @details = details @page = page @source = source @line = line @logline = logline @nextlines = [] end
Public Instance Methods
Add the following line(s) to the message
# File lib/rake4latex/tex_statistic.rb, line 79 def << (logline) @nextlines << logline end
Sort by line of occurence in the log.
# File lib/rake4latex/tex_statistic.rb, line 73 def <=> ( mess ) @logline <=> mess.logline end