sharelatex icon indicating copy to clipboard operation
sharelatex copied to clipboard

missing latex packages: siunitx, minted

Open grollinger opened this issue 9 years ago • 8 comments

[EDIT: Original Issue Title: Sandstorm package does not support lualatex] Could you please add that ?

grollinger avatar Nov 16 '15 23:11 grollinger

Thanks for reporting this!

I just published a new version in which I believe this is fixed. https://apps.sandstorm.io/app/5vuv7v0w7gu20z72m78n83rx9qqtqpmtk32f39823wh967z226qh

Could you re-install (or wait for an auto-update), retry, and let me know whether it works?

dwrensha avatar Nov 17 '15 04:11 dwrensha

Yes, lualatex now works.

However... it doesn't seem to be able to find some latex packages.

For example, i am using siunitx which does not work.

Should it be able to get new packages?

grollinger avatar Nov 17 '15 14:11 grollinger

No, there's currently no way for you to add latex packages as a user; I need to include them when I package the app. It looks like it'll be pretty easy for me to include texlive-science, which includes siunitx. Are there any other packages that you'll need?

dwrensha avatar Nov 17 '15 14:11 dwrensha

Below are the packages i currently use in my document. Most of them are probably already supported.

I also use the Consolas font, which might be hard to add, since it's a windows font and i don't know about the licencing... but doesn't hurt to ask, does it?

In any case, thanks for the immediate assistance :)

% Packages \usepackage{polyglossia} \usepackage{siunitx} \usepackage[bookmarks]{hyperref}

% is this even compatible with ShareLaTeX? ( also needs pygments \usepackage[newfloat]{minted}

\usepackage{caption} \usepackage{subcaption} \usepackage[skins, minted, breakable]{tcolorbox} \usepackage[xindy]{glossaries} \usepackage{cleveref} \usepackage{nameref} \usepackage{csquotes} \usepackage{tikz}

grollinger avatar Nov 17 '15 14:11 grollinger

I'm not sure about the Consolas font. I think it should be possible to include those packages, including minted, as they do seem to work at sharelatex.com. It looks like it's going to take a bit of configuration, though, and I don't have time to work out the details right at this moment. I'll keep this issue updated.

dwrensha avatar Nov 17 '15 14:11 dwrensha

this could be renamed to "allow adding latex-packages", so we dont have to open a new issue for each latex-package :-)

Finkregh avatar Nov 17 '16 08:11 Finkregh

How bad would it be to add every package from CTAN?

I have a permanently growing list of packages I use... Could it be possible to add packages just like images per Project?

I think it should be possible to convert .sty files to .tex files and \input{} them in the main.tex file. There are few differences to normal LaTeX-code, (I'm only aware of the different use of the '@'-char but maybe I'm wrong.) Could this be a easy solution?

theNinetyninth avatar Jan 13 '17 02:01 theNinetyninth

This issue was moved to sandstormports/sharelatex#1

xet7 avatar Sep 04 '18 13:09 xet7