Live data from Hacker News

Begin LaTeX in minutes

github.com

121–130 of 175 posts

Re: Begin LaTeX in minutes

#121

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.

I switched from beamer (LaTeX) to markdown + pandoc for that very reason. Beamer was just too command heavy to be useful for quick slides.

Re: Begin LaTeX in minutes

#122

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.

I have written all of my books (Treading on Python, Pandas, etc) in restructuredtext. I have tools that convert said markup to epub and LaTeX[0].

There is some learning curve, but you can get LaTeX out of rst from docutils, Sphinx, or my tools.

0 - https://github.com/mattharrison/rst2nitrile

Re: Begin LaTeX in minutes

#123
post #35

From various tutorials I feel my knowledge of latex is very top down, and not very deep. I just recently realized that {} are not needed for singletons, so I may for instance write \frac12 for 1/2. Can anybody recommend a more bottom up guide? Something more similar to learning a programming language, where you start with the basic syntax and build on features iteratively? Is Knuth's book the best way to go? Or is th…

> I just recently realized that {} are not needed for singletons Trick question: What will you get by TeX-ing this document? $\acute a\acute{a}\acute{{a}}$\'a\'{a}\'{{a}}\end

Haha, great example on how my knowledge of the syntax is lacking. Does the first acute attach to the space rather than the a? Is the last one an error?

Re: Begin LaTeX in minutes

#124
post #104
post #99

Earlier quoted context omitted.

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.

Well, I'm not so sure if LaTeX renders the same in 30 years, given all the packages and their dependencies, that might also change. In fact, I'm not sure the document will even still compile by then.

Re: Begin LaTeX in minutes

#125

This is a good beginner doc. I'd never used LaTeX until about a year ago when I needed it to write a paper. The first thing I wondered was how to install it. Surely in 2015 installation would be a snap. It'd be in the App Store. Or Homebrew. Do not install LaTeX. Use it in the cloud. I use www.overleaf.com which is awesome. Similarly, I use www.draw.io to create PDFs for my drawings. \usepackage{microtype} \usepackag…

Biblatex is better than bibtex.

Re: Begin LaTeX in minutes

#126
post #60

Earlier quoted context omitted.

I used it for the language manual used on our compiler design lectures, thesis monthly reports and final thesis. Nowadays I just use Markdown, Word or Libre Office. In some projects at work we used Docbook and DITA, coupled with text processor like applications. Where Latex really shines is writing papers full of mathematical or scientifical notation, with a huge references section at end. I don't see a place for it…

I don't know, I don't find Word or LibrePffice documents to be very visually appealing. Maybe I spend a lot of time reading nicely typeset documents, but MS Office just doesn't cut it any more. You can compile from markdown to LaTeX, getting nearly the best of both worlds.

[deleted]

Re: Begin LaTeX in minutes

#127
post #104

Earlier quoted context omitted.

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.

Well, I'm not so sure if LaTeX renders the same in 30 years, given all the packages and their dependencies, that might also change. In fact, I'm not sure the document will even still compile by then.

If be surprised if latex didn't compile. Maybe people today make packages that break, buy I doubt it. The reason there are so many packages is because changes should only fix bugs. Not change current working behaviour. So bugs are typically defined as clear crashes.

Re: Begin LaTeX in minutes

#128

Earlier quoted context omitted.

This is also very true in my experience, and seems to be in large part caused by the absence of proper namespacing, scoping, and general rules about how packages should be implemented to minimize bad interactions. I feel like this is a significant shortcoming of Latex, and it really is a mystery to me why no one has seriously tried to write an alternative typesetting system. I know Latex is good enough for lots of ap…

There are plenty of alternatives. LaTeX is merely a TeX macro package. There are others, such as ConTeXt. Also, if you hate the pick-a-package mentality, there are LaTeX packages that attempt to do it all in one package--Memoir is one. You can elect to opt out of fancy layers on top of TeX and go with Extended Plain TeX or even just writing in plain TeX, which apparently Knuth did. Don't like TeX at all? Try roff (or…

The parent project seems to have stopped updating, but there are windows builds for a lot of stuff here:

http://gnuwin32.sourceforge.net/packages/groff.htm

Re: Begin LaTeX in minutes

#129
I just use TeX, never LaTeX. With TeX, the documentation is shorter and, IMHO, better written. That is, get to concentrate on just Knuth's The TeXBook -- nicely done technical writing.

With LaTeX, I suspect that really should also know the underlying TeX, but with some understanding of TeX can do just fine without LaTeX and all its extra considerations.

Re: Begin LaTeX in minutes

#130
post #94
post #67

Earlier quoted context omitted.

Most people don't want to learn about the LaTeX (resp. TeX) internals or typesetting in general, they just want to produce documents. Including a package and using its functionality is the easiest way to get started, but sooner or later you'll hit a wall. Writing LaTeX documents becomes easier once you understand the basics: plain boxes, positioning, macros, lengths, counters. Granted, you need to have a fair share o…

There are cool things happening around compiling markdown to LaTex. Especially funky things happen when you mix in R as well. Taking the strong sides of all three would be lovely.

Got any good examples? I'm looking for pretty much the same thing (not necessarily involving R, but definitely something that'll let me convert Markdown to LaTeX with relative ease).
Post reply on HN