mrzool / invoice-boilerplate Goto Github PK
View Code? Open in Web Editor NEWSimple automated LaTeX invoicing system
Home Page: http://mrzool.cc/tex-boilerplates/
License: GNU General Public License v2.0
Simple automated LaTeX invoicing system
Home Page: http://mrzool.cc/tex-boilerplates/
License: GNU General Public License v2.0
A nice template, that worked fine till some time ago, but I assume that either a pandoc or a latex package update broke it(?). When I run it as is, I get:
pandoc details.yml -o output.pdf --template=template.tex --pdf-engine=xelatex
[WARNING] Could not deduce format from file extension .yml
Defaulting to markdown
[WARNING] Invalid 'lang' value 'english'.
Use an IETF language tag like 'en-US'.
After correcting the language code, I get another error:
[WARNING] Could not deduce format from file extension .yml
Defaulting to markdown
Error producing PDF.
! Paragraph ended before \ST@left@ii was complete.
<to be read again>
\par
l.135
make: *** [output.pdf] Error 43
Hello,
Is there any option to include new taxes a part from VAT through the spreadtab
package?
Thanks in advance.
Hi. It would be useful to have a signature, optionally, in the invoice. I've proposed a pull request here that changes the template, the yaml file, and adds documentation about it in the readme: #21 Please do consider it.
I get the following error and I don't know what I'm doing wrong. I'm just trying to compile the default invoice
Error producing PDF.
! Argument of \str_uppercase:n has an extra }.
<inserted text>
\par
l.61 \setmainlanguage{}
make: *** [makefile:6: output.pdf] Error 43
I wonder a bit why it says line 61, because \setmainlanguage is on line 69 in template.tex
Error producing PDF.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "Hoefler Text" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H .
!...............................................
l.26 ...Common}, Numbers={OldStyle}]{Hoefler Text}
makefile:6: recipe for target 'output.pdf' failed
make: *** [output.pdf] Error 43
I am getting the following error when I run make (invoice template):
! FP error: UPN stack is empty!.
\FP@errmessage #1->\errmessage {FP error: #1!}
l.138 \end{spreadtab}
pandoc: Error producing PDF from TeX source
makefile:2: recipe for target 'output.pdf' failed
make: *** [output.pdf] Error 43
System info as follows;
XeTeX 3.14159265-2.6-0.99992 (TeX Live 2015/Debian)
kpathsea version 6.2.1
Copyright 2015 SIL International, Jonathan Kew and Khaled Hosny.
There is NO warranty. Redistribution of this software is
covered by the terms of both the XeTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the XeTeX source.
Primary author of XeTeX: Jonathan Kew.
Compiled with ICU version 55.1; using 55.1
Compiled with zlib version 1.2.8; using 1.2.8
Compiled with FreeType2 version 2.5.5; using 2.5.5
Compiled with Graphite2 version 1.3.3; using 1.3.3
Compiled with HarfBuzz version 1.0.1; using 1.0.1
Compiled with libpng version 1.6.17; using 1.6.17
Compiled with poppler version 0.32.0
Compiled with fontconfig version 2.11.0; using 2.11.0
To compile the default invoice (on Windows 10), we need fonts:
Hoefler Text: https://fontsgeek.com/fonts/Hoefler-Text-Regular
Helvetica Neue: https://fontsgeek.com/helvetica-neue-font
Perhaps the download links can be added in the Readme.
As is, I get the following error:
pandoc details.yml -o output.pdf --template=template.tex --pdf-engine=xelatex pandoc: unrecognized option
--pdf-engine=xelatex'
Try pandoc --help for more information.
makefile:6: recipe for target 'output.pdf' failed
make: *** [output.pdf] Error 2
`
If replace "pdf" with "latex" in FLAGS = --pdf-engine=xelatex
in makefile
, it works as intended.
When I run make, I get the following warning:
pandoc details.yml -o output.pdf --template=template.tex --pdf-engine=xelatex
[WARNING] Could not deduce format from file extension .yml
Defaulting to markdown
That doesn't seem right, IMO. We can't treat YAML as Markdown, can we?
I have written an invoice with several items and each item has details.
The table gets very long, so that the first page of the PDF file only contains the letter header, the second page contains the table and the third page contains the closing note.
What do I need to change to get page breaks within the table, so that my invoice fits on two pages and the first page doesn't look empty?
I tried using tblr
and longtblr
, but I ran into \noalign
issues.
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.