Comments for Tk LaTeX Editor
22 Aug 2004 17:00
Re: latin2 support
After exit and run your program, on my terminal window
there are some error messages:
Error in startup script: unknown encoding "latin2"
while executing
"encoding convertfrom $sourceEnc $line"
(procedure "EditFile" line 68)
invoked from within
"EditFile $file"
invoked from within
"if [file exists [file join $dir(work) bookmarks]] {
set f [open [file join $dir(work) bookmarks] "r"]
while {[gets $f line]>=0} {
scan..."
(file "./tle.tcl" line 102)
(Perhaps it could help in making program fixes)
22 Aug 2004 16:51
hardcoded /usr/bin ?
First example:
I would like to preview with the menu:
Document->Preview->PDF
The program says:
-------------------------------------
Don't find programm: acroread
-------------------------------------
I changed the tle.config from "acroread" to "/usr/local/Acrobat5/bin/acroread" but I got the same error.
I had to make a /usr/bin/acroread symlink and now it works.
Second example:
I would like to write text with lilypond-book, so I made a
wrapper script:
cat /usr/bin/lilypbook
-----------------------------
#!/bin/sh
/usr/bin/lilypond-book --format=latex $1
base=`/usr/bin/basename $1 .tex`
/usr/bin/latex $base.latex
-----------------------------
It works. BUT first I put this script into
~/bin dir, and your program says:
-------------------------------------
Don't find programm: lilypbook
-------------------------------------
So it seems to me that your program can run other programs only in /usr/bin.
Thank you for your program and be strong to continue the developing.
Peter
22 Aug 2004 16:29
latin2 support
I would like to write hungarian text with your nice program. I made a template:
--------------------------------------
\documentclass[a4paper]{article}
\usepackage[english,magyar,russian]{babel}
\usepackage[latin2]{inputenc}
\usepackage{indentfirst}
\frenchspacing
\setlength{\parskip}{\smallskipamount}
\title{HungarianTitle}
\date{HungarianDate}
\begin{document}
\maketitle
HungarianText\ldots
\end{document}
-----------------------------
I took it to the ~/.tle/template dir with the name of 'hu-article.tex'.
I choose from the menu
File->New->Create from template
The dialog box is appeared and in the template list there is my template but I cannot create the new file, because the program says:
Error:Unknown encoding 'Latin2'
The stack trace is:
unknown encoding "latin2"
while executing
"encoding convertfrom $sourceEnc $line"
(procedure "EditFile" line 68)
invoked from within
"EditFile [file join $dir(current) $file]"
invoked from within
".template.frmBtn.btnOk invoke"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke]"
(procedure "tkButtonUp" line 7)
invoked from within
"tkButtonUp .template.frmBtn.btnOk
"
(command bound to event)
--------------------------------------------
The name.tex file is created in my ~/doc/my/ dir, but on
the program's window labeled 'name.tex' is nothing appeared.
I am sure, that the template file is OK, because I can make a DVI file from it with latex.
----------------------------------------------
Thank you for your great program.
Peter
31 Dec 2003 11:19
Re: tle 0.2.5
Does this really require tcl 8.1.1? In our redhat 7.3 machine the tcl is 8.3 and this will not work.
24 Dec 2002 15:51
Re: tle 0.2.5
> Great piece of work.
Thanks !
> I found out that
> you had fixed the F1 key and downloaded
> the new version just now but it seems
> the help is only in koi8-r? How/when do
> we get the english version?
>
> Season's greetings..
>
Sorry :( I don't have many time for writing and translate documentation. But in next version include English texts...
24 Dec 2002 03:44
tle 0.2.5
Great piece of work. I found out that you had fixed the F1 key and downloaded the new version just now but it seems the help is only in koi8-r? How/when do we get the english version?
Season's greetings..
27 Oct 2002 18:11
Re: English version ?
> I discovered a way to do this:
>
> Go to the /tle/share/msg directory.
> Rename the following files:
>
> ru.msg (to ru.msg.old)
> ru_koi8.msg (ru_koi8.msg)
No! This wrong way!!! :)
Set locale variable into "en"
~/.tktexeditor/tle.conf
## LOCALE SETTING ##
set locale en
25 Oct 2002 08:15
Re: English version ?
that's ok ;-)
now i can understund what it happen ;-)
> I discovered a way to do this:
>
> Go to the /tle/share/msg directory.
> Rename the following files:
>
> ru.msg (to ru.msg.old)
> ru_koi8.msg (ru_koi8.msg)
>
> And then rename the file eng.msg to
> ru.msg. You should get the English
> menus.
>
> Post back to let me know if this worked
> for you.
>
>
> % Hello;
> %
> % How to obtain the english version ?
> %
> % thanks
>
>
>
25 Oct 2002 08:07
Re: Tk LaTeX Editor
OK, I was a bit hasty in posting. I found a way to access the English menus. See my reply to another message for details.
Of course, if there's an easier way to do this ...
> A very nice piece of work -- the best
> LaTeX editor I've seen written in
> Tk/Tcl.
>
> The screen shot shows English menus, but
> when I start the application the menus
> are in Russian. How does a user switch
> to the English menus?
Re: latin2 support
% Error in startup script: unknown
> encoding "latin2"
> while executing
Yes , i khow this bug , this happend because TLE give encoding list from tcl. A name of character sets in tcl encode and latex encode is different.
I try fix this bug