Modern LaTeX Replacement?
javierzinho writes "For many years I have been using LaTeX to compose scientific documents, but truly I am getting tired of its complexity. You have to install new packages for new features, compatibility issues are everywhere, you need to know commands for everything, table composition is torture, image insertion is an odyssey if you don't have the 'right' format, and you need to be a LaTeX Jedi master to create a new document class. I'm looking for a document processor (not a word processor) that is a viable replacement for LaTeX, possessing all of its advantages — consistency between text and math text, automated cross references, direct PDF creation, etc. — but that is not stuck in the 1980s with the compiler metaphor and weird font technology. An application with visual interface and so on. I've tried Scientific Word and Lyx but both are front-ends for LaTeX. Publicon only produces PDF files by exporting to LaTeX and subsequently using pdflatex. Add-ons for MS-Word are a joke, and webEq is intended for web publishing, not for PDF production. Does anybody know of a decent, scientific-structured document processor that is a modern application?"
Framemaker?
http://lout.wiki.sourceforge.net/FAQ
Remember, when you're doing highly technical writing like that, you're literally out at [or beyond] the top 1% of 1%.
The sad truth of the matter is that the servicing of highly technical writers just isn't a very big market [and, barring something like artificial manipulation of the genome, will NEVER amount to a very big market], and you're gonna be lucky if anyone bothers to release a product for it.
Heck, we mathies ought to count our lucky stars that Knuth ever took the time to design TeX in the first place.
I find this funny that I just learned LaTeX two weeks ago. I ported my entire thesis over to LaTeX and have had nothing but professional and consistent results.
What's the problem with it, again? It doesn't have a fancy GUI? It works great for me.
PlAsTiC?
Well what's the replacement? Word/Writer are garbage for writing research papers or theses, so what else is there?
PowerPoint, of course. To handle the math expressions, just use Comic Sans. That makes it look like the math problems were solved with a pencil, the way a real mathematician would do it.
It's called typesetting and, unfortunately, LaTeX is still the freakin' best.
What do you mean by "unfortunately"?
Unfortunately no software since [LaTeX] has come close to the feature-set and quality of LaTeX.
It is LaTex, but made easy. Made very easy. It's managed by a co-worker and friend of mine, so I may be biased. But he's done some exceptional work with it (including many internal manuals here at Red Hat). So check it out. He is a big KDE fan, so it's made the transition to QT 4 recently and it looks fabulous. http://www.99b.org/wyneken/
I've taken a couple of stabs at LaTeX through the years. I have no real need for a proper type-setting platform like LaTeX because I am not in the world of academia that demands it, so I was never able to get past the learning curve imposed by LaTeX.
Now, let me say... I get it. I understand how invaluable it is to submit a paper in a format so less time can be wasted "making it pretty" and more can be spent on the meat of the work. That fact doesn't elude me.
What I never figured out was how to download a stinking template from IEEE and start writing a document. I never figured out how to compose my own document type so I could use it to empower the written arts that I am interested in. I never got past the hurdle, so to this day I still use OpenOffice Writer as my word processor and haven't been able to "transcend" to a proper type-setting program so make all the boring formatting tasks easy.
I even read the LaTeX Wikibook a number of months ago and this didn't even get me over the hump on my way to publication.
So, I echo the sentiments of the article submitter. LaTeX is hard, and either better documentation or a better alternative is needed to make it accessible to the rest of us.
Support the 30 Hour Work Week!!!
What sets TeX apart from other formatting systems is that it has a mathematical foundation. At it's core, TeX has a metric for how "good" a document looks and formats it to optimize that metric. Someone who wants to make a better TeX will have to have a thorough understanding of the math behind it (e.g. some "goodness" metrics are known to be NP-hard). See "Knuth-Pass line breaking" for just the tip of the iceberg on this.
So, yes, it will take someone who is a wiz at math, computer science and user interfaces (?) to overthrow TeX.
So tell the AAAS that... http://www.sciencemag.org/about/authors/prep/docx.dtl "Because of changes Microsoft has made in its recent Word release that are incompatible with our internal workflow, which was built around previous versions of the software, Science cannot at present accept any files in the new .docx format produced through Microsoft Word 2007, either for initial submission or for revision. Users of this release of Word should convert these files to a format compatible with Word 2003 or Word for Macintosh 2004 (or, for initial submission, to a PDF file) before submitting to Science.
Users of Word 2007 should also be aware that equations created with the default equation editor included in Microsoft Word 2007 will be unacceptable in revision, even if the file is converted to a format compatible with earlier versions of Word; this is because conversion will render equations as graphics and prevent electronic printing of equations. Regrettably, we will be forced to return any revised manuscript created with the Word 2007 default equation editor to authors for re-editing. To get around this, please use the MathType equation editor or the legacy equation editor included in previous versions of Microsoft Word, which can be accessed from "Insert Object" from the "Insert" ribbon in Word 2007."
Um... I don't think Word is an answer
I asked a mathematician how to solve constipation and he said, "Work it out with a pencil."
So I did.
I'm just glad I didn't ask an engineer or I'd have had to use a slide rule.
1.Netcraft confirms:In Soviet Russia all your base welcomes a beowolf cluster of CowboyNeal overlords. 2.? 3.Profit!!1!
Check out PrinceXML. It actually adds footnotes, page number, and all that stuff to standard XHTML+CSS. It has already been used to typeset a book, and it looks quite nice. The authors of the one book have talked about their experiences with it
Their tool renders into PDF, but the same based XHTML will work in a web browser, giving the option of having the same document look good on paper and on the web.
There is also a Google Tech Talk on PrinceXML
...LaTeX is still the first choice. It is more robust, and gives the user more control over appearance, than anything else I've seen. Kinda like the original post says, if it's not relevant anymore, what's the alternative?
Polyurethane. A little more expensive, but thinner and hypo-allergenic.
The next thing you know someone will ask for a replacement for vi.
I Heart Sorting Networks
> LaTeX is hard
You're probably applying it in layers that are too thick.
Bogtha Bogtha Bogtha
Let the hate commence. Anyway:
XSL-FO is another markup language, but there's a good bit going for it, not the least of which is an application that renders it directly to PDF: http://xmlgraphics.apache.org/fop/
The main good thing about FO is the ability to take advantage of related XML technologies to help you generate the documents (and the various tools that you can use to generate them). You can embed SVG diagrams and MathML if you're comfortable with the namespaces; FOP can definitely render SVG via Apache's Batik project (which is also very good) and I'm pretty sure will also render inline MathML via an optional plugin. A lot of people mentioned OpenOffice, and the cool thing there is that since the documents it generates are XML documents (I'm pretty sure its equation editor emits MathML), you can use XSLTs to transform the documents that it generates into XSL-FO documents for rendering.
The obvious missing feature is the WYSIWYG app, but you'll find a bunch of links at the W3C's XSL-FO site.
Anyway, like I said, let the XML hate commence.
C
The Sun is proof that we can't even do fire properly.
First off the font system is purely a legacy thing, since Tex predates pretty much all other currently popular font tech. So could LaTeX be retrofitted to use TrueType for everything? Probably. In a 100% backwards compatible way? Only if a genius pulls a freaking miracle out of his butt.
You just described XeTeX. Here's a list of the features, taken from Wikipedia:
XeTeX is a TeX typesetting engine using Unicode and supporting modern font technologies such as OpenType or Apple Advanced Typography. [...] XeTeX has simple font installation and can use any installed fonts in the operating system without configuring TeX font metrics. XeTeX uses AAT when working on Mac OS X using the xdv2pdf driver, or FreeType using dvipdfmx (which is the default on Windows or Linux). As a result, XeTeX can access font features such as alternative glyphs, special ligatures, swashes and variable font weights. Support for OpenType local typographic conventions (locl tag) is also present. XeTeX allows even raw OpenType feature tags to be passed to the the font.
I've written my research proposal using XeTeX and modern typography, and am in the process of typesetting an entire book with the same foundations.
A quick note for unfortunate souls who actually try googling "Knuth-Pass line breaking", it's Plass, not Pass.
Where is badanalogyguy when you need him?
Well, ya see this just like a guy who has got a bitchin' Funny Car with eight cylinders and 500 ci of displacement, cranking out 8,500 hp. The only thing is that he is getting a little nervous juicing it up with nitro and was looking for something with as much performance with less risk of swallowing a piston.
And then you come along offering a Toyota Prius because it gets pretty good gas mileage and you think it has some pep. Of course you aren't sure, because you haven't actually taken it on out on the highway.
Make PDFs of two documents with square root radical formulas, one in OO.o, the other in Office (Equation Editor/MathType). Compare: The OO.o version is _really_ ugly and is not a continuous sign when you zoom in on the PDF view. The Office one, while not perfect is at least decent.
This is not a stupid question. Let me say at the outset that I avoided LaTeX for years and boy, was I wrong. LaTeX proponents often talk about the pretty formatting, but for me the advantage is the robust document structure you easily create.
LaTeX pretty much requires you to create a structured document, and the document class you're using automatically handles the formatting, display, and numbering, and it is easy to do extensive cross-referencing of equations, tables, figures, etc. By structured I mean that you create entries like
\section{This is my first section}
This creates a new automatically numbered section, creates a formatted section head, and resets all equation and subsection numbering. Entries automatically show up in a table of contents if you elect to create one (a one-line command). If you create structured technical documents, it's fantastic. Tables are a pain, but for me that's the one big weakness. And the more you have to control the detailed formatting of specific pages (which I don't need to do), the less you will want to use LaTeX.
Yes you can do all this in Word or OpenOffice, but it requires setup and in my experience almost *no* user of those programs bothers to do it. It's just too much of a pain. With LaTeX, on the other hand, it's hard to extensively change the default formats (this is what the OP meant by creating a new document class) but the standard classes for articles and books are fine for many people. New LaTeX users have to overcome the urge to tweak the formatting. Once you just leave it alone, it's liberating. You can focus on content and logical structure, and the result is a decent-looking document.
It appears to me that there is a movement *towards* the use of LaTeX in economics (my field), most commonly by using Scientific Word. This is just an impression, and I can't speak about other fields.
Finally, the experience one has with LaTeX will depend on the front end (which can simplify entering equation and structure commands). Lots of folks use Scientific Word. I use Emacs/AucTeX. I am *very* happy with that combination.
Well, really it's called \LaTeX, which renders all in caps with A a raised smallcap; the E subscripted; and the "X" a $\Chi$.
But who gives a shit anyway?
"They were pure niggers." – Noam Chomsky
It's not as bad as it seems.
Let me begin by explaining how I came to use LaTeX. One of my friends pointed me to LaTeX. I read the Not so short Guide to LaTeX and loved the thought behind it. I used it for everything. Biology, chemistry, physics, math, papers, letters, essays, type setting in other alphabets... The list goes on and on.
And I discovered something: while it has a steep learning curve, LaTeX is easy. The problem is that people don't grow up using it.
That said, there are some poorly designed packages... These can be difficult to use... Just search ctan and read documentation till you find one that you like...
First of all, you have zero chance of finding anything better than LaTeX for mathematical/scientific typesetting. However, there are ways of solving lots of the problems you mention without chucking LaTeX out the window.
Above all, be patient, and be open to learning. It's understandable that you want to do powerful and flexible document processing, without having to learn a whole bunch of commands. Unfortunately, this has a lot of similarity with people who want to program computers without learning a programming language. ("Why can't the computer just understand what I want it to do, in plain English?") Any program powerful enough to do everything you want is also powerful enough to do lots of things you don't want -- and because the computer can't read your mind, you have to learn how to tell it exactly what you want.
Cheers,
IT
Power corrupts. PowerPoint corrupts absolutely.
[disclaimer: I am the main author of LilyPond, a system that you could easiest describe as "LaTeX" for music notation]
The problem is not with TeX. Knuth is mostly as brilliant as people say he is. The problem is that
1. the extension infrastructure of TeX is very outdated (WTF, a macro expansion language?)
2. the development ecosystem around TeX is filled with souls that are of lesser stature than Knuth. They're mostly people that need to write mathematics (physicists. mathematicians), as opposed to people that know how write software.
LilyPond back in the day used TeX as a backend engine, and I vividly recall all of the brokenness I encountered in the support-tools that surround TeX (dvips, xdvi, etc. etc.). Things have gotten a lot better now that we have pdflatex - it cuts a whole truckload of crappy tools out of the document pipeline.
Font handling remains atrocious. In case you're wondering: someone was bright enough to base parts of the fontsystem on the DOS 8.3 restriction, so URWGothicL-Demi is and will be called uagd8a forever inside TeX -and worse- if you have to add a modern (OTF, TTF) font, you have run scripts to make LaTeX's font subsystem understand these files in terms of the ridiculous naming scheme.
People get hung up over TeX's beautiful formatting algorithms, but they are not actually that complicated, and by todays' standards TeX is a small program: tex.web is just 25k lines, and that includes its ample comments. LilyPond has page layouting and line breaking that is far more complex.
The real problem with typography, whether for music or documents, is that it's full of traditions that predate automatic processing, and are not specially suited to computerizing. For example, in some language words change their spelling/typography when they get hyphenated (eg. the German eszet letter which hyphenates to s-s).
IMO The challenge is designing the software such that these idiosyncrasies can be captured effectively without hardcoding them, so people can create their own idiosyncrasies.
As for the original poster's question, the system that looked the most convincing to me is Lout, but I have never tried it out.
Han-Wen Nienhuys -- LilyPond
Know what's harder than LaTex when you need math typeset correctly? Anything that's not LaTex.
How many times can one person +5 for saying the same thing repeatedly in the same topic?
I don't know if this is the case for you, but I find most people who find LaTeX hard are using it wrongly. Specifically, they are trying to precisely control the formatting, placement, etc. etc. of everything in their document. This is, pretty much, how you use today's WYSIWYG word processors. It's very cumbersome and arcane to do the same in LaTeX, and the results don't usually look very good in either case.
The right way to use LaTeX is to basically enter the semantic structure of your document, let LaTeX do all the typesetting, and then tweak it a bit as necessary. Realizing this was the point where I stopped fighting with LaTeX and started letting it work for me. I've been getting compliments on how beautiful my documents are. There's a lot of typesetting knowledge encoded in LaTeX, and, really, it probably does a better job than most of us can hope to do. One particular example I like to share is that, when I took my thesis to the printer, he remarked how glad he was that, finally, someone had thought about making the margins large enough that the text would be readable once printed and bound. I hadn't. But LaTeX had.
Incidentally, the above is also why I don't see a lot of value in WYSIWYG editors for LaTeX. On the one hand, being able to see what your final document will look like while you are creating it is good. On the other hand, it makes it very easy to fall into the trap of spending all of your time correcting this or that perceived layout error, instead of getting your actualy work done while letting LaTeX do the typesetting. I am not even sure WYSIWYG can be made to work right; a lot of algorithms in LaTeX are simply slow, and changing even one letter can cause your text to jump around, which is very annoying while editing.
Then, of course, there is the matter of commands. I recognize that having to type in commands is a significant hurdle for many people. Being a programmer and having a lot of experience with HTML, this isn't the case for me - I am used to using commands. As a programmer, I actually see LaTeX as having an advantage here: by defining new commands, you can automate repeating tasks and increase the maintainability of your code...err...document. I don't actually do this a lot, but it's very nice to have that ability for when it's useful.
All in all, I won't deny that LaTeX is hard. I know it is. On the other hand, I am not actually sure it is harder than Microsoft Word, which, in my experience, is its main competitor. Although Word is probably easier to get started with, learning the basic LaTeX necessary for creating a simple document is really not that much work, and the documents you produce will look a lot better than what Word produces. When you get to more complex documents, I find Word has a tendency to screw up - it will crash and/or eat parts of the formatting or content of your document. Granted, that's bugginess, not something inherent in WYSIWYG word processing, but it still ends up causing you a lot of frustration and losing you a lot of time. I've never seen LaTeX do this, and, even if it did, you would still have the source code of your document - at the very least, all your content is still there.
So, there you have it. My opinion, my experience, with input from quite a few others - LaTeX users, non-LaTeX users, and "I tried LaTeX but couldn't figure it out" users. In the end, my conclusion is that LaTeX is far from perfect, but it's still the best.
Please correct me if I got my facts wrong.
I can't help but question the complaints on the complexity.
I'm a hard-core TeX user. Not a LaTeX user (sorry, I disagree violently with Leslie Lamport's aesthetics, and the code just isn't solid enough), but a TeX user.
Although TeX may be at times frustrating, there are two things that I know to be true, and provide comfort:
1. Although there may be opacity in the system, logic and rationality pervades its design, so that, given sufficient time and effort, I can understand exactly what, how, and why something works or does not work the way it does. This is huge. I will never, ever, understand many of the operational choices in OpenOffice and Word because they are not based on a rational, logical framework, leading to the impression that they are both horribly idiosyncratic.
2. TeX is bug free. If text isn't laying out the way I want it to, it's because my code is not correct, not because there's some problem with TeX. In contrast, I've lost track of the number of bugs I've seen in OO and Word.
You can, and should, clamor that LaTeX is not bug free. It isn't, and very often the packages distributed for it are riddled with bugs. The IEEE Transactions class is one, embarrassing, example. But then, if you roll your own packages, like me, you have no one else to blame when they don't work correctly, and can take comfort that when they do, you've done a good job and your documents are beautiful.
The biggest problem with any of the WYSIWYG editors I've used (and, having typeset two conference proceedings that solicited contributions in LaTeX and Word, I've seen many and varied instances of this) is that the settings are not explicitly represented in the visible document, and so become hidden and often missed. If you aren't careful, it's very easy to have one paragraph appear in a slightly different font than the next, or to have one stretch of lines be ragged right and the rest be fully justified, or have the hyphenation settings change from one portion of the document to the next. It's horrible, and fixing this is a royal pain. Having explicit formatting within a compiler paradigm is the only way to go when producing professional quality documents.
Put my fist through my alarm clock with its ding-dong death inside my ear. - The Blackjacks.
I dunno. How many times can one person +5 for saying the same thing repeatedly in the same topic?
at least 3...
The best (only?) way to learn and write in LaTeX is to take another person's example file, and modify it with your own text.
When it comes to typesetting, never do anything yourself. Steal, steal, steal.
You know, this is actually a good analogy to the original problem presented.
Mod him down! ;P
[http://it-tastes-so-good.blogspot.com] Are you hungry?
> I use vi+latex to write my papers
Pfft. It's 2008 now, time to use a modern text editor and typesetter. I recommend vim+LaTeX.
"And there be unix which have made themselves unix for the kingdom of heaven's sake." - Matt. 19:12
No shit. This is bizarre to me:
For many years I have been using LaTeX to compose scientific documents, but truly I am getting tired of its complexity. You have to install new packages for new features, compatibility issues are everywhere
LaTeX is the pinnacle of "what you did 10 years ago will work beautifully today". If you are installing new packages willy-nilly, something is horribly wrong.
I have assignments I wrote for a group theory class in 1993 that render exactly the same today as they did then. That is, in fact, the reason that Metafont uses e (2.718...) and TeX uses pi (3.1415...) as their version numbers. There are no changes in functionality these days; they only correct true bugs.
Indeed, Knuth has said the reason for that is so that documents written today will render the same in 20 or 100 years. New versions are legally not allowed to change the behavior or typesetting of the program without changing the name to something other than TeX. And as a user, that's completely true. If you learned it in 1995, you know it now.
The story is really, truly bizarre to me. Given that it's railing against a central tenet of TeX, I would expect some explanation other than "truth by assertion".
rage, rage against the dying of the light
How many times can one person +5 for saying the same thing repeatedly in the same topic?
GNU TeXmacs is the best document processor out there. It is also Free as in speech. It is inspired by TeX, but not a frontend for LaTeX like LyX as many believe. It will import your old LaTeX documents. I've used it to write my thesis (100 pages plus many, many figures and photos) and it works excellent, because you don't have to worry about layout. It just produces beautiful text and math.
http://www.texmacs.org/
Know what's harder than LaTex when you need math typeset correctly? Anything that's not LaTex.
Agreed, I just finished my PhD thesis in Latex ac ouple of months ago and I have say that I like Latex quite a lot.
Although Latex is not for everyone, once you get to know it, you will see all the benefits. For example, just yesterday a colleague was preparing a paper to submit for a conference, in word (2007 no less) and he spend about 4 hours (or more!) getting the references right. In latex, a combination of using the JabRef [bibtex] database and \citep [Natbib] take care of the references for me.
Not to mention indexes, references (I work in the same Word paper I mentioned putting references in word, having to mark, insert a label, then insert reference, sheesh!).
Similarly, just about two months ago (for my Viva) I decided to "learn" to use Beamer to do my presentation. I tried to do it in Lyx, but I felt like if Lyx prevented me from doing things, I finished going back to Kile and doing my presentation in Latex + beamer.
BTW, for those of you who hate the Maths package available in Microsoft Office, I would recommend Texpoint. That lets you edit your formulas in Latex inside powerpoint, and creates an image (png IIRC). That is what I used (before going to Beamer).
Ubuntu is an African word meaning 'I can't configure Debian'
Will all you Nazis just bugger off? That's right, I'm the Nazi Nazi.
NO SOUP FOR YOU!!
That's right, I'm the... well, you get it.
-1 disagree is not a modifier for a reason. -1 troll, flaimbait, redundant, overrated are NOT acceptable substitutes.
But I thought the Nazis were anti-semantic.
I hope this comment is well received... I could have moderated instead!
Persecutors will be violated!
Well, because silicone is what goes INSIDE, latex is what goes OUTSIDE, duh.