Giter Club home page Giter Club logo

dnd-5e-latex-character-sheet-template's Introduction

DND 5e LaTeX Character Sheet Template

LaTeX template to typeset Dungeons and Dragons 5th edition character sheets.

Test LaTeX Template

Features

  • Character and Spell sheets
  • High degree of customisation available
  • Simplified build with Nix

Usage

Building a character sheet

It is reccomended to look at pre-existing character sheets in the characters directory when using this repository for the first time, each text input area of the character sheet is fillable with functions defined in the template, however it may require some trial and error to have the sheet looking as you intend.

Compliation

Nix

A nix flake is a reproducible way to describe the building process to nix. See https://nixos.org/download.html, on how to install nix. Afterwards running nix build in the repository will result in a successful build.

Flakes and Nix-Commands are still experimental, so they must be enabled as described at https://nixos.wiki/wiki/Flakes#Enable_flakes.

Makefile

The example or specific character sheets can be compiled using the following make commands:

name build                               # Will complile all characters

make build_character CHARACTER=unnamed   # Will complile the example "unnamed" character

make develop                             # Will drop you into a shell with all dependencies installed

Customisation

There are a large number of character sheet customisation options available in dndtemplate.sty which acts a central location to modify colour and opacity for a number of character sheet elements. There are some commands in sheet-calculations that were made to auto calculate the modifiers and proficiencies, and auto complete a few inputs.

Dependencies

This package requires LaTeX and the DnD 5e LaTeX Template. I reccomend using the instructions provided with this package to set up your environment if not using the included GitHub action.

Credits

  • This package was generated from the standard Wizards of the Coast PDF character sheet template

dnd-5e-latex-character-sheet-template's People

Contributors

chery-cake avatar drcxd avatar matsavage avatar pjbrs avatar renovate[bot] avatar soispha 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

Watchers

 avatar  avatar  avatar  avatar

dnd-5e-latex-character-sheet-template's Issues

Half caster sheet

          Thanks very much very much for merging this!!!

I hope I can use this place also two questions -

  1. What would it take to adapt your template to a4paper?
  2. What would it take to adapt your spells list to fit, e.g., a cleric's spell list? I know dungeonsheets with the official dnd form uses a half caster's sheet for that.

Originally posted by @PJBrs in #45 (comment)

Publishing this template to Overleaf

Hello!
I was wondering if you ever thought of publishing this project/template to Overleaf so people can use it there as a template?

Thanks for the answer in advance!

Text issues when compiling locally

Whenever I try to compile the pdf locally the rpgtex parts seem to work but the character sheet parts don't. All the text is crammed into the bottom left of the page.

I have no doubt this is because I have setup stuff wrong but was wondering if you had any ideas. Thanks for your time!

Screenshot from 2021-05-27 16-28-00

Logs

The output from xelatex dagmar.tex

This is XeTeX, Version 3.14159265-2.6-0.999991 (TeX Live 2019/Debian) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
(./dagmar.tex
LaTeX2e <2020-02-02> patch level 2
L3 programming layer <2020-02-14>
(/usr/share/texlive/texmf-dist/tex/latex/base/book.cls
Document Class: book 2019/12/20 v1.4l Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/bk10.clo))
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-xdvipdfmx.def)))
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty)
(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.cfg)))
(/home/jack/texmf/tex/latex/dnd/dnd.sty
(/home/jack/texmf/tex/latex/dnd/dndoptions.clo
(/usr/share/texlive/texmf-dist/tex/latex/l3packages/l3keys2e/l3keys2e.sty)

Package dnd Warning: Package option "layout" will default to false in 1.0.0.

) (/home/jack/texmf/tex/latex/dnd/dndcore.def
(/usr/share/texlive/texmf-dist/tex/latex/tools/array.sty)
(/usr/share/texlive/texmf-dist/tex/latex/colortbl/colortbl.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/xetex.def)))
(/usr/share/texlive/texmf-dist/tex/latex/enumitem/enumitem.sty)
(/usr/share/texlive/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
(/usr/share/texlive/texmf-dist/tex/latex/base/textcomp.sty)
(/usr/share/texlive/texmf-dist/tex/latex/was/gensymb.sty)
(/usr/share/texlive/texmf-dist/tex/latex/hang/hang.sty)
(/usr/share/texlive/texmf-dist/tex/latex/numprint/numprint.sty
No configuration file `numprint.cfg' found.)
(/usr/share/texlive/texmf-dist/tex/latex/tools/tabularx.sty)
(/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcolorbox.sty
(/usr/share/texlive/texmf-dist/tex/latex/pgf/basiclayer/pgf.sty
(/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty
(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.t
ex)) (/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-latex.def
(/usr/share/texlive/texmf-dist/tex/latex/ms/everyshi.sty))
(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfrcs.code.tex
(/usr/share/texlive/texmf-dist/tex/generic/pgf/pgf.revision.tex)))
(/usr/share/texlive/texmf-dist/tex/latex/pgf/basiclayer/pgfcore.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)))
(/usr/share/texlive/texmf-dist/tex/latex/pgf/systemlayer/pgfsys.sty
(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys.code.tex
(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.t
ex)) (/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgf.cfg)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-xetex.def
(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def
(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-common-pdf.de
f))))
(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.
tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/systemlayer/pgfsysprotocol.code.
tex)) (/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg))
(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcore.code.tex
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code
.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonomet
ric.code.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.cod
e.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison
.code.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code.
tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code
.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code.
tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerari
thmetics.code.tex)))
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex))
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfint.code.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.te
x)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathconstruct.
code.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathusage.code
.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorescopes.code.te
x)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoregraphicstate.c
ode.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransformation
s.code.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorequick.code.tex
)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreobjects.code.t
ex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepathprocessing
.code.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.te
x)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex
)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex

(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoreexternal.code.
tex))
(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorelayers.code.te
x)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcoretransparency.c
ode.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepatterns.code.
tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/basiclayer/pgfcorerdf.code.tex))
)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/modules/pgfmoduleshapes.code.tex
) (/usr/share/texlive/texmf-dist/tex/generic/pgf/modules/pgfmoduleplot.code.tex
)
(/usr/share/texlive/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-0-65
.sty)
(/usr/share/texlive/texmf-dist/tex/latex/pgf/compatibility/pgfcomp-version-1-18
.sty)) (/usr/share/texlive/texmf-dist/tex/latex/tools/verbatim.sty)
(/usr/share/texlive/texmf-dist/tex/latex/environ/environ.sty
(/usr/share/texlive/texmf-dist/tex/latex/trimspaces/trimspaces.sty))
(/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcbbreakable.code.tex
Library (tcolorbox): 'tcbbreakable.code.tex' version '4.22'
) (/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcbskins.code.tex
Library (tcolorbox): 'tcbskins.code.tex' version '4.22'
(/usr/share/texlive/texmf-dist/tex/latex/pgf/frontendlayer/tikz.sty
(/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgffor.sty
(/usr/share/texlive/texmf-dist/tex/latex/pgf/utilities/pgfkeys.sty
(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex))
(/usr/share/texlive/texmf-dist/tex/latex/pgf/math/pgfmath.sty
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex))
(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex)))
(/usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex

(/usr/share/texlive/texmf-dist/tex/generic/pgf/libraries/pgflibraryplothandlers
.code.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.code.tex
)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tik
zlibrarytopaths.code.tex)))
(/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcbskinsjigsaw.code.tex
Library (tcolorbox): 'tcbskinsjigsaw.code.tex' version '4.22'
)) (/usr/share/texlive/texmf-dist/tex/latex/tcolorbox/tcbxparse.code.tex
Library (tcolorbox): 'tcbxparse.code.tex' version '4.22'
)) (/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty
(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifvtex.sty
(/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty)))
(/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.sty
(/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype-xetex.def)
(/usr/share/texlive/texmf-dist/tex/latex/microtype/microtype.cfg))
(/usr/share/texlive/texmf-dist/tex/latex/ragged2e/ragged2e.sty
(/usr/share/texlive/texmf-dist/tex/latex/ms/everysel.sty))
(/usr/share/texlive/texmf-dist/tex/latex/tocloft/tocloft.sty)
(/usr/share/texlive/texmf-dist/tex/latex/titlesec/titlesec.sty)
(/usr/share/texlive/texmf-dist/tex/latex/ms/multitoc.sty
(/usr/share/texlive/texmf-dist/tex/latex/tools/multicol.sty

Package multicol Warning: May not work with the twocolumn option on input line
141.

) (/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty))
(/home/jack/texmf/tex/latex/dnd/lib/compat.sty)
(/home/jack/texmf/tex/latex/dnd/lib/dndutility.sty)
(/home/jack/texmf/tex/latex/dnd/lib/dndcolors.sty)
(/home/jack/texmf/tex/latex/dnd/lib/dndfonts.sty
(/usr/share/texlive/texmf-dist/tex/latex/lettrine/lettrine.sty
(/usr/share/texlive/texmf-dist/tex/generic/minifp/minifp.sty)
Loading lettrine.cfg
(/usr/share/texlive/texmf-dist/tex/latex/lettrine/lettrine.cfg))
(/usr/share/texlive/texmf-dist/tex/latex/cfr-initials/Royal.sty
(/usr/share/texlive/texmf-dist/tex/latex/initials/RoyalIn.fd))
(/usr/share/texlive/texmf-dist/tex/latex/contour/contour.sty
Loading configuration file contour.cfg'. (/usr/share/texlive/texmf-dist/tex/latex/contour/contour.cfg) contour: Using driver file dvips.cnt'.
(/usr/share/texlive/texmf-dist/tex/latex/contour/dvips.cnt))
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/bookman.sty)
(/usr/share/texlive/texmf-dist/tex/latex/gillius/gillius2.sty
(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifxetex.sty)
(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifluatex.sty)
(/usr/share/texlive/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkvutils.tex)))
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty

LaTeX Font Warning: Font shape TU/pbk/m/n' undefined (Font) using TU/lmr/m/n' instead on input line 112.

) (/usr/share/texlive/texmf-dist/tex/latex/fontaxes/fontaxes.sty))
(/usr/share/texlive/texmf-dist/tex/latex/kpfonts/kpfonts.sty)
(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/t1pbk.fd)))
(/home/jack/texmf/tex/latex/dnd/lib/dndstrings.sty)
(/home/jack/texmf/tex/latex/dnd/lib/dnddeprecated.sty
(/usr/share/texlive/texmf-dist/tex/latex/keycommand/keycommand.sty
(/usr/share/texlive/texmf-dist/tex/latex/etex-pkg/etex.sty

Package etex Warning: Extended allocation already in use.
(etex) etex.sty code will not be used.
(etex) To force etex package to load, add
(etex) \RequirePackage{etex}
(etex) at the start of the document.

) (/usr/share/texlive/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty))
(/usr/share/texlive/texmf-dist/tex/latex/fp/fp.sty
Fixed Point Package', Version 0.8, April 2, 1995 (C) Michael Mehlich (/usr/share/texlive/texmf-dist/tex/latex/fp/defpattern.sty) (/usr/share/texlive/texmf-dist/tex/latex/fp/fp-basic.sty) (/usr/share/texlive/texmf-dist/tex/latex/fp/fp-addons.sty) (/usr/share/texlive/texmf-dist/tex/latex/fp/fp-snap.sty) (/usr/share/texlive/texmf-dist/tex/latex/fp/fp-exp.sty) (/usr/share/texlive/texmf-dist/tex/latex/fp/fp-trigo.sty) (/usr/share/texlive/texmf-dist/tex/latex/fp/fp-pas.sty) (/usr/share/texlive/texmf-dist/tex/latex/fp/fp-random.sty) (/usr/share/texlive/texmf-dist/tex/latex/fp/fp-eqn.sty) (/usr/share/texlive/texmf-dist/tex/latex/fp/fp-upn.sty) (/usr/share/texlive/texmf-dist/tex/latex/fp/fp-eval.sty)) (/usr/share/texlive/texmf-dist/tex/generic/xstring/xstring.sty (/usr/share/texlive/texmf-dist/tex/generic/xstring/xstring.tex))) (/home/jack/texmf/tex/latex/dnd/lib/dndcomment.sty) (/home/jack/texmf/tex/latex/dnd/lib/dndheader.sty (/usr/share/texlive/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)) (/home/jack/texmf/tex/latex/dnd/lib/dndmonster.sty) (/home/jack/texmf/tex/latex/dnd/lib/dndreadaloud.sty) (/home/jack/texmf/tex/latex/dnd/lib/dndsections.sty) (/home/jack/texmf/tex/latex/dnd/lib/dndsidebar.sty) (/home/jack/texmf/tex/latex/dnd/lib/dndtable.sty))) (/home/jack/texmf/tex/latex/dnd/lib/dndtoc.sty (/usr/share/texlive/texmf-dist/tex/latex/titlesec/titletoc.sty)) (/usr/share/texlive/texmf-dist/tex/latex/pstricks/pstricks.sty (/usr/share/texlive/texmf-dist/tex/latex/tools/shellesc.sty) (/usr/share/texlive/texmf-dist/tex/generic/xkeyval/pst-xkey.tex) (/usr/share/texlive/texmf-dist/tex/generic/pstricks/pstricks.tex (/usr/share/texlive/texmf-dist/tex/generic/pstricks/pst-fp.tex pst-fp' v0.05, 2010/01/17 (hv))
`PSTricks' v2.97 <2019/05/11> (tvz,hv)
(/usr/share/texlive/texmf-dist/tex/xelatex/xetex-pstricks/pstricks.con
(/usr/share/texlive/texmf-dist/tex/generic/pstricks/config/xdvipdfmx.cfg))
(/usr/share/texlive/texmf-dist/tex/xelatex/xetex-pstricks/pstricks.con
(/usr/share/texlive/texmf-dist/tex/generic/pstricks/config/xdvipdfmx.cfg
Using PSTricks configuration for XeTeX+xdvipdfmx
))) (/usr/share/texlive/texmf-dist/tex/generic/pstricks/pst-fp.tex)

Loading XeTeX special macros
(/usr/share/texlive/texmf-dist/tex/generic/pstricks/pstricks-xetex.def))
(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty
(/usr/share/texlive/texmf-dist/tex/generic/babel/switch.def)
(/usr/share/texlive/texmf-dist/tex/generic/babel-english/UKenglish.ldf
(/usr/share/texlive/texmf-dist/tex/generic/babel-english/english.ldf
(/usr/share/texlive/texmf-dist/tex/generic/babel/babel.def
(/usr/share/texlive/texmf-dist/tex/generic/babel/xebabel.def
(/usr/share/texlive/texmf-dist/tex/generic/babel/txtbabel.def))))))
(../character-sheet-settings.tex) (../template/character-sheet-commands.tex)
(/home/jack/texmf/tex/latex/dnd/lib/languages/italian.sty)
(/home/jack/texmf/tex/latex/dnd/lib/languages/japanese.sty)
(/home/jack/texmf/tex/latex/dnd/lib/languages/ngerman.sty)
(/home/jack/texmf/tex/latex/dnd/lib/languages/russian.sty)
(/home/jack/texmf/tex/latex/dnd/lib/languages/spanish.sty) (./dagmar.aux)
(/usr/share/texlive/texmf-dist/tex/latex/base/ts1cmr.fd)
ABD: EveryShipout initializing macros
geometry driver: auto-detecting
geometry detected driver: xetex
ABD: EverySelectfont initializing macros (../template/character-sheet.tex
(../template/character-sheet/header.tex) (../template/character-sheet/stats.tex
) (../template/character-sheet/battle-stats.tex)
(../template/character-sheet/outlines.tex)
(../template/character-sheet/money-outlines.tex)
(../template/character-sheet/traits.tex)
(../template/character-sheet/player-input.tex

LaTeX Font Warning: Font shape TU/GilliusADFNoTwo-LF/m/n' undefined (Font) using TU/lmr/m/n' instead on input line 92.

(/usr/share/texlive/texmf-dist/tex/latex/microtype/mt-LatinModernRoman.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/microtype/mt-cmr.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/psnfss/ts1pbk.fd)
(/usr/share/texlive/texmf-dist/tex/latex/kpfonts/t1jkpss.fd))
(../template/character-sheet/proficiency-markers.tex)
(../template/character-sheet/template-text.tex
(/usr/share/texlive/texmf-dist/tex/latex/kpfonts/ts1jkpss.fd))
Overfull \hbox (19.37222pt too wide) detected at line 21
[]
) (../template/spell-sheet.tex (../template/spell-sheet/header.tex)
(../template/spell-sheet/outlines.tex)
(../template/spell-sheet/spell-level-headers.tex)
(../template/spell-sheet/player-input.tex)
(../template/spell-sheet/spell-slots.tex)
(../template/spell-sheet/template-text.tex)
Overfull \hbox (19.37222pt too wide) detected at line 18
[]
)
Underfull \vbox (badness 10000) has occurred while \output is active [1]
[2GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
]
contour: Using 32 copies for Features,' on input line 253. contour: Using 32 copies for Magic' on input line 253.
contour: Using 32 copies for Items' on input line 253. contour: Using 32 copies for and' on input line 253.
contour: Using 32 copies for `Spells' on input line 253.
(/usr/share/texlive/texmf-dist/tex/latex/gillius/T1GilliusADFNoTwo-LF.fd)
[3]
Underfull \vbox (badness 2460) has occurred while \output is active [4]
[5] [6] [7] [8] (./dagmar.aux)

LaTeX Font Warning: Some font shapes were not available, defaults substituted.

)
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
GPL Ghostscript 9.50: Unrecoverable error, exit code 1
(see the transcript file for additional information)
Output written on dagmar.pdf (8 pages).
Transcript written on dagmar.log.

Half caster spell sheet

Thanks very much very much for merging this!!!

I hope I can use this place also two questions -

  1. What would it take to adapt your template to a4paper?
  2. What would it take to adapt your spells list to fit, e.g., a cleric's spell list? I know dungeonsheets with the official dnd form uses a half caster's sheet for that.

Originally posted by @PJBrs in #45 (comment)

Nix Flake

As this latex project requires xetex, custom fonts and pstricks to compile it's quite challenging, especially for inexperienced people.
Encountering these issues, I've written a Nix Flake, to simplify the build process considerably. See the commit message and the readme for a quick explanation what this is and what it does.
If you would like to add this, let me know and I'll open a pull request, otherwise I'm fine with keeping my fork up to date.

cant compile character sheet at all.

I keep getting the following error " LaTeX Error: File `dndtemplate.sty' not found." even though I followed all the setup instructions / cloned the repo to a local folder.
Made a character by coping the dagmar.tex file in the characters folder then editing as needed.

Trying to work this out but no joy. If this is not the right place to ask this please tell me where.

ignore this. idiot me just moved the file out of the char directory into the root dir and everything now works.

Multiple character sheets merges weapon list

Hi! Thanks for you effort building this!

I am trying to put three character sheets together but the weapon list in the first page gets merged. Any way you could point me how to clear this list at the beginning of a new character sheet?

While I know how to write a document using LaTeX, this is my first time dealing with its underlining mechanics. I understand that the issue are the AddWeapon and WeaponsHeld. So, I tried using \WeaponsHeld{} before writing the weapons' list but it gives me a strange error of no line to end. Any help is welcome!

Thanks!
~Carles

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/test_latex_template.yml
  • actions/checkout v4
  • actions/setup-python v5
  • pre-commit/action v3.0.1
  • actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
  • cachix/install-nix-action v26@8887e596b4ee1134dae06b98d573bd674693f47c
  • mfinelli/setup-imagemagick v5
  • actions/upload-artifact v4
  • actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
  • cachix/install-nix-action v26@8887e596b4ee1134dae06b98d573bd674693f47c
  • actions/upload-artifact v4
nix
flake.nix
  • nixpkgs nixpkgs-unstable

  • Check this box to trigger a request for Renovate to run again on this repository

The font path problem

Hi there, Mat. I didn't know how to properly address the issue, so took this option. The issue is already known for you: xelatex does not parse the Path option for fontenc.
This problem is very annoying and hard to solve. It goes in the way xelatex call kpathsea. As I told you, when using python to call xelatex, I was using os.chdir and there was no problem. But this is not a real solution. The alternative - and more clean - solution is to install the fonts in the system fonts directory. For linux, it should be at ~/.fonts or /usr/share/fonts.
I didn't search more, there should be some way to define a local font in the .sty file.
By the way, making your package a class was a small step of a developer but a giant leap for mankind! I helped a lot for the Jinjafyied version of dungeonsheets.

Multilingual support and generating empty sheets?

Hello,

I am trying to adapt this template for languages other than English. I found that if simply input Chinese characters to constructs, for example CharacterName, then the characters are simply rendered as squares. My current solution for this problem is:

\newfontfamily\cjkfont{KaiTi}
\CharacterName{\cjkfont{中文字符}}

This works but is a little cumbersome. Is there anyway I can make the Chinese characters automatically fallback to a certain font, so I do not have to specify it explicitly?

Another related problem is to generate empty sheets. I found links to empty sheets in the README, but they are in English. I would like to replace some of the text to Chinese. However, I found that if I left some of the constructs' input as nothing (SetProficiency{}), the compilation stops with the following error:

! LaTeX Error: Missing number before '/'.
l.33 ^^I\SetProficiency{}

How can I circumvent this problem and generate an empty sheet?

Any help is appreciated.

Document compiles but all the text is at the bottom left of the page

Hello, first of all thanks for making this.
I use texmaker on ubuntu, and initially I was having the font path problem mentioned in the other issue, but I circumvented that by copying the fonts in the same folder as the dagmar.tex file, and removing "Path=template/fonts/," in the character-sheet-setting.tex file (I don't know if that was the wrong thing to do, but the document would return the fontsec path error before. and after I did that change it started compiling.)

At first I though the document was compiling with non of the text but then I noticed it was all bunched together at the bottom left corner of the page (see attached). It does this for the first three pages and then appears to be normal from "Features, Magic Items and Spells".

Any idea what might be causing this and how to fix it? A quick google search didn't help me but maybe I wasn't searching for the right things.

character.pdf

Unsafe options in latexmkrc

The latexmkrc contains the -dNOSAFER option for the ghostscript invocation. Whilst this is not a problem in the nix flake, as it is build in a full sandbox, in a not sandboxed environment this option allows ghostscript to create/delete or modify user files (eg recursively delete /home/$username).
A possible solution to avoid this vulnerability to a supply chain attack is setting -dSAFER and using the options described here, to only allow the needed files.

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.