Code Monkey home page Code Monkey logo

minted's Introduction

minted — highlighted source code for LaTeX

Overview

minted is a LaTeX package that facilitates expressive syntax highlighting using the Pygments library. The package also provides options to customize the highlighted source code output using fancyvrb.

For instance, this code:

\begin{minted}[mathescape,
               linenos,
               numbersep=5pt,
               gobble=2,
               frame=lines,
               framesep=2mm]{csharp}
string title = "This is a Unicode π in the sky"
/*
Defined as $\pi=\lim_{n\to\infty}\frac{P_n}{d}$ where $P$ is the perimeter
of an $n$-sided regular polygon circumscribing a
circle of diameter $d$.
*/
const double pi = 3.1415926535
\end{minted}

will produce the following rendering:

screenshot

See the documentation for examples and installation instructions.

Notice that minted requires that LaTeX run with the -shell-escape flag. This has security implications; it allows LaTeX to run external programs. -shell-escape should only be used with documents that you trust.

Development status

minted version 3.0 is now under development, thanks to a TeX Development Fund grant from the TeX Users Group. This will bring a new Python executable that replaces pygmentize. The new executable will be compatible with restricted shell escape, so no more -shell-escape with associated security vulnerabilities. The new executable will also make it possible to extend minted using Python, not just LaTeX macros. This will bring official support for custom lexers, allow including snippets of external files based on regular expressions, and make possible a number of other improvements and bugfixes. For compatibility purposes, the final version of minted v2.x will be released as the compatibility package minted2. Initial beta versions of minted v3.0 are expected by early 2024. A final minted v3.x release including all planned features is expected before the end of summer 2024.

Availability

minted is distributed with both TeX Live and MiKTeX. It is also available from CTAN. In any case, Python and Pygments need to be installed separately.

License

This work may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), version 1.3 or later.

Additionally, the project may be distributed under the terms of the 3-Clause ("New") BSD license.

Please use the project's GitHub site at https://github.com/gpoore/minted for suggestions, feature requests, and bug reports.

minted's People

Contributors

glop102 avatar gpoore avatar klmr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

minted's Issues

The \mintinline command will generate error when used in \chapter{}

If I wrote code as:

\chapter{The \mintinline{cpp}{std::cout}}

and compile with:

xelatex -shell-escape book.tex

An error of :

Error: no lexer for alias 'CPP' found.

I used \tracingall in \mintinline implementation and found that something like:

\chapter -> \uppercase{**** \mint {cpp}{std::cout}}

is expanded.

So I think the \uppercase in \chapter expansion may have changed the "cpp" to uppercase.

I tried to update the \mintinline implementation, adding \lowercase{} to the \def\mint@lang{#2} code, but without success.

`draft` package option collision(?)

Somehow minted incorrectly picks up the draft option of KOMA-Script's scrbook

The following example results in an uncolored source code listing in the pdf:

\documentclass[
draft=false,  %<<<---
]{scrbook} 
\usepackage{scrhack}
\usepackage{minted}
\usemintedstyle{monokai}

\begin{document}
\mainmatter
\chapter{Test}
\begin{minted}{java}
    class Test {
    }
\end{minted}
\end{document}

I found following error message in the output of of pdflatex

Package minted Warning: Unexpected value for option `draft'
(minted)                is ignored on input line 67.

TexLive 2013, Most recent minted (Commit Hash 0103b4ef5059c0d9580869f5c8834970d23f68b6)

Tabs are not parsed properly

I am trying to use minted on XeLaTeX and got a little problem. Minted, even if I have [obeytabs=true], displays not tabs but ^^I sequence.

Example (bug is reproducing for me, processing on TeXworks with XeLaTex+MakeIndex+BibTeX with additional --tex-option=--shell-escape):

[code=tex]
%% XeLaTeX + MakeIndex + BibTeX
\documentclass[12pt,onepage]{book}
\usepackage{polyglossia}
\setdefaultlanguage[spelling=modern]{russian}
\setotherlanguage{english}
\defaultfontfeatures{Ligatures={TeX}}
\setmainfont{CMU Serif}
\setsansfont{CMU Sans Serif}
\setmonofont{CMU Typewriter Text}

\usepackage{amsmath, amssymb}
\usepackage{color}
\usepackage[russian]{hyperref}
\usepackage{minted}

\frenchspacing

\begin{document}
\begin{minted}[linenos=true,obeytabs=true]{c}
int main()
{
return 0;
}
\end{minted}
\end{document}
[/code]
I placed [linenos=true] to verify options to be parsed, everything is OK. Running on Windows 7 with Python 2.7. All other features that I tried work properly.

Dead link

"See the documentation for examples and installation instructions." in README.md :
documentation link is 404

Using minted with KOMA-Script yields warning

Hi there,

using minted with the KOMA-Script classes (which are quite popular in Europe) yields the following warning:

Class scrbook Warning: \float@addtolists detected!
(scrbook)              You should use the features of package `tocbasic'
(scrbook)              instead of \float@addtolists.
(scrbook)              Support for \float@addtolists may be removed from
(scrbook)              `scrbook' soon .

Here’s a minimal example reproducing the above warning:

\documentclass[a4paper,11pt]{scrbook}

\usepackage{minted}

\begin{document}
\chapter{test}
\begin{minted}{ruby}
def foo
  "foo"
end
\end{minted}
\end{document}

If you comment out the \chapter command, the warning vanishes. The same goes for changing from scrbook to the LaTeX default book (which is not an option for me).

Probably minted somehow redefines \chapter in a way that may work on the default LaTeX classes, but doesn’t in other ones?

Vale,
Marvin

Minted with Tikz

Hi,

I am trying to include a minted code in the following poster:
svn checkout https://svn.osgeo.org/grass/grass-promo/grassposter/2014_EGU_WD_Landscape

the code:
\begin{minted}[frame=single,linenos,mathescape,fontsize=\small]{sh}
#Select MODIS EVI archive
i.group group=pca_group input=$(g.mlist type=rast pattern=h28v07_EVI)
#Run the PCA on the EVI archive
i.pca input=pca_group output_prefix=pca
percent=99 --o
#As an example, you can select the 1$^{st}$ to the 9$^{th}$ PCA members
i.group group=ta_group input=$(g.mlist type=rast pattern=pca.[123456789] sep=,)
#and run an object-based classification analysis on them
i.segment group=ta_group output=seg_ta threshold=0.9 memory=5000 iterations=50 --o &
\end{minted}

But the poster does not compile, it says:
[]
! Argument of \FV@BeginScanning has an extra }.

\par
l.237 }

I have tried many ways, to ensure it is just not a simple problem, Internet info seem to say that it is a bit tricky to use minted with tikz in the same document. For the time behind I have made an ugly replacement of the highlighted code with font colouring, and all compiles well.

If you could have a look.
Thanks.
Yann

Don't typeset the listing, but reserve space needed

Is there a way to have minted to not typeset the listing but reserve the space it would need? e.g. Just typeset a frame with appropriate dimensions just labeled "listing"? Very similar to the draft-option that graphicx provides (option is described at page 8 of the english manual at the very top)?

Backtick in Code

The backtick character (from above tilde on a standard US keyboard) does not appear in minted environments, despite the "verbatim" nature of things. This especially frustrating in that I am writing course materials on the Verilog HDL, which uses backtick for preprocessor statements. Is there a way to force this character to be formatted as itself in minted environments?

Caching fails on OS X 10.9

A clean run of the command

xelatex -shell-escape test

produces:

    import hashlib; hasher = hashlib.sha1(); f = open(\'test.mintedcmd\', \'rb\'); hasher.update(f.read()); f.close(); f = open(\'test.pyg\', \'rb\'); hasher.update(f.read()); f.close(); f = open(\'test.mintedmd5\', \'w\'); macro = \'\edef\minted@hash\' + chr(123) + hasher.hexdigest() + chr(125) + \'\'; f.write(\'\makeatletter\' + macro + \'\makeatother\endinput\n \'); f.close();
                                                                                                                                                                                                                                                                                                                                                                                             ^
SyntaxError: unexpected character after line continuation character


! LaTeX Error: File `test.mintedmd5' not found.

Just pasting this code verbatim into a Python shell produces the same Python error. It appears that the string quotes are erroneously escaped:

f = open(\'test.mintedcmd\', \'rb\');

MWE (test.tex):

\documentclass{article}

\usepackage[cache]{minted}

\begin{document}
\mint{c}/int x;/
\end{document}

v2.0-alpha2 tests

This is not an issue, but no way to find how to contact authors :) I just want to say that I'm using minted since a long time. I'm now trying this alpha release, and it fixes a lot of problem I'd got.

This is the tests list I'm doing (writing a book for Golang):

  • French caracters in code without any patch (comments and code)
  • Inline minted
  • Listing works now as expecting, caption are ok and listoflistings are fabulous
  • page break for long listings ?

So, this "issue" is a big thanks for your work

New paragraph before \mintinline with cache

When I use \mintinline minted seems to insert a \par right before it if cache is enabled.

This behaviour is at least on Windows 7 with xelatex.

I will try on Ubuntu tomorrow, also I'll provide exact versions used then.

Issue Handling Confusion

README.md states: 'For suggestions and bug reports, please go to the project’s hosting site at https://bitbucket.org/klmr/minted.'

README states: 'For suggestions and bug reports, please go to the project's hosting site at http://minted.googlecode.com.'

On the BitBucket repo, Konrad Rudolph states that all issues should be raised here. The googlecode site does not mention any of the other repos, and people are still posting issues.

Is this the proper place to bring up issues? Would it be possible to have the README documents and other repos provide a little more clarity?

Thanks you!

Upquotes not working in 2.0a

I've tried every workaround that I can find, but I can't get upquotes to be enforced when using the new 2.0 alpha build of minted.

If I revert back to 1.7, I can use the upquote package (+ a small workaround) to ensure they're enforced.

Typesetting of tilde (C++ destructor)

I just discovered minted, coming from the standard listings way of highlighting code. I think it's fantastic, but I have one small gripe:

When I include C++ code using minted, the tilde sign looks wrong, it's too high up. This is a known issue with LaTeX, but I don't know how to solve it inside the minted enviroment, without editing the source code.

I suggest that this should be done automatically by minted when highlighting C++ code.

Here are some resources:

A minimal example

\documentclass[a4paper]{article}
\usepackage{minted}

\begin{document}
\begin{minted}{c++}
#include <class.h>

Class::Class() {
    // construct stuff
}

Class::~Class() {
    // destruct stuff
}
\end{minted}
\end{document}

Compiled here, and attached

image

Support for automatic line breaks?

As the title says it will be awesome to have an option to enable word wrapping for long lines like the breaklines for the listings packages.

Problem with escape sequence

Escape sequence (like "\n", "\r", "\u") gives two extra-spaces (like "\n ", "\r ", "\u "). How I can suppress this behaviour?

polyglossia with babelshorthands option is incompatible with minted

I'm using LuaLaTeX with a pretty recent Texlive core and the newest minted and think I have found an incompatibility between it and polyglossia which manifests itself when using the babelshorthands option. Removing that option allows the following snippet to compile without any error:

\documentclass{scrreprt}
\usepackage[babelshorthands]{polyglossia}
\setmainlanguage{german}
\usepackage{minted}
\begin{document}
Hi.
\end{document}

Here's the error log:

This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/Arch Linux) (rev 4971)  (format=lualatex 2014.9.9)  26 SEP 2014 18:36
 \write18 enabled.
**test.tex
(./test.tex
LaTeX2e <2014/05/01>
Babel <3.9k> and hyphenation patterns for 79 languages loaded.
(/usr/local/share/texmf/tex/latex/koma-script/scrreprt.cls
Document Class: scrreprt 2013/12/19 v3.12 KOMA-Script document class (report)
(/usr/local/share/texmf/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2013/12/19 v3.12 KOMA-Script package (KOMA-Script-dependent ba
sics and keyval usage)

(/usr/local/share/texmf/tex/latex/koma-script/scrbase.sty
Package: scrbase 2013/12/19 v3.12 KOMA-Script package (KOMA-Script-independent b
asics and keyval usage)

(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/05/08 v1.15 key=value parser (DPC)
\KV@toks@=\toks14
)
(/usr/local/share/texmf/tex/latex/koma-script/scrlfile.sty
Package: scrlfile 2013/12/19 v3.12 KOMA-Script package (loading files)

Package scrlfile, 2013/12/19 v3.12 KOMA-Script package (loading files)
                  Copyright (C) Markus Kohm

))) (/usr/local/share/texmf/tex/latex/koma-script/tocbasic.sty
Package: tocbasic 2013/12/19 v3.12 KOMA-Script package (handling toc-files)
)
Package tocbasic Info: omitting babel extension for `toc'
(tocbasic)             because of feature `nobabel' available
(tocbasic)             for `toc' on input line 117.
Package tocbasic Info: omitting babel extension for `lof'
(tocbasic)             because of feature `nobabel' available
(tocbasic)             for `lof' on input line 118.
Package tocbasic Info: omitting babel extension for `lot'
(tocbasic)             because of feature `nobabel' available
(tocbasic)             for `lot' on input line 119.
Package tocbasic Info: defining new hook before heading of `' on input line 1123
.
Class scrreprt Info: File `scrsize11pt.clo' used instead of
(scrreprt)           file `scrsize11.clo' to setup font sizes on input line 1655
.

(/usr/local/share/texmf/tex/latex/koma-script/scrsize11pt.clo
File: scrsize11pt.clo 2013/12/19 v3.12 KOMA-Script font size class option (11pt)

)
(/usr/local/share/texmf/tex/latex/koma-script/typearea.sty
Package: typearea 2013/12/19 v3.12 KOMA-Script package (type area)

Package typearea, 2013/12/19 v3.12 KOMA-Script package (type area)
                  Copyright (C) Frank Neukam, 1992-1994
                  Copyright (C) Markus Kohm, 1994-

\ta@bcor=\skip41
\ta@div=\count79
\ta@hblk=\skip42
\ta@vblk=\skip43
\ta@temp=\skip44
\footheight=\skip45
Package typearea Info: These are the values describing the layout:
(typearea)             DIV  = 10
(typearea)             BCOR = 0.0pt
(typearea)             \paperwidth      = 597.50793pt
(typearea)              \textwidth      = 418.25555pt
(typearea)              DIV departure   = -6%
(typearea)              \evensidemargin = 17.3562pt
(typearea)              \oddsidemargin  = 17.3562pt
(typearea)             \paperheight     = 845.04694pt
(typearea)              \textheight     = 595.80026pt
(typearea)              \topmargin      = -25.16531pt
(typearea)              \headheight     = 17.0pt
(typearea)              \headsep        = 20.40001pt
(typearea)              \topskip        = 11.0pt
(typearea)              \footskip       = 47.6pt
(typearea)              \baselineskip   = 13.6pt
(typearea)              on input line 1330.
)
\c@part=\count80
\c@chapter=\count81
\c@section=\count82
\c@subsection=\count83
\c@subsubsection=\count84
\c@paragraph=\count85
\c@subparagraph=\count86
\abovecaptionskip=\skip46
\belowcaptionskip=\skip47
\c@pti@nb@sid@b@x=\box26
\c@figure=\count87
\c@table=\count88
\bibindent=\dimen102
) (/usr/share/texmf-dist/tex/latex/polyglossia/polyglossia.sty
Package: polyglossia 2014/05/21 v1.33.5 Babel replacement for XeLaTeX and LuaTeX


(/usr/local/share/texmf/tex/latex/etoolbox/etoolbox.sty
Package: etoolbox 2011/01/03 v2.1 e-TeX tools for LaTeX

(/usr/share/texmf-dist/tex/latex/etex-pkg/etex.sty
Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB)
\et@xins=\count89
)
\etb@tempcnta=\count90
)
(/usr/local/share/texmf/tex/latex/makecmds/makecmds.sty
Package: makecmds 2009/09/03 v1.0a extra command making commands
)
(/usr/share/texmf-dist/tex/latex/xkeyval/xkeyval.sty
Package: xkeyval 2014/05/25 v2.7 package option processing (HA)

(/usr/share/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/share/texmf-dist/tex/generic/xkeyval/xkvutils.tex
\XKV@toks=\toks15
\XKV@tempa@toks=\toks16
)
\XKV@depth=\count91
File: xkeyval.tex 2014/05/25 v2.7 key=value parser (HA)
))
(/usr/share/texmf-dist/tex/latex/fontspec/fontspec.sty
Package: fontspec 2014/06/21 v2.4a Font selection for XeLaTeX and LuaLaTeX

(/usr/share/texmf-dist/tex/latex/l3kernel/expl3.sty
Package: expl3 2014/07/20 v5241 L3 programming layer (loader) 

(/usr/share/texmf-dist/tex/latex/l3kernel/expl3-code.tex
Package: expl3 2014/07/20 v5241 L3 programming layer (code) 
L3 Module: l3bootstrap 2014/05/26 v4889 L3 Bootstrap code
L3 Module: l3names 2014/06/02 v4993 L3 Namespace for primitives
L3 Module: l3basics 2014/07/09 v5187 L3 Basic definitions
L3 Module: l3expan 2014/06/16 v5146 L3 Argument expansion
L3 Module: l3tl 2014/07/17 v5214 L3 Token lists
L3 Module: l3str 2014/06/19 v5158 L3 Strings
L3 Module: l3seq 2014/07/18 v5232 L3 Sequences and stacks
L3 Module: l3int 2014/07/11 v5197 L3 Integers
\c_max_int=\count92
\l_tmpa_int=\count93
\l_tmpb_int=\count94
\g_tmpa_int=\count95
\g_tmpb_int=\count96
L3 Module: l3quark 2014/05/26 v4889 L3 Quarks
L3 Module: l3prg 2014/05/04 v4728 L3 Control structures
\g__prg_map_int=\count97
L3 Module: l3clist 2014/07/19 v5237 L3 Comma separated lists
L3 Module: l3token 2014/05/26 v4889 L3 Experimental token manipulation
L3 Module: l3prop 2014/07/17 v5215 L3 Property lists
L3 Module: l3msg 2014/05/30 v4943 L3 Messages
L3 Module: l3file 2014/07/09 v5188 L3 File and I/O operations
\l_iow_line_count_int=\count98
\l__iow_target_count_int=\count99
\l__iow_current_line_int=\count100
\l__iow_current_word_int=\count101
\l__iow_current_indentation_int=\count102
L3 Module: l3skip 2014/07/17 v5211 L3 Dimensions and skips
\c_zero_dim=\dimen103
\c_max_dim=\dimen104
\l_tmpa_dim=\dimen105
\l_tmpb_dim=\dimen106
\g_tmpa_dim=\dimen107
\g_tmpb_dim=\dimen108
\c_zero_skip=\skip48
\c_max_skip=\skip49
\l_tmpa_skip=\skip50
\l_tmpb_skip=\skip51
\g_tmpa_skip=\skip52
\g_tmpb_skip=\skip53
\c_zero_muskip=\muskip10
\c_max_muskip=\muskip11
\l_tmpa_muskip=\muskip12
\l_tmpb_muskip=\muskip13
\g_tmpa_muskip=\muskip14
\g_tmpb_muskip=\muskip15
L3 Module: l3keys 2014/06/12 v5121 L3 Key-value interfaces
\g__keyval_level_int=\count103
\l_keys_choice_int=\count104
L3 Module: l3fp 2014/07/18 v5223 L3 Floating points
\c__fp_leading_shift_int=\count105
\c__fp_middle_shift_int=\count106
\c__fp_trailing_shift_int=\count107
\c__fp_big_leading_shift_int=\count108
\c__fp_big_middle_shift_int=\count109
\c__fp_big_trailing_shift_int=\count110
\c__fp_Bigg_leading_shift_int=\count111
\c__fp_Bigg_middle_shift_int=\count112
\c__fp_Bigg_trailing_shift_int=\count113
L3 Module: l3box 2014/05/31 v4974 L3 Experimental boxes
\c_empty_box=\box27
\l_tmpa_box=\box28
\l_tmpb_box=\box29
\g_tmpa_box=\box30
\g_tmpb_box=\box31
L3 Module: l3coffins 2014/05/28 v4899 L3 Coffin code layer
\l__coffin_internal_box=\box32
\l__coffin_internal_dim=\dimen109
\l__coffin_offset_x_dim=\dimen110
\l__coffin_offset_y_dim=\dimen111
\l__coffin_x_dim=\dimen112
\l__coffin_y_dim=\dimen113
\l__coffin_x_prime_dim=\dimen114
\l__coffin_y_prime_dim=\dimen115
\c_empty_coffin=\box33
\l__coffin_aligned_coffin=\box34
\l__coffin_aligned_internal_coffin=\box35
\l_tmpa_coffin=\box36
\l_tmpb_coffin=\box37
\l__coffin_display_coffin=\box38
\l__coffin_display_coord_coffin=\box39
\l__coffin_display_pole_coffin=\box40
\l__coffin_display_offset_dim=\dimen116
\l__coffin_display_x_dim=\dimen117
\l__coffin_display_y_dim=\dimen118
L3 Module: l3color 2014/04/30 v4712 L3 Experimental color support
L3 Module: l3candidates 2014/07/18 v5232 L3 Experimental additions to l3kernel
\l__box_top_dim=\dimen119
\l__box_bottom_dim=\dimen120
\l__box_left_dim=\dimen121
\l__box_right_dim=\dimen122
\l__box_top_new_dim=\dimen123
\l__box_bottom_new_dim=\dimen124
\l__box_left_new_dim=\dimen125
\l__box_right_new_dim=\dimen126
\l__box_internal_box=\box41
\l__coffin_bounding_shift_dim=\dimen127
\l__coffin_left_corner_dim=\dimen128
\l__coffin_right_corner_dim=\dimen129
\l__coffin_bottom_corner_dim=\dimen130
\l__coffin_top_corner_dim=\dimen131
\l__coffin_scaled_total_height_dim=\dimen132
\l__coffin_scaled_width_dim=\dimen133
)
(/usr/share/texmf-dist/tex/latex/l3kernel/l3unicode-data.def
File: l3unicode-data.def 2014/06/30 v5166 L3 Unicode data
)
(/usr/share/texmf-dist/tex/latex/l3kernel/l3pdfmode.def
File: l3pdfmode.def 2014/07/18 v5232 L3 Experimental driver: PDF mode
\l__driver_color_stack_int=\count114
))
(/usr/share/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
Package: xparse 2014/07/20 v5241 L3 Experimental document command parser
\l__xparse_current_arg_int=\count115
\l__xparse_m_args_int=\count116
\l__xparse_mandatory_args_int=\count117
\l__xparse_processor_int=\count118
\l__xparse_v_nesting_int=\count119
)
(/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload.sty
Package: luaotfload 2014/08/03 v2.5-3 OpenType layout system

(/usr/share/texmf-dist/tex/luatex/luatexbase/luatexbase.sty
Package: luatexbase 2013/05/11 v0.6 Resource management for the LuaTeX macro pro
grammer

(/usr/share/texmf-dist/tex/generic/oberdiek/ifluatex.sty
Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX detected.
)
(/usr/share/texmf-dist/tex/generic/oberdiek/luatex.sty
Package: luatex 2010/03/09 v0.4 LuaTeX basic definition package (HO)

(/usr/share/texmf-dist/tex/generic/oberdiek/infwarerr.sty
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
)
\LuT@AllocAttribute=\count277
\LuT@AllocCatcodeTable=\count278
\CatcodeTableStack=\count279
\CatcodeTableIniTeX=\catcodetable1
\CatcodeTableString=\catcodetable3
\CatcodeTableOther=\catcodetable5
\CatcodeTableLaTeX=\catcodetable7

(/usr/share/texmf-dist/tex/generic/oberdiek/luatex-loader.sty
Package: luatex-loader 2010/03/09 v0.4 Lua module loader (HO)

(/usr/share/texmf-dist/scripts/oberdiek/oberdiek.luatex.lua)))
(/usr/share/texmf-dist/tex/luatex/luatexbase/luatexbase-compat.sty
Package: luatexbase-compat 2011/05/24 v0.4 Compatibility tools for LuaTeX
)
(/usr/share/texmf-dist/tex/luatex/luatexbase/luatexbase-modutils.sty
Package: luatexbase-modutils 2013/05/11 v0.6 Module utilities for LuaTeX

(/usr/share/texmf-dist/tex/luatex/luatexbase/luatexbase-loader.sty
Package: luatexbase-loader 2013/05/11 v0.6 Lua module loader for LuaTeX

(/usr/share/texmf-dist/tex/luatex/luatexbase/luatexbase.loader.lua))
(/usr/share/texmf-dist/tex/luatex/luatexbase/modutils.lua)
Lua module: luatexbase-modutils 2013/05/11 0.6 Module utilities for LuaTeX
)
(/usr/share/texmf-dist/tex/luatex/luatexbase/luatexbase-regs.sty
Package: luatexbase-regs 2011/05/24 v0.4 Registers allocation for LuaTeX
)
(/usr/share/texmf-dist/tex/luatex/luatexbase/luatexbase-attr.sty
Package: luatexbase-attr 2013/05/11 v0.6 Attributes allocation for LuaTeX

(/usr/share/texmf-dist/tex/luatex/luatexbase/attr.lua)
Lua module: luatexbase-attr 2013/05/11 0.6 Attributes allocation for LuaTeX
\lltxb@attr@unsetvalue=\count280
)
(/usr/share/texmf-dist/tex/luatex/luatexbase/luatexbase-cctb.sty
Package: luatexbase-cctb 2013/05/11 v0.6 Catcodetable allocation for LuaTeX

(/usr/share/texmf-dist/tex/luatex/luatexbase/cctb.lua)
Lua module: luatexbase-cctb 2013/05/11 0.6 Catcodetable allocation for LuaTeX
\lltxb@catcodetable@alloc=\count281
\CatcodeTableStack=\count282
\CatcodeTableIniTeX=\luatexcatcodetable1
\CatcodeTableString=\luatexcatcodetable3
\CatcodeTableOther=\luatexcatcodetable5
\CatcodeTableLaTeX=\luatexcatcodetable7
\CatcodeTableLaTeXAtLetter=\luatexcatcodetable9
\CatcodeTableExpl=\luatexcatcodetable11
)
(/usr/share/texmf-dist/tex/luatex/luatexbase/luatexbase-mcb.sty
Package: luatexbase-mcb 2013/05/11 v0.6 Callback management for LuaTeX

(/usr/share/texmf-dist/tex/luatex/luatexbase/mcb.lua)
Lua module: luatexbase-mcb 2013/05/11 0.6 register several functions in a callba
ck
))
(/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-main.lua)
Lua module: luaotfload-main 2014/08/03 2.50002 OpenType layout system.

(/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-log.lua)
(/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-fontloader.lua)(using wr
ite cache: /home/wasa/.texlive/texmf-var/luatex-cache/generic)(using read cache:
 /var/lib/texmf/luatex-cache/generic /home/wasa/.texlive/texmf-var/luatex-cache/
generic)
luatexbase-attr: luatexbase.attributes["luaotfload@kernpair"] = 1
luatexbase-attr: luatexbase.attributes["luaotfload@ligacomp"] = 2
luatexbase-attr: luatexbase.attributes["luaotfload@markbase"] = 3
luatexbase-attr: luatexbase.attributes["luaotfload@markmark"] = 4
luatexbase-attr: luatexbase.attributes["luaotfload@markdone"] = 5
luatexbase-attr: luatexbase.attributes["luaotfload@cursbase"] = 6
luatexbase-attr: luatexbase.attributes["luaotfload@curscurs"] = 7
luatexbase-attr: luatexbase.attributes["luaotfload@cursdone"] = 8
luatexbase-attr: luatexbase.attributes["luaotfload@state"] = 9
luaotfload | main : fontloader loaded in 0.065 seconds
luatexbase-mcb: inserting 'luaotfload.node_processor'
at position 1 in 'pre_linebreak_filter'
luatexbase-mcb: inserting 'luaotfload.node_processor'
at position 1 in 'hpack_filter'
luatexbase-mcb: inserting 'luaotfload.find_vf_file'
at position 1 in 'find_vf_file'
(/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-override.lua)
(/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-parsers.lua)
(/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-configuration.lua)
(/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-status.lua)
luaotfload | conf : Root cache directory is /home/wasa/.texlive/texmf-var/luatex
-cache/generic/names.
(/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-loaders.lua)
(/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-database.lua)
(/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-colors.lua)
luaotfload | conf : Root cache directory is /home/wasa/.texlive/texmf-var/luatex
-cache/generic/names.
luatexbase-mcb: creating 'luaotfload.resolve_font' type 4
luatexbase-mcb: creating 'luaotfload.patch_font' type 4
luatexbase-mcb: resetting callback 'define_font'
luatexbase-mcb: inserting 'luaotfload.define_font'
at position 1 in 'define_font'
(/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-features.lua)
(/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-letterspace.lua)
(/usr/share/texmf-dist/tex/luatex/luaotfload/luaotfload-auxiliary.lua)
luatexbase-mcb: inserting 'luaotfload.aux.set_sscale_dimens'
at position 1 in 'luaotfload.patch_font'
luatexbase-mcb: inserting 'luaotfload.aux.patch_cambria_domh'
at position 2 in 'luaotfload.patch_font'
luatexbase-mcb: inserting 'luaotfload.aux.set_capheight'
at position 3 in 'luaotfload.patch_font'
luatexbase-mcb: inserting 'luaotfload.rewrite_fontname'
at position 4 in 'luaotfload.patch_font')
(/usr/share/texmf-dist/tex/latex/fontspec/fontspec.lua)
Lua module: fontspec 2013/05/20 2.3c Advanced font selection for LuaLaTeX.
\l_fontspec_script_int=\count283
\l_fontspec_language_int=\count284
\l_fontspec_strnum_int=\count285
\l__fontspec_tmpa_dim=\dimen256
\l__fontspec_tmpb_dim=\dimen257
\l__fontspec_tmpc_dim=\dimen258
Variant \tl_gset:cV already defined; not changing it on line 71

(/usr/share/texmf-dist/tex/latex/fontspec/fontspec-patches.sty
Package: fontspec-patches 2014/06/21 v2.4a Font selection for XeLaTeX and LuaLaT
eX
LaTeX Info: Redefining \em on input line 38.
LaTeX Info: Redefining \emph on input line 46.
LaTeX Info: Redefining \- on input line 49.

*************************************************
* LaTeX warning: "xparse/redefine-command"
* 
* Redefining document command \oldstylenums with arg. spec. 'm' on line 144.
*************************************************
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining document command \liningnums with arg. spec. 'm' on line 148.
.................................................
) (/usr/share/texmf-dist/tex/latex/fontspec/fontspec-luatex.sty
Package: fontspec-luatex 2014/06/21 v2.4a Font selection for XeLaTeX and LuaLaTe
X

(/usr/share/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

(/usr/share/texmf-dist/tex/latex/euenc/eu2enc.def
File: eu2enc.def 2010/05/27 v0.1h Experimental Unicode font encodings
)
LaTeX Font Info:    Try loading font information for EU2+lmr on input line 100.

(/usr/share/texmf-dist/tex/latex/euenc/eu2lmr.fd
File: eu2lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
)
luaotfload | db : Font names database loaded from /home/wasa/.texlive/texmf-var/
luatex-cache/generic/names/luaotfload-names.luc(compiling luc: /var/lib/texmf/lu
atex-cache/generic/fonts/otf/lmroman10-regular.luc)(load luc: /home/wasa/.texliv
e/texmf-var/luatex-cache/generic/fonts/otf/lmroman10-regular.luc))
(/usr/share/texmf-dist/tex/xelatex/xunicode/xunicode.sty
File: xunicode.sty 2011/09/09 v0.981 provides access to latin accents and many o
ther characters in Unicode lower plane

(/usr/share/texmf-dist/tex/latex/tipa/t3enc.def
File: t3enc.def 2001/12/31 T3 encoding
(compiling luc: /var/lib/texmf/luatex-cache/generic/fonts/otf/lmromanslant10-reg
ular.luc)(load luc: /home/wasa/.texlive/texmf-var/luatex-cache/generic/fonts/otf
/lmromanslant10-regular.luc)(compiling luc: /var/lib/texmf/luatex-cache/generic/
fonts/otf/lmroman10-italic.luc)(load luc: /home/wasa/.texlive/texmf-var/luatex-c
ache/generic/fonts/otf/lmroman10-italic.luc)(compiling luc: /var/lib/texmf/luate
x-cache/generic/fonts/otf/lmroman10-bold.luc)(load luc: /home/wasa/.texlive/texm
f-var/luatex-cache/generic/fonts/otf/lmroman10-bold.luc)
LaTeX Font Info:    Try loading font information for EU2+lmss on input line 357.

 (/usr/share/texmf-dist/tex/latex/euenc/eu2lmss.fd
File: eu2lmss.fd 2009/10/30 v1.6 Font defs for Latin Modern
)(compiling luc: /var/lib/texmf/luatex-cache/generic/fonts/otf/lmsans10-regular.
luc)(load luc: /home/wasa/.texlive/texmf-var/luatex-cache/generic/fonts/otf/lmsa
ns10-regular.luc))
\tipaTiiicode=\count286
\tipasavetokens=\toks17
\tipachecktokens=\toks18
 (/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2014/04/25 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/usr/share/texmf-dist/tex/latex/latexconfig/graphics.cfg
File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live
)
Package graphics Info: Driver file: pdftex.def on input line 91.

(/usr/share/texmf-dist/tex/latex/pdftex-def/pdftex.def
File: pdftex.def 2011/05/27 v0.06d Graphics/color for pdfTeX

(/usr/share/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
)
(/usr/share/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty
Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO)


(/usr/share/texmf-dist/tex/generic/oberdiek/ifpdf.sty
Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in PDF mode is detected.
)
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode found.

(/usr/share/texmf-dist/scripts/oberdiek/pdftexcmds.lua)
\pdftexcmds@toks=\toks19
)
\Gread@gobject=\count287
))
\Gin@req@height=\dimen259
\Gin@req@width=\dimen260
))
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining document command \fontspec with arg. spec. 'O{}mO{}' on line 44.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining document command \setmainfont with arg. spec. 'O{}mO{}' on line 50.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining document command \setsansfont with arg. spec. 'O{}mO{}' on line 56.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining document command \setmonofont with arg. spec. 'O{}mO{}' on line 62.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining document command \setmathrm with arg. spec. 'O{}mO{}' on line 71.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining document command \setboldmathrm with arg. spec. 'O{}mO{}' on line
. 75.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining document command \setmathsf with arg. spec. 'O{}mO{}' on line 79.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining document command \setmathtt with arg. spec. 'O{}mO{}' on line 83.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining document command \newfontfamily with arg. spec. 'mO{}mO{}' on line
. 102.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining document command \newfontface with arg. spec. 'mO{}mO{}' on line
. 106.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining document command \defaultfontfeatures with arg. spec. 't+om' on
. line 115.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining document command \addfontfeatures with arg. spec. 'm' on line 173.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining document command \newfontfeature with arg. spec. 'mm' on line 184.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining document command \newAATfeature with arg. spec. 'mmmm' on line 192.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining document command \newopentypefeature with arg. spec. 'mmm' on line
. 200.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining document command \aliasfontfeature with arg. spec. 'mm' on line
. 229.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining document command \aliasfontfeatureoption with arg. spec. 'mmm' on
. line 231.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining document command \newfontscript with arg. spec. 'mm' on line 236.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining document command \newfontlanguage with arg. spec. 'mm' on line 262.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining document command \DeclareFontsExtensions with arg. spec. 'm' on
. line 282.
.................................................
Variant \prop_gput:cnV already defined; not changing it on line 666
Variant \prop_gput:cnx already defined; not changing it on line 667
\l__fontspec_tmp_int=\count288
LaTeX Info: Redefining \itshape on input line 2117.
LaTeX Info: Redefining \slshape on input line 2122.
LaTeX Info: Redefining \scshape on input line 2127.
LaTeX Info: Redefining \upshape on input line 2132.

(/usr/share/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
(/usr/share/texmf-dist/tex/generic/ifxetex/ifxetex.sty
Package: ifxetex 2010/09/12 v0.6 Provides ifxetex conditional
)
(/usr/share/texmf-dist/tex/latex/polyglossia/polyglossia.lua)
(/usr/share/texmf-dist/tex/luatex/hyph-utf8/luatex-hyphen.lua)
luatex-hyphen: using data file: /usr/share/texmf-dist/tex/generic/config/languag
e.dat.lua
Lua module: polyglossia 2013/05/11 1.3 Polyglossia
)
(/usr/share/texmf-dist/tex/latex/polyglossia/gloss-german.ldf
File: gloss-german.ldf polyglossia: module for german

(/usr/share/texmf-dist/tex/latex/polyglossia/babelsh.def
File: babelsh.def 2013/04/30 Babel common definitions for shorthands
 Taken verbatim from babel.def (2013/04/15 v3.9e)
)
Package polyglossia Info: Making " an active character on input line 68.
)
Package polyglossia Info: Default language is german.

(/home/wasa/.texmf/tex/latex/minted/minted.sty
Package: minted 2013/12/21 v2.0-alpha3 

(/usr/share/texmf-dist/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2011/06/30 v3.11 Key value format for package options (HO)

(/usr/share/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO)

(/usr/share/texmf-dist/tex/generic/oberdiek/etexcmds.sty
Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO)
)))
(/usr/share/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty
Package: fancyvrb 2008/02/07

Style option: `fancyvrb' v2.7a, with DG/SPQR fixes, and firstline=lastline fix 
<2008/02/07> (tvz)
\FV@CodeLineNo=\count289
\FV@InFile=\read1
\FV@TabBox=\box256
\c@FancyVerbLine=\count290
\FV@StepNumber=\count291
\FV@OutFile=\write3
) (/usr/share/texmf-dist/tex/latex/float/float.sty
Package: float 2001/11/08 v1.3d Float enhancements (AL)
\c@float@type=\count292
\float@exts=\toks20
\float@box=\box257
\@float@everytoks=\toks21
\@floatcapt=\box258
)
(/usr/share/texmf-dist/tex/latex/base/ifthen.sty
Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
)
(/usr/share/texmf-dist/tex/latex/tools/calc.sty
Package: calc 2007/08/22 v4.3 Infix arithmetic (KKT,FJ)
\calc@Acount=\count293
\calc@Bcount=\count294
\calc@Adimen=\dimen261
\calc@Bdimen=\dimen262
\calc@Askip=\skip256
\calc@Bskip=\skip257
LaTeX Info: Redefining \setlength on input line 75.
LaTeX Info: Redefining \addtolength on input line 76.
\calc@Ccount=\count295
\calc@Cskip=\skip258
)
(/usr/local/share/texmf/tex/latex/ifplatform/ifplatform.sty
Package: ifplatform 2010/10/22 v0.4 Testing for the operating system

(/usr/share/texmf-dist/tex/generic/oberdiek/catchfile.sty
Package: catchfile 2011/03/01 v1.6 Catch the contents of a file (HO)
)
runsystem(uname -s > "test.w18")...executed.

 (./test.w18)
runsystem(rm -- "test.w18")...executed.

)
(/usr/local/share/texmf/tex/generic/xstring/xstring.sty
(/usr/local/share/texmf/tex/generic/xstring/xstring.tex
\@xs@message=\write4
\integerpart=\count296
\decimalpart=\count297
)
Package: xstring 2013/10/13  v1.7c  String manipulations (C Tellechea)
)
(/usr/local/share/texmf/tex/latex/lineno/lineno.sty
Package: lineno 2005/11/02 line numbers on paragraphs v4.41
\linenopenalty=\count298
\output=\toks22
\linenoprevgraf=\count299
\linenumbersep=\dimen263
\linenumberwidth=\dimen264
\c@linenumber=\count300
\c@pagewiselinenumber=\count301
\c@LN@truepage=\count302
\c@internallinenumber=\count303
\c@internallinenumbers=\count304
\quotelinenumbersep=\dimen265
\bframerule=\dimen266
\bframesep=\dimen267
\bframebox=\box259
LaTeX Info: Redefining \\ on input line 3056.
)
\minted@appexistsfile=\read2
\FV@BreakIndent=\dimen268
\FV@BreakSymbolSep=\dimen269
\FV@BreakSymbolIndent=\dimen270
LaTeX Font Info:    Try loading font information for EU2+lmtt on input line 546.


(/usr/share/texmf-dist/tex/latex/euenc/eu2lmtt.fd
File: eu2lmtt.fd 2009/10/30 v1.6 Font defs for Latin Modern
)(compiling luc: /var/lib/texmf/luatex-cache/generic/fonts/otf/lmmono10-regular.
luc)(load luc: /home/wasa/.texlive/texmf-var/luatex-cache/generic/fonts/otf/lmmo
no10-regular.luc)
\FV@LineBox=\box260
\FV@IndentBox=\box261
\FV@LinenoBox=\box262
\minted@bgbox=\box263
\minted@code=\write5
\c@minted@FancyVerbLineTemp=\count305
\@float@every@listing=\toks23
\c@listing=\count306
)
runsystem(which pygmentize && touch test.aex)...executed.

runsystem(rm "test.aex")...executed.

runsystem(pygmentize -S default -f latex -P commandprefix=PYGdefault > "test.out
.pyg")...executed.


(./test.out.pyg) (./test.aux
luatex-hyphen: loading patterns and exceptions for: ngerman (\language31)
luatex-hyphen: info: no hyphenation exceptions for this language)
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for EU2/lmr/m/n on input line 5.
LaTeX Font Info:    ... okay on input line 5.
LaTeX Font Info:    Checking defaults for T3/cmr/m/n on input line 5.
LaTeX Font Info:    Try loading font information for T3+cmr on input line 5.
 (/usr/share/texmf-dist/tex/latex/tipa/t3cmr.fd
File: t3cmr.fd 2001/12/31 TIPA font definitions
)
LaTeX Font Info:    ... okay on input line 5.

(/usr/share/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count307
\scratchdimen=\dimen271
\scratchbox=\box264
\nofMPsegments=\count308
\nofMParguments=\count309
\everyMPshowfont=\toks24
\MPscratchCnt=\count310
\MPscratchDim=\dimen272
\MPnumerator=\count311
\makeMPintoPDFobject=\count312
\everyMPtoPDFconversion=\toks25
) (/usr/share/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
Package: epstopdf-base 2010/02/09 v2.5 Base part for package epstopdf

(/usr/share/texmf-dist/tex/latex/oberdiek/grfext.sty
Package: grfext 2010/08/19 v1.1 Manage graphics extensions (HO)

(/usr/share/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty
Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO)
))
Package grfext Info: Graphics extension search list:
(grfext)             [.png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPEG
,.JBIG2,.JB2,.eps]
(grfext)             \AppendGraphicsExtensions on input line 452.

(/usr/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live

))
.................................................
. fontspec info: "setup-math"
. 
. Adjusting the maths setup (use [no-math] to avoid this).
.................................................
\symlegacymaths=\mathgroup4
LaTeX Font Info:    Overwriting symbol font `legacymaths' in version `bold'
(Font)                  OT1/cmr/m/n --> OT1/cmr/bx/n on input line 5.
LaTeX Font Info:    Redeclaring math accent \acute on input line 5.
LaTeX Font Info:    Redeclaring math accent \grave on input line 5.
LaTeX Font Info:    Redeclaring math accent \ddot on input line 5.
LaTeX Font Info:    Redeclaring math accent \tilde on input line 5.
LaTeX Font Info:    Redeclaring math accent \bar on input line 5.
LaTeX Font Info:    Redeclaring math accent \breve on input line 5.
LaTeX Font Info:    Redeclaring math accent \check on input line 5.
LaTeX Font Info:    Redeclaring math accent \hat on input line 5.
LaTeX Font Info:    Redeclaring math accent \dot on input line 5.
LaTeX Font Info:    Redeclaring math accent \mathring on input line 5.
LaTeX Font Info:    Redeclaring math symbol \colon on input line 5.
LaTeX Font Info:    Redeclaring math symbol \Gamma on input line 5.
LaTeX Font Info:    Redeclaring math symbol \Delta on input line 5.
LaTeX Font Info:    Redeclaring math symbol \Theta on input line 5.
LaTeX Font Info:    Redeclaring math symbol \Lambda on input line 5.
LaTeX Font Info:    Redeclaring math symbol \Xi on input line 5.
LaTeX Font Info:    Redeclaring math symbol \Pi on input line 5.
LaTeX Font Info:    Redeclaring math symbol \Sigma on input line 5.
LaTeX Font Info:    Redeclaring math symbol \Upsilon on input line 5.
LaTeX Font Info:    Redeclaring math symbol \Phi on input line 5.
LaTeX Font Info:    Redeclaring math symbol \Psi on input line 5.
LaTeX Font Info:    Redeclaring math symbol \Omega on input line 5.
LaTeX Font Info:    Redeclaring math symbol \mathdollar on input line 5.
LaTeX Font Info:    Redeclaring symbol font `operators' on input line 5.
LaTeX Font Info:    Encoding `OT1' has changed to `EU2' for symbol font
(Font)              `operators' in the math version `normal' on input line 5.
LaTeX Font Info:    Overwriting symbol font `operators' in version `normal'
(Font)                  OT1/cmr/m/n --> EU2/lmr/m/n on input line 5.
LaTeX Font Info:    Encoding `OT1' has changed to `EU2' for symbol font
(Font)              `operators' in the math version `bold' on input line 5.
LaTeX Font Info:    Overwriting symbol font `operators' in version `bold'
(Font)                  OT1/cmr/bx/n --> EU2/lmr/m/n on input line 5.
LaTeX Font Info:    Overwriting symbol font `operators' in version `normal'
(Font)                  EU2/lmr/m/n --> EU2/lmr/m/n on input line 5.
LaTeX Font Info:    Overwriting math alphabet `\mathit' in version `normal'
(Font)                  OT1/cmr/m/it --> EU2/lmr/m/it on input line 5.
LaTeX Font Info:    Overwriting math alphabet `\mathbf' in version `normal'
(Font)                  OT1/cmr/bx/n --> EU2/lmr/bx/n on input line 5.
LaTeX Font Info:    Overwriting math alphabet `\mathsf' in version `normal'
(Font)                  OT1/cmss/m/n --> EU2/lmss/m/n on input line 5.
LaTeX Font Info:    Overwriting math alphabet `\mathtt' in version `normal'
(Font)                  OT1/cmtt/m/n --> EU2/lmtt/m/n on input line 5.
LaTeX Font Info:    Overwriting symbol font `operators' in version `bold'
(Font)                  EU2/lmr/m/n --> EU2/lmr/bx/n on input line 5.
LaTeX Font Info:    Overwriting math alphabet `\mathit' in version `bold'
(Font)                  OT1/cmr/bx/it --> EU2/lmr/bx/it on input line 5.
LaTeX Font Info:    Overwriting math alphabet `\mathsf' in version `bold'
(Font)                  OT1/cmss/bx/n --> EU2/lmss/bx/n on input line 5.
LaTeX Font Info:    Overwriting math alphabet `\mathtt' in version `bold'
(Font)                  OT1/cmtt/m/n --> EU2/lmtt/bx/n on input line 5.

(/usr/share/texmf-dist/tex/latex/xcolor/xcolor.sty
Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK)

(/usr/share/texmf-dist/tex/latex/latexconfig/color.cfg
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package xcolor Info: Driver file: pdftex.def on input line 225.
LaTeX Info: Redefining \color on input line 702.
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337.
Package xcolor Info: Model `hsb' substituted by `rgb' on input line 1341.
Package xcolor Info: Model `RGB' extended on input line 1353.
Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1355.
Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1356.
Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1357.
Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1358.
Package xcolor Info: Model `Gray' substituted by `gray' on input line 1359.
Package xcolor Info: Model `wave' substituted by `hsb' on input line 1360.
)
! Argument of \language@active@arg" has an extra }.
<inserted text> 
\par 
l.7 \end{document}

? x


Here is how much of LuaTeX's memory you used:
 18918 strings out of 494694
 100000,552014 words of node,token memory allocated 379 words of node memory still in use:
   3 hlist, 1 rule, 2 glue, 1 kern, 3 glyph, 9 attribute, 46 glue_spec, 9 attrib
ute_list, 1 temp, 6 write, 1 local_par, 1 dir, 1 pdf_colorstack nodes
   avail lists: 2:1,5:1,6:27,7:1,9:1,10:3
 22184 multiletter control sequences out of 65536+600000
 22 fonts using 1473519 bytes
 78i,1n,54p,818b,110s stack positions out of 5000i,500n,10000p,200000b,100000s
No pages of output.

PDF statistics: 0 PDF objects out of 1000 (max. 8388607)
 0 named destinations out of 1000 (max. 131072)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)

frame label do not accept Chinese characters(UnicodeDecodeError: 'ascii' codec can't decode byte)

label in frame can not contain Chinese characters. it gives the following error:

*** Error while highlighting:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 25: >ordinal not in range(128)
(file "/usr/lib/python2.7/codecs.py", line 351, in write)
(./sample.out.pyg)
Runaway argument?
commandchars={}
! File ended while scanning use of \FV@GetKeyValues.

\par
l.33 \end{minted}

? x
No pages of output.
Transcript written on sample.log.

Chinese characters appeared in other places worked as expected, no error occurred.

In pygment's documens I read that there is an encoding option, I call pygmentize from command line with -P encoding=UTF8 and those minted handed to pygmentize found in sample.log, but it doesn't work. It seems that this is pygment's fault, but I am not sure.

My environment:
Ubuntu 12.04 64bit
TeX Live 2013
XeTeX 3.1415926-2.5-0.9999.3-2013060708 (TeX Live 2013)
python 2.7.3

sample code to reproduce the error, you will have to install a Chinese font and a LaTeX package(xeCJK) to compile. I compile it with command:

xelatex -shell-escape -8bit sample.tex

\documentclass[a4paper,12pt]{article}
\usepackage{xltxtra}
\usepackage{minted}
% better handle Chinese, set Chinese font
\usepackage{xeCJK}

% this is a free Chinese font, available in Ubuntu as ttf-wqy-microhei
\setCJKmainfont{WenQuanYi Micro Hei}

\begin{document}

code sample,示例代码

\begin{itemize}

    \item with Verbatim
        \begin{Verbatim}[label=main函数, frame=lines, tabsize=4]
int main(void)
{
    return 0;
    // some Chinese 中文
}
        \end{Verbatim}

    \item with minted
        %\begin{minted}[frame=lines, label=main, tabsize=4]{cpp}
        \begin{minted}[frame=lines, label=main函数]{cpp}
int main(void)
{
    return 0;
    // some Chinese 中文
}
        \end{minted}

    \end{itemize}

\end{document}

commands not found

Using minted (current version from repo) yields following problem:

C:\Users\xxx\Documents\Studium\project\dokumentation>set   & gt
;devdoku.aex   & lt;nul: /p x=  & gt;  & gt;devdoku.aex
[... Much stuff about my environment...]
Der Befehl "gt" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "lt" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "gt" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "gt" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.

\minted@apppathifexists=

Where Der Befehl "gt" ist entweder falsch geschrieben oder konnte nicht gefunden werden. is german and means The command "gt" is spelled wrong or couldn't been found.

edit

Forgot to mention: This happens with luaLaTeX and XeTeX under windows, can't test pdflatex or Linux right now.

UnicodeDecodeError with accented caracters

Hi,

In you documentation you say extended characters will be supported in 2.0 release. According to the readme, all planned features for 2.0 are implemented in alpha release.

I tried v2.0-alpha3 version, but I can't use accented caracters in minted :

*** Error while highlighting:
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 21: invalid continuation byte
(file "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode)

Here is my test file :

\documentclass{article}
\usepackage{minted}
\begin{document}
\title{Test minted with accents}
\maketitle
\section{Test without accent}
Test without any accent like éèà :
\begin{minted}{xml}
<BEGIN>
  <name>Name</name>
</BEGIN>
\end{minted}
\section{Test with accent}
Test with accents like éèà :
\begin{minted}{xml}
<BEGIN>
  <name>Name éàè</name>
</BEGIN>
\end{minted}
\end{document}

And the command to create the pdf file :

pdflatex -shell-escape test-accent.tex

Am I doing wrong, or accented caracters support is not yet implemented ?

multiline listing

The documentation has an example of using a listing with a \minted but I can only get that to work for a single line. How do I get a multiline listing?

Too many open files when caching

I was just trying out the new caching feature in a file with lots of code snippets. I get an exception from Python saying

OSError: [Errno 24] Too many open files: '.../encodings/cp437.py'

IMHO, a MWE is not feasible since it is not a LaTeX error. My LaTeX-fu is also not sufficient for further investigation, e.g. how Python is called and how cache files are processed - except from the Python lines in minted.dtx where it seems that files are f.close()'d correctly. Please let me know if additional info is needed.

Environment info:

OS X 10.8.5
Python 3.3.2 via homebrew

cache package option doesn't work with xelatex

This sample file works fine with latex or pdflatex, but it fails when the document is compiled by xelatex.

%%% this is file mini.tex
\documentclass[11pt]{article}
\usepackage[cache]{minted}

\begin{document}
\begin{minted}{c}
int main() {
  return 1;
}
\end{minted}
\end{document}

The error you get with xetex is:

(/usr/share/texmf-dist/tex/generic/xstring/xstring.tex)))/home/horn/bin/pygmentize

(./.minted-mini/default.pygstyle) (./mini.aux)
(/usr/share/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/share/texmf-dist/tex/latex/latexconfig/color.cfg)
(/usr/share/texmf-dist/tex/xelatex/xetex-def/xetex.def))sh: -c: line 0: unexpected EOF while looking for matching `"'
sh: -c: line 1: syntax error: unexpected end of file


! LaTeX Error: File `mini.mintedmd5' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: mintedmd5)

Enter file name: 
./mini.tex:9: Emergency stop.
<read *> 

l.9 \end{minted}^^M

Using PHP in \mintinline or \mint should default to startinline=true

Normally, PHP code only gets properly highlighted if its within tags.

However, when using the \mint and especially the new \mintinline feature, one probably isn't using these tags and instead referring to functions, methods, objects or variables directly, so it should default the startinline option to true, instead of false (see page 15 of the minted.pdf).

Just a minor suggestion to improve this awesome package!

Allow to set global minted options

I use several languages in my paper. I defined several minted environments with \newmintedfile. But they options are the same: linenos,frame=single,fontsize=\footnotesize,style=bw. I've tried to \def them to macros but I got xkeyval error. So I finished up copy-pasting options, which isn't good.

*.out.pyg - No such file or directory

Which causes all the compilations to fail - specifically

(./FILENAME.out) (./FILENAME.out) (./FILENAME.pyg)Error: cannot read infile: [Errno 2] No such file or directory: '['
 (./FILENAME.out.pyg)

Using an included file.

Same error occurred on Windows with MikTeX and OSX with TeXmacs

Latex doesn't find pygmentize

I'm on mac 10.7 and texmaker 4.1
When running the script:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{minted}

\begin{document}
Here is a simple example with Julia:

\begin{minted}{julia}
x=[1 2 3 ]
y=mean(x)
\end{minted}

\vspace{1em}
Another example.

\begin{minted}{julia}
using Stats
z=rand(100)
describe(z)
\end{minted}

\vspace{1em} % adds some space
\end{minted}
\end{document}

I've got several minted package errors:
You must invoke LaTeX with the -shell-escape flag
You must have pygmentize

I have Pygments inside canopy python release.

What I've got to do now?, please help.

Mis layout when option "bgcolor=xx" specified

I want to use a dark theme. So I add \usemintedstyle{monokai}.
Everything works fine except the background color(it doesn't change).
Then I tried to modify the bg manually by [bgcolor=black].
It works, however the whole code block can't get across multiple pages.
Any suggestion?

Additional dummy / plain text language

I would really like to have a language (I suggest plain or none) which triggers minted to not call pygments and just render it without highlighting, just like it currently does in draft mode.

The reason for this is, that I don't want to have different ways of including source code for languages supported by pygments and code that is not supported. Additionally it would make it much easier to highlight it in case someone (e.g. me) writes a pygments lexer for the specific language.

I had a look into the code to see how draftmode is implemented but was rather held back when reading The |draft| version digs into a lot of \pkg{fancyvrb} internals.

trouble with pdflatex -output-directory=...

Is it possible to change minted so that this workaround is unnecessary?

http://tex.stackexchange.com/questions/63160/minted-working-from-terminal-but-not-texpad

By default, Texpad uses pdflatex -output-directory to hide intermediate files away into a dot-folder (.texpadtmp) leaving a cleaner working directory. e.g.:

/usr/texbin/pdflatex -shell-escape -output-directory=/Users/refried/Dropbox/fp/.texpadtmp fp-analogies.tex

But when using minted, this results in errors:

[Loading MPS to PDF converter (version 2006.09.02).]
) (/Users/refried/Dropbox/fp/.texpadtmp/fp-analogies.pyg) (./fp-analogies.out.pyg
./fp-analogies.out.pyg:2: Undefined control sequence.
<argument> \PY 
               {o}{\PYZbs {}}\PY {n}{makeatletter}
l.2 \PY{o}{\PYZbs{}}\PY{n}{makeatletter}

./fp-analogies.out.pyg:2: Undefined control sequence.
<argument> \PY {o}{\PYZbs 
                          {}}\PY {n}{makeatletter}
l.2 \PY{o}{\PYZbs{}}\PY{n}{makeatletter}

...

./fp-analogies.out.pyg:6:  ==> Fatal error occurred, no output PDF file produced!
Transcript written on /Users/refried/Dropbox/fp/.texpadtmp/fp-analogies.log.

Thanks.

No bold and italic highlighting while using bw style

I want to print my article, so I pick out "bw" style. But on output pdf I don't see any bold or italic highlights. I saw this http://tex.stackexchange.com/questions/50514/how-can-i-produce-black-and-white-source-code-using-the-minted-package question but I cannot use XeLaTeX (due incapability with some packages I use) and package courier doesn't help (should I do something besides \usepackage{courier}?).

Here is my code:

\documentclass[a4paper,10pt]{article}

\usepackage[T2A]{fontenc}
\usepackage[mathletters]{ucs}
\usepackage[utf8x]{inputenc}

\usepackage{minted}
\newminted{python}{linenos,fontseries=Liberation Mono,frame=single,encoding=utf8,outencoding=utf8,fontsize=\footnotesize,style=bw}

\begin{document}

\begin{listing}
\begin{pythoncode}
class Light:
    def __init__(self):
        self.light = GL_LIGHT0 + self.number
        """Test"""
\end{pythoncode}        
\caption{Caption}
\label{lst:light}
\end{listing}

\end{document}

PS: I use last version (2.0) of minted package and pdflatex.

problem with samepage=true

I am trying to prevent an environment from splitting over 2 pages. The option samepage=true prevents the block from splitting, but the label (part of the frame) is still placed on a separate page.

Example code showing the problem is included below.


\documentclass[a4paper,notitlepage]{article}
\usepackage{minted}

\newminted{cpp}{mathescape, numbersep=5pt, frame=lines, samepage=true, fontsize=\small,label=C++ interface}

\title{Test}
\author{Pieter}

\begin{document}

\section{Test document}

This is a test
xx xxxxx xx xx xx xxxxx xx xxxxx xxxx xxxxx xxxx x xxxxxx xxxx
xx xxxxx xx xx xx xxxxx xx xxxxx xxxx xxxxx xxxx x xxxxxx xxxx
xx xxxxx xx xx xx xxxxx xx xxxxx xxxx xxxxx xxxx x xxxxxx xxxx
xx xxxxx xx xx xx xxxxx xx xxxxx xxxx xxxxx xxxx x xxxxxx xxxx

xx xxxxx xx xx xx xxxxx xx xxxxx xxxx xxxxx xxxx x xxxxxx xxxx
xx xxxxx xx xx xx xxxxx xx xxxxx xxxx xxxxx xxxx x xxxxxx xxxx
xx xxxxx xx xx xx xxxxx xx xxxxx xxxx xxxxx xxxx x xxxxxx xxxx

yyy yyy yyyyy yyyy y yyyy yyy yyy yy yyyyy yyyyyyyyy yyyy yyyyy
yyy yyy yyyyy yyyy y yyyy yyy yyy yy yyyyy yyyyyyyyy yyyy yyyyy
yyy yyy yyyyy yyyy y yyyy yyy yyy yy yyyyy yyyyyyyyy yyyy yyyyy

xx xxxxx xx xx xx xxxxx xx xxxxx xxxx xxxxx xxxx x xxxxxx xxxx
xx xxxxx xx xx xx xxxxx xx xxxxx xxxx xxxxx xxxx x xxxxxx xxxx
xx xxxxx xx xx xx xxxxx xx xxxxx xxxx xxxxx xxxx x xxxxxx xxxx

xx xxxxx xx xx xx xxxxx xx xxxxx xxxx xxxxx xxxx x xxxxxx xxxx
xx xxxxx xx xx xx xxxxx xx xxxxx xxxx xxxxx xxxx x xxxxxx xxxx
xx xxxxx xx xx xx xxxxx xx xxxxx xxxx xxxxx xxxx x xxxxxx xxxx

xx xxxxx xx xx xx xxxxx xx xxxxx xxxx xxxxx xxxx x xxxxxx xxxx
xx xxxxx xx xx xx xxxxx xx xxxxx xxxx xxxxx xxxx x xxxxxx xxxx
xx xxxxx xx xx xx xxxxx xx xxxxx xxxx xxxxx xxxx x xxxxxx xxxx

xx xxxxx xx xx xx xxxxx xx xxxxx xxxx xxxxx xxxx x xxxxxx xxxx
xx xxxxx xx xx xx xxxxx xx xxxxx xxxx xxxxx xxxx x xxxxxx xxxx
xx xxxxx xx xx xx xxxxx xx xxxxx xxxx xxxxx xxxx x xxxxxx xxxx

\begin{cppcode}
struct xxx
{
int i;
int j;
int x;
int y;
int z;

/// Constructor functions
xxx();
xxx(int index);
~xxx();
xxx(const xxx &);

public:
void test1();

void test2();

void test3();

void test1b();

void test2b();

void test3b();

...

}
\end{cppcode}

xx xxxxx xx xx xx xxxxx xx xxxxx xxxx xxxxx xxxx x xxxxxx xxxx

\subsection{End of test}

xx xxxxx xx xx xx xxxxx xx xxxxx xxxx xxxxx xxxx x xxxxxx xxxx

\end{document}

Problem with autogobble

My tex:

\begin{minted}[autogobble]{matlab}
                for i = 1:10
                    x(i) = a(i);
                end
\end{minted}

autogabble don't works, log:

File "<string>", line 1 import sys; import textwrap; from io import open; f = open(\'tabsize.pyg\', \'r\', encoding=\'UTF8\'); t = f.read(); f.close(); f = open(\'tabsize.pyg\', \'w\', encoding=\'UTF8\'); f.write(textwrap.dedent(t)); f.close(); ^ SyntaxError: unexpected character after line continuation character

What the problem?

Cannot disable line numbers per listing when enabled globally

The following code should (in my opinion) not display line numbers but it does (see picture):

\documentclass{article}
\usepackage{minted}
\setminted{linenos=true} % Enable line numbering globally
\begin{document}
\begin{minted}[linenos=false]{c} % Disable line numbering only for this code sample
int main() {
    printf("hello, world");
    return 0;
}
\end{minted}
\end{document}

minted

Tested with current master c988796.

Linebreaks for a single \mintinline

Is there a way to have a \mintinline|...| that wraps around? I don't really care if it's automatic linebreaks, or if I specify manually where to add a linebreak.

I've read the item I want automatic line breaks for long lines in the documentation, but if I put the first hack given there into my preamble, minted environments are ok but every \mintinline|code here| is rendered so that it's is followed by a newline. (I didn't try the second hack as I don't have linenos installed).

Aside from that, I don't need nor want global auto-linebreaks. What I'd like to have is just something like

\mintinlineautowrap|foo(bar, baz, quux, bla, x, y, z)|

which would automatically wrap around if the line is too short, or

\mintinlinemanualwrap|foo(bar, baz,\\quux, bla, x, y, z)|

which would be printed with "foo(bar, baz," on one line, and "quux, bla, x, y, z)" on the next.

whitespace in minted environment produces "^^I"

Using minted 1.7 with pygmentize 1.6:
This code:
\begin{minted}[fontsize=\footnotesize]{xml}



\end{minted}
will produce the following output:
whitespacebug

I'm using windows 7 with miktex 2.9.
I also have another machine which has minted 1.6 and pygmentize 1.5 installed. The output there is absolutely fine.

Problem with caption

Finally I found a problem.

I'm using "opensans" package to write my book, I've got figures and minted listings.

For figures, the "Figure X:" follows the right font (open sans)

For listings, "Listing X:" use True Type font (Times new roman), which I don't want (not open, not on Linux box... and not embed on pdf generation).

Is this a minted problem or a LaTeX problem ? Any suggestion ?

TEXINPUTS are not followed

Hi,

I'm sorry, this bug report is not against the current git version of the package, but against the one I have via TeXlive: 2011/09/17. However, according to what I saw, there is no difference.

I'm using various tools such as texi2pdf to compile my latex files. Such tools, to avoid cluttering the working directory, compile elsewhere. To make sure that \input and companions work properly, the TEXINPUTS envvar is used. It appears that listings handles this properly, but minted does not.

It would be really nice if it did.

Thanks!

Error: \do undefined when using caching

I get the above error when using caching.

The following patch helps:

   \newcommand{\minted@cleancache}{%
        \ifthenelse{\boolean{minted@cache}}{%
        \ifcsname minted@oldcachefiles\endcsname
   -      \renewcommand{\do}[1]{%
   +      \providecommand{\do}{}%
   +      \renewcommand*{\do}[1]{%
           \ifthenelse{\equal{##1}{}}{}{%
               \ifcsname minted@current@##1\endcsname\else
               \DeleteFile[\minted@outputdir\minted@cachedir]{##1.pygtex}%

How to use droid for minted?

I tried fontfamily=droid and fontseries=droid,but neither of them works.
Also what's the font on the rendering example?:)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.