15 ms·
TinyTeX: A lightweight and easy-to-maintain LaTeX distribution
- osamagirl69 8y agoMy favorite part about this article is the extra wide space that follows their apostrophe character. It really gives an air of legitimacy to their LaTeX distribution...
- another-cuppa 8y agoApostrophe?
- mkl 8y agoLooks fine for me (Chrome on Android).
- weavie 8y agoIt looks like there is something wrong with the 'Microsoft YaHei' font. Removing that from the font-family fixes the huge space.
- lifthrasiir 8y agoIn the CJK typography quotes are traditionally as wide as other ideographic characters, with left quotes aligned to the right and right quotes aligned to the left. A Western typographical apostrophe is mapped to a right single quote in Unicode, resulting in a collision. They can only be distinguished by the context.
- deleted 8y ago[deleted]
- Koshkin 8y agoOn a tangential note, I wish there were a single-executable "distribution" of Plain TeX that would simply "do one thing well" - convert a TeX source to more or less nicely typeset PDF.
- taeric 8y agoI've found more than several tools that all basically complete this task. latexmk -pdf Foo.tex, being the most common one that I can remember. It is somewhat annoying that it will create so many temp files. I guess. I've gotten over it pretty heavily. (I actually regret not looking at the log file more often. I feel I should know how to read most of that.)
- JorgeGT 8y agoLaTeXTools in Sublime et al. will erase the temp files with a shortcut, plus you can add more extensions to clean in case you use packages that add more temp files.
- taeric 8y agoI think there is almost a rite of passage for people getting into latex to create their own build tools. :)
- geoalchimista 8y agoTry `latexmk -c` to remove all the temp files.
- taeric 8y agoI can add the help of latexmk to thingsi should read more. :)
- jpfr 8y agoHave you tried LuaTeX? If you use plain TeX (without requiring extra LaTeX files), you should only need the binary. LuaTeX is the successor of pdfTeX. Much improved. And it can use your local .ttf/.otf/... font files out of the box. The install is very minimalistic and should not require more than downloading a binary and maybe a config file. http://minimals.contextgarden.net/current/bin/luatex/linux-64/bin/ http://minimals.contextgarden.net/current/bin/luatex/linux-6...
- deleted 8y ago[deleted]
- dpwm 8y ago> If you create a tarball of TinyTeX on macOS or Ubuntu, it will be only 50MB This is excellent and has accelerated my long-term dream: an up-to-date TeX distribution that can live in my home directory in an lz4 (hc) squashfs archive (72M) and be mounted on an as-needed basis. UPDATE: As I had hoped, TinyTeX works in an lz4 squashfs. On my system it's actually a tiny bit faster under squashfs than from my ext4 home partition.
- bscphil 8y agoWhat is the advantage of having LaTeX in a squashfs if it's taking up space on your home partition anyway? I can't think of any reason to do this unless you want your LaTeX to be read-only for some reason.
- dpwm 8y agoYeah, I don't know why I said in home directory and just mounted when I need it. Might as well be mounted all the time and system-wide. It just all came out in some kind of rambling excited nonsense. The TeX Live packages are by far the largest on my system. Last time I looked there were loads of very small and moderately compressible files that caused space usage to be exaggerated. The only time the non-user TeX directories need to be writeable is to update or install new packages, so it doesn't matter if it it's read only most of the time.
- innocenat 8y agoTo be honest, when I am using LaTeX, I just want to write without any interruption. That's why I install texlive-full. Since I am (almost) guaranteed that whatever I encountered, I would be able to do it. Dealing with complexity of LaTeX and CPAN is not something I really want to do, especially when I am meeting (paper submission) deadline.
- bscphil 8y agoI agree, in the sense that this comes years too late for me and I would guess most other Linux users. It's easy enough on Linux just to install effectively all of the packages from your package manager, and the couple GBs it takes aren't enough to be a real concern (and I've got my root on an SSD!). However, I can see this being a real benefit to Windows and OSX users, who don't have a native package manager. If you're going to be in the unfortunate position of managing LaTeX packages manually, it would be great to have a low-friction way to do that and a minimal portable distribution to start with. My one actual criticism is the name: it should be TinyLaTeX. TeX and LaTeX are two different things.
- fiddlerwoaroof 8y agoTeX on Mac is nearly as painless as TeX on linux: you just install MacTeX via your preferred software installation method (I use homebrew, but in the past I've downloaded the 5GB dmg and used that), install it and everything pretty much "Just Works"
- _emacsomancer_ 8y agoI haven't used it in a long time, but MikTeX on Windows was really easy too back in the 2000s.
- MereInterest 8y agoThis would have been useful for me at one point, when I used LaTeX to make formatted pdf output for a program I was writing. (Making a RPG character builder at a time when I had lots of experience with LaTeX, but none with pdfs directly.) I ended up starting with texlive and making my own very stripped down distribution, with only the libraries that were used in the intermediate .tex file.
- pletnes 8y agoIn my experience, TeX needs some packaging/distribution love. Also in my experience, overleaf/sharelatex (web based) blows all of the local installation approaches out of the water. Especially with respect to collaboration with coauthors of your documents.
- FredFS456 8y agoSharelatex merged with (was bought by?) Overleaf a while ago. Now we're just down to using Overleaf v2.
- _emacsomancer_ 8y agoyou can still use v1 (but they don't make easy)
- ahriman 8y agoI grew irritated with texlive and instead just opted to use https://overleaf.com https://overleaf.com for my LaTeX documents
- blt 8y agoOverleaf makes you pay for the history feature, and for more than one collaborator. Not good for long term collaborative papers.
- chongli 8y agoThey also let you clone a git repo of your project, so you can painlessly move out of Overleaf when you find yourself outgrowing it.
- _emacsomancer_ 8y agoMaybe. The deprecated V1 lets you. I'm not sure whether V2 will, at least without paying $12/month.
- jimhefferon 8y agoFair, but they use texlive under the hood.
- Tarq0n 8y agoYihui Xie has been an incredible boon for the R & Pandoc ecosystems. Turning your R code into pdf or html is so easy I'm surprised language authors aren't scrambling to copy the feature.
- kylebarron 8y agoIt's because other languages like Python and Julia would usually just use something like Jupyter Notebooks, and those can be converted to PDF using nbconvert.
- craigsmansion 8y agoTeX people are unsung heroes to me and about as close to magic as software can get. It's like an ancient secret order that is keeping the world safe from word-processors. I have no idea of what they do, or how they do it, but I can't argue with the world-class results.
- MereInterest 8y agoAs with most things, it is largely a matter of practice and experience. There was a time when I was fast enough to take lecture notes in LaTeX, in courses where there were many formulas to be typeset. I did get an odd look from a professor one time, where at the end of a one-hour open-everything exam, I turned in a typeset pdf rather than handwritten answers. Sadly, I am not as proficient with it as I used to be, as it has way too much esoterica in getting the exact layouts you want.
- xvilka 8y agoThe biggest problem that most of the publishers still do not accept LaTeX submissions. Especially if you want to publish a book.
- romwell 8y agoHello from the world of math! Very sorry to hear about your sufferings.
- Mediterraneo10 8y agoThat depends on the field and the specific publisher. Since the turn of the millennium some scholarly presses have stopped accepting LaTeX; this is often related to outsourcing typesetting to Indian shops that are not LaTeX-savvy.
- kmundnic 8y agoSome time ago I was trying to include more than one bibliography in a document. After a day or so trying to make it work with the MacTex installation, I checked if it would work with ShareLatex. Worked at the first try, changing nothing in my files. From then, I never looked back. I only back up the ShareLatex projects in my Dropbox if for whatever reason I need offline access later. Has worked well so far.
- mechnesium 8y agoI think various flavors of Markdown have largely superseded TeX, at least for stylistic minimalists. I'm not saying that TeX is obsolete, but for the majority of use cases, Markdown is faster and less troublesome. Modernity always triumphs.
- _emacsomancer_ 8y agoExcept if you want a PDF version you're likely converting markdown->TeX->PDF
- graycat 8y agoFor 10+ years I've been a big fan of D. Knuth's TeX with Knuth's original macros Plain. I have about 70 TeX macros of my own. That setup is for all my higher quality word processing from ordinary letters to mathematics, and I regard it as fine. For that word processing, that setup is fine, a done deal. I looked at LaTeX, got the basic books, etc. and concluded that (A) Knuth's documentation in The TeXBook is relatively short, well written, and essentially totally free of bugs, and it is easy to write more macros and (B) the LaTeX documentation is much longer, less well written, for the internal logic much harder to understand, maybe with bugs if only from the length and complexity and being so big and complicated, and much more difficult for me to write more macros. So, I've just stayed with TeX and never used LaTeX except once when I downloaded a paper in LaTeX and wanted to format and read it. Lesson: TeX itself, the design, documentation, functionality, and code are really quite good, and for some people LaTeX may be less good. Don't rush to give up on TeX.
- mohammedbin 8y agoAs someone who prefers TeX- i'd say the comparison goes this way(very roughly)- TeX: * Assembly language or C of typesetting. Gives you fine control * useful when you have various differrnt formats and don't want to learn a new latex template for everything. LaTex: * Java of typesetting * Amazing set of libraries and very useful if you work on relatively few well defined formats.
- goerz 8y agoI have some projects where the continuous-integration-testing with Travis requires a tex installation. More than 50% of the entire test run is spent installing texlive-full (since Travis doesn't seem interested in including latex in their standard environment). Maybe TinyTeX will be able to speed this up?
- maxnoe 8y agoI wrote a python package to install texlive without user interaction in a customizable way. Not installing docs and sources already shaves off half. It takes ~5 minutes on travis when I only install what I need. https://github.com/MaxNoe/texlive-batch-installation/blob/master/README.md https://github.com/MaxNoe/texlive-batch-installation/blob/ma...
- purplezooey 8y agoThe other day I saw a resume written in LaTeX. Sorry, that's the height of pretension.
- samatman 8y agoCool story who do you work for so I can make sure never to send my resume
- deleted 8y ago[deleted]
- _emacsomancer_ 8y agoWhy? LaTeX is great for typesetting, and let's you focus on the content rather than the formatting. Perfect for resumes really.
- todd8 8y agoWhy? LaTeX is good at what it does, and there are predefined templates for high quality resumes in various layouts (for example see [1] and [2]). I've written more using LaTeX than Word, so it's easier for me (and others I presume) to produce good results for out of the ordinary documents, like a resume, in LaTeX. [1] https://www.rpi.edu/dept/arc/training/latex/resumes/ https://www.rpi.edu/dept/arc/training/latex/resumes/ [2] https://www.overleaf.com/gallery/tagged/cv https://www.overleaf.com/gallery/tagged/cv
- vfulco2 8y agoThe problem is many employers and headhunters demand MS Word. As a professional resume writer, I love the output of LaTeX which I use with rmarkdown and want to offer a cheap, easy way for DIYers to do their own. Inevitably, I will be asked to convert to the Word version. Still haven't gotten a good styles.docx file setup to do that.
- pinewurst 8y agoMy resume has been in LaTeX (now XeLaTeX) for many years now for my own convenience (separation of format from content) not pretention. Given that I distribute PDFs, I fail to see how its source format is relevant or even visible - not using Computer Modern fonts.
- xvilka 8y agoIt is notable that LaTeX development moved to GitHub [1] and anyone can send a pull request without much hassle. [1] https://github.com/latex3 https://github.com/latex3
- EdSchouten 8y agoShamelessly promoting something that I wrote myself: https://github.com/ProdriveTechnologies/bazel-latex https://github.com/ProdriveTechnologies/bazel-latex These are rules for building LaTeX documents using the Bazel build system. What's pretty nifty is that these download (parts of) TeXLive automatically, meaning that you don't even need to install TeXLive in your home directory. Instead, it's part of your project, meaning that everyone working on it will use exactly the same version of TeXLive.
- rambojazz 8y ago> YEAR: 2017-2018 > COPYRIGHT HOLDER: Yihui Xie and RStudio, Inc. what license is this? Is this software proprietary?
- pingiun 8y agoIt's CC BY-NC-SA 4.0, there's a license link on the top of the page.
- amai 8y agoOn Mac I prefer BasicTex: https://www.tug.org/mactex/morepackages.html https://www.tug.org/mactex/morepackages.html One can install it very simple via $ brew cask install basictex And it doesn't take ages to download and install like other TeX-Distributions. see also https://bilalakil.me/getting-started-and-productive-with-latex-basictex-on-os-x-terminal/ https://bilalakil.me/getting-started-and-productive-with-lat...