LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 12-30-2012, 09:41 PM   #1
Garda
Member
 
Registered: May 2005
Distribution: Debian
Posts: 83
Blog Entries: 2

Rep: Reputation: 15
Recommendations for typesetting language


Hi,

I would like to select a typesetting language in which to type up my notes. I have several criteria and would like recommendations for people familiar with such languages. (examples of typesetting language may mean LaTeX, reStructured text, orgmode files in Emacs, Perl .pod files etc.)
  • Ease of use/predicability: In this case, Latex would be the worst option. I quite like the Sphinx package for Python because the commands are reasonably straightforward, there are not too many of them and it doesn't seem as random and "touchy" as Latex can be (which I have found to be really difficult to figure out or get to do exactly what I would like sometimes).
  • Convertability: That is, it can output to various different formats. Orgmode is great in this regard because it outputs to almost every concievable format. .pdf, latex, html, .odt.
  • Readability: Something where it is quite ok to read the input file itself. ie. Latex would probably be the worst case here because the input files are so complicated that one really needs to use the outputted files to be best read the notes. Other formats have a "lighter" syntax.
  • Longevity: I would like something that is still being maintained and compilers/processors for which will still likely exist a long time from now. I guess Latex, being the format in which most journal publications are written will be around for a very long time, even if it's not the most popular standard.
  • Attractiveness: Not a big issue, but something where the output looks nice enough. If you look at the usual html output of an orgmode file, it is hardly impressive.

I have only given a few examples of possible formats, but welcome any examples.
 
Old 12-31-2012, 08:57 AM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
An oldie but a goodie: troff (with the memorandum macros) -- also known as groff, the GNU roff type-setting system.

It's text typed with a text editor (you can read it). You don't even have to include macros, simply leave a blank line to start a new paragraph. You can do all the things you do with a word processor; tables, lists, graphs, table of contents, you name it.

The manual pages in Linux are (mostly) done with the "man" macros for nroff/troff; e.g.,
Code:
gunzip -c /usr/man/man1/troff.1.gz | pg    (or more or less)
to see what the source text looks like.

You can "pretty print" manual pages with
Code:
man -t troff | gv -
<or>
man -t troff | lp [-d printername]
You can write a book (such as Kernighan and Ritchie, The C Programming Language) entirely using the macros (K&R prepared the manuscripts using the macros as did many more publications).

The output of troff is PostScript (the output of nroff is text for a terminal). And, as you probably know, PostScript is the language of typesetters. And, if you've got PostScript, PDF is child's play.

Personally, I've done some... quite large, say, documents this way (couple of hundred pages). Frankly, I fell that word processors are a pain in the hiney and prefer to "just type the thing" and add some formatting directions as I go. You mileage, of course, may vary.

You might like it, you might hate it but it's still worth a look-see.

Hope this helps some.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can the language of fedora boot message change to other language, zh_CN,e.g.? jimtony Fedora 2 01-11-2011 03:03 AM
Typesetting and Page Layout Programs JMJ_coder Linux - Software 5 08-21-2007 06:05 PM
language IDE recommendations pcastanhas Programming 10 05-24-2006 11:15 AM
Recommendations on language for project Strixy Programming 2 06-28-2005 10:29 PM
Chinese typesetting? mifan Linux - Newbie 3 05-16-2004 08:39 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 11:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration