TeXworksPrepared TeXworks packages for Linux

Information and discussion about TeXworks, an integrated LaTeX environment for several platforms
Post Reply
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Prepared TeXworks packages for Linux

Post by meho_r »

BTW, does someone know if there's an .rpm package of latest TeXWorks? I'm experimenting with TeX Live 2009 on Mandriva but have found only some old TeXWorks packages. localghost, you mentioned in another topic that you successful use TeXworks on Linux [1]. How did you install it on openSUSE, from source or from some repo/.rpm package?

[1] View topic: TeXworks anyone? (Or something else)?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Prepared TeXworks packages for Linux

Post by localghost »

meho_r wrote:BTW, does someone know if there's an .rpm package of latest TeXWorks? I'm experimenting with TeXLive2009 on Mandriva but have found only some old TeXWorks packages. localghost, how did you install it on openSUSE, from source or from some repo/.rpm package?
I'm not aware of any precompiled binaries of TeXworks in form of DEB or RPM packages. I got the source code via Subversion as described and after installing some necessary packages compiling the source to a working binary was no big deal. Afterwards I copied the file to the bin folder in my home directory. The only issue I observed was a non-working spell checking.
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Prepared TeXworks packages for Linux

Post by meho_r »

localghost wrote:I'm not aware of any precompiled binaries of TeXworks in form of DEB or RPM packages. I got the source code via Subversion as described and after installing some necessary packages compiling the source to a working binary was no big deal. Afterwards I copied the file to the bin folder in my home directory. The only issue I observed was a non-working spell checking.
Thanks. Actually, there is a .deb on Launchpad, TeXWorks team's PPA. I'm gonna test it to see if it works (spellchecking issue is a deal-breaker for me) and try to get it on Mandriva, compiling from source or converting .deb to .rpm.
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Prepared TeXworks packages for Linux

Post by meho_r »

localghost, I've just converted ubuntu karmic's .deb file to .rpm with alien, all went without a hitch. I installed it on Mandriva and noticed what you said was the problem on openSUSE: there was no spellchecking. After that, I did a comparison with my Ubuntu installation and noticed that on Ubuntu, dictionaries are located in /usr/share/myspell/dicts. On Mandriva, there are only those located in /usr/share/dict/ooo/. Since spellchecking works on Ubuntu I concluded that TeXWorks must've been looking at the above location, /usr/share/myspell/dicts for dictionaries.

So, here's what I did:

1. I created a new myspell folder which is missing on Mandriva:

Code: Select all

mkdir /usr/share/myspell
2. After that I created a symbolic link to dictionaries and named it dicts:

Code: Select all

ln -s /usr/share/dict/ooo /usr/share/myspell/dicts
Now I have spellchecking feature enabled in TeXWorks.
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Prepared TeXworks packages for Linux

Post by frabjous »

I've been using the .deb for awhile now without a hitch.

Shall we move this discussion over to the new forum? It's looks so lonely with no posts. :|
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Prepared TeXworks packages for Linux

Post by localghost »

frabjous wrote:[…] Shall we move this discussion over to the new forum? It's looks so lonely with no posts. […]
I've done so and assigned a new title to the topic.
meho_r wrote:localghost, I've just converted ubuntu karmic's .deb file to .rpm with alien, all went without a hitch. I installed it on Mandriva and noticed what you said was the problem on openSUSE: there was no spellchecking. After that, I did a comparison with my Ubuntu installation and noticed that on Ubuntu, dictionaries are located in /usr/share/myspell/dicts. On Mandriva, there are only those located in /usr/share/dict/ooo/. Since spellchecking works on Ubuntu I concluded that TeXWorks must've been looking at the above location, /usr/share/myspell/dicts for dictionaries. […]
I will try your modifications as soon as I have completely setup the new openSUSE 11.2 on my notebook as well as on my desktop computer.

Actually TeXworks should read all settings from the .TeXworks folder which is created in your home directory. But there is no dictionaries folder. I created one and put the dictionary files in but without success.

On Windows I'm quite sure that there was one with all necessary sub-folders before I used the version integrated in MiKTeX.

Code: Select all

C:\Documents and Settings\<user>\Local Settings\Application Data\TeXworks
I copied all necessary files to the appropriate sub-folder and it worked. The MiKTeX version of TeXworks retrieves dictionaries from the MiKTeX installation path.

Code: Select all

C:\Program Files\MiKTeX 2.8\hunspell\dicts
According to the manual for revision 357 (Section 4.3 - Spell-check, p. 12) TeXworks should read data from a folder in the home directory [1]. Hunspell is also installed on my system but spell-checking doesn't work. I think I'll write to the mailing list. But I will also try the suggested modifications. Nevertheless spell-checking should work out of the box.

[1] TeXworks documents and programmes
ptrcao
Posts: 88
Joined: Sun Dec 05, 2010 3:26 am

Prepared TeXworks packages for Linux

Post by ptrcao »

localghost wrote: ....The MiKTeX version of TeXworks retrieves dictionaries from the MiKTeX installation path.

Code: Select all

C:\Program Files\MiKTeX 2.8\hunspell\dicts
Well that would explain it - I wish the documentation was explicit about this. It's a cardinal sin for the TeXworks instructions page not to point this out for the MiKTeX version. People waste time trying to figure these things out...


Thanks again localghost. You were clearly solving problems on the scene long before I came along.
OS info: Win XP | Debian 6.0 | Ubuntu 10.04
Latex editor of choice: TexWorks (for dual view feature)
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Prepared TeXworks packages for Linux

Post by localghost »

localghost wrote:I'm not aware of any precompiled binaries of TeXworks in form of DEB or RPM packages. […]
In the meantime pre-compiled RPM packages for TeXworks are available from the »Publishing« repository of the openSUSE Build Service (OBS). Current version is the stable release 0.4.0 so the preceding version 0.2.3 has been replaced. Perhaps other distributions followed correspondingly.
Post Reply