18 ms·
TeX Live 2019
- fxfan 8y agoEDIT: Release notes: https://tug.org/texlive/doc/texlive-en/texlive-en.html# https://tug.org/texlive/doc/texlive-en/texlive-en.html# One technology that has stood the test of time- amazingly well designed TeX by Donald Knuth and LaTeX by Leslie Lamport. Plain TeX can be a bit beginner unfriendly because most beginners use LaTeX and experienced people have their own 'coding style' but it's amazingly powerful. I only wish somebody would add the minimum required primitives to plain TeX to render reflowable text in browsers and ebook readers TeX was designed for "beautiful" typesetting but it gives you much more control than that IMHO. I'd urge everyone to try it out once, I use it offline but I think overleaf.com allows for plain TeX too. (XeTeX may work best for unicode, it's plain tex + minimal additions for Unicode) On that note- I am not fond of PDFs because of their awfully poor unicode search support- does anybody knowledgeable know of a good target format I should use (and the appropriate drivers?)
- _emacsomancer_ 8y agoDoesn't Xe(La)TeX/Lua(La)TeX produce PDFs with decent unicode search support? What issues do you have?
- fxfan 8y agoXeTeX in particular does but my problem is with the uncertainty around the whole process and the frustration when a search fails on a 300 page document
- bfirsh 8y agoYou might like this LaTeX to HTML converter I'm working on: https://github.com/arxiv-vanity/engrafo https://github.com/arxiv-vanity/engrafo What primitives do you think need adding to TeX? LaTeXML, which powers Engrafo, does a pretty good job of converting plain TeX, as well as LaTeX.
- fxfan 8y agoThis is super cool, thank you for sharing!
- tadfisher 8y agoIronically, Computer Modern is terrible to read on computer displays. It was designed for ink and toner bleed, and looks great when printed on 1970s-era Xerox printers [1], but it's far too thin for digital rendering. I might suggest Bitstream Charter for a well-designed and readable analogue to CMR for digital use. [1] https://www.typografie.info/3/topic/22238-ist-die-computer-modern-wirklich-zu-d%C3%BCnn/ https://www.typografie.info/3/topic/22238-ist-die-computer-m... (German language)
- timClicks 8y agoA very good font family for screens that's openly licensed is Inter[2]. It's well designed and also quite versatile. [2] https://rsms.me/inter/ https://rsms.me/inter/
- khaled 8y agoThat is the Type 1 realization of it, the original Metafont outputs bitmaps tailored for the target device. Unfortunately no widely font rendering library supports Metafont directly, so they are often converted to Type 1 or OpenType and loose that capability.
- nanna 8y agoOut of interest, what are the advantages of LaTeXML over Pandoc's LaTeX to XML/HTML conversion? Why did you choose LaTeXML?
- pletnes 8y agoLast time I checked, pandoc’s LaTeX parser did not support too much of the TeX syntax. It only works for some subset of LaTeX, basically
- JulianMorrison 8y agoTeX is fundamentally not compatible with reflowable text because it's at the lowest level about putting glyphs in positions.
- sytelus 8y agoI fail to see any fundamental incompatibility. Every text renderer of any kind is about putting glyphs in positions. The layout would declare few things not moveable and algorithms needs to decide how to fit text around those constraints. The algorithms for TeX are computationally expensive but I don't see why with faster computers, you can't reflow the text. About 15 years ago it used to take dozen second to compile my typical PDF, now overleaf.com does that in just a second in browser.
- macleginn 8y agoCompilation seems to take place on the server.
- chongli 8y agoIt's still way too slow. Lots of the documents I've worked on recently have taken over ten seconds to compile on my 2017 MacBook Pro (touch bar). That's 3 orders of magnitude too slow for reflowing at 60hz when you resize a window. I doubt a laptop will ever be 3 orders of magnitude faster (in sequential execution) than the one I have now, radical post-semiconductor computers notwithstanding.
- JulianMorrison 8y agoIf you are outputting a layout for a reflowable medium like HTML or EPUB, you are not putting glyphs in positions. You are constructing graphical objects and defining their relationships (and how those relationships change based on form factor), and you are permitting the output device to render glyphs and put them in positions. This is why we don't use PDF for web pages.
- jhpriestley 8y agoThe web browser also "puts glyphs into positions." Neither HTML nor TeX source specifies positioning in the source format though. The same TeX document can be re-rendered at different page sizes, font sizes etc. Really not sure what fundamental difference you are seeing.
- mwfunk 8y agoUnicode search in PDF works fine, there are just a few issues that can cripple it for specific files, or specific files using specific PDF implementations. The following is advice for anyone working with the format, it should not be construed as making excuses for how PDF does things. It's a ginormous format with a ginormous spec that's been around for a very long time and has accumulated a lot of baroque qualities over the years. So I don't mean to condemn it, but I'm not exonerating it either. It is what it is, and if you have to work with it this might be useful. Anyhoo: Regardless of what one thinks of their other qualities, if a PDF can be searched in Adobe Reader or Acrobat, then the file is probably OK but the PDF reader that you were trying to search it with has a bug on its end (or more likely, some unimplemented dark corner of the PDF spec). On the other hand, if the file isn't searchable via Reader/Acrobat, then the problem is most likely with the authoring of the file itself. The most common thing that breaks searching is when instead of embedding all fonts used, a PDF refers to fonts by name from the local system. This can cause unpredictable issues when reading the PDF from another OS that can't resolve those font names. Another common breaker of search that seems to be much more common with TeX are workflows which somehow produce PDFs that have embedded Type 3 fonts. Type 3 fonts represent glyphs using PDF drawing instructions. It's less a file format than something that only exists as an embedded font within a PDF, but I've only seen them in the wild when authored by pdflatex or similar. It seems like TrueType or OpenType are the most reliable formats to embed across the most commonly used PDF implementations, but that's an educated guess. Type 3 font support is spotty in non-Adobe implementations. Finally, font subsetting might screw up search. Most software that knows how to produce PDFs can produce PDFs with embedded but subsetted fonts. This means the software that created the file embedded TrueType fonts (for example), but created a special version of the font for embedding that only contained the glyphs used in the PDF. Depending on the quality of the software used to do the font subsetting, the output PDF might not retain the mapping of glyphs back to Unicode characters. If that happens, text using that font in the PDF becomes unsearchable, but the PDF remains renderable. None of this is meant to excuse the shortcomings of the format, it's clearly overcomplicated and fragile. But when I've seen problems with searchability of PDFs, it's most often been with the software that was used to create the files, or how that software was configured by the author. And when it is a problem with the authored file itself, it's almost always because of fonts. Either the fonts aren't embedded, or they're embedded in a slightly oddball format that's in spec for PDF but not perfectly, universally supported by all of the various non-Adobe PDF implementations.
- Liskni_si 8y agoI haven't tried this myself but I think ConTeXt can output PDFs with embedded XML markup and even epub files. You need to use \startsection and \stopsection instead of just \section, and maybe there are other limitations, but it's a small price to pay, isn't it? https://wiki.contextgarden.net/Epub https://wiki.contextgarden.net/Epub https://wiki.contextgarden.net/Export https://wiki.contextgarden.net/Export
- Veen 8y agoThe problem is that browsers choose not to implement high-quality justification algorithms like the Knuth-Plass algorithm that Tex uses because it is computationally intensive. That’s why justified text looks like garbage on the web. There are some experimental JavaScript implementations, but without browser support reflowing high-quality justified text is a non-starter on the web.
- benschulz 8y agoMy assumption was also that performance is the reason we aren't getting more esthetically pleasing line breaking. Until I read a comment[1] by Philip Walton, who works on WebRender at Mozilla, that is. [1]: https://news.ycombinator.com/item?id=19473277 https://news.ycombinator.com/item?id=19473277
- Veen 8y agoI'm not a web developer, so take this with a huge pinch of salt, but, if floats are the problem, does that imply that with layouts that use CSS Grid or Flexbox, we could have a decent justification algorithm?
- jimhefferon 8y agoOh, thanks for this. Very intertesting.
- jfk13 8y agoHe's Patrick, not Philip.
- benschulz 8y agoWoups. Thanks for the correction. I think it's too late to edit my original post. :/
- wahern 8y agoSee also the 8-year-old Mozilla bug for a more detailed discussion: https://bugzilla.mozilla.org/show_bug.cgi?id=630181 https://bugzilla.mozilla.org/show_bug.cgi?id=630181
- pjmlp 8y agoKind of. I was deep into LaTeX during the 90's while at the university, my Lamport's book copy state reflects how much I used to refer back to it. Nowadays I rather prefer the convenience of something like FrameMaker.
- jimjimjim 8y ago? PDF works fine for searching. It depends on the document, a pdf page could be: 1) Text 2) An image of text 3) Lines/Curves that happen to be in the shape of letters/text If it's text it perfectly searchable. If it's one of the others the creator has to also OCR it and add the text behind the image or in front but invisible (no stroke or fill).
- syockit 8y agoIt could also be mostly text, but mixed with ligatures having their own codepoints (sometimes non-Unicode).
- jfk13 8y agoIf you set the \XeTeXgenerateactualtext=1 option in a Xe(La)TeX document, the resulting PDF will include ActualText annotations to support searching even in complex scripts with ligatures, character reordering, etc.
- gammarator 8y agoThought about updating, but the actual changelog is pretty underwhelming for a 5+GB download... https://tug.org/texlive/doc/texlive-en/texlive-en.html#news https://tug.org/texlive/doc/texlive-en/texlive-en.html#news
- dang 8y ago2017: https://news.ycombinator.com/item?id=14479200 https://news.ycombinator.com/item?id=14479200 2014: https://news.ycombinator.com/item?id=7912465 https://news.ycombinator.com/item?id=7912465 2012: https://news.ycombinator.com/item?id=4217525 https://news.ycombinator.com/item?id=4217525
- timClicks 8y agoOT but readers of this comment section are likely to know.. why is a LaTeX distribution 5.8GB in size[0]? That feels far too large for a tool that's been around for decades and primarily deals with text. [0] https://tug.org/texlive/doc/texlive-en/texlive-en.html#x1-18063r4 https://tug.org/texlive/doc/texlive-en/texlive-en.html#x1-18...
- tspiteri 8y agoI think it's in large part due to documentation and fonts. For example in my Fedora, I only have part of texlive installed. My /usr/share/texlive/texmf-dist is 1.3G, of which 428M are inside the doc subdirectory and 639M are in the fonts subdirectory. Then there are many packages that contain pictures or logos. As a single random example, texmf-dist/tex/latex/fithesis is 2.4M, of which 2.1M are in fithesis/logo.
- Isn0gud 8y agoFor macOS, there is a small BasicTex package: https://tug.org/mactex/morepackages.html https://tug.org/mactex/morepackages.html It is missing most packages though, but only ~76M.
- _pmf_ 8y agoIt's been in the GB range when I used it in the early 2000s. Always wondered that myself.
- mkl 8y agoBy default it includes pretty much everything anyone uses. Imagine installing the most popular 90% of PyPI or CPAN, and that probably gets the idea across. Without documentation (online is usually easier) and support for umpteen languages, it's less than half that amount of space. Even better, most of it is platform independent, so can be shared between operating systems; I use the Linux installer in WSL and tell it to install the Windows binaries, and it takes barely any more space but can be used transparently from either OS.
- nanna 8y agoIt's 5GB because it includes every single extendable package too, as well as their documentation (in PDF format, of course). There's a healthy TeX package ecosystem [0] Windows users have the option of installing via MiKTeX instead of TeXLive, the benefit being that MiKTeX has a package management system which installs the base packages at start and then automatically downloads the others as and when they are needed. [1] Not sure if that's possible in other OS'? [0] https://www.ctan.org/ https://www.ctan.org/ [1] https://miktex.org/ https://miktex.org/
- nanna 8y ago40 years of TeX! At this point it's worth emphasising that if you're a regular user of LaTeX - even and especially via Overleaf - and have a bit of spare change, please consider supporting the development of the project and the community by joining the TeX Users Group (TUG). https://www.tug.org/ https://www.tug.org/ Or a local group: https://tug.org/usergroups.html https://tug.org/usergroups.html One of the perks of TUG membership is that you get free TeXLive install DVDs sent to your door every year (as many as you need, in my experience). You also get a subscription to TugBoat, the TeX Users Group Magazine, which is full of curios for the TeX aficionado. [Edited to replace UK TUG group link with link to global TUG directory]
- arianvanp 8y agoWhat do I do with a DVD though? Can just download the tarball from online
- nanna 8y agoSure you can, if that's more convenient for you. Personally I find it much faster to install from the DVD, and I imagine I'm not alone.
- mruts 8y agoWhy don't you just use your package manager? That seems a lot simpler... and a lot less environmentally wasteful.
- jimhefferon 8y agoSometimes things in the package manager can be a bit out of date. For the great majority of LaTeX-ers it may well not matter, but some people want or need up to date. Some people also prefer the layout (where various configuration files are kept, for instance).
- mruts 8y ago
- sara123123 8y agoLol very funny dog dance Just try to control your laugh https://dai.ly/x770n1f https://dai.ly/x770n1f Even these birds have love in their hearts See how this Turkey saved the life of his friends https://dai.ly/x770n4q https://dai.ly/x770n4q
- bayareanative 8y agoMacTeX 2019 doesn't appear to be available yet and Homebrew isn't sufficiently wise to work with pre-releases in-advance to get formulas working sooner rather than later.
- m000 8y agoWhat are you talking about? MacTeX is already available [1]. MacTex is cask-only on Homebrew, so there's really not much to test in the formula. You should be able to bump up the version in the old cask formula and it should work. Having said that, installing from a cask doesn't make much sense for a program that releases a new version once per year. [1] http://www.tug.org/mactex/ http://www.tug.org/mactex/
- deg4uss3r 8y ago> Current release: TeX Live 2019 is available over the Internet and on DVD. It was released on 29 April 2018 ... Wait was this released yesterday or a year ago yesterday?