Surely there are more efficient means for creating UTF-8 Greek than inserting the Babel codes and compiling to PDF and then copying and pasting! It wouldn't surprise me if software had been developed for this purpose alone.
But even if not, if using the character map is too much work, surely you could use something like AutoKey or AutoHotKey to "correct" certain sequences to their Greek counterparts. Editors like vim or emacs could be programmed to do the substitutions as you typed. (Heck, you could probably do the same with something like MS Word's autocorrect feature.)
Last but not least, try compiling the LaTeX source to HTML using, e.g., htlatex (from TeX4ht; you may already have this installed as part of your LaTeX distribution) or latex2html; it should output html you could copy and paste to create UTF-8 Greek, and it wouldn't have the same linefeed problem.
Document Classes ⇒ Problems with seemingly unformatted Greek text
NEW: TikZ book now 40% off at Amazon.com for a short time.
Problems with seemingly unformatted Greek text
Thank you! Based on your suggestion, I found the following page:
http://tug.org/applications/tex4ht/mn-commands.html
I have been able to use, through command-line, the following, and produce an HTML file:
It generates over 300,000 lines in less than a minute.
http://tug.org/applications/tex4ht/mn-commands.html
I have been able to use, through command-line, the following, and produce an HTML file:
Code: Select all
‘xhlatex filename "xhtml,uni-html4" " -cunihtf"’