What are the options for conversion from ConTeXt to other formats, if any? I'm particularly interested in rtf and/or html. Lou
I've asked too, but it seems that that there are none to rtf. This lack of conversion is a problem for me. latex2rtf was very useful for me becasue in that way I was able to use always latex for my writings. Now, I'm using only ConTeXt, but in case of a paper not for tex-based review, I will have to go back to TextEdit or M$word. And I'm not able to reuase directly what I wrote. I was mumbling about creating a simple converter by myself, but I am totally ignorant about rtf, and I am a context newby, so... -a- On 21 Sep 2005, at 17:12, Louis F.Springer wrote:
What are the options for conversion from ConTeXt to other formats, if any? I'm particularly interested in rtf and/or html.
Lou
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Andrea Valle Laboratorio multimediale "G. Quazza" Facoltà di Scienze della Formazione Università degli Studi di Torino andrea.valle@unito.it
andrea valle wrote:
I've asked too, but it seems that that there are none to rtf. This lack of conversion is a problem for me.
Would it be possible for you to use any of the software that converts PDF to RTF? Write in Context. When you need RTF you convert the PDF to RTF instead of the TEX. -Erich Fickel -- newbie to context and tex, reading TeXbook and Context manual -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.25/102 - Release Date: 9/14/2005
Thanks, I' ve never thought about that. Does anyone know about a free pdf2rtf converter for macosx? Best -a- On 21 Sep 2005, at 17:58, Pr. Erich Fickel wrote:
andrea valle wrote:
I've asked too, but it seems that that there are none to rtf. This lack of conversion is a problem for me.
Would it be possible for you to use any of the software that converts PDF to RTF? Write in Context. When you need RTF you convert the PDF to RTF instead of the TEX.
-Erich Fickel -- newbie to context and tex, reading TeXbook and Context manual
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.10.25/102 - Release Date: 9/14/2005
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Andrea Valle Laboratorio multimediale "G. Quazza" Facoltà di Scienze della Formazione Università degli Studi di Torino andrea.valle@unito.it
Louis F.Springer wrote:
What are the options for conversion from ConTeXt to other formats, if any? I'm particularly interested in rtf and/or html.
The main problem is: PDF is extremely complex format (and Hans tries to explore almost every single capability of it) and you can't grant a good conversion for obscure documents. You can't get html out of the box, but there are some options depending on what your documents look like, what effort are you ready to invest and what quality of HTML/RTF you expect. (I can't imagine a tool which would satisfactory convert the ConTeXt manuals into HTML without manual intervention.) 1. The best quality can be achieved if you prepare all your stuff in XML and then write both a stylesheet for conversion into HTML and "a couple" of ConTeXt definitions to handle formating for output in PDF documents. I never did that (I consider it too complex and time consuming), but if you're ready to go that way and sacrifice some time, there are some people on the list who can help you. 2. exTeX is going to natively support HTML output. The question is when a stable version is going to appear and if ConTeXt will ever support it / if they will support ConTeXt. (not a satisfactory answer yet) 3. latex2html, latex2word, tth - like No, no such tool yet and I doubt that anyone is going to write it soon. 4. PDF -> HTML / PDF -> RTF conversion Currently the best possibility if you have simple documents, you don't want to spend too much time on it and you don't mind too much about high quality of the produced HTML/RTF. I often use pdftotext and then manually reformat everything (not for my own documents however), but I was impressed by the quality of what ABBYY PDF Transformer was able to do with sample documents that I saw (it converts a table in PDF into a table in Word, preserves images and page layout, ...). About the accents that Idris mentioned: As long as the accented characters aren't faked, there is a way to get them out of PDF. Mojca
Mojca Miklavec said this at Wed, 21 Sep 2005 22:09:32 +0200:
1. The best quality can be achieved if you prepare all your stuff in XML and then write both a stylesheet for conversion into HTML and "a couple" of ConTeXt definitions to handle formating for output in PDF documents. I never did that (I consider it too complex and time consuming), but if you're ready to go that way and sacrifice some time, there are some people on the list who can help you.
very much agreed here. I'd personally advocate an intermediate XML format (that matches your document needs), and transforming to Word- friendly HTML or to a ConTeXt-friendly format. For a taste of some XML workflows, see: http://pragma-ade.com/general/manuals/example.pdf http://pragma-ade.com/general/magazines/mag-0008.pdf and talk with the list! -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Le 21 sept. 05 à 17:12, Louis F.Springer a écrit :
What are the options for conversion from ConTeXt to other formats, if any? I'm particularly interested in rtf and/or html.
I saw there is a module tex4ht usable for converting conTeXt to html. http://wiki.contextgarden.net/Modules http://source.contextgarden.net/tex/context/base/m-tex4ht.tex Does anyboby have any experience to share on it? I didn't find anything about it in the wiki. About the other answer on this subject, my (dummy) point of view is that : - pdf in not an input format, but an output format, (difficult to reuse for translating) - xml in not an input format but (a well structured) interchange format. I don't want to enter xml version of: We know that $E=mC^2$ and also that $\delta = \sqrt{b^2-4ac}$ But I'd like to export it (with table of content, index, ...) in html or xhtml. -- Maurice P.S.
participants (6)
-
Adam Lindsay
-
andrea valle
-
Louis F.Springer
-
Maurice Diamantini
-
Mojca Miklavec
-
Pr. Erich Fickel