/usr/share/kramdown/document.latex is in ruby-kramdown 1.4.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | <%
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}
<% @converter.data[:packages].each {|pkg| %>\usepackage{<%= pkg %>}
<% } %>
\usepackage{hyperref}
<% if @converter.data[:packages].include?('fancyvrb') %>
\VerbatimFootnotes
<% end %>
<% if @converter.data[:packages].include?('acronym') %>
<% @converter.root.options[:abbrev_defs].each_pair do |k,v| %>\acrodef{<%= @converter.normalize_abbreviation_key(k) %>}[<%= k %>]{<%= @converter.escape(v) %>}
<% end %>
<% end %>
\setcounter{footnote}{<%= @converter.options[:footnote_nr] - 1 %>}
\hypersetup{colorlinks=true,urlcolor=blue}
\begin{document}
<%= @body %>
\end{document}
|