summaryrefslogtreecommitdiff
path: root/lib/rdoc/markup/to_latex.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/markup/to_latex.rb')
-rw-r--r--lib/rdoc/markup/to_latex.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rdoc/markup/to_latex.rb b/lib/rdoc/markup/to_latex.rb
index 8b7e33719b8..a679b3b06eb 100644
--- a/lib/rdoc/markup/to_latex.rb
+++ b/lib/rdoc/markup/to_latex.rb
@@ -1,3 +1,4 @@
+require 'rdoc/markup/formatter'
require 'rdoc/markup/fragments'
require 'rdoc/markup/inline'
@@ -6,7 +7,7 @@ require 'cgi'
##
# Convert SimpleMarkup to basic LaTeX report format.
-class RDoc::Markup::ToLaTeX
+class RDoc::Markup::ToLaTeX < RDoc::Markup::Formatter
BS = "\020" # \
OB = "\021" # {