Typesetting documents programmatically - Options besides LaTeX and Apache FOP
Are there any other markup languages which do not have a tough learning curve (I managed to get speed in Latex after about 2 mnths and still make mistakes) and can be easy to program. I am looking at Apache FOP, but it seems a bit daunting right now. And Latex is just out of question.
What I want is to provide plain text input and/or images to predefined sections of my document and have a program (Java or C#) go ahead and format that text as per templates I have defined and then compile the document, into PostScript or PDF. I am not writing another version of the Mahabharata or Odyssey and do not require complex formatting options. The documents are intended to be pretty simple and 15-20 pages at max.
An application of this idea, for example would be a resume builder. I define my output format in the program. Then whenever I want a copy of my resume, I just select which of my skills, projects etc. should appear and voila, the program will give me a PDF exactly as I want, customised to my needs.
formatting latex
add a comment |
Are there any other markup languages which do not have a tough learning curve (I managed to get speed in Latex after about 2 mnths and still make mistakes) and can be easy to program. I am looking at Apache FOP, but it seems a bit daunting right now. And Latex is just out of question.
What I want is to provide plain text input and/or images to predefined sections of my document and have a program (Java or C#) go ahead and format that text as per templates I have defined and then compile the document, into PostScript or PDF. I am not writing another version of the Mahabharata or Odyssey and do not require complex formatting options. The documents are intended to be pretty simple and 15-20 pages at max.
An application of this idea, for example would be a resume builder. I define my output format in the program. Then whenever I want a copy of my resume, I just select which of my skills, projects etc. should appear and voila, the program will give me a PDF exactly as I want, customised to my needs.
formatting latex
add a comment |
Are there any other markup languages which do not have a tough learning curve (I managed to get speed in Latex after about 2 mnths and still make mistakes) and can be easy to program. I am looking at Apache FOP, but it seems a bit daunting right now. And Latex is just out of question.
What I want is to provide plain text input and/or images to predefined sections of my document and have a program (Java or C#) go ahead and format that text as per templates I have defined and then compile the document, into PostScript or PDF. I am not writing another version of the Mahabharata or Odyssey and do not require complex formatting options. The documents are intended to be pretty simple and 15-20 pages at max.
An application of this idea, for example would be a resume builder. I define my output format in the program. Then whenever I want a copy of my resume, I just select which of my skills, projects etc. should appear and voila, the program will give me a PDF exactly as I want, customised to my needs.
formatting latex
Are there any other markup languages which do not have a tough learning curve (I managed to get speed in Latex after about 2 mnths and still make mistakes) and can be easy to program. I am looking at Apache FOP, but it seems a bit daunting right now. And Latex is just out of question.
What I want is to provide plain text input and/or images to predefined sections of my document and have a program (Java or C#) go ahead and format that text as per templates I have defined and then compile the document, into PostScript or PDF. I am not writing another version of the Mahabharata or Odyssey and do not require complex formatting options. The documents are intended to be pretty simple and 15-20 pages at max.
An application of this idea, for example would be a resume builder. I define my output format in the program. Then whenever I want a copy of my resume, I just select which of my skills, projects etc. should appear and voila, the program will give me a PDF exactly as I want, customised to my needs.
formatting latex
formatting latex
asked Sep 9 '09 at 0:17
ChintanChintan
1726
1726
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
I personally use LaTeX for these sorts of tasks, but if LaTeX really is not an option, you might want to consider a lightweight markup language like reStructuredText (which has converters to HTML, LaTeX, and PDF), Markdown, or Textile.
thanks, i went through markdown and it seems like the best options for now, thanks
– Chintan
Sep 9 '09 at 21:15
add a comment |
Lout is often described as easier to learn the Latex, though YMMV.
Latex, being based on the original TEX, has some quirks. Lout was a fresh start on designing a system like that. Easier user-defined stuff, makes more sense, possibly faster, etc. OTOH, Latex users over the years have built up a huge collection of typefaces, graphics and plotting packages, specialty packages for law, history, chemistry, music, etc... and some say Latex/TEX's math typesetting is slightly better than Lout's, although it takes a refined taste in typesetting to notice.
Python or Ruby scripts (or your favorite language) can edit or create lout files.
http://lout.wiki.sourceforge.net/
http://snark.ptc.spbu.ru/~uwe/lout/essays/essays.html
source and other files: ftp://ftp.cs.usyd.edu.au/jeff/lout/
add a comment |
You might consider doxygen. It has very simple markup, uses any combination of latex, javadoc or HTML markup in your documents and can generate PDF, HTML, RTF, latex and others. It was designed for documenting source code, but you can instruct it to pull documentation from any properly formatted text file. You can embed latex mathematics, but you need a latex compiler installed to process them.
You can use graphviz to add diagrams using text markup as well.
add a comment |
LaTeX and TeX have some quirks in syntax, so making a TeX/LaTeX code generator is not very easy. But you can overcome this by using TeXML, which is an XML syntax for TeX/LaTeX. You still need to use LaTeX verbs and know the commands, however.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f38071%2ftypesetting-documents-programmatically-options-besides-latex-and-apache-fop%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
I personally use LaTeX for these sorts of tasks, but if LaTeX really is not an option, you might want to consider a lightweight markup language like reStructuredText (which has converters to HTML, LaTeX, and PDF), Markdown, or Textile.
thanks, i went through markdown and it seems like the best options for now, thanks
– Chintan
Sep 9 '09 at 21:15
add a comment |
I personally use LaTeX for these sorts of tasks, but if LaTeX really is not an option, you might want to consider a lightweight markup language like reStructuredText (which has converters to HTML, LaTeX, and PDF), Markdown, or Textile.
thanks, i went through markdown and it seems like the best options for now, thanks
– Chintan
Sep 9 '09 at 21:15
add a comment |
I personally use LaTeX for these sorts of tasks, but if LaTeX really is not an option, you might want to consider a lightweight markup language like reStructuredText (which has converters to HTML, LaTeX, and PDF), Markdown, or Textile.
I personally use LaTeX for these sorts of tasks, but if LaTeX really is not an option, you might want to consider a lightweight markup language like reStructuredText (which has converters to HTML, LaTeX, and PDF), Markdown, or Textile.
answered Sep 9 '09 at 0:55
las3rjocklas3rjock
1,4341313
1,4341313
thanks, i went through markdown and it seems like the best options for now, thanks
– Chintan
Sep 9 '09 at 21:15
add a comment |
thanks, i went through markdown and it seems like the best options for now, thanks
– Chintan
Sep 9 '09 at 21:15
thanks, i went through markdown and it seems like the best options for now, thanks
– Chintan
Sep 9 '09 at 21:15
thanks, i went through markdown and it seems like the best options for now, thanks
– Chintan
Sep 9 '09 at 21:15
add a comment |
Lout is often described as easier to learn the Latex, though YMMV.
Latex, being based on the original TEX, has some quirks. Lout was a fresh start on designing a system like that. Easier user-defined stuff, makes more sense, possibly faster, etc. OTOH, Latex users over the years have built up a huge collection of typefaces, graphics and plotting packages, specialty packages for law, history, chemistry, music, etc... and some say Latex/TEX's math typesetting is slightly better than Lout's, although it takes a refined taste in typesetting to notice.
Python or Ruby scripts (or your favorite language) can edit or create lout files.
http://lout.wiki.sourceforge.net/
http://snark.ptc.spbu.ru/~uwe/lout/essays/essays.html
source and other files: ftp://ftp.cs.usyd.edu.au/jeff/lout/
add a comment |
Lout is often described as easier to learn the Latex, though YMMV.
Latex, being based on the original TEX, has some quirks. Lout was a fresh start on designing a system like that. Easier user-defined stuff, makes more sense, possibly faster, etc. OTOH, Latex users over the years have built up a huge collection of typefaces, graphics and plotting packages, specialty packages for law, history, chemistry, music, etc... and some say Latex/TEX's math typesetting is slightly better than Lout's, although it takes a refined taste in typesetting to notice.
Python or Ruby scripts (or your favorite language) can edit or create lout files.
http://lout.wiki.sourceforge.net/
http://snark.ptc.spbu.ru/~uwe/lout/essays/essays.html
source and other files: ftp://ftp.cs.usyd.edu.au/jeff/lout/
add a comment |
Lout is often described as easier to learn the Latex, though YMMV.
Latex, being based on the original TEX, has some quirks. Lout was a fresh start on designing a system like that. Easier user-defined stuff, makes more sense, possibly faster, etc. OTOH, Latex users over the years have built up a huge collection of typefaces, graphics and plotting packages, specialty packages for law, history, chemistry, music, etc... and some say Latex/TEX's math typesetting is slightly better than Lout's, although it takes a refined taste in typesetting to notice.
Python or Ruby scripts (or your favorite language) can edit or create lout files.
http://lout.wiki.sourceforge.net/
http://snark.ptc.spbu.ru/~uwe/lout/essays/essays.html
source and other files: ftp://ftp.cs.usyd.edu.au/jeff/lout/
Lout is often described as easier to learn the Latex, though YMMV.
Latex, being based on the original TEX, has some quirks. Lout was a fresh start on designing a system like that. Easier user-defined stuff, makes more sense, possibly faster, etc. OTOH, Latex users over the years have built up a huge collection of typefaces, graphics and plotting packages, specialty packages for law, history, chemistry, music, etc... and some say Latex/TEX's math typesetting is slightly better than Lout's, although it takes a refined taste in typesetting to notice.
Python or Ruby scripts (or your favorite language) can edit or create lout files.
http://lout.wiki.sourceforge.net/
http://snark.ptc.spbu.ru/~uwe/lout/essays/essays.html
source and other files: ftp://ftp.cs.usyd.edu.au/jeff/lout/
answered Nov 7 '09 at 19:58
DarenWDarenW
1,09911427
1,09911427
add a comment |
add a comment |
You might consider doxygen. It has very simple markup, uses any combination of latex, javadoc or HTML markup in your documents and can generate PDF, HTML, RTF, latex and others. It was designed for documenting source code, but you can instruct it to pull documentation from any properly formatted text file. You can embed latex mathematics, but you need a latex compiler installed to process them.
You can use graphviz to add diagrams using text markup as well.
add a comment |
You might consider doxygen. It has very simple markup, uses any combination of latex, javadoc or HTML markup in your documents and can generate PDF, HTML, RTF, latex and others. It was designed for documenting source code, but you can instruct it to pull documentation from any properly formatted text file. You can embed latex mathematics, but you need a latex compiler installed to process them.
You can use graphviz to add diagrams using text markup as well.
add a comment |
You might consider doxygen. It has very simple markup, uses any combination of latex, javadoc or HTML markup in your documents and can generate PDF, HTML, RTF, latex and others. It was designed for documenting source code, but you can instruct it to pull documentation from any properly formatted text file. You can embed latex mathematics, but you need a latex compiler installed to process them.
You can use graphviz to add diagrams using text markup as well.
You might consider doxygen. It has very simple markup, uses any combination of latex, javadoc or HTML markup in your documents and can generate PDF, HTML, RTF, latex and others. It was designed for documenting source code, but you can instruct it to pull documentation from any properly formatted text file. You can embed latex mathematics, but you need a latex compiler installed to process them.
You can use graphviz to add diagrams using text markup as well.
edited Dec 16 '18 at 11:45
albert
1132
1132
answered Oct 21 '09 at 15:23
DaveParilloDaveParillo
13k3444
13k3444
add a comment |
add a comment |
LaTeX and TeX have some quirks in syntax, so making a TeX/LaTeX code generator is not very easy. But you can overcome this by using TeXML, which is an XML syntax for TeX/LaTeX. You still need to use LaTeX verbs and know the commands, however.
add a comment |
LaTeX and TeX have some quirks in syntax, so making a TeX/LaTeX code generator is not very easy. But you can overcome this by using TeXML, which is an XML syntax for TeX/LaTeX. You still need to use LaTeX verbs and know the commands, however.
add a comment |
LaTeX and TeX have some quirks in syntax, so making a TeX/LaTeX code generator is not very easy. But you can overcome this by using TeXML, which is an XML syntax for TeX/LaTeX. You still need to use LaTeX verbs and know the commands, however.
LaTeX and TeX have some quirks in syntax, so making a TeX/LaTeX code generator is not very easy. But you can overcome this by using TeXML, which is an XML syntax for TeX/LaTeX. You still need to use LaTeX verbs and know the commands, however.
answered Oct 21 '09 at 16:08
lioriliori
2,5641835
2,5641835
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f38071%2ftypesetting-documents-programmatically-options-besides-latex-and-apache-fop%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown