Live data from Hacker News

Begin LaTeX in minutes

github.com

101–110 of 175 posts

Re: Begin LaTeX in minutes

#101
post #21

It lacks the most important LaTeX tip, don't fight the machine. LaTeX is really good at getting documents that look 90% as good as an actual typesetter could make them look, if one can live with somewhat conservative looking documents. The last 10 percent, fixing margin width, changing paragraphs and so on, are incredibly hard with LaTeX. (Of course LaTeX defaults are a lot better than word, largely because LaTeX aut…

I get your point, but you're really exaggerating the difficulty of changing margins, paragraph spacing, and similar things. It's easy with straight LaTeX, and even easier with the "geometry" package.

Yes, to address to criticisms of your comments and siblings, in my experience if you start changing fonts, then you need to change margins and paragraph spacing, and down the rabbit hole you go. The thing is, a small change is not very complicated, but the defaults are also really good. So if you just want to get below a certain page limit, then it is easy to change the margin. If you start to wanting to improve the overall look of the document, then it is usually a much better idea to play with different packages were someone else already did the hard work instead of trying to improve details by yourself.

Re: Begin LaTeX in minutes

#102

Earlier quoted context omitted.

I don't suppose you have your recipe system online anywhere? I've been contemplating making one for a while (I really like the recipe cards on cookingforengineers.com)

No, it is a nasty mess of shell scripts and Haskell, though mostly Haskell now. (There used to be XML for recipes, what a mess.) It is useless to others without documentation, which would take a long time to write. Maybe one day. It makes grocery lists with items in categories, which saves me so much time that I have been using it every week for years. But if someone made something decent I would happily pay for it.

Heh, that sounds like a very neat system. The category for shopping especially so.

Re: Begin LaTeX in minutes

#103

Spoiler alert: you will not master LaTeX (nor anything) in minutes. I have written my master thesis on sharelatex.com, the first months have been painful but at the end I had a great feeling of having achieved something. I still not consider that I master LaTeX but at least I can now use it for any standard documents and draw graphs and math formulas with ease. I really suggest developers to use LaTeX to create their…

Even years after Norvig's essay people still attempt to master skills in days or less!

[deleted]

Re: Begin LaTeX in minutes

#104
post #99
post #86

Earlier quoted context omitted.

Try writing a 300 page book in HTML, create citations and bibliographies, table of contents etc. Then convert it to a pdf, say using Pandoc and then you will have a better understanding where TeX/LaTeX fits in. Write also some complicated formulae using MathML. Save the document and render it again in 30 years! TeX was designed to typeset a document always the same way on any machine that could run it. You can typese…

I'm not saying that HTML is totally suitable, but a slight modification of it could be, and it would be a lot simpler to use than TeX. And who says that it could not be rendered in the same way in 30 years? By the way, the one thing that disappoints me most about LaTeX is that you often cannot nest one environment in another without running into issues. In HTML the "composability" is much better.

Have you ever looked at "bare" latex? It really isn't any more complicated than html. Especially early html.

But you are being somewhat naïve on the render in thirty years point. Html from two years so probably renders differently today. Never mind how different it is on machine that is rendering it.

So, could someone have made a simple one? Maybe. Evidence looks unlikely. Plenty have tried.

Re: Begin LaTeX in minutes

#105
The author mentioned ShareLaTeX but not the other popular cloud service overleaf.

I actually would have done the same given my experience with both. Recently I tried out overleaf in order to allow others to collaborate on a paper. However, what was compiling perfectly fine on my local machine just refused to compile on overleaf, keep throwing me error related to $ symbol even though I did not use $ symbol at all (I used my own bst and cls). After googling for 30 minutes without finding a fix, I gave up and turned to the alternative, ShareLaTeX. It compiled perfectly with no errors on the first try.

Re: Begin LaTeX in minutes

#106

The author mentioned ShareLaTeX but not the other popular cloud service overleaf. I actually would have done the same given my experience with both. Recently I tried out overleaf in order to allow others to collaborate on a paper. However, what was compiling perfectly fine on my local machine just refused to compile on overleaf, keep throwing me error related to $ symbol even though I did not use $ symbol at all (I u…

Note that ShareLaTeX is entirely free software licensed under the GNU Affero General Public License[1]. Which makes it much better than most cloud services (you can self-host it if you want). In particular, it looks like overlaf is not free software which is pretty ridiculous given the competition[2].

[1]: https://github.com/sharelatex/sharelatex [2]: https://www.overleaf.com/help/17-is-overleaf-open-source

Re: Begin LaTeX in minutes

#107
post #82

Overleaf.com is really nice too, if you work with others (e.g. on academic papers). The most painless papers I've ever written were with other competent people using LaTeX and overleaf. ShareLatex is good too, I'm not sure if you can autosubmit to journals and preprint servers with it though. That last feature is terrific for academics -- it's how publishing should work, but usually doesn't. I spent the same amount o…

Note that Overleaf.com is proprietary, while ShareLaTeX is completely free software under the AGPL (and self-hostable).

Re: Begin LaTeX in minutes

#108
post #18
post #9

For any poor soul that has to write LaTeX for whatever reason but doesn't want to bother installing anything, I cannot recommend https://www.sharelatex.com/ enough.

I'm currently using Overleaf[1]. It has collaboration (no live tracking) in the free tier, support for BibTeX with auto-import from Zotero, auto-complete and syntax highlighting, and works completely in the browser. [1]: https://www.overleaf.com

Note that ShareLaTeX is entirely free software (under AGPL) and self-hostable. Overleaf is not.

Re: Begin LaTeX in minutes

#110

Stupid question: Outside of the maths heavy documents, could markdown or restructuredtext be a substitute to Latex nowadays? It is a lot easier to learn and use.

LaTeX is more like XML or HTML than Markdown or rST.

One could duplicate the functionality of LaTeX with a superset of rST or Markdown. Case in point: Sphinx. That's essentially writing your documents in a combination of rST and Python.

Post reply on HN