Sha256: f2418973b15b1a8dc752089e95b30333f97a92881721fd1ef7ecc06f2bc71c47

Contents?: true

Size: 960 Bytes

Versions: 3

Compression:

Stored size: 960 Bytes

Contents

<%
encmap = {
  'UTF-8' => 'utf8x',
  'US-ASCII' => 'ascii',
  'ISO-8859-1' => 'latin1',
  'ISO-8859-2' => 'latin2',
  'ISO-8859-3' => 'latin3',
  'ISO-8859-4' => 'latin4',
  'ISO-8859-5' => 'latin5',
  'ISO-8859-9' => 'latin9',
  'ISO-8859-10' => 'latin10',
  'CP850' => 'cp850',
  'CP852' => 'cp852',
  'CP858' => 'cp858',
  'CP437' => 'cp437',
  'CP865' => 'cp865',
  'CP1250' => 'cp120',
  'CP1252' => 'cp1252',
  'CP1257' => 'cp1257'
}
%>
\documentclass{scrartcl}
<% if RUBY_VERSION >= '1.9' %>
\usepackage[<%= encmap[@body.encoding.name] %>]{inputenc}
<% else %>
\usepackage[mathletters]{ucs}
\usepackage[utf8x]{inputenc}
<% end %>
\usepackage[T1]{fontenc}
\usepackage{listings}
\usepackage{hyperref}
<% @converter.data[:packages].each {|pkg| %>\usepackage{<%= pkg %>}
<% } %>

<% if @converter.data[:packages].include?('fancyvrb') %>
\VerbatimFootnotes
<% end %>

\hypersetup{colorlinks=true,urlcolor=blue}

\begin{document}
<%= @body %>
\end{document}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kramdown-0.13.2 data/kramdown/document.latex
kramdown-0.13.1 data/kramdown/document.latex
kramdown-0.12.0 data/kramdown/document.latex