Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please make libertine optional not mandatory #4

Open
m040601 opened this issue Jul 13, 2021 · 1 comment
Open

Please make libertine optional not mandatory #4

m040601 opened this issue Jul 13, 2021 · 1 comment

Comments

@m040601
Copy link

m040601 commented Jul 13, 2021

Thanks for your work in this vey interesting project.
I could not yet get it installed because of the excessive size of the mandatory dependencies.

In addition to the 500 MB go compiler, I had to hunt and peck for latex dependencies in a lot of different packages.

These are my suggestions to make optional what does not need to be mandatory.
This should make this tool more available for a wide group of users

Any suggestions are welcome.
Requirements

Make sure xelatex is installed (on MacOS you can use MacTeX) is following packages:

fontspec
calc
geometry
graphicx
fancyhdr
lastpage
xstring
libertine

All those packages should come with standard LiveTeX packaging.

I'm on Arch Linux, so please don't assume everyone will be using a Mac.

All those packages should come with standard LiveTeX packaging.

This is not the case.

For the basics I had to install 400 MEGA with

local/texlive-bin 2021.58686-3
    TeX Live binaries
local/texlive-core 2021.58710-2 (texlive-most)
    TeX Live core distribution

This is acceptable.

Though it was not enough. Because of fancyhdr I still needed more 50 MEGA

local/texlive-latexextra 2021.58668-2 (texlive-most)
    TeX Live - Large collection of add-on packages for LaTeX.

And finaly because of "libertine" I still needed

Repository      : extra
Name            : texlive-fontsextra
Version         : 2021.58704-1
Description     : TeX Live - all sorts of extra fonts
....
Download Size   : 535.82 MiB
Installed Size  : 1438.96 MiB.
...

At this point I decided not to install it because I was only installing 2 Gigabytes of latex only because of this tool.

Could you some how make this optional ?
Thanks in advance

@renard
Copy link
Owner

renard commented Jul 30, 2021

There are many things that can be done to improve papersave indeed.

I plan to use golang embed feature to extract the templates out of the code and make their usage / modification more flexible.
The embed feature wasn't available at time of writing the code.

One other feature would be to provide several exporters so the user would do anything he wants.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants