msprev / dot-panzer Goto Github PK
View Code? Open in Web Editor NEWmy panzer support directory
my panzer support directory
I struggled for a long time trying to generate a pdf with panzer foo.md -o foo.pdf
before realizing that the command should be panzer foo.md -o foo.tex
. It might be worth including that information somewhere for other wandering souls :)
Hi,
It could be useful to add a Biography section in the article.latex
template. I'm referring to cases where you have to provide with your proposal not only your affiliation but a short biography. Actually, trying to add more text in affiliation
results in the text not split in multiple lines.
Any suggestion on doing this?
Thank you :)
Hi,
I'm trying to use the dotfiles for panzer from this repo: this is useful to understand the panzer styles structure.
Actually, I'm not able to print {\authorblock}
, I'm using the article.latex template to print a .pdf.
This is a part of my styles.yaml file:
########################################################################
# Article #
########################################################################
Articolo:
all:
metadata:
title: "Untitled"
author:
- name: "No author"
affiliation: "No affiliation"
email: "no@email"
published: "*Draft only. Please do not cite without permission.*"
doi: false
latex:
template: article.latex
metadata:
fontsize: 12pt
geometry: margin=1in
papersize: a4paper
lang: it-IT
language: it-IT
locale: it-IT
commandline:
latex-engine: "`xelatex`"
pdf:
template: article.latex
metadata:
fontsize: 12pt
bibliography: FILE
csl: FILE
geometry: margin=1in
lang: it-IT
It also doesn't print the title
.
Hints?
Thank you!
I'm just trying to get going with panzer, and am gradually working out how to port my complex workflow script to panzer. I've figured out (just) how to get basic markdown —> PDF working OK.
My previous script (ignoring filters and templates which I've not tried to get working yet) had at its core: pandoc --from=markdown+smart+blank_before_header+escaped_line_breaks+fenced_code_blocks+line_blocks+definition_lists+startnum+inline_notes+mmd_title_block+lists_without_preceding_blankline+yaml_metadata_block+pipe_tables+table_captions -V documentclass:scrartcl -V font size:16 -V papersize:a4paper -o talk.pdf talk.md 2>> talk.log
. I see from the documentation that I can't set commandline
options from
or variable
.
What ways can I work around this to specify the many markdown options? I've tried adding
Sermon:
parent:
- Base
latex:
metadata:
documentclass: "`scrartcl`"
fontsize: "`16pt`"
compact-headings: true
include-in-header: "`jgc-sermon1up.sty`"
to my new 'Sermon' style definition, but none of these appear to be noticed or acted upon. The log file gives no hint that these are seen either. Help!
(PS, as this is a help request, not an issue per se, please tell me if there's a better way to ask for help. Thanks!)
Hello msprev,
Great job with panzer. I am trying to use your dot-panzer and have managed to get a little bit done. It would be very helpful for noobs (like me) if you could just add a statement for the scripts etc. you have in this directory.
I am willing to start off a little modification of the README, if you are okay with having a look at it? Do you have any "pull-request" guidelines for this repo? I ask because this is like an addendum to the main panzer repo. As a new user I can tell you that almost invariably new users would clone this directory and a few helping hints would be useul.
I'm setting up my Panzer workflow and it looks like there's a lot of great stuff in here! But it was a bit tough for me to figure out what exactly these scripts did/whether it worth copying them for my own use. Mind adding a section in the Readme explaining (in a sentence or two) what each script does?
The filter paginatesects.py
quite properly throws an UnboundLocalError on the insert
variable under python 3.6.4 because insert
is defined in an if
block but used outside the if
block. Python correctly understands that if the if
block is never entered the insert
variable will never be defined, and so will cause an error when subsequently called. The error is fixed by initialising insert
before entering the if
block.
I haven't checked whether other filters in this repo have the same structure. I also haven't tested on earlier versions of python (where I presume this error was not triggered or it would have been detected by now).
Thanks for panzer -- it's brilliant. And this repo of dotfiles was a giant help in understanding how panzer works.
Hi,
I'm trying to understand how to disable the conversion of the "
in «
or »
.
input files is a .md
file, output is .pdf
file.
I used --smart
as an option but still conversion remains.
I'm posting here because I'm using your dot files :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.