1. ON TOP OF THE TEX FILE:
documentclass{book}
usepackage[greek,english]{babel}
usepackage[iso-8859-7]{inputenc}
%TCIDATA{OutputFilter=LATEX.DLL}
input{tcilatex}
begin{document}
usepackage[greek,english]{babel}
usepackage[iso-8859-7]{inputenc}
%TCIDATA{OutputFilter=LATEX.DLL}
input{tcilatex}
begin{document}
2. INSIDE THE DOCUMENT IN SW TO CHANGE LANGUAGE:
selectlanguage{greek}
selectlanguage{english}
To use the commands with SW easier you should create macros:
menu of the fragments toolbar.
selectlanguage{english}
To use the commands with SW easier you should create macros:
- Insert -> Typeset Objects -> Tex Field -> copy-paste in the open window the first command (Greek)
- Check the "Encapsulated" box, in the "Name" field use some word to identify the tag like "GR" click OK.
- A gray tag [GR] was created.
- Do the same to create the [EN] tag for English fonts.
- Every time you want to change language:
- Change your keyboard to Greek (usually by pressing alt+shift).
- place the appropriate tag before the change.
- Highlight the [GR] tag.
- In the "Fragments" toolbar press the "save fragment" button and give a name to it e.g. "GREEK".
- Do the same with the [EN] tag.
menu of the fragments toolbar.
3. SELECT GREEK
In "Typeset" -> "Expert Settings" -> "PDF Format Settings" -> "Add modify" -> "Character Set"
select "Greek"
select "Greek"
4. INSTALL MIKTEX
Download from:
http://prdownloads.sourceforge.net/miktex/setup-2.6.2742.exe?download
5. SW AND MIKTEX
Then instruct SW to compile pdf using Miktex instead of the default TrueTex.
To do this you go to:
Typeset -> Expert Settings -> PDF Format Settings -> Add Modify -> In the "Executable Filename" ->
browse and select the executable pdflatex.exe included in Miktex. The path in my computer is at:
To do this you go to:
Typeset -> Expert Settings -> PDF Format Settings -> Add Modify -> In the "Executable Filename" ->
browse and select the executable pdflatex.exe included in Miktex. The path in my computer is at:
C:/Program Files/MiKTeX 2.6/miktex/bin/pdflatex.exe
Click OK.
6. USE PACKAGE TCILATEX.TEX
Then in compilation SW will ask for the routine tcilatex.tex. In order Miktex to run this you need
to find the file from SW's installation -use search- or usually it is in this path:
to find the file from SW's installation -use search- or usually it is in this path:
swp50TCITeXTeXLaTeXSWmacrostcilatex.tex
Copy the file and paste it in the directory in Miktex:
C:Documents and SettingsAll UsersApplication DataMiKTeX2.6texlatex
(if the folder latex does'nt exist, create it)
7. REFRESH MIKTEX
Finally you run the "Settings" from Miktex's program group and press the "Refresh FNDB"
button so that all the changes made in Miktex are taken into account by it.
button so that all the changes made in Miktex are taken into account by it.
--
Periklis Gogas
Department of International Economic
Relations and Development
Democritus University of Thrace
perrygogas@gmail.com
