Results 1 to 5 of 5

Thread: Howto TexLive 2008 + GreekTex + Export to HTML and OpenOffice

  1. #1
    Join Date
    Apr 2007
    Location
    Athens
    Beans
    97
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Howto TexLive 2008 + GreekTex + Export to HTML and OpenOffice

    TexLive 2008 + GreekTex + Export to HTML and OpenOffice

    This is an update of this guide to use greektex in TexLive 2008. Xetex is preisntalled and ready to use.
    Some steps may be unnecessary or duplicated but it worked for me.Of course it needs improvements so please do not Shoot!

    A: TexLive 2008

    1: Download the install script here (http://mirror.ctan.org/systems/texli...-tl-unx.tar.gz)
    2:extract it and open it in terminal

    3:
    Code:
    sudo aptitude install perl-tk
    to use the gui installation
    4: make the /usr/local dir writeable for normal user (gksudo nautilus, right click, permissions)

    5.in terminal
    Code:
    ./install-tl -gui
    and choose what you want to install (choose the greek language pack for greektex and xetex)

    in the .profile file located in home folder add these lines

    PATH=/usr/local/texlive/2008/bin/i386-linux:$PATH; export PATH
    MANPATH=/usr/local/texlive/2008/texmf/doc/man:$MANPATH; export MANPATH
    INFOPATH=/usr/local/texlive/2008/texmf/doc/info:$INFOPATH; export INFOPATH

    logout and log in again



    B: GreekTex

    6. In your home folder locate ~/.texlive2008/texmf-var/fonts and create a dir called source and inside that a dir called public
    the path now would be ~/.texlive2008/texmf-var/fonts/source/public

    7. locate the ywcl zip file
    Code:
    locate ywcl
    (fonts) i found it in /usr/local/texlive/2008/texmf-dist/doc/latex/greektex/ywcl.zip and extract it in ~/.texlive2008/texmf-var/fonts/source/public (created above)

    8. copy the gehyphw.gr file form /usr/local/texlive/2008/texmf-dist/doc/latex/greektex/ to
    /usr/local/texlive/2008/texmf/tex/generic/hyphen

    9. copy the greektex.sty from /usr/local/texlive/2008/texmf-dist/tex/latex/greektex/greektex.sty to
    /usr/local/texlive/2008/texmf/tex/latex/greektex

    10. locate the language.dat
    Code:
    locate language.dat
    files and edit them using gedit or leafpad etc. i have edited two of them
    /usr/local/texlive/2008/texmf/tex/generic/config/language.dat and
    /usr/local/texlive/2008/texmf-var/tex/generic/config/language.dat
    and replaced the line english hyphen.tex with english hyphen.tex gehyphw.gr

    11. locate the ls-R files, i found these four
    /usr/local/texlive/2008/texmf/ls-R
    /usr/local/texlive/2008/texmf-config/ls-R
    /usr/local/texlive/2008/texmf-dist/ls-R
    /usr/local/texlive/2008/texmf-doc/ls-R
    /usr/local/texlive/2008/texmf-var/ls-R

    and make them writeable for normal user

    12. in terminal
    Code:
    tlmgr -gui
    , press load then the configure tab and refresh everything
    then try a doc in texmaker and see if it works. (Configure Texmaker as described here)

    C: Export to html and OpenOffice

    latex2rtf is excellent for non-greek files. For Greek files i have used

    tth from http://hutchinson.belmont.ma.us/tth

    the instructions are easy. Copy the tth file to /usr/bin and in terminal (where the .tex file is located) type
    Code:
    tth file_name.tex
    Open the html file in Firefox, change encoding to iso-8859-7 and save the file. Then open it in openoffice, export
    it as .odt and voila! share with non-latex users.

    To display bibliography correctly DO not use natbib or hyperref packages in the .tex file.


    Hope you find it Helpful!
    Thanx!
    Last edited by eumetaxas; March 25th, 2009 at 04:02 PM. Reason: Syntax Errors

  2. #2
    Join Date
    Nov 2009
    Beans
    2

    Re: Howto TexLive 2008 + GreekTex + Export to HTML and OpenOffice

    hello, I followed the instructions above, but when I add these 3 lines into the end of .profile, I can not log in ubuntu anymore

    is there a certain place which I'm supposed to add these 3 lines at?

  3. #3
    Join Date
    Apr 2007
    Location
    Athens
    Beans
    97
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Howto TexLive 2008 + GreekTex + Export to HTML and OpenOffice

    i have done this several times and never occurred to me. i always put them at the end of the file.
    Hope you make it

  4. #4
    Join Date
    Feb 2010
    Beans
    1

    Re: Howto TexLive 2008 + GreekTex + Export to HTML and OpenOffice

    Thanks for sharing your ideas. Its helpful for others.

  5. #5
    Join Date
    Apr 2007
    Location
    Athens
    Beans
    97
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Howto TexLive 2008 + GreekTex + Export to HTML and OpenOffice

    You are welcome,
    this is the concept of the opensource world,
    sharing your ideas with others

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •