home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / apps / 20607 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  2.5 KB

  1. Xref: sparky comp.sys.mac.apps:20607 comp.sys.mac.misc:22395
  2. Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!emory!swrinde!gatech!asuvax!ncar!news.miami.edu!umiami!tcwan
  3. From: tcwan@umiami.ir.miami.edu
  4. Newsgroups: comp.sys.mac.apps,comp.sys.mac.misc
  5. Subject: Summary: Converting RTF->TeX and vice versa
  6. Message-ID: <1993Jan26.190423.14389@umiami.ir.miami.edu>
  7. Date: 26 Jan 93 19:04:23 EST
  8. References: <1993Jan20.131624.14354@umiami.ir.miami.edu>
  9. Organization: Univ of Miami IR
  10. Lines: 53
  11.  
  12. Hello. This is the summary of the responses I received regarding the
  13. TeX -> RTF/ASCII conversion process. Quite a few people inqured about the
  14. RTF -> TeX program, so I'll mention that too.
  15.  
  16.  
  17. Thanks for all who replied, and I apologize for waiting so long, since
  18. I needed to follow up on where to obtain the TeX to ASCII program.
  19.  
  20. t.c.
  21. ---------
  22.  
  23. rtf-to-tex is the program that converts RTF to TeX format. There's another
  24. utility that provides similar functionality, but the distribution notes
  25. for rtf-to-tex mentioned that it's not as robust. It parses RTF
  26. and generates a simple TeX file, which needs to be edited as necessary
  27. to make it compile. At least most of the work is done for you.
  28.  
  29. It is availble from sumex-aim.stanford.edu, 
  30. as /info-mac/util/rtf-to-tex.hqx
  31.  
  32. and mac.archive.umich.edu as well.
  33. ----------
  34.  
  35. If all you want to do is strip out the TeX formatting escape codes, detex
  36. is the easiest way to do it. Note that all it does is remove the Tex codes.
  37. The file organization and formatting information created by LaTeX is not available.
  38.  
  39. detex can be found at various FTP sites. The one most people are aware
  40. of is wuarchive.wustl.edu, in directory /usenet/comp.sources.misc/volume32.
  41. as detex/part01.Z
  42.  
  43. It's C source, so the easiest way to use it is to run it on a Unix machine.
  44.  
  45. This information is provided by Ravinder Bhumbla (rbhumbla@ucsd.edu)
  46.  
  47. ----------
  48.  
  49. The conversion of TeX -> ASCII can be done by generating the dvi output
  50. file using the txt.sty style. The dvi file is then converted to ASCII
  51. using dvi2tty. This assumes that you have access to a Unix machine
  52. running LaTeX. With this method, you get all the headings and resolved
  53. references, etc. The only thing missing is the character formatting, but
  54. that's easy to deal with. 
  55.  
  56. The programs can be obtained from sol.cs.bucknell.edu, in
  57. /droms/txt-dist.tar
  58.  
  59.  
  60. This information is provided by Alan Hastings (amhastings@ucdavis.edu)
  61.  
  62. #Note: I have not personally done this conversion yet, since it requires
  63. familiarity with TeX.
  64.  
  65.