Beispiel #1
0
 def __init__(self):
     code_block_opening = '<pre class="abjad">\n'
     code_block_closing = '</pre>\n'
     code_indent = 0
     image_block = '<img alt="" src="images/{}.png"/>\n'
     image_format = 'png'
     OutputFormat.__init__(self, code_block_opening, code_block_closing,
         code_indent, image_block, image_format)
 def __init__(self):
     code_block_opening = '::\n\n'
     code_block_closing = '\n'
     code_indent = 3
     image_block = '.. image:: images/{image_file_name}.png\n'
     image_format = 'png'
     OutputFormat.__init__(
         self,
         code_block_opening,
         code_block_closing,
         code_indent,
         image_block,
         image_format,
         )
Beispiel #3
0
 def __init__(self):
     code_block_opening = '::\n\n'
     code_block_closing = '\n'
     code_indent = 3
     image_block = '.. image:: images/{image_file_name}.png\n'
     image_format = 'png'
     OutputFormat.__init__(
         self,
         code_block_opening,
         code_block_closing,
         code_indent,
         image_block,
         image_format,
     )
Beispiel #4
0
 def __init__(self):
     code_block_opening = '<pre class="abjad">\n'
     code_block_closing = '</pre>\n'
     code_indent = 0
     image_block = '<img alt="" src="images/{image_file_name}.png"/>\n'
     image_format = 'png'
     OutputFormat.__init__(
         self,
         code_block_opening,
         code_block_closing,
         code_indent,
         image_block,
         image_format,
     )
 def __init__(self):
     code_block_opening = '\\begin{lstlisting}\n'
     code_block_closing = '\n\end{lstlisting}\n'
     code_indent = 0
     image_block = '\\noindent\\includegraphics[scale={scale}]'
     image_block += '{{images/{image_file_name}.pdf}}\n'
     image_format = 'pdf'
     OutputFormat.__init__(
         self,
         code_block_opening,
         code_block_closing,
         code_indent,
         image_block,
         image_format,
         )
Beispiel #6
0
 def __init__(self):
     code_block_opening = '\\begin{lstlisting}\n'
     code_block_closing = '\n\end{lstlisting}\n'
     code_indent = 0
     image_block = '\\noindent\\includegraphics[scale={scale}]'
     image_block += '{{images/{image_file_name}.pdf}}\n'
     image_format = 'pdf'
     OutputFormat.__init__(
         self,
         code_block_opening,
         code_block_closing,
         code_indent,
         image_block,
         image_format,
     )
 def __init__(self):
     code_block_opening = '\\begin{lstlisting}'
     code_block_opening += '[basicstyle=\\footnotesize\\ttfamily, breaklines=True, tabsize=4, '
     code_block_opening += 'showtabs=false, showspaces=false]\n'
     code_block_closing = '\\end{lstlisting}\n'
     code_indent = 0
     image_block = '\\includegraphics{{images/{}.pdf}}\n'
     image_format = 'pdf'
     OutputFormat.__init__(
         self, 
         code_block_opening, 
         code_block_closing,
         code_indent, 
         image_block, 
         image_format,
         )
Beispiel #8
0
 def __init__(self):
     code_block_opening = '\\begin{lstlisting}'
     code_block_opening += '[basicstyle=\\footnotesize\\ttfamily, '
     code_block_opening += 'breaklines=True, tabsize=4, '
     code_block_opening += 'showtabs=false, showspaces=false]\n'
     code_block_closing = '\n\\end{lstlisting}\n'
     code_indent = 0
     image_block = '\\includegraphics[scale={scale}]'
     image_block += '{{images/{image_file_name}.pdf}}\n'
     image_format = 'pdf'
     OutputFormat.__init__(
         self,
         code_block_opening,
         code_block_closing,
         code_indent,
         image_block,
         image_format,
     )