Comments (5)
Du hast dich glaub ich bei deinem Beispiel verschrieben :D
Da steht zweimal das gleiche... ICh schätze du meinstest beim zweiten ohne autogobble? :D
from vorlage-latex.
build-kontext? (docker/texmaker)
ich bin mir ziemlich sicher dass das schonmal ging. irgendwann
edit: ja, ich hab den titel jetzt erst gelesen xD geht das in texmaker auch nicht? falls es am container liegt: gib mal codebeispiel, dann seh ich's mir an :b
from vorlage-latex.
Hab dich zu meinem privaten repo hinzugefügt...
Dort tritt der Fehler auf...
Ich kann morgen aber auch mal ein MWE erstellen dafür.
from vorlage-latex.
update: liegt an minted's autogobble
-option. reproducer:
- neue datei
Latex/code.py
erstellen. die kann leer sein und es tritt trotzdem der gleiche fehler auf - irgendwo in den beispiel-dateien der vorlage das hier einfügen:
\inputminted[autogobble]{python}{code.py}
--> build schlägt fehl
- im gegensatz dazu
\inputminted[gobble=0]{python}{code.py}
--> geht
getestet im docker-container, v1.0.0
warum das nicht geht? es bleibt spannend ^^
from vorlage-latex.
durch 300% glück hab ich die lösung gefunden: minted will /usr/bin/python
, im container gibt's aber nur /usr/bin/pyton3
gefunden hier:
https://github.com/alexpovel/latex-extras-docker/blob/5429a82ef415c2e9eda0c20f71e7df63b51621e9/Dockerfile#L80-L87
# It is invoked with `python -c`, but Debian only has `python3`. Therefore, alias
# `python` to invoke `python3`. Use `update-alternatives` because it's cooler than
# symbolic linking, and made for this purpose.
# If `python` is not available but `pygmentize` is, stuff like `autogobble` and
# `\inputminted`won't work but syntax highlighting will.
# See also https://stackoverflow.com/a/55351449/11477374
# Last argument is `priority`, whose value shouldn't matter since there's nothing else.
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
from vorlage-latex.
Related Issues (20)
- Lösung für fehlende Pakete HOT 4
- vglinks, zitate etc. funktionieren nicht bei Abbildungsunterschriften HOT 7
- Punkte in Kapitel HOT 1
- Falsche Nummerierung in Verzeichnissen HOT 1
- \mdseries im Verzeichnis HOT 3
- Abkürzungsverzeichnis hat eine Seitennummerierung HOT 2
- ABSTÄNDE HOT 6
- Anhangverzeichnis HOT 1
- Anhänge allgemein HOT 1
- Inhaltsverzeichnis HOT 2
- Vorlage Light aktuell defekt HOT 5
- Fußnoten von Zitaten nicht entsprechend der Anforderungen der HAWA HOT 1
- Erklärungen sollten nicht im Anhangsverzeichnis auftauchen HOT 4
- Änderungen nach BT Erfahrungen HOT 5
- Institutionsnamen in Bibliographie in CAPS HOT 2
- Entspanntere Positionierung von Floatumgebungen im Dev Branch (commit: 7fe66d970a8dc9fcb455b94e0d42c027486ad70f) HOT 19
- Sperrvermerk HOT 4
- Abbildungen rutschen unter die Fußnoten HOT 3
- Node 12 Actions sind deprecated HOT 2
- xcolor Paket stört spacing HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vorlage-latex.