📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-06-30 04:42:59
📂
/ (Root)
/
opt
/
alt
/
ruby18
/
lib64
/
ruby
/
1.8
/
rdoc
/
markup
/
sample
📍 /opt/alt/ruby18/lib64/ruby/1.8/rdoc/markup/sample
🔄 Refresh
✏️
Editing: rdoc2latex.rb
Read Only
#!/usr/local/bin/ruby # Illustration of a script to convert an RDoc-style file to a LaTeX # document require 'rdoc/markup/simple_markup' require 'rdoc/markup/simple_markup/to_latex' p = SM::SimpleMarkup.new h = SM::ToLaTeX.new #puts "\\documentclass{report}" #puts "\\usepackage{tabularx}" #puts "\\usepackage{parskip}" #puts "\\begin{document}" puts p.convert(ARGF.read, h) #puts "\\end{document}"
💾 Save Changes
❌ Cancel