From bvoisin at me.com Fri Apr 1 17:24:56 2011
From: bvoisin at me.com (Bruno Voisin)
Date: Fri, 01 Apr 2011 17:24:56 +0200
Subject: [texworks] Message from TeXworks user
In-Reply-To:
References:
Message-ID: <84FB290F-23A8-459B-945D-376A38530267@me.com>
TeXworks is a front-end to a TeX distribution (ie TeX executables and support files). The message "pdflatex.exe has not been found" means you don't have such a distribution, or TeXworks can't find it.
Obvious candidates on Windows are MikTeX and TeX Live , I think.
Bruno Voisin
Le 31 mars 2011 ? 22:42, Robin A a ?crit :
> Bonjour j?ai install? le logiciel TeXworks sut mon ordinateur portable
>
> Mais malheureusement d?s que je veux pr?visualiser mon document un message d?erreur s?affiche ? le programme pdflatex.exe n?a pas ?t? trouv? ?. Que dois-je faire ?
>
> Merci de votre aide
>
>
>
> ----- configuration info -----
> TeXworks version : 0.4.0r759 (official)
> Install location : C:/Program Files/TeXworks/TeXworks.exe
> Library path : C:/Users/Robin/TeXworks\
> pdfTeX location : not found
> Operating system : Windows Vista Service Pack 2, 32-bit
> Qt4 version : 4.7.2 (build) / 4.7.2 (runtime)
> ------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From prernaatri at gmail.com Fri Apr 1 18:34:20 2011
From: prernaatri at gmail.com (Prerna Atri)
Date: Fri, 1 Apr 2011 22:04:20 +0530
Subject: [texworks] Fink Package (for MAC OS X) TeXworks 0.3 - Build error
Message-ID:
Hi,
We have been working on porting TeXworks ( version 0.3) as a package on
Fink.
We are using the following Fink packages for building TeXworks:
- qt4-mac ( v 4.6.3-2)
- poppler4-qt4-mac ( v 0.10.7-3)
- fontconfig-config ( v 2.8.0-4)
- poppler-data ( v 0.2.1-1)
- hunspell ( v 1.2.12-1002)
- poppler4-xpdf ( v 0.10.7-1)
- libhunspell ( v 1.2.12-1002)
When building TeXworks after installing the above metioned packages, we are
getting the following failure:
*CompileC
obj/TeXworks.build/Default/TeXworks.build/Objects-normal/i386/TWApp.o
src/TWApp.cpp normal i386 c++ com.apple.compilers.gcc.4_2*
* cd /sw/src/fink.build/texworks-0.3-1/texworks-0.3*
* setenv LANG en_US.US-ASCII*
* /usr/bin/g++-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe
-Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic
-fvisibility=hidden -fvisibility-inlines-hidden -mmacosx-version-min=10.4
-gdwarf-2
-I/sw/src/fink.build/texworks-0.3-1/texworks-0.3/obj/TeXworks.build/Default/TeXworks.build/TeXworks.hmap
-F/sw/src/fink.build/texworks-0.3-1/texworks-0.3/build/Default
-I/sw/src/fink.build/texworks-0.3-1/texworks-0.3/build/Default/include
-I/sw/lib/qt4-mac/include/QtUiTools -I/sw/lib/qt4-mac/include/QtCore
-I/sw/lib/qt4-mac/include/QtGui -I/sw/lib/qt4-mac/include/QtXml
-I/sw/lib/qt4-mac/include/QtScriptTools -I/sw/lib/qt4-mac/include/QtScript
-I/usr/include -I/sw/include/poppler -I/sw/opt/kde4/mac/include/poppler/qt4
-I/sw/include/hunspell -I/sw/lib/fontconfig2/include -Imoc -Iui
-I/usr/local/include
-I/System/Library/Frameworks/CarbonCore.framework/Headers
-I/usr/local/Qt4.7/mkspecs/macx-xcode
-I/sw/src/fink.build/texworks-0.3-1/texworks-0.3/obj/TeXworks.build/Default/TeXworks.build/DerivedSources/i386
-I/sw/src/fink.build/texworks-0.3-1/texworks-0.3/obj/TeXworks.build/Default/TeXworks.build/DerivedSources
-pipe -DTW_BUILD_ID=personal -DHAVE_POPPLER_XPDF_HEADERS -fexceptions -g
-Wall -W -DQT_SCRIPT_LIB -DQT_SCRIPTTOOLS_LIB -DQT_XML_LIB -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_SHARED -c
/sw/src/fink.build/texworks-0.3-1/texworks-0.3/src/TWApp.cpp -o
/sw/src/fink.build/texworks-0.3-1/texworks-0.3/obj/TeXworks.build/Default/TeXworks.build/Objects-normal/i386/TWApp.o
*
*
*
*/sw/src/fink.build/texworks-0.3-1/texworks-0.3/src/TWApp.cpp: In member
function ?void TWApp::init()?:*
*/sw/src/fink.build/texworks-0.3-1/texworks-0.3/src/TWApp.cpp:159: error: no
matching function for call to ?GlobalParams::GlobalParams(char*)?*
*/sw/include/poppler/GlobalParams.h:162: note: candidates are:
GlobalParams::GlobalParams()*
*/sw/include/poppler/GlobalParams.h:157: note:
GlobalParams::GlobalParams(const GlobalParams&)*
*** BUILD FAILED ***
*
*
*
*
*The following build commands failed:*
*TeXworks:*
* CompileC
obj/TeXworks.build/Default/TeXworks.build/Objects-normal/i386/TWApp.o
/sw/src/fink.build/texworks-0.3-1/texworks-0.3/src/TWApp.cpp normal i386 c++
com.apple.compilers.gcc.4_2*
*(1 failure)*
Please suggest any possible fixes for the above build failure.
Thanks & Regards,
Prerna Atri.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From suresh.amritapuri at gmail.com Fri Apr 1 22:06:37 2011
From: suresh.amritapuri at gmail.com (Suresh Kumar)
Date: Fri, 1 Apr 2011 13:06:37 -0700
Subject: [texworks] auto completion
Message-ID:
Hi
Is it possible to have auto completion in texworks now, similar to the one
seen in texlipse+eclipse?
thanks
suresh
--
R Suresh Kumar,
http://www.m atrukripa.com
Sarve bhavantu sukinaha (May everyone be happy)
Sarve santu niramiyaha (May everyone be without affliction)
Sarve bhadrani pashyantu (May everyone see only goodness)
Ma kashchit dukha bhak bhavet (Let none be the victim of suffering)
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From st.loeffler at gmail.com Sat Apr 2 12:36:26 2011
From: st.loeffler at gmail.com (=?windows-1252?Q?Stefan_L=F6ffler?=)
Date: Sat, 02 Apr 2011 12:36:26 +0200
Subject: [texworks] Fink Package (for MAC OS X) TeXworks 0.3 - Build
error
In-Reply-To:
References:
Message-ID: <4D96FC2A.9030200@gmail.com>
Hi,
On 2011-04-01 18:34, Prerna Atri wrote:
> We have been working on porting TeXworks ( version 0.3) as a package
> on Fink.
It's great to hear that there still is some progress with Tw on the Mac
:). The latest version is labeled 0.5, though.
> We are using the following Fink packages for building TeXworks:
>
> * qt4-mac ( v 4.6.3-2)
> * poppler4-qt4-mac ( v 0.10.7-3)
> * fontconfig-config ( v 2.8.0-4)
> * poppler-data ( v 0.2.1-1)
> * hunspell ( v 1.2.12-1002)
> * poppler4-xpdf ( v 0.10.7-1)
> * libhunspell ( v 1.2.12-1002)
>
Some of these seem outdated:
* Qt - latest stable version: 4.7.2 (though the difference to the 4.6
series is probably not too important for Tw)
* Hunspell - latest stable version: 1.3.1 (again, I don't think this is
very relevant)
* poppler - latest stable version: 0.16 (now, this is very relevant!)
* poppler-data - latest stable version: 0.4.4
> When building TeXworks after installing the above metioned packages,
> we are getting the following failure:
>
> //sw/src/fink.build/texworks-0.3-1/texworks-0.3/src/TWApp.cpp: In
> member function ?void TWApp::init()?:/
> //sw/src/fink.build/texworks-0.3-1/texworks-0.3/src/TWApp.cpp:159:
> error: no matching function for call to
> ?GlobalParams::GlobalParams(char*)?/
> //sw/include/poppler/GlobalParams.h:162: note: candidates are:
> GlobalParams::GlobalParams()/
> //sw/include/poppler/GlobalParams.h:157: note:
> GlobalParams::GlobalParams(const GlobalParams&)/
> /** BUILD FAILED **/
This is a result of the ancient poppler version.
In recent versions (I think from 0.12 on), the constructor of
GlobalParams takes as argument the location of the private poppler
directory. Note, however, that for this to be effective, you need to
have a patched version of poppler, which I guess is not what you
(initially) want with Fink, unless you have to. For more information,
see src/TWApp.cpp (lines 148-152), as well as the lib-patches/ directory.
The easiest solution would be to comment out the line
QMAKE_CXXFLAGS += -DHAVE_POPPLER_XPDF_HEADERS
in TeXworks.pro, though. This way, you will not be able to use a
poppler-data/ directory alongside the TeXworks.app bundle, but poppler
should look for the default ones in some system dependent global
directory. In any case, you should check if this works properly (i.e.,
it picks up the files installed by poppler-data).
HTH
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From st.loeffler at gmail.com Sat Apr 2 12:38:18 2011
From: st.loeffler at gmail.com (=?ISO-8859-1?Q?Stefan_L=F6ffler?=)
Date: Sat, 02 Apr 2011 12:38:18 +0200
Subject: [texworks] auto completion
In-Reply-To:
References:
Message-ID: <4D96FC9A.1030901@gmail.com>
Hi,
On 2011-04-01 22:06, Suresh Kumar wrote:
> Is it possible to have auto completion in texworks now, similar to the
> one seen in texlipse+eclipse?
Some form of auto completion is there (see the manual and/or the wiki
http://code.google.com/p/texworks/wiki/CodeCompletion), but it works
somewhat different than in eclipse, I think. A general evaluation of
this is on my mid-term to long-term wishlist, though.
HTH
Stefan
From suresh.amritapuri at gmail.com Sun Apr 3 03:09:39 2011
From: suresh.amritapuri at gmail.com (Suresh Kumar)
Date: Sat, 2 Apr 2011 18:09:39 -0700
Subject: [texworks] auto completion
In-Reply-To: <4D96FC9A.1030901@gmail.com>
References:
<4D96FC9A.1030901@gmail.com>
Message-ID:
Hi
Thanks for the reply. Personally, I find the automatic completion, where
eclipse adds \end{environment} once you type \begin{some environment} very
fascinating. Again eclipse completes braces, $ etc. So I was trying to see
if texworks does the same thing.
suresh
On Sat, Apr 2, 2011 at 3:38 AM, Stefan L?ffler wrote:
> Hi,
>
> On 2011-04-01 22:06, Suresh Kumar wrote:
> > Is it possible to have auto completion in texworks now, similar to the
> > one seen in texlipse+eclipse?
>
> Some form of auto completion is there (see the manual and/or the wiki
> http://code.google.com/p/texworks/wiki/CodeCompletion), but it works
> somewhat different than in eclipse, I think. A general evaluation of
> this is on my mid-term to long-term wishlist, though.
>
> HTH
> Stefan
>
--
R Suresh Kumar,
http://www.m atrukripa.com
Sarve bhavantu sukinaha (May everyone be happy)
Sarve santu niramiyaha (May everyone be without affliction)
Sarve bhadrani pashyantu (May everyone see only goodness)
Ma kashchit dukha bhak bhavet (Let none be the victim of suffering)
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From suresh.amritapuri at gmail.com Sun Apr 3 07:32:02 2011
From: suresh.amritapuri at gmail.com (Suresh Kumar)
Date: Sat, 2 Apr 2011 22:32:02 -0700
Subject: [texworks] auto completion
In-Reply-To: <4D96FC9A.1030901@gmail.com>
References:
<4D96FC9A.1030901@gmail.com>
Message-ID:
Hi
Much to my surprise I found that it is possible to do auto completion like
in eclipse by configuring texworks. I found some scripts installed already
in my linux machine which contains the line:
bali:=\begin{align}#RET##INS##RET#\end{align}?
What is this last big size bullet? What is its purpose? How this symbol is
entered ? (it is not in my key board)
thanks
suresh
ps. This set of macros makes texworks very very powerful I guess
On Sat, Apr 2, 2011 at 3:38 AM, Stefan L?ffler wrote:
> Hi,
>
> On 2011-04-01 22:06, Suresh Kumar wrote:
> > Is it possible to have auto completion in texworks now, similar to the
> > one seen in texlipse+eclipse?
>
> Some form of auto completion is there (see the manual and/or the wiki
> http://code.google.com/p/texworks/wiki/CodeCompletion), but it works
> somewhat different than in eclipse, I think. A general evaluation of
> this is on my mid-term to long-term wishlist, though.
>
> HTH
> Stefan
>
--
R Suresh Kumar,
http://www.m atrukripa.com
Sarve bhavantu sukinaha (May everyone be happy)
Sarve santu niramiyaha (May everyone be without affliction)
Sarve bhadrani pashyantu (May everyone see only goodness)
Ma kashchit dukha bhak bhavet (Let none be the victim of suffering)
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From suresh.amritapuri at gmail.com Sun Apr 3 08:22:06 2011
From: suresh.amritapuri at gmail.com (Suresh Kumar)
Date: Sat, 2 Apr 2011 23:22:06 -0700
Subject: [texworks] git and texworks
Message-ID:
hi
is it possible to use version control system while inside texworks? for
example can we use git?
thanks
suresh
--
R Suresh Kumar,
http://www.m atrukripa.com
Sarve bhavantu sukinaha (May everyone be happy)
Sarve santu niramiyaha (May everyone be without affliction)
Sarve bhadrani pashyantu (May everyone see only goodness)
Ma kashchit dukha bhak bhavet (Let none be the victim of suffering)
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From nishni_nowgorod at gaponline.de Sun Apr 3 09:51:08 2011
From: nishni_nowgorod at gaponline.de (Andreas Hirsch)
Date: Sun, 03 Apr 2011 09:51:08 +0200
Subject: [texworks] auto completion
In-Reply-To:
References:
<4D96FC9A.1030901@gmail.com>
Message-ID: <4D9826EC.6060508@gaponline.de>
Hi!
quoting Suresh Kumar, [03.04.2011 07:32 +0100]:
> Hi
> Much to my surprise I found that it is possible to do auto completion like
> in eclipse by configuring texworks. I found some scripts installed already
> in my linux machine which contains the line:
>
> bali:=\begin{align}#RET##INS##RET#\end{align}?
>
> What is this last big size bullet?
It is intended to reach the next editing point via
I have a related question:
Where ist a predifined completition for
bite:=\begin{itemize}#RET#\item#RET##INS##RET#\end{itemize}?
which expands to
\begin{itemize}
\item
\end{itemize}?
I would like to have it modified to
\begin{itemize}
\item
\end{itemize}
?
and tried therefore bit:=\begin{itemize}#RET#\item
#INS#\end{abstract}#RET# ?
which expands to the same as the original - or is it due to the fact
that I could not override the predefined fils?
Andreas
--
'People, it has been said, can be placed in three classes:
the few who makes things happen,
the many, watching things happen and
the overwhelming majority who have no idea what is happening.'
Nicolas Murray Butler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL:
From st.loeffler at gmail.com Sun Apr 3 10:00:07 2011
From: st.loeffler at gmail.com (=?ISO-8859-1?Q?Stefan_L=F6ffler?=)
Date: Sun, 03 Apr 2011 10:00:07 +0200
Subject: [texworks] git and texworks
In-Reply-To:
References:
Message-ID: <4D982907.5050302@gmail.com>
Hi,
On 2011-04-03 08:22, Suresh Kumar wrote:
> is it possible to use version control system while inside texworks?
> for example can we use git?
Yes, that should be possible. There is no direct interface for it in Tw
(i.e., you don't have a menu item or something to run git commands
directly), but it should pick up changes etc. that come from invoking
git somewhere else (e.g., on the command line).
There has been one bug report about Tw not properly handling commits in
mercurial some time ago, but that should be fixed now.
HTH
Stefan
From st.loeffler at gmail.com Sun Apr 3 10:07:53 2011
From: st.loeffler at gmail.com (=?UTF-8?B?U3RlZmFuIEzDtmZmbGVy?=)
Date: Sun, 03 Apr 2011 10:07:53 +0200
Subject: [texworks] auto completion
In-Reply-To: <4D9826EC.6060508@gaponline.de>
References:
<4D96FC9A.1030901@gmail.com>
<4D9826EC.6060508@gaponline.de>
Message-ID: <4D982AD9.5050900@gmail.com>
Hi,
On 2011-04-03 09:51, Andreas Hirsch wrote:
> quoting Suresh Kumar, [03.04.2011 07:32 +0100]:
>> Hi
>> Much to my surprise I found that it is possible to do auto completion like
>> in eclipse by configuring texworks. I found some scripts installed already
>> in my linux machine which contains the line:
>>
>> bali:=\begin{align}#RET##INS##RET#\end{align}?
>>
>> What is this last big size bullet?
> It is intended to reach the next editing point via
Exactly. For more information, see
http://code.google.com/p/texworks/wiki/CodeCompletion
The easiest way of inputting it will probably be copy/paste.
> I have a related question:
>
> Where ist a predifined completition for
>
> bite:=\begin{itemize}#RET#\item#RET##INS##RET#\end{itemize}?
>
> which expands to
>
> \begin{itemize}
> \item
>
> \end{itemize}?
>
> I would like to have it modified to
>
> \begin{itemize}
> \item
> \end{itemize}
> ?
>
> and tried therefore bit:=\begin{itemize}#RET#\item
> #INS#\end{abstract}#RET# ?
>
> which expands to the same as the original - or is it due to the fact
> that I could not override the predefined fils?
Yes, overriding it should be possible. The file where this is defined is
/completion/tw-latex.txt [1]. Note that there are two
entries, though: one for "bite", and one for "\bite". Maybe this causes
some confusion.
BTW: your alternative definition seems flawed (\end{abstract}, for one
thing), but I assume that's for testing only.
HTH
Stefan
[1] The location of the resources folder is system-dependent. See
http://code.google.com/p/texworks/wiki/TipsAndTricks#Locating_and_customizing_TeXworks_resources
From nishni_nowgorod at gaponline.de Sun Apr 3 10:42:10 2011
From: nishni_nowgorod at gaponline.de (Andreas Hirsch)
Date: Sun, 03 Apr 2011 10:42:10 +0200
Subject: [texworks] auto completion
In-Reply-To: <4D982AD9.5050900@gmail.com>
References:
<4D96FC9A.1030901@gmail.com>
<4D9826EC.6060508@gaponline.de> <4D982AD9.5050900@gmail.com>
Message-ID: <4D9832E2.907@gaponline.de>
Hi Stefan,
quoting Stefan L?ffler, [03.04.2011 10:07 +0100]:
> On 2011-04-03 09:51, Andreas Hirsch wrote:
>> I have a related question:
>>
>> Where ist a predifined completition for
>>
>> bite:=\begin{itemize}#RET#\item#RET##INS##RET#\end{itemize}?
>>
>> which expands to
>>
>> \begin{itemize}
>> \item
>>
>> \end{itemize}?
>>
>> I would like to have it modified to
>>
>> \begin{itemize}
>> \item
>> \end{itemize}
>> ?
>>
>> and tried therefore bit:=\begin{itemize}#RET#\item
>> #INS#\end{abstract}#RET# ?
>>
>> which expands to the same as the original - or is it due to the fact
>> that I could not override the predefined fils?
>
> Yes, overriding it should be possible.
The files are coded 'readonly' so I had to change this first.
> The file where this is defined is
> /completion/tw-latex.txt [1]. Note that there are two
> entries, though: one for "bite", and one for "\bite". Maybe this causes
> some confusion.
that's it: I have to comment out all occurences starting with bit or \bit
> BTW: your alternative definition seems flawed (\end{abstract}, for one
> thing), but I assume that's for testing only.
a typo ;-)
now things work _nearly_ als expected, the expanded text is:
\begin{itemize}
\item \end{itemize}
?
Could it be solved that:
- \end{itemize} goes into the next line but
- no empty line is produced?
I mean
\begin{itemize}
\item
\end{itemize}
?
and the cursor is placed behind item?
TIA
Andreas
--
'People, it has been said, can be placed in three classes:
the few who makes things happen,
the many, watching things happen and
the overwhelming majority who have no idea what is happening.'
Nicolas Murray Butler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL:
From st.loeffler at gmail.com Sun Apr 3 11:56:33 2011
From: st.loeffler at gmail.com (=?UTF-8?B?U3RlZmFuIEzDtmZmbGVy?=)
Date: Sun, 03 Apr 2011 11:56:33 +0200
Subject: [texworks] auto completion
In-Reply-To: <4D9832E2.907@gaponline.de>
References:
<4D96FC9A.1030901@gmail.com>
<4D9826EC.6060508@gaponline.de> <4D982AD9.5050900@gmail.com>
<4D9832E2.907@gaponline.de>
Message-ID: <4D984451.1050704@gmail.com>
Hi,
On 2011-04-03 10:42, Andreas Hirsch wrote:
> now things work _nearly_ als expected, the expanded text is:
>
> \begin{itemize}
> \item \end{itemize}
> ?
>
> Could it be solved that:
>
> - \end{itemize} goes into the next line but
> - no empty line is produced?
>
> I mean
>
> \begin{itemize}
> \item
> \end{itemize}
> ?
>
> and the cursor is placed behind item?
Sure.
bit:=\begin{itemize}#RET#\item#INS##RET#\end{itemize}#RET#?
Should do the trick. Note that #INS# only marks the cursor position, it
doesn't insert anything (no spaces, newlines, etc.).
HTH
Stefan
From nishni_nowgorod at gaponline.de Sun Apr 3 12:34:39 2011
From: nishni_nowgorod at gaponline.de (Andreas Hirsch)
Date: Sun, 03 Apr 2011 12:34:39 +0200
Subject: [texworks] auto completion
In-Reply-To: <4D984451.1050704@gmail.com>
References:
<4D96FC9A.1030901@gmail.com>
<4D9826EC.6060508@gaponline.de> <4D982AD9.5050900@gmail.com>
<4D9832E2.907@gaponline.de> <4D984451.1050704@gmail.com>
Message-ID: <4D984D3F.5070609@gaponline.de>
quoting Stefan L?ffler, [03.04.2011 11:56 +0100]:
> On 2011-04-03 10:42, Andreas Hirsch wrote:
>> now things work _nearly_ als expected, the expanded text is:
>>
>> \begin{itemize}
>> \item \end{itemize}
>> ?
>>
>> Could it be solved that:
>>
>> - \end{itemize} goes into the next line but
>> - no empty line is produced?
>>
>> I mean
>>
>> \begin{itemize}
>> \item
>> \end{itemize}
>> ?
>>
>> and the cursor is placed behind item?
>
> Sure.
> bit:=\begin{itemize}#RET#\item#INS##RET#\end{itemize}#RET#?
> Should do the trick. Note that #INS# only marks the cursor position, it
> doesn't insert anything (no spaces, newlines, etc.).
works! great!
Thank You!
Andreas
--
'People, it has been said, can be placed in three classes:
the few who makes things happen,
the many, watching things happen and
the overwhelming majority who have no idea what is happening.'
Nicolas Murray Butler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL:
From herbs at wideopenwest.com Sun Apr 3 13:42:54 2011
From: herbs at wideopenwest.com (Herbert Schulz)
Date: Sun, 3 Apr 2011 06:42:54 -0500
Subject: [texworks] auto completion
In-Reply-To: <4D982AD9.5050900@gmail.com>
References:
<4D96FC9A.1030901@gmail.com>
<4D9826EC.6060508@gaponline.de> <4D982AD9.5050900@gmail.com>
Message-ID: <04AA4617-9777-4307-BAC6-23B4A286F784@wideopenwest.com>
On Apr 3, 2011, at 3:07 AM, Stefan L?ffler wrote:
> Hi,
>
> On 2011-04-03 09:51, Andreas Hirsch wrote:
>> quoting Suresh Kumar, [03.04.2011 07:32 +0100]:
>>> Hi
>>> Much to my surprise I found that it is possible to do auto completion like
>>> in eclipse by configuring texworks. I found some scripts installed already
>>> in my linux machine which contains the line:
>>>
>>> bali:=\begin{align}#RET##INS##RET#\end{align}?
>>>
>>> What is this last big size bullet?
>> It is intended to reach the next editing point via
>
> Exactly. For more information, see
> http://code.google.com/p/texworks/wiki/CodeCompletion
> The easiest way of inputting it will probably be copy/paste.
>
>> I have a related question:
>>
>> Where ist a predifined completition for
>>
>> bite:=\begin{itemize}#RET#\item#RET##INS##RET#\end{itemize}?
>>
>> which expands to
>>
>> \begin{itemize}
>> \item
>>
>> \end{itemize}?
>>
>> I would like to have it modified to
>>
>> \begin{itemize}
>> \item
>> \end{itemize}
>> ?
>>
>> and tried therefore bit:=\begin{itemize}#RET#\item
>> #INS#\end{abstract}#RET# ?
>>
>> which expands to the same as the original - or is it due to the fact
>> that I could not override the predefined fils?
>
> Yes, overriding it should be possible. The file where this is defined is
> /completion/tw-latex.txt [1]. Note that there are two
> entries, though: one for "bite", and one for "\bite". Maybe this causes
> some confusion.
> BTW: your alternative definition seems flawed (\end{abstract}, for one
> thing), but I assume that's for testing only.
>
> HTH
> Stefan
>
> [1] The location of the resources folder is system-dependent. See
> http://code.google.com/p/texworks/wiki/TipsAndTricks#Locating_and_customizing_TeXworks_resources
Howdy,
On thing to note: There are lots of environments pre-defined in the completion file but certainly not any custom environments you may use. You can always add more to the completion file.
However, in TeXShop (Mac only, and the basic design of Command Completion is based on the version there that) there is one other more general completion, for occasional use, to complete an arbitrary environment \begin{myenv} with an \end{myenv}. You first type the \begin{myenv} and press Esc (that would be Tab, the Command Completion trigger, in TeXworks) and the \end{myenv} gets put on the next line. It might be worthwhile to add that to TeXworks.
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
From warrence.stm at gmx.de Sun Apr 3 17:05:32 2011
From: warrence.stm at gmx.de (=?ISO-8859-1?Q?Stefan_M=FCller?=)
Date: Sun, 03 Apr 2011 17:05:32 +0200
Subject: [texworks] git and texworks
In-Reply-To: <4D982907.5050302@gmail.com>
References:
<4D982907.5050302@gmail.com>
Message-ID: <4D988CBC.9020807@gmx.de>
On 03.04.2011 10:00, Stefan L?ffler wrote:
> Hi,
>
> On 2011-04-03 08:22, Suresh Kumar wrote:
>> is it possible to use version control system while inside texworks?
>> for example can we use git?
>
> Yes, that should be possible. There is no direct interface for it in Tw
> (i.e., you don't have a menu item or something to run git commands
> directly), but it should pick up changes etc. that come from invoking
> git somewhere else (e.g., on the command line).
>
> There has been one bug report about Tw not properly handling commits in
> mercurial some time ago, but that should be fixed now.
Yes, this seems fixed and was due to mercurial changing the working
files multiple times while committing (in some cases).
Stefan
> HTH
> Stefan
>
From matthias.pospiech at gmx.de Sun Apr 3 21:02:08 2011
From: matthias.pospiech at gmx.de (Matthias Pospiech)
Date: Sun, 03 Apr 2011 21:02:08 +0200
Subject: [texworks] Path for Scripts on Windows for Texlive and Miktex
Message-ID: <4D98C430.1010809@gmx.de>
An HTML attachment was scrubbed...
URL:
From matthias.pospiech at gmx.de Sun Apr 3 21:37:11 2011
From: matthias.pospiech at gmx.de (Matthias Pospiech)
Date: Sun, 03 Apr 2011 21:37:11 +0200
Subject: [texworks] complete reference for magic comments
Message-ID: <4D98CC67.5000309@gmx.de>
An HTML attachment was scrubbed...
URL:
From schuster.wolfgang at googlemail.com Sun Apr 3 21:48:31 2011
From: schuster.wolfgang at googlemail.com (Wolfgang Schuster)
Date: Sun, 3 Apr 2011 21:48:31 +0200
Subject: [texworks] complete reference for magic comments
In-Reply-To: <4D98CC67.5000309@gmx.de>
References: <4D98CC67.5000309@gmx.de>
Message-ID: <97DA5082-59C8-4DD3-8E77-F1E287714441@googlemail.com>
Am 03.04.2011 um 21:37 schrieb Matthias Pospiech:
> I am trying to collect all necessary magic comments for a new template
> for latex beginners. However google does not find them, and tw does not seem to
> link on any page to a reference.
> Therefore I would like to know if there is any complete reference for the magic comments.
http://www.texdev.net/2011/03/24/texworks-magic-comments/
Wolfgang
From matthias.pospiech at gmx.de Sun Apr 3 22:06:18 2011
From: matthias.pospiech at gmx.de (Matthias Pospiech)
Date: Sun, 03 Apr 2011 22:06:18 +0200
Subject: [texworks] complete reference for magic comments
In-Reply-To: <97DA5082-59C8-4DD3-8E77-F1E287714441@googlemail.com>
References: <4D98CC67.5000309@gmx.de>
<97DA5082-59C8-4DD3-8E77-F1E287714441@googlemail.com>
Message-ID: <4D98D33A.1020407@gmx.de>
An HTML attachment was scrubbed...
URL:
From schuster.wolfgang at googlemail.com Sun Apr 3 22:15:21 2011
From: schuster.wolfgang at googlemail.com (Wolfgang Schuster)
Date: Sun, 3 Apr 2011 22:15:21 +0200
Subject: [texworks] complete reference for magic comments
In-Reply-To: <4D98D33A.1020407@gmx.de>
References: <4D98CC67.5000309@gmx.de>
<97DA5082-59C8-4DD3-8E77-F1E287714441@googlemail.com>
<4D98D33A.1020407@gmx.de>
Message-ID: <5C6709A4-88A3-49A0-B9D6-0694BE8DC4AF@googlemail.com>
Am 03.04.2011 um 22:06 schrieb Matthias Pospiech:
> Am 03.04.2011 21:48, schrieb Wolfgang Schuster:
>>
>> Am 03.04.2011 um 21:37 schrieb Matthias Pospiech:
>>> I am trying to collect all necessary magic comments for a new template
>>> for latex beginners. However google does not find them, and tw does not seem to
>>> link on any page to a reference.
>>> Therefore I would like to know if there is any complete reference for the magic comments.
>> http://www.texdev.net/2011/03/24/texworks-magic-comments/
> That was the only page I had found myself while searching for magic comments.
> However it is far from a complete set.
There is another one mentioned at the project wiki: http://code.google.com/p/texworks/wiki/TipsAndTricks#Using_the_outline_and_bookmarks_in_source_files
Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From st.loeffler at gmail.com Mon Apr 4 20:41:43 2011
From: st.loeffler at gmail.com (=?ISO-8859-15?Q?Stefan_L=F6ffler?=)
Date: Mon, 04 Apr 2011 20:41:43 +0200
Subject: [texworks] Path for Scripts on Windows for Texlive and Miktex
In-Reply-To: <4D98C430.1010809@gmx.de>
References: <4D98C430.1010809@gmx.de>
Message-ID: <4D9A10E7.5010604@gmail.com>
Hi,
On 2011-04-03 21:02, Matthias Pospiech wrote:
> I would like to install some scripts, but on texlive and miktex tw is
> located at
> the main bin path and thus has no subdirs with scripts.
> Therefore I would like to know where scripts are supposed to be located
> in the case of miktex and texlive.
scripts are usually not supposed to be located alongside the main
application (unless special steps a taken, such as configuring portable
mode).
Scripts are always located in the "scripts" subdirectory of the resource
folder. The resource folder, in turn, is located in a system-specific
and configurable place. For the defaults, see
http://code.google.com/p/texworks/wiki/TipsAndTricks#Locating_and_customizing_TeXworks_resources
If you have the respective TeXworks executables installed, you can also
use "Scripts > Scripting TeXworks > Show Scripts Folder" to determine
the location.
HTH
Stefan
PS: Both MiKTeX and TeXLive may have altered those default locations
(usually to put the configuration files inside the texmf tree). This is
better asked on the respective mailing lists, however, as that are
distro-specific and not part of the "official" Tw code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From st.loeffler at gmail.com Mon Apr 4 20:56:02 2011
From: st.loeffler at gmail.com (=?ISO-8859-15?Q?Stefan_L=F6ffler?=)
Date: Mon, 04 Apr 2011 20:56:02 +0200
Subject: [texworks] New features and fixes to test
Message-ID: <4D9A1442.9060707@gmail.com>
Hi,
following up on some recent discussions here on the mailing list, there
have been some changes to Tw (up to r783). It would be great if you
could test them (Windows builds are on GC, Ubuntu builds are uploaded to
Launchpad and should be available soon, as always).
Changes to test:
- Functionalized PDF status bar widgets - double click on page number
to open "goto" dialog; right click on zoom level to get some zoom options
- "Help > Settings and Resources..." - new dialog that shows the
locations where settings and resources are stored; also has links for
easy access (except for the registry)
- Test cases - PDF-related test cases have been added to svn (they are
*not* distributed with the source/binary packages, however, as they are
for testing purposes only)
they are accessible via
http://code.google.com/p/texworks/source/browse/trunk#trunk%2Ftestcases
and there's also a README explaining how to use them
Tw should pass all tests by default (on Windows and Ubuntu, where there
are prebuilt binaries)
Specialty for the Mac:
- I've updated the poppler patches in lib-patches/. They should work
with poppler 0.16.4, but I've only tested patching itself, as I can't
build for the Mac. It would be great if someone could try building (the
mac scheme should be picked up by default during ./configure) and
ideally verify that fontconfig is not pulled in
If you choose to test (some of) these changes, please report whether it
works or not (or if it works partially/not entirely as expected).
TIA
Stefan
PS: I intend to turn most (all?) of the recent changes into Tw 0.4.1 in
the near future.
From joseph.wright at morningstar2.co.uk Mon Apr 4 21:47:23 2011
From: joseph.wright at morningstar2.co.uk (Joseph Wright)
Date: Mon, 04 Apr 2011 20:47:23 +0100
Subject: [texworks] Large file issues?
Message-ID: <4D9A204B.6040301@morningstar2.co.uk>
Hello all,
With large files (1000s of lines), I'm seeing two related issues:
1) If the file gets modified externally, TeXworks hangs on trying to
reload.
2) If I try to alter the highlighting, same thing
To be able to load the file, I then have to delete it from the recent
files list (i.e. from the Registry on Windows or the plist on the Mac),
otherwise I get a hang when I try to open it. I wonder if other people
are seeing this issue.
--
Joseph Wright
From st.loeffler at gmail.com Tue Apr 5 19:18:31 2011
From: st.loeffler at gmail.com (=?windows-1252?Q?Stefan_L=F6ffler?=)
Date: Tue, 05 Apr 2011 19:18:31 +0200
Subject: [texworks] Fink Package (for MAC OS X) TeXworks 0.3 - Build
error
In-Reply-To:
References:
<4D96FC2A.9030200@gmail.com>
Message-ID: <4D9B4EE7.9080901@gmail.com>
Hi,
On 2011-04-05 16:44, Prerna Atri wrote:
> Thanks for your valuable suggestions. We commented the compilation
> flag used for enabling the poppler-xpdf headers and compiled TeXworks
> source. The error reported earlier is no longer seen.
That's good news. In the long run, I still think this should be
re-enabled in the future, but for now every error that is gone is a good
one ;).
> However, we are currently facing the following failure on TeXworks
> compilation.
> /
> /
> /
> /sw/src/fink.build/texworks-0.3-1/texworks-0.3/../../../../opt/kde4/mac/include/poppler/qt4/poppler-optcontent.cc:428:34:
> error: poppler-optcontent.moc: No such file or directory
>
> The following build commands failed:
> TeXworks:
> CompileC
> obj/TeXworks.build/Default/TeXworks.build/Objects-normal/i386/poppler-optcontent.o
> /sw/src/fink.build/texworks-0.3-1/texworks-0.3/../../../../opt/kde4/mac/include/poppler/qt4/poppler-optcontent.cc
> normal i386 c++ com.apple.compilers.gcc.4_2
> (1 failure)
> /
>
> We searched for the .moc file but in vain. The poppler source folder
> for 10.7 has only the poppler-optcontent.cc file, which makes a
> reference to the poppler-optcontent.moc file, but we have not been
> able to locate the actual file.
Again the old reminders: Tw is currently at 0.5, not 0.3, and you should
really use an up-to-date version of poppler!
Anyway, I've looked at poppler 0.16.4, and the same file is still
mentioned. Makefile.am (in the same directory) lists it as
BUILT_SOURCES, so it's reasonable to assume it is an intermediate file
produced on the fly. Indeed, there are also the following three lines in
the same file:
# This rule lets GNU make create any *.moc from the equivalent *.h
.h.moc:
$(AM_V_GEN) $(MOCQT4) -i $< -o $@
This suggests that you have to run Qt's moc to generate that file. Why
this is not done automatically, however, is still a mystery to me.
Speaking of mysteries - why does this error occur during the Tw build?
Poppler is a dependency, but I'd expect it to be built/installed
separately before Tw is touched for the first time. Related to this: if
poppler is built as part of Tw (as opposed to separately), how is this
done? For example, if it's not done using the usual ./configure && make,
implicit rules like the .moc rule are easily missed.
HTH
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From st.loeffler at gmail.com Tue Apr 5 20:19:06 2011
From: st.loeffler at gmail.com (=?ISO-8859-1?Q?Stefan_L=F6ffler?=)
Date: Tue, 05 Apr 2011 20:19:06 +0200
Subject: [texworks] Fink Package (for MAC OS X) TeXworks 0.3 - Build
error
In-Reply-To:
References:
<4D96FC2A.9030200@gmail.com>
<4D9B4EE7.9080901@gmail.com>
Message-ID: <4D9B5D1A.1000506@gmail.com>
Hi,
On 2011-04-05 20:08, Prerna Atri wrote:
> On Tue, Apr 5, 2011 at 10:48 PM, Stefan L?ffler > wrote:
>
>
> Again the old reminders: Tw is currently at 0.5, not 0.3, and you
> should really use an up-to-date version of poppler!
>
>
> We are trying to port TeXworks as a package on Fink (
> http://www.finkproject.org/). According to Fink packaging policy, for
> the installing the dependencies of the application we are trying to
> port, we must use packages already on Fink. The versions we mentioned
> for poppler and other dependencies are the latest ones currently
> available on Fink. Hence, moving to a newer version of poppler (
> Hence, TW) is not feasible at the moment.
There's not much difference between Tw 0.3 and 0.5 (at least if you use
a recent revision of 0.3), it's just a naming convention.
Re. poppler, I did note that you are using Fink and it only provides an
old version. I was just suggesting that that should be updated
eventually ;).
> Anyway, I've looked at poppler 0.16.4, and the same file is still
> mentioned. Makefile.am (in the same directory) lists it as
> BUILT_SOURCES, so it's reasonable to assume it is an intermediate
> file produced on the fly. Indeed, there are also the following
> three lines in the same file:
> # This rule lets GNU make create any *.moc from the equivalent *.h
> .h.moc:
> $(AM_V_GEN) $(MOCQT4) -i $< -o $@
>
> This suggests that you have to run Qt's moc to generate that file.
> Why this is not done automatically, however, is still a mystery to me.
>
> Speaking of mysteries - why does this error occur during the Tw
> build? Poppler is a dependency, but I'd expect it to be
> built/installed separately before Tw is touched for the first
> time. Related to this: if poppler is built as part of Tw (as
> opposed to separately), how is this done? For example, if it's not
> done using the usual ./configure && make, implicit rules like the
> .moc rule are easily missed.
>
>
> As we mentioned above, poppler must be installed using the Fink
> package which has already been built according to Fink packaging
> policy. It could be possible that .moc files created in the process
> are for some reason not available after installation. We shall try to
> verify the same by installing poppler from source.
This only emphasizes the point that most likely there are issues with
poppler as provided by Fink (or as installed on your system).
Normally, Tw shouldn't touch any sources of poppler, it only requires
the header files and the libraries for linking. So it would probably be
a good idea to track down the reason the build process tries to build
(parts of) poppler. One wild guess would be that you don't have the qt4
backend for poppler (enabled by the --enable-poppler-qt4 configure
switch), or Tw doesn't pick it up properly, anyway.
HTH
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From prernaatri at gmail.com Tue Apr 5 16:44:19 2011
From: prernaatri at gmail.com (Prerna Atri)
Date: Tue, 5 Apr 2011 20:14:19 +0530
Subject: [texworks] Fink Package (for MAC OS X) TeXworks 0.3 - Build
error
In-Reply-To: <4D96FC2A.9030200@gmail.com>
References:
<4D96FC2A.9030200@gmail.com>
Message-ID:
Hi Stefan,
Thanks for your valuable suggestions. We commented the compilation flag used
for enabling the poppler-xpdf headers and compiled TeXworks source. The
error reported earlier is no longer seen.
However, we are currently facing the following failure on TeXworks
compilation.
*
*
*
/sw/src/fink.build/texworks-0.3-1/texworks-0.3/../../../../opt/kde4/mac/include/poppler/qt4/poppler-optcontent.cc:428:34:
error: poppler-optcontent.moc: No such file or directory
The following build commands failed:
TeXworks:
CompileC
obj/TeXworks.build/Default/TeXworks.build/Objects-normal/i386/poppler-optcontent.o
/sw/src/fink.build/texworks-0.3-1/texworks-0.3/../../../../opt/kde4/mac/include/poppler/qt4/poppler-optcontent.cc
normal i386 c++ com.apple.compilers.gcc.4_2
(1 failure)
*
We searched for the .moc file but in vain. The poppler source folder for
10.7 has only the poppler-optcontent.cc file, which makes a reference to the
poppler-optcontent.moc file, but we have not been able to locate the actual
file.
Thanks,
Prerna Atri
On Sat, Apr 2, 2011 at 4:06 PM, Stefan L?ffler wrote:
> Hi,
>
>
> On 2011-04-01 18:34, Prerna Atri wrote:
>
> We have been working on porting TeXworks ( version 0.3) as a package on
> Fink.
>
>
> It's great to hear that there still is some progress with Tw on the Mac :).
> The latest version is labeled 0.5, though.
>
>
> We are using the following Fink packages for building TeXworks:
>
>
> - qt4-mac ( v 4.6.3-2)
> - poppler4-qt4-mac ( v 0.10.7-3)
> - fontconfig-config ( v 2.8.0-4)
> - poppler-data ( v 0.2.1-1)
> - hunspell ( v 1.2.12-1002)
> - poppler4-xpdf ( v 0.10.7-1)
> - libhunspell ( v 1.2.12-1002)
>
>
> Some of these seem outdated:
> * Qt - latest stable version: 4.7.2 (though the difference to the 4.6
> series is probably not too important for Tw)
> * Hunspell - latest stable version: 1.3.1 (again, I don't think this is
> very relevant)
> * poppler - latest stable version: 0.16 (now, this is very relevant!)
> * poppler-data - latest stable version: 0.4.4
>
>
>
> When building TeXworks after installing the above metioned packages, we
> are getting the following failure:
>
> */sw/src/fink.build/texworks-0.3-1/texworks-0.3/src/TWApp.cpp: In member
> function ?void TWApp::init()?:*
> */sw/src/fink.build/texworks-0.3-1/texworks-0.3/src/TWApp.cpp:159: error:
> no matching function for call to ?GlobalParams::GlobalParams(char*)?*
> */sw/include/poppler/GlobalParams.h:162: note: candidates are:
> GlobalParams::GlobalParams()*
> */sw/include/poppler/GlobalParams.h:157: note:
> GlobalParams::GlobalParams(const GlobalParams&)*
> *** BUILD FAILED ***
>
>
> This is a result of the ancient poppler version.
> In recent versions (I think from 0.12 on), the constructor of GlobalParams
> takes as argument the location of the private poppler directory. Note,
> however, that for this to be effective, you need to have a patched version
> of poppler, which I guess is not what you (initially) want with Fink, unless
> you have to. For more information, see src/TWApp.cpp (lines 148-152), as
> well as the lib-patches/ directory.
>
> The easiest solution would be to comment out the line
> QMAKE_CXXFLAGS += -DHAVE_POPPLER_XPDF_HEADERS
> in TeXworks.pro, though. This way, you will not be able to use a
> poppler-data/ directory alongside the TeXworks.app bundle, but poppler
> should look for the default ones in some system dependent global directory.
> In any case, you should check if this works properly (i.e., it picks up the
> files installed by poppler-data).
>
> HTH
> Stefan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From prernaatri at gmail.com Tue Apr 5 20:08:24 2011
From: prernaatri at gmail.com (Prerna Atri)
Date: Tue, 5 Apr 2011 23:38:24 +0530
Subject: [texworks] Fink Package (for MAC OS X) TeXworks 0.3 - Build
error
In-Reply-To: <4D9B4EE7.9080901@gmail.com>
References:
<4D96FC2A.9030200@gmail.com>
<4D9B4EE7.9080901@gmail.com>
Message-ID:
Hi,
On Tue, Apr 5, 2011 at 10:48 PM, Stefan L?ffler wrote:
> Hi,
>
>
> On 2011-04-05 16:44, Prerna Atri wrote:
>
> Thanks for your valuable suggestions. We commented the compilation flag
> used for enabling the poppler-xpdf headers and compiled TeXworks source. The
> error reported earlier is no longer seen.
>
>
> That's good news. In the long run, I still think this should be re-enabled
> in the future, but for now every error that is gone is a good one ;).
>
>
> However, we are currently facing the following failure on TeXworks
> compilation.
> *
> *
> *
> /sw/src/fink.build/texworks-0.3-1/texworks-0.3/../../../../opt/kde4/mac/include/poppler/qt4/poppler-optcontent.cc:428:34:
> error: poppler-optcontent.moc: No such file or directory
>
> The following build commands failed:
> TeXworks:
> CompileC
> obj/TeXworks.build/Default/TeXworks.build/Objects-normal/i386/poppler-optcontent.o
> /sw/src/fink.build/texworks-0.3-1/texworks-0.3/../../../../opt/kde4/mac/include/poppler/qt4/poppler-optcontent.cc
> normal i386 c++ com.apple.compilers.gcc.4_2
> (1 failure)
> *
>
> We searched for the .moc file but in vain. The poppler source folder for
> 10.7 has only the poppler-optcontent.cc file, which makes a reference to the
> poppler-optcontent.moc file, but we have not been able to locate the actual
> file.
>
>
> Again the old reminders: Tw is currently at 0.5, not 0.3, and you should
> really use an up-to-date version of poppler!
>
>
We are trying to port TeXworks as a package on Fink (
http://www.finkproject.org/). According to Fink packaging policy, for the
installing the dependencies of the application we are trying to port, we
must use packages already on Fink. The versions we mentioned for poppler and
other dependencies are the latest ones currently available on Fink. Hence,
moving to a newer version of poppler ( Hence, TW) is not feasible at the
moment.
> Anyway, I've looked at poppler 0.16.4, and the same file is still
> mentioned. Makefile.am (in the same directory) lists it as BUILT_SOURCES, so
> it's reasonable to assume it is an intermediate file produced on the fly.
> Indeed, there are also the following three lines in the same file:
> # This rule lets GNU make create any *.moc from the equivalent *.h
> .h.moc:
> $(AM_V_GEN) $(MOCQT4) -i $< -o $@
>
> This suggests that you have to run Qt's moc to generate that file. Why this
> is not done automatically, however, is still a mystery to me.
>
> Speaking of mysteries - why does this error occur during the Tw build?
> Poppler is a dependency, but I'd expect it to be built/installed separately
> before Tw is touched for the first time. Related to this: if poppler is
> built as part of Tw (as opposed to separately), how is this done? For
> example, if it's not done using the usual ./configure && make, implicit
> rules like the .moc rule are easily missed.
>
As we mentioned above, poppler must be installed using the Fink package
which has already been built according to Fink packaging policy. It could be
possible that .moc files created in the process are for some reason not
available after installation. We shall try to verify the same by installing
poppler from source.
>
> HTH
> Stefan
>
Thanks,
Prerna.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From st.loeffler at gmail.com Wed Apr 6 11:02:08 2011
From: st.loeffler at gmail.com (=?ISO-8859-1?Q?Stefan_L=F6ffler?=)
Date: Wed, 06 Apr 2011 11:02:08 +0200
Subject: [texworks] New features and fixes to test
In-Reply-To: <4D9A1442.9060707@gmail.com>
References: <4D9A1442.9060707@gmail.com>
Message-ID: <4D9C2C10.3030701@gmail.com>
Hi,
On 2011-04-04 20:56, Stefan L?ffler wrote:
> - Test cases - PDF-related test cases have been added to svn (they are
> *not* distributed with the source/binary packages, however, as they are
> for testing purposes only)
> they are accessible via
> http://code.google.com/p/texworks/source/browse/trunk#trunk%2Ftestcases
> and there's also a README explaining how to use them
> Tw should pass all tests by default (on Windows and Ubuntu, where there
> are prebuilt binaries)
Addendum:
These instructions may have been misleading (sorry for that, and thanks
to Paul Norman for pointing it out). From the link posted above, you
actually need to click each file in turn to get to GC's inline display
of it (which will just give you a note that it can't display it for all
but the README). There, you'll find a link labeled "View raw file" on
the right hand side, which will finally give you access to the file
itself. Saving the link from the file list I linked to will only give
you the inline display HTML page, *not* the pdfs or pngs.
The better way is to download the files directly from
http://texworks.googlecode.com/svn/trunk/testcases
HTH
Stefan
From st.loeffler at gmail.com Thu Apr 7 10:55:46 2011
From: st.loeffler at gmail.com (=?ISO-8859-1?Q?Stefan_L=F6ffler?=)
Date: Thu, 07 Apr 2011 10:55:46 +0200
Subject: [texworks] Large file issues?
In-Reply-To: <4D9A204B.6040301@morningstar2.co.uk>
References: <4D9A204B.6040301@morningstar2.co.uk>
Message-ID: <4D9D7C12.5060400@gmail.com>
Hi,
On 2011-04-04 21:47, Joseph Wright wrote:
> With large files (1000s of lines), I'm seeing two related issues:
> 1) If the file gets modified externally, TeXworks hangs on trying to
> reload.
> 2) If I try to alter the highlighting, same thing
>
> To be able to load the file, I then have to delete it from the recent
> files list (i.e. from the Registry on Windows or the plist on the Mac),
> otherwise I get a hang when I try to open it. I wonder if other people
> are seeing this issue.
I can reproduce these issues. The problem seems to be in the syntax
highlighter, which takes a long time to (re)highlight the whole
document. Ideally, this should probably be done in some kind of
on-demand fashion, but AFAIK this is not implemented in the
QTextDocument class we use ATM.
A few things to note:
* changing the spell checking language also triggers a (complete)
rehighlight
* when loading a file with "!TEX ..." modlines, this can trigger one
(or multiple) rehighlights.
* in the recent files list, settings like spell checking language and
syntax highlighting are also stored; therefore, when opening a file that
has been open recently, one or more additional rehighlights take place.
That said, r784 should alleviate this problem a bit, in that it catches
the situation that a setting is overwritten by the same value and
doesn't trigger a rehighlight in that case (e.g., spell checking is set
to en_US, and the recent files handler "changes" it to en_US, no
rehighlight takes place).
Note, though, that while this should ensure that rehighlighting only
takes place when necessary, it doesn't cut down on the time that takes
by itself. I have experimented with some form of incremental update, but
it seems prone to some hard-to-track errors (e.g., rehighlighting is
scheduled for a paragraph, but that is deleted in the meantime). So, I
guess this won't be solved completely until we do a complete overhaul of
the editor. So, maybe it would be a good idea to open a bug report for
this on GC.
HTH
Stefan
From joseph.wright at morningstar2.co.uk Thu Apr 7 15:12:14 2011
From: joseph.wright at morningstar2.co.uk (Joseph Wright)
Date: Thu, 07 Apr 2011 14:12:14 +0100
Subject: [texworks] Large file issues?
In-Reply-To: <4D9D7C12.5060400@gmail.com>
References: <4D9A204B.6040301@morningstar2.co.uk> <4D9D7C12.5060400@gmail.com>
Message-ID: <4D9DB82E.3030500@morningstar2.co.uk>
On 07/04/2011 09:55, Stefan L?ffler wrote:
> I can reproduce these issues. The problem seems to be in the syntax
> highlighter, which takes a long time to (re)highlight the whole
> document. Ideally, this should probably be done in some kind of
> on-demand fashion, but AFAIK this is not implemented in the
> QTextDocument class we use ATM.
I guessed this was the case. Of course, what I need is files which are
better divided up! (Not so simple, but probably desirable in the long term.)
--
Joseph Wright
From Daniela.Bose at Grenzebach.com Thu Apr 7 13:48:22 2011
From: Daniela.Bose at Grenzebach.com (Bose Daniela GA)
Date: Thu, 7 Apr 2011 13:48:22 +0200
Subject: [texworks] Message from TeXworks user
Message-ID: <1F951EF8FB2679498C987FF863D9941FD2A8F3@schreibnix.eggenstein.grenzebach.de>
Hallo liebes TeXworksteam,
ich habe ein Problem, ich bekomme den movie15 nicht installiert, wegen einer nicht autorisierten Berechtigung oder so.
K?nnen Sie mir helfen, wie kann ich den movie 15 nachinstallieren. Ich denke das wird bei mir geblockt.
Kann ich den movie15 auch anders nachinstallieren?
Dear TeXworkteam,
my english ist not so good , I have problems to install the movie15.
MiKTeX Problem Report
Message: HTTP/1.0 407 Proxy Authentication Required
Data:
FEHLER: Cache-Zugriff Verweigert
von diesem Cache zu beziehen, bis Sie sich authentifiziert haben.
Sie benötigen hierzu Netscape Version 2.0 (oder höher), Microsoft Internet
Explorer 3.0 oder einen anderen HTTP/1.1 Browser. Bitte kontaktieren Sie
den Cache-Administrator, wenn Sie Probleme haben,
sich zu authentifizieren, oder
ändern Sie Ihr Passwort.
Generated Thu, 07 Apr 2011 11:49:01 GMT by downloadnix.grenzebach.de (squid/2.6.STABLE5)
Source: Libraries\MiKTeX\PackageManager\PackageManager.cpp
Line: 1507
MiKTeX: 2.9
OS: Microsoft Windows XP Professional Service Pack 3 (build 2600)
Invokers: explorer/miktex-texworks/texify
SystemAdmin: yes
PowerUser: no
Root0: C:\Dokumente und Einstellungen\boseda\Anwendungsdaten\MiKTeX\2.9
Root1: C:\Dokumente und Einstellungen\boseda\Lokale Einstellungen\Anwendungsdaten\MiKTeX\2.9
Root2: C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\MiKTeX\2.9
Root3: C:\Programme\MiKTeX 2.9
UserInstall: C:\Dokumente und Einstellungen\boseda\Anwendungsdaten\MiKTeX\2.9
UserConfig: C:\Dokumente und Einstellungen\boseda\Anwendungsdaten\MiKTeX\2.9
UserData: C:\Dokumente und Einstellungen\boseda\Lokale Einstellungen\Anwendungsdaten\MiKTeX\2.9
CommonInstall: C:\Programme\MiKTeX 2.9
CommonConfig: C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\MiKTeX\2.9
CommonData: C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\MiKTeX\2.9
Please can you help me?
----- configuration info -----
TeXworks version : 0.4.0r759 (MiKTeX 2.9)
Install location : C:/Programme/MiKTeX 2.9/miktex/bin/miktex-texworks.exe
Library path : C:/Dokumente und Einstellungen/boseda/Lokale Einstellungen/Anwendungsdaten/MiKTeX/2.9/TeXworks/0.4\
pdfTeX location : C:/Programme/MiKTeX 2.9/miktex/bin/pdftex.exe
Operating system : Windows Microsoft Windows XP Professional Service Pack 3 (build 2600)
Qt4 version : 4.7.2 (build) / 4.7.2 (runtime)
------------------------------
___________________________________________
Grenzebach Automation GmbH, 76189 Karlsruhe, Germany, Registergericht Augsburg, HRB 20472, Gesch?ftsf?hrer: Roman Kaiser, Gesch?ftsf?hrer: Bernd Minning
Hinweis auf elektronischen Datenschutz
Diese elektronische Nachricht, einschlie?lich Anhang, ist eine vertrauliche Nachricht zwischen Grenzebach und den vorgesehenen Empf?nger/n, angegeben als Addressat/en. Sie beinhaltet private, rechtlich gesch?tzte Informationen. Falls Sie diese Nachricht in irgendeiner Form bekommen und Sie sind nicht der vorgesehene Empf?nger, bitten wir Sie, die Nachricht nicht zu lesen, verwenden, besprechen oder zu verbreiten. Wir w?ren Ihnen dankbar, wenn Sie den Sender dieser Nachricht nach Erhalt benachrichtigen. Bitte vernichten sie die Nachricht umgehend. Jegliche au?erbetriebliche Informationen, die nicht mit Grenzebach oder Partnern verbunden sind, werden weder von Grenzebach bef?rwortet, noch ist Grenzebach daf?r haftbar.
INTERNET CONFIDENTIALITY STATEMENTS
This electronic mail message, including attachments, is a confidential communication exclusively between GRENZEBACH and the intended recipient(s) indicated as the addressee(s). It contains information that is private and may be proprietary or may be covered by legal professional privilege. If you receive this message in any form and you are not the intended recipient you must not review, use, discuss or disseminate it. We would be grateful if you could contact the sender upon receipt and in any event you should destroy this message without delay. Anything contained in this message that is not connected with the business of GRENZEBACH or its affiliates is neither endorsed by nor is the liability of this company.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From st.loeffler at gmail.com Thu Apr 7 16:20:02 2011
From: st.loeffler at gmail.com (=?ISO-8859-1?Q?Stefan_L=F6ffler?=)
Date: Thu, 07 Apr 2011 16:20:02 +0200
Subject: [texworks] Message from TeXworks user
In-Reply-To: <1F951EF8FB2679498C987FF863D9941FD2A8F3@schreibnix.eggenstein.grenzebach.de>
References: <1F951EF8FB2679498C987FF863D9941FD2A8F3@schreibnix.eggenstein.grenzebach.de>
Message-ID: <4D9DC812.2080205@gmail.com>
Hi,
On 2011-04-07 13:48, Bose Daniela GA wrote:
>
> my english ist not so good , I have problems to install the movie15.
>
What is movie15? / Was ist movie15?
> **
>
> *FEHLER: Cache-Zugriff Verweigert*
>
> [...]
>
> *
Leider sind Sie zur Zeit nicht berechtigt*
>
> *
http://api.miktex.org/Repository.asmx
*
>
> *von diesem Cache zu beziehen, bis Sie sich authentifiziert haben.*
>
> **
>
> *
*
>
> *Sie benötigen hierzu Netscape Version 2.0 (oder höher),
> Microsoft Internet*
>
> *Explorer 3.0 oder einen anderen HTTP/1.1 Browser. Bitte kontaktieren Sie*
>
> *den Cache-Administrator, wenn Sie
> Probleme haben,*
>
> *sich zu authentifizieren, oder*
>
> * HREF="http://downloadnix.grenzebach.de/cgi-bin/chpasswd.cgi">ändern
> Sie Ihr Passwort.*
>
> *[...]***
>
> *Generated Thu, 07 Apr 2011 11:49:01 GMT by downloadnix.grenzebach.de
> (squid/2.6.STABLE5)*
>
This sounds like a problem with your company's internet connection. As
it says, you need to authenticate yourself somehow. Please contact your
system administrator.
This is not a TeXworks problem (TeXworks is only a front-end), and I
doubt it is a MiKTeX problem, either.
Das klingt mir sehr nach einem Problem mit der Internetverbindung in
Ihrer Firma. In der Fehlermeldung steht ja, dass Sie sich
authentifizieren m?ssen (mit Link zur Firmenwebsite). Wenden Sie sich
daher bitte an Ihren Systemadministrator.
Jedenfalls sieht mir das nicht nach einem Problem mit TeXworks aus (das
ja nur ein Editor ist). Es ist eher noch ein Problem mit MiKTeX, aber
auch das glaube ich nicht.
HTH
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From bvoisin at me.com Thu Apr 7 16:26:06 2011
From: bvoisin at me.com (Bruno Voisin)
Date: Thu, 07 Apr 2011 16:26:06 +0200
Subject: [texworks] Message from TeXworks user
In-Reply-To: <4D9DC812.2080205@gmail.com>
References: <1F951EF8FB2679498C987FF863D9941FD2A8F3@schreibnix.eggenstein.grenzebach.de>
<4D9DC812.2080205@gmail.com>
Message-ID: <6807E97C-971A-4FAD-A98C-EC93BC075EA9@me.com>
Le 7 avr. 2011 ? 16:20, Stefan L?ffler a ?crit :
> What is movie15? / Was ist movie15?
It's a LaTeX package for movie inclusion (and sound, and 3D effects) in PDF output:
http://www.ctan.org/tex-archive/macros/latex/contrib/movie15
That said, I heard of its existence but I've never used it myself.
Bruno Voisin
From esperanto at swing.be Thu Apr 7 17:10:27 2011
From: esperanto at swing.be (Alain Delmotte)
Date: Thu, 07 Apr 2011 17:10:27 +0200
Subject: [texworks] auto completion
In-Reply-To: <4D984D3F.5070609@gaponline.de>
References:
<4D96FC9A.1030901@gmail.com>
<4D9826EC.6060508@gaponline.de> <4D982AD9.5050900@gmail.com>
<4D9832E2.907@gaponline.de> <4D984451.1050704@gmail.com>
<4D984D3F.5070609@gaponline.de>
Message-ID: <4D9DD3E3.6020703@swing.be>
Hi!
One note: it is not useful to suppress the other completion
definitions.
Example: if you have the following completion short cuts
bit
bite
bitemy
if you type "bit", then you get the first completion
definition (bit), but typing again switch to the
second (bite), again gets the third (bitemy) and
again brings you back to the first one.
This allows to have, only typing bit:
\begin{itemize}
\item
\end{itemize}
and then typing
\begin{itemize}
\item[xyz]
\end{itemize}
and so on...
Regards,
Alain
Le 3/04/2011 12:34, Andreas Hirsch a ?crit :
> quoting Stefan L?ffler, [03.04.2011 11:56 +0100]:
>> On 2011-04-03 10:42, Andreas Hirsch wrote:
>>> now things work _nearly_ als expected, the expanded text is:
>>>
>>> \begin{itemize}
>>> \item \end{itemize}
>>> ?
>>>
>>> Could it be solved that:
>>>
>>> - \end{itemize} goes into the next line but
>>> - no empty line is produced?
>>>
>>> I mean
>>>
>>> \begin{itemize}
>>> \item
>>> \end{itemize}
>>> ?
>>>
>>> and the cursor is placed behind item?
>>
>> Sure.
>> bit:=\begin{itemize}#RET#\item#INS##RET#\end{itemize}#RET#?
>> Should do the trick. Note that #INS# only marks the cursor position, it
>> doesn't insert anything (no spaces, newlines, etc.).
>
> works! great!
>
> Thank You!
>
> Andreas
>
From paul.a.norman at gmail.com Thu Apr 7 23:46:54 2011
From: paul.a.norman at gmail.com (Paul A Norman)
Date: Fri, 8 Apr 2011 09:46:54 +1200
Subject: [texworks] Message from TeXworks user
In-Reply-To: <6807E97C-971A-4FAD-A98C-EC93BC075EA9@me.com>
References: <1F951EF8FB2679498C987FF863D9941FD2A8F3@schreibnix.eggenstein.grenzebach.de>
<4D9DC812.2080205@gmail.com>
<6807E97C-971A-4FAD-A98C-EC93BC075EA9@me.com>
Message-ID:
Its a cool package.
Liebe Daniela Bose GA,
You may want to head over to the MiKTeX Forum, but try doing an update
on your MiKTeX installation first perhaps. And then retry your
document.
http://sourceforge.net/projects/miktex/forums/forum/33790
Mein Deutsch ist schlecht!
Sie m?ssen m?glicherweise auf MiKTeX Forum gehen, aber zuerst
versuchen, ein Update auf Ihrem MiKTeX-Installation. Und dann
versuchen, das Dokument zun?chst retypeset.
Paul
Data:
FEHLER
Cache-Zugriff Verweigert
--------------------------------------------------------------------------------
W?hrend des Versuches, die Seite
http://api.miktex.org/Repository.asmx
zu laden, trat der folgende Fehler auf:
Cache-Zugriff verweigert
Leider sind Sie zur Zeit nicht berechtigt
http://api.miktex.org/Repository.asmx
von diesem Cache zu beziehen, bis Sie sich authentifiziert haben.
Sie ben?tigen hierzu Netscape Version 2.0 (oder h?her), Microsoft
Internet Explorer 3.0 oder einen anderen HTTP/1.1 Browser. Bitte
kontaktieren Sie den Cache-Administrator, wenn Sie Probleme haben,
sich zu authentifizieren, oder ?ndern Sie Ihr Passwort.
Data:
ERROR
Cache Access Denied
--------------------------------------------------
------------------------------
During the experiment, the page
http://api.miktex.org/Repository.asmx
to invite the following error occurred:
Cache Access Denied
Unfortunately, you are not currently entitled
http://api.miktex.org/Repository.asmx
to purchase from this cache until you have authenticated yourself.
You will need Netscape version 2.0 (or higher), Microsoft Internet
Explorer 3.0 or an HTTP/1.1 compliant browser. Please contact the
cache administrator if you have problems to log in, or change your
password.
On 8 April 2011 02:26, Bruno Voisin wrote:
> Le 7 avr. 2011 ? 16:20, Stefan L?ffler a ?crit :
>
>> What is movie15? / Was ist movie15?
>
> It's a LaTeX package for movie inclusion (and sound, and 3D effects) in PDF output:
>
> http://www.ctan.org/tex-archive/macros/latex/contrib/movie15
>
> That said, I heard of its existence but I've never used it myself.
>
> Bruno Voisin
>
>
>
From patrick at gundla.ch Thu Apr 7 16:21:00 2011
From: patrick at gundla.ch (Patrick Gundlach)
Date: Thu, 7 Apr 2011 16:21:00 +0200
Subject: [texworks] Message from TeXworks user
In-Reply-To: <1F951EF8FB2679498C987FF863D9941FD2A8F3@schreibnix.eggenstein.grenzebach.de>
References: <1F951EF8FB2679498C987FF863D9941FD2A8F3@schreibnix.eggenstein.grenzebach.de>
Message-ID: <7D05DCD7-8B63-45D6-875E-6B9AE5324792@gundla.ch>
Hi,
this sounds like a "local" problem to me. Do you have access to that page when you copy the following link into your web browser?
Funktioniert diese URL, wenn du sie in den Browser kopierst?
http://api.miktex.org/Repository.asmx
Perhaps MikTeX doesn't honor some proxy settings? For me being no MikTeX expert, this does not sound like a problem that is directly related to TW, right?
Patrick
just for the non-german speaking user:
> ich habe ein Problem, ich bekomme den movie15 nicht installiert, wegen einer nicht autorisierten Berechtigung oder so.
>
> K?nnen Sie mir helfen, wie kann ich den movie 15 nachinstallieren. Ich denke das wird bei mir geblockt.
>
> Kann ich den movie15 auch anders nachinstallieren?
this is a longer version of the translation given:
> I have problems to install the movie15.
> FEHLER: Cache-Zugriff Verweigert
error: cache access denied
>
> Während des Versuches, die Seite
while trying to access the page
>
> http://api.miktex.org/Repository.asmx
>
> zu laden, trat der folgende Fehler auf:
the following error occured:
> Cache-Zugriff verweigert
cache access denied.
>
Leider sind Sie zur Zeit nicht berechtigt
>
>
http://api.miktex.org/Repository.asmx
>
> von diesem Cache zu beziehen, bis Sie sich authentifiziert haben.
you're not allowed to get [url] until you are authenticated.
...
From M.Anyadike-Danes at erini.ac.uk Fri Apr 8 10:24:52 2011
From: M.Anyadike-Danes at erini.ac.uk (Michael Anyadike-Danes)
Date: Fri, 8 Apr 2011 09:24:52 +0100
Subject: [texworks] message from TeXworks user(MiKTeX)
Message-ID:
Texworks user group
I have loaded a new .bst file, updated the MiKTex database, but when I
open (otherwise) exactly the same file in TeXworks it gives the message
below, can anyone advise?
Michael Anyadike-Danes
-----------------------------------------------------
! Extra }, or forgotten \endgroup.
\par ...m \@noitemerr {\@@par }\fi \else {\@@par }
\fi
l.18
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From lrudolph at meganet.net Fri Apr 8 18:27:37 2011
From: lrudolph at meganet.net (lrudolph at meganet.net)
Date: Fri, 8 Apr 2011 12:27:37 -0400 (EDT)
Subject: [texworks] how can I reset the editor that is called by typing "e"
in the console bar?
Message-ID: <60471.166.84.1.5.1302280057.squirrel@webmail.meganet.net>
Good day, all. I have recently begun to use TeXWorks as a front end to
MikTex (which I have been using for many years, after switching to it from
emTeX), and I love it. I particularly love that I can easily switch from
viewing
a typeset chapter of the book I'm working on at the moment, to the TeX
source file of that chapter, nicely opened for me at the right line in
TeXWorks.
HOWEVER, in some cases I would prefer to simply type "e" in the console bar,
in direct reply to the TeX error message, and jump into the appropriate
source
file, as before opened for me in TeXWorks--but because of some setting,
somewhere, what I jump into instead is notepad. (I am running all this under
Windows 7.) This isn't the end of the world, but it is annoying.
Is this setting something I can change (surely it is), and if so, how? It
doesn't
appear to be a TeXWorks setting (though I think it ought to be...); is it a
MikTeX setting? a Windows setting? A Google search has not been informative.
Lee Rudolph
From reinhard.kotucha at web.de Sat Apr 9 19:42:35 2011
From: reinhard.kotucha at web.de (Reinhard Kotucha)
Date: Sat, 9 Apr 2011 19:42:35 +0200
Subject: [texworks] how can I reset the editor that is called by typing
"e" in the console bar?
In-Reply-To: <60471.166.84.1.5.1302280057.squirrel@webmail.meganet.net>
References: <60471.166.84.1.5.1302280057.squirrel@webmail.meganet.net>
Message-ID: <19872.39563.497258.364005@zaphod.ms25.net>
On 2011-04-08 at 12:27:37 -0400, lrudolph at meganet.net wrote:
> Good day, all. I have recently begun to use TeXWorks as a front
> end to MikTex (which I have been using for many years, after
> switching to it from emTeX), and I love it. I particularly love
> that I can easily switch from viewing a typeset chapter of the book
> I'm working on at the moment, to the TeX source file of that
> chapter, nicely opened for me at the right line in TeXWorks.
>
> HOWEVER, in some cases I would prefer to simply type "e" in the
> console bar, in direct reply to the TeX error message, and jump
> into the appropriate source file, as before opened for me in
> TeXWorks--but because of some setting, somewhere, what I jump into
> instead is notepad. (I am running all this under Windows 7.) This
> isn't the end of the world, but it is annoying.
>
> Is this setting something I can change (surely it is), and if so,
> how? It doesn't appear to be a TeXWorks setting (though I think it
> ought to be...); is it a MikTeX setting? a Windows setting? A
> Google search has not been informative.
This is usually controlled by the environment variable TEXEDIT. The
built-in default is notepad because it's assumed that that this exists
on all Windows installations.
You can set
TEXEDIT=texworks -p=%d %s
where %s is a placeholder for the filename and %d for the line number.
Regards,
Reinhard
--
----------------------------------------------------------------------------
Reinhard Kotucha Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------
From lrudolph at meganet.net Sat Apr 9 21:20:33 2011
From: lrudolph at meganet.net (lrudolph at meganet.net)
Date: Sat, 09 Apr 2011 15:20:33 -0400
Subject: [texworks] how can I reset the editor that is called by typing
"e" in the console bar?
In-Reply-To: <19872.39563.497258.364005@zaphod.ms25.net>
References: <60471.166.84.1.5.1302280057.squirrel@webmail.meganet.net>,
<19872.39563.497258.364005@zaphod.ms25.net>
Message-ID: <4DA07941.7662.1DC3B48@lrudolph.meganet.net>
Richard Kotucha replied to my question (in the Subject:
header)
> This is usually controlled by the environment variable TEXEDIT. The
> built-in default is notepad because it's assumed that that this exists
> on all Windows installations.
>
> You can set
>
> TEXEDIT=texworks -p=%d %s
>
> where %s is a placeholder for the filename and %d for the line number.
Thank you! In fact, this morning I got a bit cleverer
with Google, and discovered that by TeXing something
with the --src-special option, then opening the dvi
file with YAP, I could set *YAP's* preferred editor,
and that that would reset TexWork's (presumably by
effecting the change to TEXEDIT as described above).
I hadn't gotten around to writing to the list, but
I'm very glad to have your explanation (which contains
information that I still cannot locate in any of the
help files supplied with MikTeX or TexWorks...though
maybe a search on TEXEDIT might work; I'll try that).
Regards, Lee Rudolph
From st.loeffler at gmail.com Sun Apr 10 12:34:27 2011
From: st.loeffler at gmail.com (=?ISO-8859-1?Q?Stefan_L=F6ffler?=)
Date: Sun, 10 Apr 2011 12:34:27 +0200
Subject: [texworks] message from TeXworks user(MiKTeX)
In-Reply-To:
References:
Message-ID: <4DA187B3.6000708@gmail.com>
Hi,
On 2011-04-08 10:24, Michael Anyadike-Danes wrote:
> I have loaded a new .bst file, updated the MiKTex database, but when I
> open (otherwise) exactly the same file in TeXworks it gives the
> message below, can anyone advise?
>
>
>
> Michael Anyadike-Danes
>
> -----------------------------------------------------
>
> ! Extra }, or forgotten \endgroup.
>
> \par ...m \@noitemerr {\@@par }\fi \else {\@@par }
>
> \fi
>
> l.18
>
With the information you provided, I'm afraid no one can guess what's wrong.
Some shot in the dark: did you try to remove all auxiliary files (e.g.,
via the "File" menu)?
If this doesn't help, it would be helpful if you could provide the
following information:
* what .bst file do you use (is it a customized one, maybe?)
* does this problem occur independently of which bibliography file you
use? (sometimes, there is wrong data in the .bib file already)
* a minimal example file; basically, an empty document with just one
\cite command (and, of course, your .bst file) should suffice, if this
is a fundamental problem.
HTH
Stefan
PS: Which versions of Tw and MiKTeX do you use? On which operating system?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From st.loeffler at gmail.com Sun Apr 10 12:38:45 2011
From: st.loeffler at gmail.com (=?ISO-8859-1?Q?Stefan_L=F6ffler?=)
Date: Sun, 10 Apr 2011 12:38:45 +0200
Subject: [texworks] how can I reset the editor that is called by typing
"e" in the console bar?
In-Reply-To: <4DA07941.7662.1DC3B48@lrudolph.meganet.net>
References: <60471.166.84.1.5.1302280057.squirrel@webmail.meganet.net>,
<19872.39563.497258.364005@zaphod.ms25.net>
<4DA07941.7662.1DC3B48@lrudolph.meganet.net>
Message-ID: <4DA188B5.2000308@gmail.com>
Hi,
On 2011-04-09 21:20, lrudolph at meganet.net wrote:
> Thank you! In fact, this morning I got a bit cleverer
> with Google, and discovered that by TeXing something
> with the --src-special option, then opening the dvi
> file with YAP, I could set *YAP's* preferred editor,
> and that that would reset TexWork's (presumably by
> effecting the change to TEXEDIT as described above).
> I hadn't gotten around to writing to the list, but
> I'm very glad to have your explanation (which contains
> information that I still cannot locate in any of the
> help files supplied with MikTeX or TexWorks...though
> maybe a search on TEXEDIT might work; I'll try that).
In principle, Tw does set the TEXEDIT variable just before running the
typeset command. However, there seems to have been an error in the way
it did that, which should be fixed in r791.
On a different matter, MiKTeX doesn't seem to respect that variable.
Instead, one with the name MIKTEX_EDITOR is used. I didn't find any
documentation of it (other than some forum posts), but it seems to work
(at least on my MiKTeX 2.8 test system), so I added it to Tw as well
(also in r791).
HTH
Stefan
From st.loeffler at gmail.com Sun Apr 10 15:08:48 2011
From: st.loeffler at gmail.com (=?ISO-8859-1?Q?Stefan_L=F6ffler?=)
Date: Sun, 10 Apr 2011 15:08:48 +0200
Subject: [texworks] New features and fixes to test
In-Reply-To: <4D9C2C10.3030701@gmail.com>
References: <4D9A1442.9060707@gmail.com> <4D9C2C10.3030701@gmail.com>
Message-ID: <4DA1ABE0.2010206@gmail.com>
Hi,
any progress on the testing of the new features? Do things work as
expected? Do the test cases succeed?
Also, what about the recent changes to the poppler patches for the Mac?
Anyone?
Regards,
Stefan
From gzjjgod at gmail.com Mon Apr 11 10:39:30 2011
From: gzjjgod at gmail.com (Jjgod Jiang)
Date: Mon, 11 Apr 2011 10:39:30 +0200
Subject: [texworks] New features and fixes to test
In-Reply-To: <4DA1ABE0.2010206@gmail.com>
References: <4D9A1442.9060707@gmail.com> <4D9C2C10.3030701@gmail.com>
<4DA1ABE0.2010206@gmail.com>
Message-ID:
On Sun, Apr 10, 2011 at 3:08 PM, Stefan L?ffler wrote:
> any progress on the testing of the new features? Do things work as
> expected? Do the test cases succeed?
> Also, what about the recent changes to the poppler patches for the Mac?
I can test the poppler patches once I get some time. Meanwhile, can you please
update the TeXworks.pro to match the updated build instructions for Mac? Thanks.
- Jiang
From bpj at melroch.se Mon Apr 11 13:44:51 2011
From: bpj at melroch.se (BPJ)
Date: Mon, 11 Apr 2011 13:44:51 +0200
Subject: [texworks] Are the smart quote strings configurable?
Message-ID: <4DA2E9B3.7050709@melroch.se>
The subject line says it all, really: Are the smart quote strings
configurable? Ideally they should be configurable through the GUI
since they are language dependent: what's appropriate for English
isn't appropriate for Swedish, and other languages have other
quoting styles again. I would like to have TW's smart quoting
feature being able to turn " and ' into ? and ?, rather than
?? ?? while I type. Configuring the whole once and for all
deep down in a config file won't do, as I work on English
and Swedish documents about 50/50.
P.S. I've always found the TeX ligatures rather annoying and
prefer to use Unicode characters in my source, as you may have
guessed. Interestingly I feel the other way around when it
comes to -- and --- ! :-)
/bpj
From st.loeffler at gmail.com Mon Apr 11 14:07:42 2011
From: st.loeffler at gmail.com (=?windows-1252?Q?Stefan_L=F6ffler?=)
Date: Mon, 11 Apr 2011 14:07:42 +0200
Subject: [texworks] Are the smart quote strings configurable?
In-Reply-To: <4DA2E9B3.7050709@melroch.se>
References: <4DA2E9B3.7050709@melroch.se>
Message-ID: <4DA2EF0E.6030302@gmail.com>
Hi,
On 2011-04-11 13:44, BPJ wrote:
> The subject line says it all, really: Are the smart quote strings
> configurable? Ideally they should be configurable through the GUI
> since they are language dependent: what's appropriate for English
> isn't appropriate for Swedish, and other languages have other
> quoting styles again. I would like to have TW's smart quoting
> feature being able to turn " and ' into ? and ?, rather than
> ?? ?? while I type. Configuring the whole once and for all
> deep down in a config file won't do, as I work on English
> and Swedish documents about 50/50.
hm, despite the subject line and your text, I still don't know
completely what you want ;).
Anyway, I'll try to explain. Smart quotes are configurable in the file
configuration/smart-quotes-modes.txt. Unfortunately, there is no UI
dialog for this. However, you can add new settings there. So you could
add something like "[Unicode Swedish]" and "[Unicode English]". Then
both settings are available from the menu.
HTH
Stefan
From st.loeffler at gmail.com Mon Apr 11 14:14:52 2011
From: st.loeffler at gmail.com (=?UTF-8?B?U3RlZmFuIEzDtmZmbGVy?=)
Date: Mon, 11 Apr 2011 14:14:52 +0200
Subject: [texworks] New features and fixes to test
In-Reply-To:
References: <4D9A1442.9060707@gmail.com> <4D9C2C10.3030701@gmail.com>
<4DA1ABE0.2010206@gmail.com>
Message-ID: <4DA2F0BC.6000807@gmail.com>
Hi,
On 2011-04-11 10:39, Jjgod Jiang wrote:
> On Sun, Apr 10, 2011 at 3:08 PM, Stefan L?ffler wrote:
>> any progress on the testing of the new features? Do things work as
>> expected? Do the test cases succeed?
>> Also, what about the recent changes to the poppler patches for the Mac?
> I can test the poppler patches once I get some time.
Great.
> Meanwhile, can you please update the TeXworks.pro to match the updated build instructions for Mac? Thanks.
I'm a bit reluctant to update TeXworks.pro, since that describes
Jonathan's "official" build system. Especially as long as there is no
one definite way of building Tw for the Mac (work has been reported on a
Fink package, a homebrew package, as well as some custom/manual way).
For now, the instructions on the mailing list are specific to some
specific environments (e.g., 64 bit Intel processors on Mac 10.6), and
while they are useful for individual testing, they are not good defaults
for the official file.
That said, the preferred way for accessing Tw is through a subversion
checkout. With that, modifications to TeXworks.pro would have to be done
only once (per computer). I'd very much would like to have a guide for
this on the wiki, but no one has replied to my post of an initial draft
some time ago.
HTH
Stefan
From st.loeffler at gmail.com Tue Apr 12 10:33:03 2011
From: st.loeffler at gmail.com (=?ISO-8859-1?Q?Stefan_L=F6ffler?=)
Date: Tue, 12 Apr 2011 10:33:03 +0200
Subject: [texworks] New features and fixes to test
In-Reply-To: <4D9A1442.9060707@gmail.com>
References: <4D9A1442.9060707@gmail.com>
Message-ID: <4DA40E3F.5060305@gmail.com>
Hi,
and another new (minor, long-requested) feature: an additional option to
close the output panel after successful typesetting (regardless of
whether is was open before or not).
This was introduced in r793 and fixes issue 415
(http://code.google.com/p/texworks/issues/detail?id=415).
Testing is (as always) welcome.
Regards,
Stefan
From vext01 at gmail.com Wed Apr 13 13:05:32 2011
From: vext01 at gmail.com (Edd Barrett)
Date: Wed, 13 Apr 2011 12:05:32 +0100
Subject: [texworks] TeXworks-0.4 on OpenBSD
Message-ID: <20110413110532.GB28376@edd-i386.kent.ac.uk>
Hi,
I have almost finished porting 0.4 to OpenBSD, there was minor patching
required. The patches are available here (bear in mind they are designed
for use in the ports tree):
https://github.com/vext01/ports-wip/tree/master/editors/texworks/patches
I have a question regarding scripts. The default set of scripts, should they be
picked up automatically from the qt resources, or do you copy them into a
systemwide scripts dir?
So far I have only had luck by copying the scripts into ~/.TeXworks/scripts/
Once I have done this, python, lua and QTscript scripts run just fine.
Cheers
--
Best Regards
Edd Barrett
http://www.theunixzoo.co.uk
From vext01 at gmail.com Wed Apr 13 15:55:19 2011
From: vext01 at gmail.com (Edd Barrett)
Date: Wed, 13 Apr 2011 14:55:19 +0100
Subject: [texworks] TeXworks-0.4 on OpenBSD
In-Reply-To: <20110413110532.GB28376@edd-i386.kent.ac.uk>
References: <20110413110532.GB28376@edd-i386.kent.ac.uk>
Message-ID: <20110413135519.GC28376@edd-i386.kent.ac.uk>
On Wed, Apr 13, 2011 at 12:05:32PM +0100, Edd Barrett wrote:
> Hi,
>
> I have almost finished porting 0.4 to OpenBSD, there was minor patching
> required.
Doh, i spoke too soon. TeXworks locks up every 10 minutes of so and
eventually crashes. Here is a backtrace, any ideas? I will leave this
terminal open so that I can probe deeper if anyone know how to debug
this, I don't even know which frame to begin with...
(gdb) run
Starting program: /usr/local/bin/texworks
[New process 28077]
pdfTeX 3.1415926-1.40.11-2.2 (TeX Live 2010-OpenBSD_Ports)
kpathsea version 6.0.0
Copyright 2010 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.2.44; using libpng 1.2.44
Compiled with zlib 1.2.3; using zlib 1.2.3
Compiled with poppler version 0.14.5
Program received signal SIGSEGV, Segmentation fault.
[Switching to process 28077, thread 0x20ca6d800]
0x00000002056e9bc5 in QPathSegments::addPath ()
from /usr/local/lib/libQtGui.so.10.0
(gdb) bt
#0 0x00000002056e9bc5 in QPathSegments::addPath ()
from /usr/local/lib/libQtGui.so.10.0
#1 0x00000002056ed2c3 in QWingedEdge::QWingedEdge ()
from /usr/local/lib/libQtGui.so.10.0
#2 0x00000002056ed58f in QPathClipper::clip ()
from /usr/local/lib/libQtGui.so.10.0
#3 0x00000002056e0e8a in QPainterPath::simplified ()
from /usr/local/lib/libQtGui.so.10.0
#4 0x00000002056ed7dc in QPathClipper::clip ()
from /usr/local/lib/libQtGui.so.10.0
#5 0x00000002056e0f9b in QPainterPath::subtracted ()
from /usr/local/lib/libQtGui.so.10.0
#6 0x00000002056e1079 in QPainterPath::operator- ()
from /usr/local/lib/libQtGui.so.10.0
#7 0x00000002056e109f in QPainterPath::operator-= ()
from /usr/local/lib/libQtGui.so.10.0
#8 0x00000002057fa4ca in QTextLayout::draw ()
from /usr/local/lib/libQtGui.so.10.0
#9 0x000000020582fd81 in QTextDocumentLayoutPrivate::drawBlock ()
from /usr/local/lib/libQtGui.so.10.0
#10 0x0000000205833a50 in QTextDocumentLayoutPrivate::drawFlow ()
from /usr/local/lib/libQtGui.so.10.0
#11 0x0000000205832736 in QTextDocumentLayoutPrivate::drawFrame ()
from /usr/local/lib/libQtGui.so.10.0
#12 0x000000020583c9ee in QTextDocumentLayout::draw ()
from /usr/local/lib/libQtGui.so.10.0
#13 0x00000002057d8378 in QTextControl::drawContents ()
from /usr/local/lib/libQtGui.so.10.0
#14 0x0000000205a36e3c in QTextEditPrivate::paint ()
from /usr/local/lib/libQtGui.so.10.0
#15 0x0000000205a36f04 in QTextEdit::paintEvent ()
from /usr/local/lib/libQtGui.so.10.0
#16 0x00000002055caf90 in QWidget::event ()
from /usr/local/lib/libQtGui.so.10.0
#17 0x00000002059bc37b in QFrame::event () from /usr/local/lib/libQtGui.so.10.0
#18 0x0000000205a4d8e7 in QAbstractScrollArea::viewportEvent ()
from /usr/local/lib/libQtGui.so.10.0
#19 0x0000000205a4fae8 in QAbstractScrollAreaFilter::eventFilter ()
from /usr/local/lib/libQtGui.so.10.0
#20 0x0000000207b28b1f in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/local/lib/libQtCore.so.9.0
#21 0x0000000205569710 in QApplicationPrivate::notify_helper ()
from /usr/local/lib/libQtGui.so.10.0
#22 0x0000000205570df5 in QApplication::notify ()
from /usr/local/lib/libQtGui.so.10.0
#23 0x0000000207b28764 in QCoreApplication::notifyInternal ()
from /usr/local/lib/libQtCore.so.9.0
#24 0x00000002055c4cc2 in QWidgetPrivate::drawWidget ()
from /usr/local/lib/libQtGui.so.10.0
#25 0x00000002057a4201 in QWidgetBackingStore::sync ()
from /usr/local/lib/libQtGui.so.10.0
#26 0x00000002055bc556 in QWidgetPrivate::syncBackingStore ()
from /usr/local/lib/libQtGui.so.10.0
#27 0x00000002055cb648 in QWidget::event ()
from /usr/local/lib/libQtGui.so.10.0
#28 0x00000002059d9a01 in QMainWindow::event ()
from /usr/local/lib/libQtGui.so.10.0
#29 0x00000000004a3c34 in TeXDocument::event (this=0x20b50e800,
event=0x20cf8fde0) at src/TeXDocument.cpp:717
#30 0x000000020556973f in QApplicationPrivate::notify_helper ()
from /usr/local/lib/libQtGui.so.10.0
#31 0x0000000205570df5 in QApplication::notify ()
from /usr/local/lib/libQtGui.so.10.0
#32 0x0000000207b28764 in QCoreApplication::notifyInternal ()
from /usr/local/lib/libQtCore.so.9.0
#33 0x0000000207b298ce in QCoreApplicationPrivate::sendPostedEvents ()
from /usr/local/lib/libQtCore.so.9.0
#34 0x0000000207b587b3 in QEventDispatcherGlib::registeredTimers ()
from /usr/local/lib/libQtCore.so.9.0
#35 0x00000002063264d3 in g_main_context_dispatch ()
from /usr/local/lib/libglib-2.0.so.2800.0
#36 0x000000020632a482 in g_main_context_prepare ()
from /usr/local/lib/libglib-2.0.so.2800.0
#37 0x000000020632aa9b in g_main_context_iteration ()
from /usr/local/lib/libglib-2.0.so.2800.0
#38 0x0000000207b58adc in QEventDispatcherGlib::processEvents ()
from /usr/local/lib/libQtCore.so.9.0
#39 0x000000020561f08f in QGuiEventDispatcherGlib::processEvents ()
from /usr/local/lib/libQtGui.so.10.0
#40 0x0000000207b27add in QEventLoop::processEvents ()
from /usr/local/lib/libQtCore.so.9.0
#41 0x0000000207b27d36 in QEventLoop::exec ()
from /usr/local/lib/libQtCore.so.9.0
#42 0x0000000207b29bce in QCoreApplication::exec ()
from /usr/local/lib/libQtCore.so.9.0
#43 0x0000000000467768 in main (argc=1, argv=Variable "argv" is not available.
) at src/main.cpp:163
--
Best Regards
Edd Barrett
http://www.theunixzoo.co.uk
From st.loeffler at gmail.com Wed Apr 13 16:03:57 2011
From: st.loeffler at gmail.com (=?ISO-8859-1?Q?Stefan_L=F6ffler?=)
Date: Wed, 13 Apr 2011 16:03:57 +0200
Subject: [texworks] TeXworks-0.4 on OpenBSD
In-Reply-To: <20110413110532.GB28376@edd-i386.kent.ac.uk>
References: <20110413110532.GB28376@edd-i386.kent.ac.uk>
Message-ID: <4DA5AD4D.50605@gmail.com>
Hi,
On 2011-04-13 13:05, Edd Barrett wrote:
> I have almost finished porting 0.4 to OpenBSD, there was minor patching
> required. The patches are available here (bear in mind they are designed
> for use in the ports tree):
> https://github.com/vext01/ports-wip/tree/master/editors/texworks/patches
The patches are looking fine, nothing dramatic.
> I have a question regarding scripts. The default set of scripts, should they be
> picked up automatically from the qt resources, or do you copy them into a
> systemwide scripts dir?
>
> So far I have only had luck by copying the scripts into ~/.TeXworks/scripts/
>
> Once I have done this, python, lua and QTscript scripts run just fine.
The scripts in res/resfiles/scripts should be compiled in by means of
the Qt resource framework. They should be copied to the resource
directory (~/.TeXworks/scripts) when you first run the application
(provided that directory doesn't exist and contain files from an older
version of Tw). There shouldn't be any need to copy any resource files
manually.
HTH
Stefan
From st.loeffler at gmail.com Wed Apr 13 16:13:44 2011
From: st.loeffler at gmail.com (=?ISO-8859-1?Q?Stefan_L=F6ffler?=)
Date: Wed, 13 Apr 2011 16:13:44 +0200
Subject: [texworks] TeXworks-0.4 on OpenBSD
In-Reply-To: <20110413135519.GC28376@edd-i386.kent.ac.uk>
References: <20110413110532.GB28376@edd-i386.kent.ac.uk>
<20110413135519.GC28376@edd-i386.kent.ac.uk>
Message-ID: <4DA5AF98.6070001@gmail.com>
Hi,
On 2011-04-13 15:55, Edd Barrett wrote:
> On Wed, Apr 13, 2011 at 12:05:32PM +0100, Edd Barrett wrote:
>> I have almost finished porting 0.4 to OpenBSD, there was minor patching
>> required.
> Doh, i spoke too soon. TeXworks locks up every 10 minutes of so and
> eventually crashes. Here is a backtrace, any ideas? I will leave this
> terminal open so that I can probe deeper if anyone know how to debug
> this, I don't even know which frame to begin with...
hm..., an error in QWingedEdge. Do you by any chance use highlighing of
the current line, and a Qt < 4.2, and the memory usage of the Tw went
sky-high? In that case,
http://bugreports.qt.nokia.com/browse/QTBUG-15823 might affect you. A
patch for Qt is provided in the lib-patches subdirectory (see the README
there), or alternatively build the latest version of Qt.
This is just a guess, though.
HTH
Stefan
From vext01 at gmail.com Wed Apr 13 21:36:03 2011
From: vext01 at gmail.com (Edd Barrett)
Date: Wed, 13 Apr 2011 20:36:03 +0100
Subject: [texworks] TeXworks-0.4 on OpenBSD
In-Reply-To: <4DA5AD4D.50605@gmail.com>
References: <20110413110532.GB28376@edd-i386.kent.ac.uk>
<4DA5AD4D.50605@gmail.com>
Message-ID: <20110413193603.GD28376@edd-i386.kent.ac.uk>
On Wed, Apr 13, 2011 at 04:03:57PM +0200, Stefan L?ffler wrote:
> The scripts in res/resfiles/scripts should be compiled in by means of
> the Qt resource framework. They should be copied to the resource
> directory (~/.TeXworks/scripts) when you first run the application
> (provided that directory doesn't exist and contain files from an older
> version of Tw). There shouldn't be any need to copy any resource files
> manually.
OK, I think I just removed the scripts from my home and not the dir.
--
Best Regards
Edd Barrett
http://www.theunixzoo.co.uk
From vext01 at gmail.com Wed Apr 13 21:38:19 2011
From: vext01 at gmail.com (Edd Barrett)
Date: Wed, 13 Apr 2011 20:38:19 +0100
Subject: [texworks] TeXworks-0.4 on OpenBSD
In-Reply-To: <4DA5AF98.6070001@gmail.com>
References: <20110413110532.GB28376@edd-i386.kent.ac.uk>
<20110413135519.GC28376@edd-i386.kent.ac.uk>
<4DA5AF98.6070001@gmail.com>
Message-ID: <20110413193819.GE28376@edd-i386.kent.ac.uk>
On Wed, Apr 13, 2011 at 04:13:44PM +0200, Stefan L?ffler wrote:
> Hi,
>
> On 2011-04-13 15:55, Edd Barrett wrote:
> > On Wed, Apr 13, 2011 at 12:05:32PM +0100, Edd Barrett wrote:
> >> I have almost finished porting 0.4 to OpenBSD, there was minor patching
> >> required.
> > Doh, i spoke too soon. TeXworks locks up every 10 minutes of so and
> > eventually crashes. Here is a backtrace, any ideas? I will leave this
> > terminal open so that I can probe deeper if anyone know how to debug
> > this, I don't even know which frame to begin with...
>
> hm..., an error in QWingedEdge. Do you by any chance use highlighing of
> the current line, and a Qt < 4.2, and the memory usage of the Tw went
> sky-high?
I am highlighting the current line, however with qt4-4.7.0.
--
Best Regards
Edd Barrett
http://www.theunixzoo.co.uk
From st.loeffler at gmail.com Wed Apr 13 21:51:19 2011
From: st.loeffler at gmail.com (=?ISO-8859-1?Q?Stefan_L=F6ffler?=)
Date: Wed, 13 Apr 2011 21:51:19 +0200
Subject: [texworks] TeXworks-0.4 on OpenBSD
In-Reply-To: <20110413193819.GE28376@edd-i386.kent.ac.uk>
References: <20110413110532.GB28376@edd-i386.kent.ac.uk>
<20110413135519.GC28376@edd-i386.kent.ac.uk> <4DA5AF98.6070001@gmail.com>
<20110413193819.GE28376@edd-i386.kent.ac.uk>
Message-ID: <4DA5FEB7.8030106@gmail.com>
On 2011-04-13 21:38, Edd Barrett wrote:
> On Wed, Apr 13, 2011 at 04:13:44PM +0200, Stefan L?ffler wrote:
>> Hi,
>>
>> On 2011-04-13 15:55, Edd Barrett wrote:
>>> On Wed, Apr 13, 2011 at 12:05:32PM +0100, Edd Barrett wrote:
>>>> I have almost finished porting 0.4 to OpenBSD, there was minor patching
>>>> required.
>>> Doh, i spoke too soon. TeXworks locks up every 10 minutes of so and
>>> eventually crashes. Here is a backtrace, any ideas? I will leave this
>>> terminal open so that I can probe deeper if anyone know how to debug
>>> this, I don't even know which frame to begin with...
>> hm..., an error in QWingedEdge. Do you by any chance use highlighing of
>> the current line, and a Qt < 4.2, and the memory usage of the Tw went
>> sky-high?
> I am highlighting the current line, however with qt4-4.7.0.
Sorry, my bad. The version should have read Qt < 4.7.2. So this clearly
applies to your system (see the Qt bug link I posted, or the (now
closed) Tw issue at http://code.google.com/p/texworks/issues/detail?id=438).
HTH
Stefan
From vext01 at gmail.com Wed Apr 13 22:30:33 2011
From: vext01 at gmail.com (Edd Barrett)
Date: Wed, 13 Apr 2011 21:30:33 +0100
Subject: [texworks] TeXworks-0.4 on OpenBSD
In-Reply-To: <4DA5FEB7.8030106@gmail.com>
References: <20110413110532.GB28376@edd-i386.kent.ac.uk>
<20110413135519.GC28376@edd-i386.kent.ac.uk>
<4DA5AF98.6070001@gmail.com>
<20110413193819.GE28376@edd-i386.kent.ac.uk>
<4DA5FEB7.8030106@gmail.com>
Message-ID: <20110413203033.GF28376@edd-i386.kent.ac.uk>
On Wed, Apr 13, 2011 at 09:51:19PM +0200, Stefan L?ffler wrote:
> >> hm..., an error in QWingedEdge. Do you by any chance use highlighing of
> >> the current line, and a Qt < 4.2, and the memory usage of the Tw went
> >> sky-high?
> > I am highlighting the current line, however with qt4-4.7.0.
>
> Sorry, my bad. The version should have read Qt < 4.7.2. So this clearly
> applies to your system (see the Qt bug link I posted, or the (now
> closed) Tw issue at http://code.google.com/p/texworks/issues/detail?id=438).
Another developer comitted an update to qt-4.7.2 only yesterday, so I
will try with this instead.
Thanks for your help.
--
Best Regards
Edd Barrett
http://www.theunixzoo.co.uk
From suresh.amritapuri at gmail.com Fri Apr 15 00:15:59 2011
From: suresh.amritapuri at gmail.com (Suresh Kumar)
Date: Thu, 14 Apr 2011 15:15:59 -0700
Subject: [texworks] basic editing commands
Message-ID:
Hi
How can i get a list of basic text editing commands of texworks?
thanks
suresh
--
R Suresh Kumar,
http://www.m atrukripa.com
Sarve bhavantu sukinaha (May everyone be happy)
Sarve santu niramiyaha (May everyone be without affliction)
Sarve bhadrani pashyantu (May everyone see only goodness)
Ma kashchit dukha bhak bhavet (Let none be the victim of suffering)
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From tomr7 at verizon.net Fri Apr 15 11:10:12 2011
From: tomr7 at verizon.net (Tom Reinhardt)
Date: Fri, 15 Apr 2011 05:10:12 -0400
Subject: [texworks] Latest LaTeX downloads break XY Pic on iMac
Message-ID:
Running on an iMac, software version 10.6.7, running the latest relevant updates from the TeX libraries, etc., I see that LaTeX no longer parses XY Pic diagrams that require under/over
arrows correctly:
For example
-------------- next part --------------
A non-text attachment was scrubbed...
Name: latex-image-1.pdf
Type: application/pdf
Size: 34193 bytes
Desc: not available
URL:
-------------- next part --------------
should be produced by
\xymatrix{A\ar@<0.5ex>[r]^{g}\ar@<-0.5ex>[r]_{h} & B\ar[r]^{f} &C}.
This works in LaTeXIT, as the diagram above shows, but does not work in TexWorks or in TeXShop?
Any suggestions?
TomR
From herbs at wideopenwest.com Fri Apr 15 23:52:34 2011
From: herbs at wideopenwest.com (Herbert Schulz)
Date: Fri, 15 Apr 2011 16:52:34 -0500
Subject: [texworks] Latest LaTeX downloads break XY Pic on iMac
In-Reply-To:
References:
Message-ID: <44606200-6976-4C17-87DF-A2305FB6186D@wideopenwest.com>
On Apr 15, 2011, at 4:10 AM, Tom Reinhardt wrote:
> Running on an iMac, software version 10.6.7, running the latest relevant updates from the TeX libraries, etc., I see that LaTeX no longer parses XY Pic diagrams that require under/over
> arrows correctly:
>
> For example
> should be produced by
> \xymatrix{A\ar@<0.5ex>[r]^{g}\ar@<-0.5ex>[r]_{h} & B\ar[r]^{f} &C}.
>
> This works in LaTeXIT, as the diagram above shows, but does not work in TexWorks or in TeXShop?
>
> Any suggestions?
>
> TomR
Howdy,
If it works in LaTeXiT and TeXshop, TeXworks and LaTeXit all are using the /usr/texbin binaries (i.e., the same TeX Distribution) it MUST work with the correct preamable in that latter two since all of these are just front ends to that TeX distribution.
Could you give us a minimal but compilable sample tex file so we can test it on our systems?
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
From st.loeffler at gmail.com Sat Apr 16 12:56:08 2011
From: st.loeffler at gmail.com (=?ISO-8859-1?Q?Stefan_L=F6ffler?=)
Date: Sat, 16 Apr 2011 12:56:08 +0200
Subject: [texworks] Latest LaTeX downloads break XY Pic on iMac
In-Reply-To: <44606200-6976-4C17-87DF-A2305FB6186D@wideopenwest.com>
References:
<44606200-6976-4C17-87DF-A2305FB6186D@wideopenwest.com>
Message-ID: <4DA975C8.8090700@gmail.com>
Hi,
On 2011-04-15 23:52, Herbert Schulz wrote:
> On Apr 15, 2011, at 4:10 AM, Tom Reinhardt wrote:
>
>> Running on an iMac, software version 10.6.7, running the latest relevant updates from the TeX libraries, etc., I see that LaTeX no longer parses XY Pic diagrams that require under/over
>> arrows correctly:
>>
>> For example
>> should be produced by
>> \xymatrix{A\ar@<0.5ex>[r]^{g}\ar@<-0.5ex>[r]_{h} & B\ar[r]^{f} &C}.
>>
>> This works in LaTeXIT, as the diagram above shows, but does not work in TexWorks or in TeXShop?
It works for me.
Now, since this is not very helpful all by itself: I'm using Linux
(Ubuntu), with TL'10. What TeX distro do you use? And what is the output
you get?
But as Herbert already pointed out, and as you wrote yourself ("I see
that _LaTeX_ no longer parses XY Pic diagrams"), if anything this seems
like a LaTeX issue, not a TeXworks or TeXShop issue, so it might be
better to follow up on this with the mailing list of your distro.
> Could you give us a minimal but compilable sample tex file so we can test it on our systems?
FWIW, I used the following (it doesn't use the fonts, though):
\documentclass{article}
\usepackage{xypic}
\begin{document}
\xymatrix{A\ar@<0.5ex>[r]^{g}\ar@<-0.5ex>[r]_{h} & B\ar[r]^{f} &C}
\end{document}
HTH
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From st.loeffler at gmail.com Sat Apr 16 12:58:25 2011
From: st.loeffler at gmail.com (=?ISO-8859-1?Q?Stefan_L=F6ffler?=)
Date: Sat, 16 Apr 2011 12:58:25 +0200
Subject: [texworks] basic editing commands
In-Reply-To:
References:
Message-ID: <4DA97651.8050109@gmail.com>
Hi,
On 2011-04-15 00:15, Suresh Kumar wrote:
> How can i get a list of basic text editing commands of texworks?
I'm not sure what you mean by "basic text editing commands". All the
usual cut/copy/paste are available. (Un-)comment and (un-)indent are
available via the menu (and shortcut keys). If it's this kind of
information you're looking for, please take a look at the manual.
HTH
Stefan
From herbs at wideopenwest.com Sat Apr 16 14:17:25 2011
From: herbs at wideopenwest.com (Herbert Schulz)
Date: Sat, 16 Apr 2011 07:17:25 -0500
Subject: [texworks] Latest LaTeX downloads break XY Pic on iMac
In-Reply-To: <4DA975C8.8090700@gmail.com>
References:
<44606200-6976-4C17-87DF-A2305FB6186D@wideopenwest.com>
<4DA975C8.8090700@gmail.com>
Message-ID: <44CC2F5F-204C-4532-AF0A-A0BA6E2B60F3@wideopenwest.com>
On Apr 16, 2011, at 5:56 AM, Stefan L?ffler wrote:
> Hi,
>
> On 2011-04-15 23:52, Herbert Schulz wrote:
>> On Apr 15, 2011, at 4:10 AM, Tom Reinhardt wrote:
>>
>>> Running on an iMac, software version 10.6.7, running the latest relevant updates from the TeX libraries, etc., I see that LaTeX no longer parses XY Pic diagrams that require under/over
>>> arrows correctly:
>>>
>>> For example
>>> should be produced by
>>> \xymatrix{A\ar@<0.5ex>[r]^{g}\ar@<-0.5ex>[r]_{h} & B\ar[r]^{f} &C}.
>>>
>>> This works in LaTeXIT, as the diagram above shows, but does not work in TexWorks or in TeXShop?
>
> It works for me.
> Now, since this is not very helpful all by itself: I'm using Linux
> (Ubuntu), with TL'10. What TeX distro do you use? And what is the output
> you get?
>
> But as Herbert already pointed out, and as you wrote yourself ("I see
> that _LaTeX_ no longer parses XY Pic diagrams"), if anything this seems
> like a LaTeX issue, not a TeXworks or TeXShop issue, so it might be
> better to follow up on this with the mailing list of your distro.
>
>> Could you give us a minimal but compilable sample tex file so we can test it on our systems?
>
> FWIW, I used the following (it doesn't use the fonts, though):
>
> \documentclass{article}
>
> \usepackage{xypic}
>
> \begin{document}
>
> \xymatrix{A\ar@<0.5ex>[r]^{g}\ar@<-0.5ex>[r]_{h} & B\ar[r]^{f} &C}
>
> \end{document}
>
>
> HTH
> Stefan
Howdy,
Stefan's sample works fine for me. Both using latex->dvips->ps2pdf and pdflatex with a fully updated TeX Live 2010.
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
From suresh.amritapuri at gmail.com Sat Apr 16 22:50:28 2011
From: suresh.amritapuri at gmail.com (Suresh Kumar)
Date: Sat, 16 Apr 2011 13:50:28 -0700
Subject: [texworks] basic editing commands
In-Reply-To: <4DA97651.8050109@gmail.com>
References:
<4DA97651.8050109@gmail.com>
Message-ID:
I was trying to figure out how to delete a line, both after the cursor and
the whole line and I could not find them..thats why i posted this....
On Sat, Apr 16, 2011 at 3:58 AM, Stefan L?ffler wrote:
> Hi,
>
> On 2011-04-15 00:15, Suresh Kumar wrote:
> > How can i get a list of basic text editing commands of texworks?
>
> I'm not sure what you mean by "basic text editing commands". All the
> usual cut/copy/paste are available. (Un-)comment and (un-)indent are
> available via the menu (and shortcut keys). If it's this kind of
> information you're looking for, please take a look at the manual.
>
> HTH
> Stefan
>
--
R Suresh Kumar,
http://www.m atrukripa.com
Sarve bhavantu sukinaha (May everyone be happy)
Sarve santu niramiyaha (May everyone be without affliction)
Sarve bhadrani pashyantu (May everyone see only goodness)
Ma kashchit dukha bhak bhavet (Let none be the victim of suffering)
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From ranjbrans at yahoo.com Sat Apr 16 17:25:12 2011
From: ranjbrans at yahoo.com (Mehdi Ranjbaran)
Date: Sat, 16 Apr 2011 08:25:12 -0700 (PDT)
Subject: [texworks] technical problem involving \include,
\includegraphics \graphicspath and grffile package
Message-ID: <495679.18019.qm@web111510.mail.gq1.yahoo.com>
Hello,
I have a couple of difficulties with my Latex document which I hope you can resolve. I have a main file in which a chap2.tex is included:
\include{chap2}
In chap2.tex I include a graphic file fig1.pdf using \includegraphics within the figure environment. The graphic file is in a directory other than the current directory in which main.tex is. The path to the directory contains, however, space characters and that's the source of my problems. I use grffile package together with \graphicspath:
\usepackage[space]{grffile}
\graphicspath{../../My Graphic Files/}
but get the error message:"! Package pdftex.def Error: File `fig1.pdf' not found.
See the pdftex.def package documentation for explanation.
Type H for immediate help.
...
l.20 ...udegraphics{fig1.pdf}
?"
However, when I don't use \graphicspath and include the full path of the graphic file in \includegraphics I have no difficulty and the final .pdf file is produced:
\includegraphics{../../My Graphic Files/fig1.pdf}
Do you know how I can get rid of this pesky error? I don't want to write the full path every time I use \includegraphics.
Thank you.
----- configuration info
-----
TeXworks version : 0.4.0r759
(MiKTeX 2.9)
Install location : C:/Program
Files (x86)/MiKTeX 2.9/miktex/bin/texworks.exe
Library
path???? :
C:/Users/mehdi/AppData/Local/MiKTeX/2.9/TeXworks/0.4\
pdfTeX location? :
C:/Program Files (x86)/MiKTeX 2.9/miktex/bin/pdftex.exe
Operating system : Windows
Microsoft Windows Vista Home Basic Edition, 64-bit Service Pack 2 (build 6002)
Qt4
version????? : 4.7.2 (build) / 4.7.2 (runtime)
------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From matthias.pospiech at gmx.de Sun Apr 17 00:40:59 2011
From: matthias.pospiech at gmx.de (Matthias Pospiech)
Date: Sun, 17 Apr 2011 00:40:59 +0200
Subject: [texworks] basic editing commands
In-Reply-To:
References:
<4DA97651.8050109@gmail.com>
Message-ID: <4DAA1AFB.6010708@gmx.de>
An HTML attachment was scrubbed...
URL:
From sigmundv at gmail.com Sun Apr 17 01:42:07 2011
From: sigmundv at gmail.com (sigmundv at gmail.com)
Date: Sun, 17 Apr 2011 00:42:07 +0100
Subject: [texworks] basic editing commands
In-Reply-To: <4DAA1AFB.6010708@gmx.de>
References:
<4DA97651.8050109@gmail.com>
<4DAA1AFB.6010708@gmx.de>
Message-ID:
I think the OP was looking for some vim-style command. If this is the case
I'd say that he should use vim with a LaTeX plugin instead...
Sigmund
On Sat, Apr 16, 2011 at 23:40, Matthias Pospiech
wrote:
> Am 16.04.2011 22:50, schrieb Suresh Kumar:
>
> I was trying to figure out how to delete a line, both after the cursor and
> the whole line and I could not find them..thats why i posted this....
>
>
> It should work as in every 'standard' editor:
>
> Mark the whole line: [Pos1], [Shift]+[End]
> Mark several lines: [Pos1], [Shift]+[End], [Shift] + [Up]/[Down]
> Delete it : [Del]
>
> Matthias
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From paul.a.norman at gmail.com Sun Apr 17 07:47:11 2011
From: paul.a.norman at gmail.com (Paul A Norman)
Date: Sun, 17 Apr 2011 17:47:11 +1200
Subject: [texworks] SCRIPTING: Windows Need - short file names
Message-ID:
Hi,
A Windows Only Solution - short file names.
There are times in LaTeX, operating under Windows, when it is useful to be
able to just insert the short "no spaces" version of a file name or path.
Dialogue box locates a file, and the windows short version of its name, is
inserted in TeXworks document (no spaces in path).
Requires System access -
see:
http://twscript.paulanorman.com/docs/html/files/TexWorksApplicationProgramingI.html
http://code.google.com/p/texworks/issues/detail?id=261#c58
Note: (contains a CSRIPT call to activeX objects - see contained
systemShortName.js)
Script Download: http://twscript.paulanorman.com/downloads/?ShortName
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From paul.a.norman at gmail.com Sun Apr 17 07:55:25 2011
From: paul.a.norman at gmail.com (Paul A Norman)
Date: Sun, 17 Apr 2011 17:55:25 +1200
Subject: [texworks] technical problem involving \include,
\includegraphics \graphicspath and grffile package
In-Reply-To: <495679.18019.qm@web111510.mail.gq1.yahoo.com>
References: <495679.18019.qm@web111510.mail.gq1.yahoo.com>
Message-ID:
Dear Mehdi Ranjbaran,
I have struck similar problems occasionally where for one reason or another
no combination of LaTeX packages seem to help, or it is just faster to
insert a short file + path name.
You may be able to put a Windows "short file path" in your \graphicspath{
I have just posted a script that may help you do this in TeXworks.
Use the script, selkect an appropriate file, and just take the filename.jpg
off for use in \graphicspath{
See Tw issue http://code.google.com/p/texworks/issues/detail?id=261#c58
And
http://twscript.paulanorman.com/downloads/?ShortName for the necessary two
scripts.
I hope that this helps,
Paul
On 17 April 2011 03:25, Mehdi Ranjbaran wrote:
> Hello,
>
>
> I have a couple of difficulties with my Latex document which I hope you can
> resolve. I have a main file in which a chap2.tex is included:
>
>
> \include{chap2}
>
>
> In chap2.tex I include a graphic file fig1.pdf using \includegraphics
> within the figure environment. The graphic file is in a directory other than
> the current directory in which main.tex is. The path to the directory
> contains, however, space characters and that's the source of my problems. I
> use grffile package together with \graphicspath:
>
>
> \usepackage[space]{grffile}
>
> \graphicspath{../../My Graphic Files/}
>
>
> but get the error message:
>
> "
>
> ! Package pdftex.def Error: File `fig1.pdf' not found.
>
> See the pdftex.def package documentation for explanation.
>
> Type H for immediate help.
>
> ...
>
> l.20 ...udegraphics{fig1.pdf}
>
> ?
>
> "
>
>
> However, when I don't use \graphicspath and include the full path of the
> graphic file in \includegraphics I have no difficulty and the final .pdf
> file is produced:
>
>
> \includegraphics{../../My Graphic Files/fig1.pdf}
>
> Do you know how I can get rid of this pesky error? I don't want to write
> the full path every time I use \includegraphics.
>
> Thank you.
>
>
> ----- configuration info -----
> TeXworks version : 0.4.0r759 (MiKTeX 2.9)
> Install location : C:/Program Files (x86)/MiKTeX
> 2.9/miktex/bin/texworks.exe
> Library path : C:/Users/mehdi/AppData/Local/MiKTeX/2.9/TeXworks/0.4\
> pdfTeX location : C:/Program Files (x86)/MiKTeX 2.9/miktex/bin/pdftex.exe
> Operating system : Windows Microsoft Windows Vista Home Basic Edition,
> 64-bit Service Pack 2 (build 6002)
> Qt4 version : 4.7.2 (build) / 4.7.2 (runtime)
> ------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From bvoisin at me.com Sun Apr 17 08:27:28 2011
From: bvoisin at me.com (Bruno Voisin)
Date: Sun, 17 Apr 2011 08:27:28 +0200
Subject: [texworks] technical problem involving \include,
\includegraphics \graphicspath and grffile package
In-Reply-To: <495679.18019.qm@web111510.mail.gq1.yahoo.com>
References: <495679.18019.qm@web111510.mail.gq1.yahoo.com>
Message-ID: <600C287A-8ADE-4E37-A1A9-44D0E07112F2@me.com>
Le 16 avr. 2011 ? 17:25, Mehdi Ranjbaran a ?crit :
> The path to the directory contains, however, space characters and that's the source of my problems. I use grffile package together with \graphicspath:
>
> \usepackage[space]{grffile}
>
> \graphicspath{../../My Graphic Files/}
>
> but get the error message:
>
> "
> ! Package pdftex.def Error: File `fig1.pdf' not found.
>
> [...]
>
> However, when I don't use \graphicspath and include the full path of the graphic file in \includegraphics I have no difficulty and the final .pdf file is produced:
>
> \includegraphics{../../My Graphic Files/fig1.pdf}
>
> Do you know how I can get rid of this pesky error? I don't want to write the full path every time I use \includegraphics.
Did you try putting the path in \graphicspath between double braces, like
\graphicspath{{../../My Graphic Files/}}
According to its doc, \graphicspath is supposed to contain a list of directories, each within its own set of curly braces. Says grfguide.pdf:
> The format is the same as for the LATEX2? primitive \input at path. A list of directories, each in a {} group (even if there is only one in the list). For example:
> \graphicspath{{eps/}{tiff/}}
Other than that, my suggestion would have been to include the path between double quotes "[...]". On the Mac this has been a way to include arbitrary file names for quite some time (XeTeX, OzTeX, ...), and I thought this was more-or-less a standard on any platform. But since you're using the grffile package, its doc seems to say it's not compatible with double quotes.
Bruno Voisin
From suresh.amritapuri at gmail.com Sun Apr 17 08:48:05 2011
From: suresh.amritapuri at gmail.com (Suresh Kumar)
Date: Sat, 16 Apr 2011 23:48:05 -0700
Subject: [texworks] basic editing commands
In-Reply-To:
References:
<4DA97651.8050109@gmail.com>
<4DAA1AFB.6010708@gmx.de>
Message-ID:
yea, i was looking for emacs/eclipse like line killing command....
On Sat, Apr 16, 2011 at 4:42 PM, sigmundv at gmail.com wrote:
> I think the OP was looking for some vim-style command. If this is the case
> I'd say that he should use vim with a LaTeX plugin instead...
>
>
> Sigmund
>
>
>
> On Sat, Apr 16, 2011 at 23:40, Matthias Pospiech > wrote:
>
>> Am 16.04.2011 22:50, schrieb Suresh Kumar:
>>
>> I was trying to figure out how to delete a line, both after the cursor and
>> the whole line and I could not find them..thats why i posted this....
>>
>>
>> It should work as in every 'standard' editor:
>>
>> Mark the whole line: [Pos1], [Shift]+[End]
>> Mark several lines: [Pos1], [Shift]+[End], [Shift] + [Up]/[Down]
>> Delete it : [Del]
>>
>> Matthias
>>
>>
>
--
R Suresh Kumar,
http://www.m atrukripa.com
Sarve bhavantu sukinaha (May everyone be happy)
Sarve santu niramiyaha (May everyone be without affliction)
Sarve bhadrani pashyantu (May everyone see only goodness)
Ma kashchit dukha bhak bhavet (Let none be the victim of suffering)
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From st.loeffler at gmail.com Sun Apr 17 09:22:40 2011
From: st.loeffler at gmail.com (=?ISO-8859-1?Q?Stefan_L=F6ffler?=)
Date: Sun, 17 Apr 2011 09:22:40 +0200
Subject: [texworks] basic editing commands
In-Reply-To:
References:
<4DA97651.8050109@gmail.com>
<4DAA1AFB.6010708@gmx.de>
Message-ID: <4DAA9540.6070500@gmail.com>
Hi,
On 2011-04-17 08:48, Suresh Kumar wrote:
> yea, i was looking for emacs/eclipse like line killing command....
indeed, such a command is not provided by default. It should be fairly
easy to provide with a script, though (in which case you could also
assign an arbitrary shortcut to your liking to it).
HTH
Stefan
From paul.a.norman at gmail.com Sun Apr 17 12:55:37 2011
From: paul.a.norman at gmail.com (Paul A Norman)
Date: Sun, 17 Apr 2011 22:55:37 +1200
Subject: [texworks] SCRIPTING: Colour Dialogue
Message-ID:
Hi,
I've uploaded a Script that displays some standard colours and offers some
colour macro commands for insertion into Tw Document.
This is a prototype which will be developed when time permits.
Replaces deleted http://code.google.com/p/texworks/issues/detail?id=261#c25
with this current one:
http://code.google.com/p/texworks/issues/detail?id=261#c59
xcolor_svgnames_X11names.js
Version 0.4 - Sunday 17th, April, 2011
Needs File read and write
see:
http://twscript.paulanorman.com/docs/html/files/TexWorksApplicationProgramingI.html
Script Download:
http://twscript.paulanorman.com/downloads/?InsertColour
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From st.loeffler at gmail.com Sun Apr 17 14:19:14 2011
From: st.loeffler at gmail.com (=?ISO-8859-15?Q?Stefan_L=F6ffler?=)
Date: Sun, 17 Apr 2011 14:19:14 +0200
Subject: [texworks] Call for Help: Testing
Message-ID: <4DAADAC2.1000104@gmail.com>
Hi,
over the past month, TeXworks has seen several bugfixes, enhancements,
and also some minor new features, that warrant an 0.4.1 bugfix release.
The preliminary schedule sees the end of April or early May as release
date. Until then, I ask everyone who is willing to help to test the
latest version (r801 at the time of writing) - in particular the parts
that have changed (as reported previously here on the mailing list) and
report any problems you might have.
Thanks in advance,
Stefan
From lomov.vl at gmail.com Sun Apr 17 17:17:49 2011
From: lomov.vl at gmail.com (Vladimir Lomov)
Date: Mon, 18 Apr 2011 00:17:49 +0900
Subject: [texworks] Russian translation update
Message-ID: <20110417151749.GA3528@smoon>
Hi list and Stefan esp.
I updated translation of texworks on Russian (rev. 801).
--
Patageometry, n.:
The study of those mathematical properties that are invariant
under brain transplants.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TeXworks_ru.ts.bz2
Type: application/octet-stream
Size: 10877 bytes
Desc: not available
URL:
From suresh.amritapuri at gmail.com Sun Apr 17 21:34:31 2011
From: suresh.amritapuri at gmail.com (Suresh Kumar)
Date: Sun, 17 Apr 2011 12:34:31 -0700
Subject: [texworks] basic editing commands
In-Reply-To: <4DAA9540.6070500@gmail.com>
References:
<4DA97651.8050109@gmail.com>
<4DAA1AFB.6010708@gmx.de>
<4DAA9540.6070500@gmail.com>
Message-ID:
i think it is time to learn scripting!
On Sun, Apr 17, 2011 at 12:22 AM, Stefan L?ffler wrote:
> Hi,
>
> On 2011-04-17 08:48, Suresh Kumar wrote:
> > yea, i was looking for emacs/eclipse like line killing command....
>
> indeed, such a command is not provided by default. It should be fairly
> easy to provide with a script, though (in which case you could also
> assign an arbitrary shortcut to your liking to it).
>
> HTH
> Stefan
>
--
R Suresh Kumar,
http://www.m atrukripa.com
Sarve bhavantu sukinaha (May everyone be happy)
Sarve santu niramiyaha (May everyone be without affliction)
Sarve bhadrani pashyantu (May everyone see only goodness)
Ma kashchit dukha bhak bhavet (Let none be the victim of suffering)
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From ovadia at pacbell.net Mon Apr 18 03:35:33 2011
From: ovadia at pacbell.net (Ovi Chitayat)
Date: Sun, 17 Apr 2011 18:35:33 -0700
Subject: [texworks] question
Message-ID: <97FF8E23F6AD4F808ED285DCADD35D7B@home390>
Hi,
Is there a way to reset an enumeration counter ?
I am looking to for a way to do a dual digit or even a triple digit
enumeration
and have control over restarting any of the digit counters from the initial
value.
Example of resulting enumeration:
1.1.1
1.1.2
1.1.3
1.2.1
1.2.2
1.3.1
2.1.1
Notice: I need both LSB's to be able to reset to the initial value.
Ovi
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From paul.a.norman at gmail.com Mon Apr 18 12:07:03 2011
From: paul.a.norman at gmail.com (Paul A Norman)
Date: Mon, 18 Apr 2011 22:07:03 +1200
Subject: [texworks] question
In-Reply-To: <97FF8E23F6AD4F808ED285DCADD35D7B@home390>
References: <97FF8E23F6AD4F808ED285DCADD35D7B@home390>
Message-ID:
Hi Ovi,
Form among many very good ones these resources are very helpful:
http://groups.google.com/group/latexusersgroup
http://www.tug.org/interest.html
http://theoval.cmp.uea.ac.uk/~nlct/latex/
Try searching on google with the phrase:
LaTeX enumerate
Also you can download a Tw scripting extension which can give you a bit of
help on this from within your Tw editor window.
http://twscript.paulanorman.com/downloads/?Latex2eHelp
When you've followed the guidelines and installed it, start it from within
the Editor with the Alt F1 + Alt 2 keys.
Type: enumerate
in the text box.
And also try:
counter
You'll find your script directory when you need it for install, from your
Help menu (on recent Tw releases) "Settings and Resources" and then the
config link, the Scripts folder is in there.
You can get a recent Tw release from here:
http://code.google.com/p/texworks/downloads/list
I think that version 801 is the most recent at the moment.
Paul
On 18 April 2011 13:35, Ovi Chitayat wrote:
> Hi,
>
> Is there a way to reset an enumeration counter ?
>
> I am looking to for a way to do a dual digit or even a triple digit
> enumeration
>
> and have control over restarting any of the digit counters from the initial
> value.
>
> Example of resulting enumeration:
>
> 1.1.1
>
> 1.1.2
>
> 1.1.3
>
> 1.2.1
>
> 1.2.2
>
> 1.3.1
>
> 2.1.1
>
> Notice: I need both LSB?s to be able to reset to the initial value.
>
> Ovi
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From paul.a.norman at gmail.com Mon Apr 18 13:35:04 2011
From: paul.a.norman at gmail.com (Paul A Norman)
Date: Mon, 18 Apr 2011 23:35:04 +1200
Subject: [texworks] Call for Help: Testing
In-Reply-To: <4DAADAC2.1000104@gmail.com>
References: <4DAADAC2.1000104@gmail.com>
Message-ID:
Dear Stefan,
I think that your tweaking has got Tw starting more quickly, at least on
Windows Xp, and that is great thank you!
Help/"Settings and Resources" is working very smoothly, thanks for that. Its
a great help for pointing people to.
Windows toolbar tips are looking great now, issue 387 ver796
Pdf previeew issue 91 ver767, awesome - just a comment in Windows, one you
double click and the other you left click - can both be made to operate on
either approach, the same approach, or a single click? And in the Text
editor the line number one be activated as well (I just discovered that the
other two (CR-LF UTF-8) in the Text editor operate off a left click - very
useful).
I was looking through http://code.google.com/p/texworks/source/list trying
to identify what else there was to check...
Re-compression --
I noticed http://code.google.com/p/texworks/source/detail?r=763#
Hasnlt helped us much yet, did another check on latest exe ...
Ran UPX on the latest TeXworks.exe
TeXworks.exe 21,162 Kb UPX -9 down to 8,199 Kb I believe it adds
about one second to the start-up time.
I think UPX is available for Linux as well(?)
Awesome progress on many fronts :)
Paul
On 18 April 2011 00:19, Stefan L?ffler wrote:
> Hi,
>
> over the past month, TeXworks has seen several bugfixes, enhancements,
> and also some minor new features, that warrant an 0.4.1 bugfix release.
> The preliminary schedule sees the end of April or early May as release
> date. Until then, I ask everyone who is willing to help to test the
> latest version (r801 at the time of writing) - in particular the parts
> that have changed (as reported previously here on the mailing list) and
> report any problems you might have.
>
> Thanks in advance,
> Stefan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From st.loeffler at gmail.com Mon Apr 18 17:23:14 2011
From: st.loeffler at gmail.com (=?UTF-8?B?U3RlZmFuIEzDtmZmbGVy?=)
Date: Mon, 18 Apr 2011 17:23:14 +0200
Subject: [texworks] Call for Help: Testing
In-Reply-To: <4DAADAC2.1000104@gmail.com>
References: <4DAADAC2.1000104@gmail.com>
Message-ID: <4DAC5762.6050202@gmail.com>
Hi,
following up on issue 491
(http://code.google.com/p/texworks/issues/detail?id=491) about broken
file path detection in the latexError.js script - maybe some people here
can help by providing the results of some of the test cases mentioned there.
Cheers,
Stefan
Original post:
In order to resolve this satisfactorily across platforms, could someone post the error logs produced by MiKTeX & TeXLive on Windows as well as MacTeX on the Mac for the following situations:
* Error in a file with a short name (e.g., 'test.tex')
* Error in a file with a long name (too long for a single line) (e.g., 'a-very-very-long-file-name-to-ensure-latex-error-messages-are-broken-across-lines.tex')
* Error in a file with spaces (e.g., 'test file.tex')
* Error in a file with quotation marks (e.g., 'test "file".tex')
* Error in a file with contained braces (e.g., 'test (file).tex')
Minimal sample file:
\documentclass{article}
\begin{document}
A\B
\end{document}
From st.loeffler at gmail.com Mon Apr 18 17:36:30 2011
From: st.loeffler at gmail.com (=?ISO-8859-1?Q?Stefan_L=F6ffler?=)
Date: Mon, 18 Apr 2011 17:36:30 +0200
Subject: [texworks] Call for Help: Testing
In-Reply-To:
References: <4DAADAC2.1000104@gmail.com>
Message-ID: <4DAC5A7E.3090802@gmail.com>
Hi,
thanks for the positive feedback.
On 2011-04-18 13:35, Paul A Norman wrote:
> Pdf previeew issue 91 ver767, awesome - just a comment in Windows, one
> you double click and the other you left click - can both be made to
> operate on either approach, the same approach, or a single click? And
> in the Text editor the line number one be activated as well (I just
> discovered that the other two (CR-LF UTF-8) in the Text editor operate
> off a left click - very useful).
For me (Linux), it's right-clicking for all but the page. The reason for
this is that they all open context menus (which are typically associated
with a right-click). The page label, OTOH, initiates an action (namely
opening the "Goto page" dialog), which would seem rather weird (to me,
anyway) to be initiated by a right-click. Besides, I seem to remember
that several applications have a double-click activation on that
(granted, most applications have an edit box there, but AFAIK this
produces significant problems on the Mac due to its size).
Regarding the editor, I missed the line label. I'll try to remember it
until I find time to fix it ;).
> I was looking
> through http://code.google.com/p/texworks/source/list trying to
> identify what else there was to check...
>
> Re-compression --
>
> I noticed http://code.google.com/p/texworks/source/detail?r=763#
> Hasnlt helped us much yet, did another check on latest exe ...
Yeah, it was just a first attempt, I didn't have time to look into this
issue in detail yet. As far as (stable) releases are concerned, I'd
prefer to go with uncompressed files, as they don't change that often
(people don't have to download too much), hard disk space is not that
limitted anymore these days (we're talking about 21MB) and speed is nice
to have. For "daily" testing builds, OTOH, I agree that size matters,
and speed does not so much. Still, I'd like to investigate this first.
Cheers,
Stefan
From paul.a.norman at gmail.com Mon Apr 18 23:47:51 2011
From: paul.a.norman at gmail.com (Paul A Norman)
Date: Tue, 19 Apr 2011 09:47:51 +1200
Subject: [texworks] Call for Help: Testing
In-Reply-To: <4DAC5A7E.3090802@gmail.com>
References: <4DAADAC2.1000104@gmail.com>
<4DAC5A7E.3090802@gmail.com>
Message-ID:
On 19 April 2011 03:36, Stefan L?ffler wrote:
> Hi,
>
> thanks for the positive feedback.
>
> On 2011-04-18 13:35, Paul A Norman wrote:
> > Pdf previeew issue 91 ver767, awesome - just a comment in Windows, one
> > you double click and the other you left click - can both be made to
> > operate on either approach, the same approach, or a single click? And
> > in the Text editor the line number one be activated as well (I just
> > discovered that the other two (CR-LF UTF-8) in the Text editor operate
> > off a left click - very useful).
>
> For me (Linux), it's right-clicking for all but the page.
Correct - right clicking.
> The reason for
> this is that they all open context menus (which are typically associated
> with a right-click). The page label, OTOH, initiates an action (namely
> opening the "Goto page" dialog), which would seem rather weird (to me,
> anyway) to be initiated by a right-click. Besides,
I seem to remember
> that several applications have a double-click activation on that
> (granted, most applications have an edit box there, but AFAIK this
> produces significant problems on the Mac due to its size).
>
As I recall it the general best practice under Windows and Mac is to try and
have similar looking components - especially when in proximity to each other
- activated in similar ways to avoid interface confusion or even the
possibility that a feature is left unknown to the user. Developers have
provided more than one means of activating such things in the past to avoid
missing people out. A single left click is the first course of action for
many users according to labs in the past.
Really relevant with these components being right beside eachother - in the
editor set - three in a row that look to the eye like the same component -
in the pdf preview two right beside each other.
One you right click, the other you double left click - a tad
counter-intuitive.
Regarding the editor, I missed the line label. I'll try to remember it
> until I find time to fix it ;).
>
A lot of people will tend to just single left click everything if they are
not sure / trying things out. Best way to catch them.
If it looks like a duck, walks like a duck, quacks like a duck, its probably
a duck.
On Windows at least, with their Qt shading, this component look more like a
button than anything else.
And a button you almost without exception left click.
> > I was looking
> > through http://code.google.com/p/texworks/source/list trying to
> > identify what else there was to check...
> >
> > Re-compression --
> >
> > I noticed http://code.google.com/p/texworks/source/detail?r=763#
> > Hasnlt helped us much yet, did another check on latest exe ...
>
> Yeah, it was just a first attempt, I didn't have time to look into this
> issue in detail yet. As far as (stable) releases are concerned, I'd
> prefer to go with uncompressed files, as they don't change that often
> (people don't have to download too much), hard disk space is not that
> limitted anymore these days (we're talking about 21MB) and speed is nice
> to have.
For "daily" testing builds, OTOH, I agree that size matters,
> and speed does not so much. Still, I'd like to investigate this first.
>
>
Its worth it, there are still considerable numbers of people in developing
countries who rely on speeds little better, or the same as dial up modems. I
know one man in the Philipines who has been unable to guarantee a connection
for ten minutes without it going down and requires reconnection, and have
seen people in Fiji even near main nodes, have to wait over an hour to
process a small raft of plain text emails.
Paul
Cheers,
> Stefan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From st.loeffler at gmail.com Wed Apr 20 07:51:25 2011
From: st.loeffler at gmail.com (=?ISO-8859-15?Q?Stefan_L=F6ffler?=)
Date: Wed, 20 Apr 2011 07:51:25 +0200
Subject: [texworks] Russian translation update
In-Reply-To: <20110417151749.GA3528@smoon>
References: <20110417151749.GA3528@smoon>
Message-ID: <4DAE745D.4090500@gmail.com>
Hi,
On 2011-04-17 17:17, Vladimir Lomov wrote:
> I updated translation of texworks on Russian (rev. 801).
Thanks a lot. I'll commit it with the other translations.
Cheers,
Stefan
From vext01 at gmail.com Wed Apr 20 11:18:07 2011
From: vext01 at gmail.com (Edd Barrett)
Date: Wed, 20 Apr 2011 10:18:07 +0100
Subject: [texworks] TeXworks-0.4 on OpenBSD
In-Reply-To: <20110413203033.GF28376@edd-i386.kent.ac.uk>
References: <20110413110532.GB28376@edd-i386.kent.ac.uk>
<20110413135519.GC28376@edd-i386.kent.ac.uk>
<4DA5AF98.6070001@gmail.com>
<20110413193819.GE28376@edd-i386.kent.ac.uk>
<4DA5FEB7.8030106@gmail.com>
<20110413203033.GF28376@edd-i386.kent.ac.uk>
Message-ID: <20110420091807.GA20460@edd-i386.kent.ac.uk>
On Wed, Apr 13, 2011 at 09:30:33PM +0100, Edd Barrett wrote:
> On Wed, Apr 13, 2011 at 09:51:19PM +0200, Stefan L?ffler wrote:
> > >> hm..., an error in QWingedEdge. Do you by any chance use highlighing of
> > >> the current line, and a Qt < 4.2, and the memory usage of the Tw went
> > >> sky-high?
> > > I am highlighting the current line, however with qt4-4.7.0.
> >
> > Sorry, my bad. The version should have read Qt < 4.7.2. So this clearly
> > applies to your system (see the Qt bug link I posted, or the (now
> > closed) Tw issue at http://code.google.com/p/texworks/issues/detail?id=438).
>
> Another developer comitted an update to qt-4.7.2 only yesterday, so I
> will try with this instead.
That fixed this btw.
Cheers
--
Best Regards
Edd Barrett
http://www.theunixzoo.co.uk
From vext01 at gmail.com Wed Apr 20 11:21:29 2011
From: vext01 at gmail.com (Edd Barrett)
Date: Wed, 20 Apr 2011 10:21:29 +0100
Subject: [texworks] texworks with tiling window managers
Message-ID: <20110420092129.GB20460@edd-i386.kent.ac.uk>
Hi,
I notice that texworks is horrible to place in tiling window managers. I think
this is because texworks is trying to place windows cleverly itself. Whilst that
works well on a floating window manager, it sucks on window managers like
awesome or scrotwm.
Would anyone be opposed to a setting "don't manage window placement",
which does exactly that and disables some of the placement schemes in
the 'window' menu.
Cheers
--
Best Regards
Edd Barrett
http://www.theunixzoo.co.uk
From st.loeffler at gmail.com Wed Apr 20 17:36:49 2011
From: st.loeffler at gmail.com (=?ISO-8859-1?Q?Stefan_L=F6ffler?=)
Date: Wed, 20 Apr 2011 17:36:49 +0200
Subject: [texworks] Call for Help: Testing
In-Reply-To:
References: <4DAADAC2.1000104@gmail.com>
<4DAC5A7E.3090802@gmail.com>
Message-ID: <4DAEFD91.3090201@gmail.com>
On 2011-04-18 23:47, Paul A Norman wrote:
> If it looks like a duck, walks like a duck, quacks like a duck, its
> probably a duck.
> On Windows at least, with their Qt shading, this component look more
> like a button than anything else.
OK, seeing them as buttons that open menus/dialogs is understandable.
I'll see what I can do.
>
> > I was looking
> > through http://code.google.com/p/texworks/source/list trying to
> > identify what else there was to check...
> >
> > Re-compression --
> >
> > I noticed http://code.google.com/p/texworks/source/detail?r=763#
> > Hasnlt helped us much yet, did another check on latest exe ...
>
> Yeah, it was just a first attempt, I didn't have time to look into
> this
> issue in detail yet. As far as (stable) releases are concerned, I'd
> prefer to go with uncompressed files, as they don't change that often
> (people don't have to download too much), hard disk space is not that
> limitted anymore these days (we're talking about 21MB) and speed
> is nice
> to have.
>
> For "daily" testing builds, OTOH, I agree that size matters,
> and speed does not so much. Still, I'd like to investigate this first.
>
>
> Its worth it, there are still considerable numbers of people in
> developing countries who rely on speeds little better, or the same as
> dial up modems. I know one man in the Philipines who has been unable
> to guarantee a connection for ten minutes without it going down and
> requires reconnection, and have seen people in Fiji even near main
> nodes, have to wait over an hour to process a small raft of plain text
> emails.
Of course. OTOH, the installer already is quite a bit smaller than the
archive, so it would be reasonable to download that if speed/capacity is
an issue. Just to check, could you run UPX on the installer and see if
it gets (significantly) smaller? (My guess is no, but if I'm wrong I'll
look into using UPX on the installer; on the one hand, it's smaller to
begin with, and on the other it is run only once, so any startup lag is
no problem).
In the meantime, I've looked a little bit into the issue with the main
TeXworks.exe. It seems that Qt stores quite a lot of information on
properties, methods, UI, ... as plain text in the .exe. This, naturally,
can be compressed efficiently, yielding the much smaller size you
reported. However, the files to download are compressed in a .zip
archive. Therefore, I'd suspect that replacing the TeXworks.exe in the
.zip file by an UPX'ed one would make only a minor difference. The .exe
is smaller, but it won't be compressed anymore by the zip algorithm
(right now, the compressed size is about 50% smaller than the
uncompressed one). So, again, I would suspect the difference between an
UPX'ed version and a non-UPX'ed one in a zip archive to be small (though
non-zero, as I expect the UPX algorithm to give somewhat better results
than zip).
Regards,
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From paul.a.norman at gmail.com Wed Apr 20 23:54:41 2011
From: paul.a.norman at gmail.com (Paul A Norman)
Date: Thu, 21 Apr 2011 09:54:41 +1200
Subject: [texworks] Call for Help: Testing
In-Reply-To: <4DAEFD91.3090201@gmail.com>
References: <4DAADAC2.1000104@gmail.com>
<4DAC5A7E.3090802@gmail.com>
<4DAEFD91.3090201@gmail.com>
Message-ID:
Yes, UPX actually has a go at the binary, where as standard zipping has
traditionally only been able to handle text type stuff.
Will attempt that at some point and get back on it.
Keep in mind though its not just download, on a portable type setup, once
installed, every saved Mb tends to end up being useful at some point :)
Paul
On 21 April 2011 03:36, Stefan L?ffler wrote:
> On 2011-04-18 23:47, Paul A Norman wrote:
>
> If it looks like a duck, walks like a duck, quacks like a duck, its
> probably a duck.
> On Windows at least, with their Qt shading, this component look more like
> a button than anything else.
>
>
> OK, seeing them as buttons that open menus/dialogs is understandable. I'll
> see what I can do.
>
>
>
> > I was looking
>> > through http://code.google.com/p/texworks/source/list trying to
>> > identify what else there was to check...
>> >
>> > Re-compression --
>> >
>> > I noticed http://code.google.com/p/texworks/source/detail?r=763#
>> > Hasnlt helped us much yet, did another check on latest exe ...
>>
>> Yeah, it was just a first attempt, I didn't have time to look into this
>> issue in detail yet. As far as (stable) releases are concerned, I'd
>> prefer to go with uncompressed files, as they don't change that often
>> (people don't have to download too much), hard disk space is not that
>> limitted anymore these days (we're talking about 21MB) and speed is nice
>> to have.
>
> For "daily" testing builds, OTOH, I agree that size matters,
>> and speed does not so much. Still, I'd like to investigate this first.
>>
>>
> Its worth it, there are still considerable numbers of people in
> developing countries who rely on speeds little better, or the same as dial
> up modems. I know one man in the Philipines who has been unable to guarantee
> a connection for ten minutes without it going down and requires
> reconnection, and have seen people in Fiji even near main nodes, have to
> wait over an hour to process a small raft of plain text emails.
>
>
> Of course. OTOH, the installer already is quite a bit smaller than the
> archive, so it would be reasonable to download that if speed/capacity is an
> issue. Just to check, could you run UPX on the installer and see if it gets
> (significantly) smaller? (My guess is no, but if I'm wrong I'll look into
> using UPX on the installer; on the one hand, it's smaller to begin with, and
> on the other it is run only once, so any startup lag is no problem).
>
> In the meantime, I've looked a little bit into the issue with the main
> TeXworks.exe. It seems that Qt stores quite a lot of information on
> properties, methods, UI, ... as plain text in the .exe. This, naturally, can
> be compressed efficiently, yielding the much smaller size you reported.
> However, the files to download are compressed in a .zip archive. Therefore,
> I'd suspect that replacing the TeXworks.exe in the .zip file by an UPX'ed
> one would make only a minor difference. The .exe is smaller, but it won't be
> compressed anymore by the zip algorithm (right now, the compressed size is
> about 50% smaller than the uncompressed one). So, again, I would suspect the
> difference between an UPX'ed version and a non-UPX'ed one in a zip archive
> to be small (though non-zero, as I expect the UPX algorithm to give somewhat
> better results than zip).
>
> Regards,
> Stefan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From paul.a.norman at gmail.com Thu Apr 21 02:40:49 2011
From: paul.a.norman at gmail.com (Paul A Norman)
Date: Thu, 21 Apr 2011 12:40:49 +1200
Subject: [texworks] Call for Help: Testing
In-Reply-To:
References: <4DAADAC2.1000104@gmail.com>
<4DAC5A7E.3090802@gmail.com>
<4DAEFD91.3090201@gmail.com>
Message-ID:
ok,
Prob not really worth trying to UPX a properly constructed installer as you
point out. It appears to possibly only try to UPX the stub depending on how
the installer handles things anyway.
Did an exhaustive set of tests that I'll keep for other things as well, as a
benchmark as there is actually a useful mix of different types of stuff in
each Tw update, the worst culprit on Xp standard NTFS on disk, is the
popler data - some disk wastage reationg to sector sizes, with so many small
files.
Most of my tests involved extracting form the latest Tw zip and then
re-compressing the deflated files with various techniques, UPXing and not
UPXing the dll and exe.
The conclusion appears to be that a LZMA 7Zip self extractor can be made
(10.7 MB) that is about 6mb smaller than the standard curent Tw developer
update zip.
Or a straight forward 7Zip .7z archive can be made (10.6 Mb) that is also
about six Mb smaller than the current development .zip (16.7 MB).
Also if the dll and exe are UPXed then a SelfExtractor (SFX) can be made
with 7Zip that is still only 12.4Mb
Perhaps helpful for any one on slower connections and or using a
thumb-drives from time to time, who is needing to keep up with the fixes.
What ever else, it all gives us some idea of available compressions.
File attached.
Paul
On 21 April 2011 09:54, Paul A Norman wrote:
> Yes, UPX actually has a go at the binary, where as standard zipping has
> traditionally only been able to handle text type stuff.
>
> Will attempt that at some point and get back on it.
>
> Keep in mind though its not just download, on a portable type setup, once
> installed, every saved Mb tends to end up being useful at some point :)
>
> Paul
>
>
>
> On 21 April 2011 03:36, Stefan L?ffler wrote:
>
>> On 2011-04-18 23:47, Paul A Norman wrote:
>>
>> If it looks like a duck, walks like a duck, quacks like a duck, its
>> probably a duck.
>> On Windows at least, with their Qt shading, this component look more like
>> a button than anything else.
>>
>>
>> OK, seeing them as buttons that open menus/dialogs is understandable. I'll
>> see what I can do.
>>
>>
>>
>> > I was looking
>>> > through http://code.google.com/p/texworks/source/list trying to
>>> > identify what else there was to check...
>>> >
>>> > Re-compression --
>>> >
>>> > I noticed http://code.google.com/p/texworks/source/detail?r=763#
>>> > Hasnlt helped us much yet, did another check on latest exe ...
>>>
>>> Yeah, it was just a first attempt, I didn't have time to look into this
>>> issue in detail yet. As far as (stable) releases are concerned, I'd
>>> prefer to go with uncompressed files, as they don't change that often
>>> (people don't have to download too much), hard disk space is not that
>>> limitted anymore these days (we're talking about 21MB) and speed is nice
>>> to have.
>>
>> For "daily" testing builds, OTOH, I agree that size matters,
>>> and speed does not so much. Still, I'd like to investigate this first.
>>>
>>>
>> Its worth it, there are still considerable numbers of people in
>> developing countries who rely on speeds little better, or the same as dial
>> up modems. I know one man in the Philipines who has been unable to guarantee
>> a connection for ten minutes without it going down and requires
>> reconnection, and have seen people in Fiji even near main nodes, have to
>> wait over an hour to process a small raft of plain text emails.
>>
>>
>> Of course. OTOH, the installer already is quite a bit smaller than the
>> archive, so it would be reasonable to download that if speed/capacity is an
>> issue. Just to check, could you run UPX on the installer and see if it gets
>> (significantly) smaller? (My guess is no, but if I'm wrong I'll look into
>> using UPX on the installer; on the one hand, it's smaller to begin with, and
>> on the other it is run only once, so any startup lag is no problem).
>>
>> In the meantime, I've looked a little bit into the issue with the main
>> TeXworks.exe. It seems that Qt stores quite a lot of information on
>> properties, methods, UI, ... as plain text in the .exe. This, naturally, can
>> be compressed efficiently, yielding the much smaller size you reported.
>> However, the files to download are compressed in a .zip archive. Therefore,
>> I'd suspect that replacing the TeXworks.exe in the .zip file by an UPX'ed
>> one would make only a minor difference. The .exe is smaller, but it won't be
>> compressed anymore by the zip algorithm (right now, the compressed size is
>> about 50% smaller than the uncompressed one). So, again, I would suspect the
>> difference between an UPX'ed version and a non-UPX'ed one in a zip archive
>> to be small (though non-zero, as I expect the UPX algorithm to give somewhat
>> better results than zip).
>>
>> Regards,
>> Stefan
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
?TeXworks-w32-0.5-r804.zip 16.7mb 16.7 mb on disk
tW 0.5 VER804 Uncompressed to a folder 29.7 Mb 35.0 Mb on NTSF disk (out of box Xp settings)
7Z estimated the disk space uncompressed to be 37Mb
re-compressed the extract of TeXworks-w32-0.5-r804.zip normal 7z compression
as:
tW 0.5 VER804.7z 11.0 MB and 11.0 MB on disk
Then first UPXed the extracted binaries and again re-compressed the extract of TeXworks-w32-0.5-r804.zip
as:
tW 0.5 VER804(binaries UPXed) MAX 7z compression.7z 12.2 MB 12.2 MB
Then with UPX-ed on extracted binaries (exe dll) and again re-compressed the extract of TeXworks-w32-0.5-r804.zip
as:
tW 0.5 VER804(binaries UPXed) MAX PPMD compression.7z 13.7 MB 13.7 MB
re-compressed the extract of TeXworks-w32-0.5-r804.zip Ultra 7z compression
as:
tW 0.5 VER804(binaries NOT UPXed) MAX (Ultra) 7z compression LZMA.7z
10.6 MB and 10.7 MB
Next making a self extracting archive, re-compressed the extract of TeXworks-w32-0.5-r804.zip
(people don't have to have 7z installed):
tW 0.5 VER804 SFX (binaries NOT UPXed) MAX (Ultra) 7z compression LZMA.exe
10.7 MB 10.7 MB
FInally binaries UPXed and made into an Ultra 7z Self Extractor
(TeXworks.exe 8.18 MB 8.18 MB - was 20.6 MB
python27.dll 99 KB 99 KB - was 2.17 MB)
tW 0.5 VER804 SFX (binaries UPXed) MAX (Ultra) 7z compression LZMA.exe
12.4 MB 12.4 MB
From byelozyorov at cs.uni-saarland.de Thu Apr 21 11:38:43 2011
From: byelozyorov at cs.uni-saarland.de (Sergiy Byelozyorov)
Date: Thu, 21 Apr 2011 11:38:43 +0200
Subject: [texworks] How to make preview and main window minimize together?
Message-ID:
Dear developers,
I like the design of you application, however it would be nice if I could
minimize both windows together at the same time with one mouse click.
Alternatively you can also make both preview and code editor to be panes
with a movable splitter within a single window. This doesn't have to be
default, but it's nice to have such an option. Thank you for the great
application.
Sergiy Byelozyorov
Computer Graphics Chair
Universitat des Saarlandes
Tel.: +49 (681) 302-3837
Web: http://graphics.cs.uni-saarland.de/sbyelozyorov/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From paul.a.norman at gmail.com Thu Apr 21 12:50:27 2011
From: paul.a.norman at gmail.com (Paul A Norman)
Date: Thu, 21 Apr 2011 22:50:27 +1200
Subject: [texworks] How to make preview and main window minimize
together?
In-Reply-To:
References:
Message-ID:
Thank you Sergiy,
Your suggestions have been entered against the following 'issue' (if you
would like to track progress):
http://code.google.com/p/texworks/issues/detail?id=285#c4
The possibility of splitting the screen has been mentioned before, earlier
on that page.
Your contribution is appreciated,
Paul
On 21 April 2011 21:38, Sergiy Byelozyorov
wrote:
> Dear developers,
>
> I like the design of you application, however it would be nice if I could
> minimize both windows together at the same time with one mouse click.
> Alternatively you can also make both preview and code editor to be panes
> with a movable splitter within a single window. This doesn't have to be
> default, but it's nice to have such an option. Thank you for the great
> application.
>
> Sergiy Byelozyorov
> Computer Graphics Chair
> Universitat des Saarlandes
> Tel.: +49 (681) 302-3837
> Web: http://graphics.cs.uni-saarland.de/sbyelozyorov/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From vafa018 at gmail.com Fri Apr 22 05:26:02 2011
From: vafa018 at gmail.com (Vafa Khalighi)
Date: Fri, 22 Apr 2011 13:26:02 +1000
Subject: [texworks] Two problems with TeXworks 0.4.0 on Mac OSX 10.6.7
Message-ID:
I downloaded the latest version from
https://www.dropbox.com/s/vs9qutjgtwised7/TeXworks.zip but I have two
problems:
1. In "Preferences=>Scripts" I can not activate "Enable plug-in scripting
languages".
2. Although this version allows typing RTL in textworks but when you type
ZWNJ between two words, then it makes it LTR, for example if I type ??????
then in the editor I see ?????? but this does not happen on Linux (ubuntu
10.10) with the same version of texworks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From paul.a.norman at gmail.com Sat Apr 23 04:56:33 2011
From: paul.a.norman at gmail.com (Paul A Norman)
Date: Sat, 23 Apr 2011 14:56:33 +1200
Subject: [texworks] Two problems with TeXworks 0.4.0 on Mac OSX 10.6.7
In-Reply-To:
References:
Message-ID:
Dear Vafa Khalighi,
Thanks for the heads up on those issues.
I am afraid that that is not looking like an "official" project build, you
can read the full notes at:
http://tug.org/pipermail/texworks/2011q1/003963.html
"I called it "quick" because I don't want to mess up with all the
different SDKs
and universal binaries stuff, but this build should fix most Mac users'
needs."
The history behind it, is that there have been some problems in getting the
MacOs builds to work, and Jiang, has quite well managed to side step the
more troublesome problems for now, just to get something out that will give
general functionality for "*most* Mac user's needs".
So we might expect that there will be some features missing from that
"unoffical" build just now.
Any more gifted Mac developers, with time, out there ..?.. :)
Paul
Full Quote from Jiang:
"Hi,
"I just did a quick Mac OS X 10.6 x86_64 build with:
- TeXworks svn trunk (should be close to 0.4.0, right?)
- Qt 4.7.2 (with other 4.7.x changes since I'm a Qt developer personally)
- poppler 0.16.3
- hunspell-1.2.14
- Other libraries are shipped with Mac OS X
"It's available here for people who wants to
try:https://www.dropbox.com/s/vs9qutjgtwised7/TeXworks.zip
I called it "quick" because I don't want to mess up with all the
different SDKs and universal binaries stuff, but this build should fix
most Mac users'needs.
Cheers,
Jiang
On 22 April 2011 15:26, Vafa Khalighi wrote:
> I downloaded the latest version from
> https://www.dropbox.com/s/vs9qutjgtwised7/TeXworks.zip but I have two
> problems:
>
> 1. In "Preferences=>Scripts" I can not activate "Enable plug-in
> scripting languages".
> 2. Although this version allows typing RTL in textworks but when you
> type ZWNJ between two words, then it makes it LTR, for example if I type
> ?????? then in the editor I see ?????? but this does not happen on Linux
> (ubuntu 10.10) with the same version of texworks.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From gzjjgod at gmail.com Mon Apr 25 16:12:44 2011
From: gzjjgod at gmail.com (Jjgod Jiang)
Date: Mon, 25 Apr 2011 16:12:44 +0200
Subject: [texworks] Two problems with TeXworks 0.4.0 on Mac OSX 10.6.7
In-Reply-To:
References:
Message-ID:
On Fri, Apr 22, 2011 at 5:26 AM, Vafa Khalighi wrote:
> In "Preferences=>Scripts" I can not activate "Enable plug-in scripting
> languages".
I've no idea about this.
> Although this version allows typing RTL in textworks but when you type ZWNJ
> between two words, then it makes it LTR, for example if I type ?????? then
> in the editor I see ?????? but this does not happen on Linux (ubuntu 10.10)
> with the same version of texworks.
I vaguely remember that there was a Qt bug about ZWNJ handling. Please
submit a bug to: http://bugreports.qt.nokia.com/ if you can reproduce it in
a Qt only test case (textedit demo from Qt SDK for instance), thanks.
- Jiang
From vafa018 at gmail.com Tue Apr 26 11:19:58 2011
From: vafa018 at gmail.com (Vafa Khalighi)
Date: Tue, 26 Apr 2011 19:19:58 +1000
Subject: [texworks] Two problems with TeXworks 0.4.0 on Mac OSX 10.6.7
In-Reply-To:
References:
Message-ID:
> I vaguely remember that there was a Qt bug about ZWNJ handling. Please
> submit a bug to: http://bugreports.qt.nokia.com/ if you can reproduce it
> in
> a Qt only test case (textedit demo from Qt SDK for instance), thanks.
>
>
Only if the Ubuntu and Mac versions are build with different versions of Qt!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From st.loeffler at gmail.com Wed Apr 27 19:16:29 2011
From: st.loeffler at gmail.com (=?UTF-8?B?U3RlZmFuIEzDtmZmbGVy?=)
Date: Wed, 27 Apr 2011 19:16:29 +0200
Subject: [texworks] Two problems with TeXworks 0.4.0 on Mac OSX 10.6.7
In-Reply-To:
References:
Message-ID: <4DB84F6D.8010003@gmail.com>
Hi,
On 2011-04-22 05:26, Vafa Khalighi wrote:
> I downloaded the latest version from
> https://www.dropbox.com/s/vs9qutjgtwised7/TeXworks.zip but I have two
> problems:
>
> 1. In "Preferences=>Scripts" I can not activate "Enable plug-in
> scripting languages".
>
By "can not activate", do you mean:
1) you can't click the checkbox (e.g., it is disabled, gray, ...)
2) you can click the checkbox, but no checkmark appears
3) you can check the box, but settings are not retained after closing
the preferences dialog / the application
4) everything of the above works as expected, but the setting doesn't
seem to have any effect
5) something else.
I would expect nr. 4, in which case I would go on speculating that the
build you use doesn't have scripting plugins compiled in / doesn't
provide them. If that is the case, the setting you mention naturally has
no visible effect. Also note that you need to have lua and/or python
scripts installed or use "Scripts > Scripting TeXworks > About
Scripts..." to see any effect.
HTH
Stefan
PS: "Only if the Ubuntu and Mac versions are build with different
versions of Qt!"
Oh, but they are. Ubuntu uses the Linux version, and on the Mac the Mac
version is used. Most of the code is identical, of course, but some
parts depend on platform-specific features/code/libraries, so in effect
they are different (even with the same version number).
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From herbs at wideopenwest.com Wed Apr 27 19:23:47 2011
From: herbs at wideopenwest.com (Herbert Schulz)
Date: Wed, 27 Apr 2011 12:23:47 -0500
Subject: [texworks] Two problems with TeXworks 0.4.0 on Mac OSX 10.6.7
In-Reply-To: <4DB84F6D.8010003@gmail.com>
References:
<4DB84F6D.8010003@gmail.com>
Message-ID:
On Apr 27, 2011, at 12:16 PM, Stefan L?ffler wrote:
> Hi,
>
> On 2011-04-22 05:26, Vafa Khalighi wrote:
>> I downloaded the latest version from
>> https://www.dropbox.com/s/vs9qutjgtwised7/TeXworks.zip but I have two
>> problems:
>>
>> 1. In "Preferences=>Scripts" I can not activate "Enable plug-in
>> scripting languages".
>>
>
> By "can not activate", do you mean:
> 1) you can't click the checkbox (e.g., it is disabled, gray, ...)
> 2) you can click the checkbox, but no checkmark appears
> 3) you can check the box, but settings are not retained after closing
> the preferences dialog / the application
> 4) everything of the above works as expected, but the setting doesn't
> seem to have any effect
> 5) something else.
>
> I would expect nr. 4, in which case I would go on speculating that the
> build you use doesn't have scripting plugins compiled in / doesn't
> provide them. If that is the case, the setting you mention naturally has
> no visible effect. Also note that you need to have lua and/or python
> scripts installed or use "Scripts > Scripting TeXworks > About
> Scripts..." to see any effect.
>
> HTH
> Stefan
>
> PS: "Only if the Ubuntu and Mac versions are build with different
> versions of Qt!"
> Oh, but they are. Ubuntu uses the Linux version, and on the Mac the Mac
> version is used. Most of the code is identical, of course, but some
> parts depend on platform-specific features/code/libraries, so in effect
> they are different (even with the same version number).
Howdy,
Sorry, it's (1) with ``Version 0.5 r.756 (personal)'' that I downloaded a while ago.
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
From st.loeffler at gmail.com Wed Apr 27 19:32:08 2011
From: st.loeffler at gmail.com (=?ISO-8859-15?Q?Stefan_L=F6ffler?=)
Date: Wed, 27 Apr 2011 19:32:08 +0200
Subject: [texworks] Call for Help: Translations
Message-ID: <4DB85318.7080201@gmail.com>
Hi,
as mentioned before, we heading for a bugfix release (0.4.1) of
TeXworks, which should appear in early May. To that end, I've asked the
translators of previous versions to update their contributions, and
thankfully most have indeed done so very fast.
There are, however, a few languages for which I haven't got any feedback
yet. These are: French, Japanese, Polish, Portuguese (pt_BR), and
Simplified Chinese.
At least for French, I'm pretty sure (from past private communications)
that Alain will not be able to update the translations this time.
Therefore, I ask anyone who knows one of these languages and is willing
to help to update the translations we have (since this is a bugfix
release, changes are not extensive).
To get you started, there is a guide at
http://code.google.com/p/texworks/wiki/Translating (you can skip the
lupdate if you use r801 or later).
In addition to the normal translation files, there are a few more
strings in supplementary files that I want to ask you to check and (if
necessary) translate. These are the strings "Open the following file
types with TeXworks by default:" (from win32/texworks-setup-script.iss),
"(La)TeX Editor" (from texworks.desktop), and "A simple environment for
editing, typesetting, and previewing TeX documents" (adapted from
texworks.desktop). These are used in the Windows installer and for
program shortcuts on Linux. To ensure the strings are formated
correctly, please use the attached template file to send the
translations back (instead of copying them into the mail). Note: if the
translation is already provided and correct, simply leave the
corresponding line in the template file empty.
Thanks in advance,
Stefan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tw-additional-translations-template.txt
URL:
From st.loeffler at gmail.com Wed Apr 27 20:00:43 2011
From: st.loeffler at gmail.com (=?ISO-8859-1?Q?Stefan_L=F6ffler?=)
Date: Wed, 27 Apr 2011 20:00:43 +0200
Subject: [texworks] Two problems with TeXworks 0.4.0 on Mac OSX 10.6.7
In-Reply-To:
References:
<4DB84F6D.8010003@gmail.com>
Message-ID: <4DB859CB.9000606@gmail.com>
Hi,
On 2011-04-27 19:23, Herbert Schulz wrote:
> On Apr 27, 2011, at 12:16 PM, Stefan L?ffler wrote
>> On 2011-04-22 05:26, Vafa Khalighi wrote:
>>> I downloaded the latest version from
>>> https://www.dropbox.com/s/vs9qutjgtwised7/TeXworks.zip but I have two
>>> problems:
>>>
>>> 1. In "Preferences=>Scripts" I can not activate "Enable plug-in
>>> scripting languages".
>>>
>> By "can not activate", do you mean:
>> 1) you can't click the checkbox (e.g., it is disabled, gray, ...)
>> 2) you can click the checkbox, but no checkmark appears
>> 3) you can check the box, but settings are not retained after closing
>> the preferences dialog / the application
>> 4) everything of the above works as expected, but the setting doesn't
>> seem to have any effect
>> 5) something else.
>>
>> I would expect nr. 4, in which case I would go on speculating that the
>> build you use doesn't have scripting plugins compiled in / doesn't
>> provide them. If that is the case, the setting you mention naturally has
>> no visible effect. Also note that you need to have lua and/or python
>> scripts installed or use "Scripts > Scripting TeXworks > About
>> Scripts..." to see any effect.
> Howdy,
>
> Sorry, it's (1) with ``Version 0.5 r.756 (personal)'' that I downloaded a while ago.
OK. I just checked the source code again - it's (a little) more
sophisticated than I remembered. Indeed, if you have only the built-in
QtScript support, but no other plugins (lua, python), then this setting
is disabled, as it makes no sense. Besides, it could be potentially
dangerous if the user could change the setting without having any means
of checking the result (and, as a result, possibly forgetting over time
about the changes).
Anyway, I'm pretty sure now that the above-mentioned build simply
doesn't provide the lua and python plugins, and that that is the reason
the option is disabled.
HTH
Stefan
From gzjjgod at gmail.com Wed Apr 27 20:03:11 2011
From: gzjjgod at gmail.com (Jjgod Jiang)
Date: Wed, 27 Apr 2011 20:03:11 +0200
Subject: [texworks] Two problems with TeXworks 0.4.0 on Mac OSX 10.6.7
In-Reply-To: <4DB859CB.9000606@gmail.com>
References:
<4DB84F6D.8010003@gmail.com>
<4DB859CB.9000606@gmail.com>
Message-ID:
On Wed, Apr 27, 2011 at 8:00 PM, Stefan L?ffler wrote:
> Hi,
>
> On 2011-04-27 19:23, Herbert Schulz wrote:
>> On Apr 27, 2011, at 12:16 PM, Stefan L?ffler wrote
>>> On 2011-04-22 05:26, Vafa Khalighi wrote:
>>>> I downloaded the latest version from
>>>> https://www.dropbox.com/s/vs9qutjgtwised7/TeXworks.zip but I have two
>>>> problems:
>>>>
>>>> ? 1. In "Preferences=>Scripts" I can not activate "Enable plug-in
>>>> ? ? ?scripting languages".
>>>>
>>> By "can not activate", do you mean:
>>> 1) you can't click the checkbox (e.g., it is disabled, gray, ...)
>>> 2) you can click the checkbox, but no checkmark appears
>>> 3) you can check the box, but settings are not retained after closing
>>> the preferences dialog / the application
>>> 4) everything of the above works as expected, but the setting doesn't
>>> seem to have any effect
>>> 5) something else.
>>>
>>> I would expect nr. 4, in which case I would go on speculating that the
>>> build you use doesn't have scripting plugins compiled in / doesn't
>>> provide them. If that is the case, the setting you mention naturally has
>>> no visible effect. Also note that you need to have lua and/or python
>>> scripts installed or use "Scripts > Scripting TeXworks > About
>>> Scripts..." to see any effect.
>> Howdy,
>>
>> Sorry, it's (1) with ``Version 0.5 r.756 (personal)'' that I downloaded a while ago.
>
> OK. I just checked the source code again - it's (a little) more
> sophisticated than I remembered. Indeed, if you have only the built-in
> QtScript support, but no other plugins (lua, python), then this setting
> is disabled, as it makes no sense. Besides, it could be potentially
> dangerous if the user could change the setting without having any means
> of checking the result (and, as a result, possibly forgetting over time
> about the changes).
> Anyway, I'm pretty sure now that the above-mentioned build simply
> doesn't provide the lua and python plugins, and that that is the reason
> the option is disabled.
Exactly, I will compile the plugins and provide a new package soon.
- Jiang
From paul.a.norman at gmail.com Thu Apr 28 10:49:33 2011
From: paul.a.norman at gmail.com (Paul A Norman)
Date: Thu, 28 Apr 2011 20:49:33 +1200
Subject: [texworks] OFF-TOPIC: Ever wanted to know more about your pdf file?
Message-ID:
Just in case you do need/want to ...
"As we develop the GNU PDF Library we are generating free
documentation about many parts of the PDF specification, the several
existing PDF standards, PDF implementation issues, etc. That
documentation is available in this webpage and organized into the PDF
Knowledge Database.
http://www.gnupdf.org/Category:PDF
Paul
From uncommonnonsense at gmail.com Thu Apr 28 15:52:21 2011
From: uncommonnonsense at gmail.com (Edoardo Vacchi)
Date: Thu, 28 Apr 2011 15:52:21 +0200
Subject: [texworks] About the native PDF viewer (feature request and a
question)
Message-ID:
The native viewer feels odd to me sometimes.
I wish that holding the down arrow would make the viewer not block to
the end of the current page; also I'd expect page down to scroll the
view not to change to a new page.
Is it possible to add "continuous" scrolling to the viewer? that is,
when a page ends, being able to see the top of the one which follows
(like in a word processor)?
As a workaround, can TeXworks be configured to work with SumatraPDF
(SyncTeX enabled build) ? I don't seem to be able to find anything
related.
Thanks a lot and keep it up, I like TeXworks, it's simple but it does
what I need.
e.v.
From crickzhang1 at gmail.com Sat Apr 30 16:39:57 2011
From: crickzhang1 at gmail.com (Yinhe Zhang)
Date: Sat, 30 Apr 2011 22:39:57 +0800
Subject: [texworks] Call for Help: Translations
In-Reply-To: <4DB85318.7080201@gmail.com>
References: <4DB85318.7080201@gmail.com>
Message-ID:
Stefan,
The translation files for Simplified Chinese are attached. Sorry for late.
Also attached translated strings for Simplified Chinese for "*
tw-additional-translations-template.txt".*
Regards,
Yinhe Zhang
On Thu, Apr 28, 2011 at 1:32 AM, Stefan L?ffler wrote:
> Hi,
>
> as mentioned before, we heading for a bugfix release (0.4.1) of
> TeXworks, which should appear in early May. To that end, I've asked the
> translators of previous versions to update their contributions, and
> thankfully most have indeed done so very fast.
>
> There are, however, a few languages for which I haven't got any feedback
> yet. These are: French, Japanese, Polish, Portuguese (pt_BR), and
> Simplified Chinese.
>
> At least for French, I'm pretty sure (from past private communications)
> that Alain will not be able to update the translations this time.
> Therefore, I ask anyone who knows one of these languages and is willing
> to help to update the translations we have (since this is a bugfix
> release, changes are not extensive).
>
> To get you started, there is a guide at
> http://code.google.com/p/texworks/wiki/Translating (you can skip the
> lupdate if you use r801 or later).
> In addition to the normal translation files, there are a few more
> strings in supplementary files that I want to ask you to check and (if
> necessary) translate. These are the strings "Open the following file
> types with TeXworks by default:" (from win32/texworks-setup-script.iss),
> "(La)TeX Editor" (from texworks.desktop), and "A simple environment for
> editing, typesetting, and previewing TeX documents" (adapted from
> texworks.desktop). These are used in the Windows installer and for
> program shortcuts on Linux. To ensure the strings are formated
> correctly, please use the attached template file to send the
> translations back (instead of copying them into the mail). Note: if the
> translation is already provided and correct, simply leave the
> corresponding line in the template file empty.
>
> Thanks in advance,
> Stefan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
???? TeXworks ?????????
(La)TeX ???
???????????? TeX ?????????
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TeXworks_zh_CN.ts
Type: text/vnd.trolltech.linguist
Size: 68478 bytes
Desc: not available
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TeXworks_zh_CN.qm
Type: application/octet-stream
Size: 38333 bytes
Desc: not available
URL:
From st.loeffler at gmail.com Sun May 1 19:14:58 2011
From: st.loeffler at gmail.com (=?UTF-8?B?U3RlZmFuIEzDtmZmbGVy?=)
Date: Sun, 01 May 2011 19:14:58 +0200
Subject: [texworks] Call for Help: Translations
In-Reply-To:
References: <4DB85318.7080201@gmail.com>
Message-ID: <4DBD9512.3000907@gmail.com>
Hi,
On 2011-04-30 16:39, Yinhe Zhang wrote:
> The translation files for Simplified Chinese are attached. Sorry for
> late. Also attached translated strings for Simplified Chinese for
> "*tw-additional-translations-template.txt".*
Thanks a lot. I've committed them in r806.
Regards,
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From paul.a.norman at gmail.com Mon May 2 04:35:28 2011
From: paul.a.norman at gmail.com (Paul A Norman)
Date: Mon, 2 May 2011 14:35:28 +1200
Subject: [texworks] About the native PDF viewer (feature request and a
question)
In-Reply-To:
References:
Message-ID:
Hi Edoardo,
> As a workaround, can TeXworks be configured to work with SumatraPDF
> (SyncTeX enabled build) ? I don't seem to be able to find anything
> related.
Going in one direction ...
TeXworks (even scripting) can tell you the line number the editor is
in when a script is activated. It may be possible to use a system call
to use syncable version of Sumatra to open a pdf at a certain line.
(Sumatra is a standalone executable with no dependacies afaik).
.. Then going in the other direction, are you looking for information
on a command line switch for what happens when you doubleclick in
SumatraPDF?
I.e what options to set inside Sumatra (or any other syncinable pdf
viewer for that matter ) to call TeXworks..?
I'm not sure that TeXworks is yet set to receive such switches (file
name and line number) when being called or opened... ?
afaik Sumatra is Windows only - and somewhat under Wine in Linux, so
broadening this out to cope more generally ...
Can we make TeXworks monitor a port we could safely address in a
running copy of TeXworks - would be ideal and have a certain list of
accepted registered commands like open this .tex document (if not
already open) at this line number, and bring the appropriate editor
window into focus? Perhaps also a 'port' command in the acceptable
list that says insert this text at cursor position/line number?
So other applications (platform independent) can generally "talk" to
TeXworks. (Perhaps even the reverse as well? Tw able to talk to
another application's port?)
Tw polling a user defined port (- with an established 'factory set'
default number) for - "command", "text1", "text2", ... , "end"
Instead, perhaps tying in with planned developments for being able to
call scripts that Stefan has mentioned, the only acceptable 'port'
received command could even just be strings "",
"varaibleOne", "VariableTwo", ..., "end". And already registered/user
approved scripts are the only thing a port command can run?
Would there be an actual security risk?
Or Edoardo, are you just looking for a means to yourself in C++ more
directly integrate Sumatra into TeXworks itself (replacing poppler)?
I'd really like the general solution for wider possibilities :)
But then I wouldn't be doing all the hard C++ ...
Paul
On 29 April 2011 01:52, Edoardo Vacchi wrote:
> The native viewer feels odd to me sometimes.
>
> I wish that holding the down arrow would make the viewer not block to
> the end of the current page; also I'd expect page down to scroll the
> view not to change to a new page.
>
> Is it possible to add "continuous" scrolling to the viewer? that is,
> when a page ends, being able to see the top of the one which follows
> (like in a word processor)?
>
> As a workaround, can TeXworks be configured to work with SumatraPDF
> (SyncTeX enabled build) ? I don't seem to be able to find anything
> related.
>
> Thanks a lot and keep it up, I like TeXworks, it's simple but it does
> what I need.
>
> e.v.
>
From ovadia at pacbell.net Sun May 1 22:21:52 2011
From: ovadia at pacbell.net (Ovi Chitayat)
Date: Sun, 1 May 2011 13:21:52 -0700
Subject: [texworks] gnuplot does not generate .table files
Message-ID:
Hi,
I have a simple gnuplot 'plot' command within a tikzpicture block as follows
\begin{tikzpicture}[domain=-5:5]
\draw[arrows={-latex}] (-5,0) -- (6,0) node[below] {$x$};
\draw[arrows={-latex}] (0,-1.2) -- (0,2.5) node[above] {$f(x)$};
\draw[thick, color=blue, samples=100] plot[id=2] function{x} node[above]
{$f(x) = x$};
\end{tikzpicture}
This segment *IS* able to generate the .2.gnuplot so I know gnuplot
does execute (not a \write18 issue).
When I use the gnuplot interactive program (windows xp, gnuplot V 4.2 patch
4) and 'load' the
.2.gnuplot file, the corresponding .2.table *IS* created in the
same directory that would have contained the file generated by my code.
The set of packages used is
\usepackage{verbatim}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[pdftex]{graphicx}
\usepackage{tikz}
\usepackage[americaninductor]{circuitikz}
I have searched long and wide and could not find a clue.
Please help.
Ovi
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From uncommonnonsense at gmail.com Mon May 2 16:01:19 2011
From: uncommonnonsense at gmail.com (Edoardo Vacchi)
Date: Mon, 2 May 2011 16:01:19 +0200
Subject: [texworks] About the native PDF viewer (feature request and a
question)
In-Reply-To:
References:
Message-ID:
> Hi Edoardo,
Hi Paul
> .. Then going in the other direction, are you looking for information
> on a command line switch for what happens when you doubleclick in
> SumatraPDF?
there is a synctex-enabled build of sumatra available here
http://william.famille-blum.org/software/sumatra/index.html
the command line for the tex editor can either be set via
switch or via an option in Sumatra's config dialog.
> Can we make TeXworks monitor a port we could safely address in a
> running copy of TeXworks - would be ideal and have a certain list of
> accepted registered commands like open this .tex document (if not
> already open) at this line number, and bring the appropriate editor
> window into focus? Perhaps also a 'port' command in the acceptable
> list that says insert this text at cursor position/line number?
many applications (such as texniccenter or texmaker) accomplish this
by allowing only one instance and looking at command line switches
> Or Edoardo, are you just looking for a means to yourself in C++ more
> directly integrate Sumatra into TeXworks itself (replacing poppler)?
As you are saying yourself, Sumatra is Windows-specific, so no. I'd
rather use an external editor or have poppler refined in its 'rough
edges'
--
e.v.
From sigmundv at gmail.com Mon May 2 16:59:08 2011
From: sigmundv at gmail.com (sigmundv at gmail.com)
Date: Mon, 2 May 2011 15:59:08 +0100
Subject: [texworks] gnuplot does not generate .table files
In-Reply-To:
References:
Message-ID:
It IS a \write18 issue, so you need to call pdflatex with --shell-escape.
Sigmund
On Sun, May 1, 2011 at 21:21, Ovi Chitayat wrote:
> Hi,
>
> I have a simple gnuplot ?plot? command within a tikzpicture block as
> follows
>
>
>
> \begin{tikzpicture}[domain=-5:5]
>
> \draw[arrows={-latex}] (-5,0) -- (6,0) node[below] {$x$};
>
> \draw[arrows={-latex}] (0,-1.2) -- (0,2.5) node[above] {$f(x)$};
>
> \draw[thick, color=blue, samples=100] plot[id=2] function{x} node[above]
> {$f(x) = x$};
>
> \end{tikzpicture}
>
>
>
> This segment **IS** able to generate the .2.gnuplot so I know gnuplot
> does execute (not a \write18 issue).
>
> When I use the gnuplot interactive program (windows xp, gnuplot V 4.2 patch
> 4) and ?load? the
>
> .2.gnuplot file, the corresponding .2.table **IS** created in
> the same directory that would have contained the file generated by my code.
>
>
>
> The set of packages used is
>
>
>
> \usepackage{verbatim}
>
> \usepackage{amsmath}
>
> \usepackage{amssymb}
>
> \usepackage[pdftex]{graphicx}
>
> \usepackage{tikz}
>
> \usepackage[americaninductor]{circuitikz}
>
>
>
> I have searched long and wide and could not find a clue.
>
> Please help.
>
> Ovi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From paul.a.norman at gmail.com Mon May 2 23:55:24 2011
From: paul.a.norman at gmail.com (Paul A Norman)
Date: Tue, 3 May 2011 09:55:24 +1200
Subject: [texworks] About the native PDF viewer (feature request and a
question)
In-Reply-To:
References:
Message-ID:
On 3 May 2011 02:01, Edoardo Vacchi wrote:
>> Hi Edoardo,
>
> Hi Paul
>
>> .. Then going in the other direction, are you looking for information
>> on a command line switch for what happens when you doubleclick in
>> SumatraPDF?
>
> there is a synctex-enabled build of sumatra available here
> http://william.famille-blum.org/software/sumatra/index.html
> the command line for the tex editor can either be set via
> switch or via an option in Sumatra's config dialog.
>
>> Can we make TeXworks monitor a ?port we could safely address in ?a
>> running copy of TeXworks - would be ideal and have a certain list of
>> accepted registered commands like open this .tex document (if not
>> already open) at this line number, and bring the appropriate editor
>> window into focus? Perhaps also a 'port' command in the acceptable
>> list that says insert this text at cursor position/line number?
>
> many applications (such as texniccenter or texmaker) accomplish this
> by allowing only one instance and looking at command line switches
>
Yes that is the straightforward solution here, I was starting to think
further ahead.
>> Or Edoardo, are you just looking for a means to yourself in C++ more
>> directly integrate Sumatra into TeXworks itself (replacing poppler)?
>
> As you are saying yourself, Sumatra is Windows-specific, so no. I'd
> rather use an external editor or have poppler refined in its 'rough
> edges'
>
There may be some things that this (or any) project may not be able to
easily actually change about poppler, and some things that would be
customisable.
May be if you can spot features that you want poppler in TeXworks to
achieve, already operating well in another C++ OpenSource project, and
make recommendations to the developers here, based on those, so that
the research is substantially done already for them?
Paul
> --
> e.v.
>
From uncommonnonsense at gmail.com Tue May 3 00:26:43 2011
From: uncommonnonsense at gmail.com (Edoardo Vacchi)
Date: Tue, 3 May 2011 00:26:43 +0200
Subject: [texworks] About the native PDF viewer (feature request and a
question)
In-Reply-To:
References:
Message-ID:
On Mon, May 2, 2011 at 11:55 PM, Paul A Norman wrote:
> May be if you can spot features ?that you want poppler ?in TeXworks to
> achieve, already operating well in another C++ OpenSource project, and
> make recommendations to the developers here, based on those, so that
> the research is substantially done already for them?
well AFAIR evince is quite good at displaying PDFs, it has a less
awkward UI and it is poppler-based, so you may want to have a look
there.
Also, Okular is Qt-based
see: http://en.wikipedia.org/wiki/Poppler_(software)#PDF_readers_using_Poppler
They both can have page facing, and continuous page scrolling; also
I'd rather have mouse mode (hand vs. zoom tool) in the right-click
menu; also, I'd expect the zoom tool to actually zoom the page instead
of acting as a magnifying glass
just my impressions, though
e.
From paul.a.norman at gmail.com Tue May 3 04:18:10 2011
From: paul.a.norman at gmail.com (Paul A Norman)
Date: Tue, 3 May 2011 14:18:10 +1200
Subject: [texworks] gnuplot does not generate .table files
In-Reply-To:
References:
Message-ID:
That's great Ovi,
Thanks for sharing it - I've put this back in the thread for others to use...
>>
Paul,
I just figured it out.
The thing to do is to get texify to pass the switch to pdflatex. This is
done as :
--tex-option=--shell-escape
not just simplely --shell-scape.
<<
Paul
On 3 May 2011 02:59, sigmundv at gmail.com wrote:
> It IS a \write18 issue, so you need to call pdflatex with --shell-escape.
>
>
> Sigmund
>
>
> On Sun, May 1, 2011 at 21:21, Ovi Chitayat wrote:
>>
>> Hi,
>>
>> I have a simple gnuplot ?plot? command within a tikzpicture block as
>> follows
>>
>>
>>
>> \begin{tikzpicture}[domain=-5:5]
>>
>> \draw[arrows={-latex}] (-5,0) -- (6,0) node[below] {$x$};
>>
>> \draw[arrows={-latex}] (0,-1.2) -- (0,2.5) node[above] {$f(x)$};
>>
>> \draw[thick, color=blue, samples=100] plot[id=2] function{x} node[above]
>> {$f(x) = x$};
>>
>> \end{tikzpicture}
>>
>>
>>
>> This segment *IS* able to generate the .2.gnuplot so I know gnuplot
>> does execute (not a \write18 issue).
>>
>> When I use the gnuplot interactive program (windows xp, gnuplot V 4.2
>> patch 4) and ?load? the
>>
>> .2.gnuplot file, the corresponding .2.table *IS* created in the
>> same directory that would have contained the file generated by my code.
>>
>>
>>
>> The set of packages used is
>>
>>
>>
>> \usepackage{verbatim}
>>
>> \usepackage{amsmath}
>>
>> \usepackage{amssymb}
>>
>> \usepackage[pdftex]{graphicx}
>>
>> \usepackage{tikz}
>>
>> \usepackage[americaninductor]{circuitikz}
>>
>>
>>
>> I have searched long and wide and could not find a clue.
>>
>> Please help.
>>
>> Ovi
>
From ovadia at pacbell.net Tue May 3 20:54:43 2011
From: ovadia at pacbell.net (Ovi Chitayat)
Date: Tue, 3 May 2011 11:54:43 -0700 (PDT)
Subject: [texworks] matlab from pdflatex/latex
Message-ID: <337973.41621.qm@web81006.mail.mud.yahoo.com>
Hi,
Does anyone have sample code to have matlab called from *tex, generate plot data
and have *tex plot this data?
No need to explain write18 issues...
Ovi
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From st.loeffler at gmail.com Wed May 4 18:55:02 2011
From: st.loeffler at gmail.com (=?UTF-8?B?U3RlZmFuIEzDtmZmbGVy?=)
Date: Wed, 04 May 2011 18:55:02 +0200
Subject: [texworks] About the native PDF viewer (feature request and a
question)
In-Reply-To:
References:
Message-ID: <4DC184E6.2090301@gmail.com>
Hi,
On 2011-05-02 16:01, Edoardo Vacchi wrote:
>> Can we make TeXworks monitor a port we could safely address in a
>> running copy of TeXworks - would be ideal and have a certain list of
>> accepted registered commands like open this .tex document (if not
>> already open) at this line number, and bring the appropriate editor
>> window into focus? Perhaps also a 'port' command in the acceptable
>> list that says insert this text at cursor position/line number?
> many applications (such as texniccenter or texmaker) accomplish this
> by allowing only one instance and looking at command line switches
This actually applies to TeXworks as well. It is a single-instance, and
it supports the --position=... switch (or the short form -p ...), which
currently can be used to jump to a specific line (for .tex files) or
page (for .pdf files).
HTH
Stefan
From st.loeffler at gmail.com Wed May 4 19:20:11 2011
From: st.loeffler at gmail.com (=?UTF-8?B?U3RlZmFuIEzDtmZmbGVy?=)
Date: Wed, 04 May 2011 19:20:11 +0200
Subject: [texworks] About the native PDF viewer (feature request and a
question)
In-Reply-To:
References:
Message-ID: <4DC18ACB.9000700@gmail.com>
Hi,
On 2011-05-03 00:26, Edoardo Vacchi wrote:
> On Mon, May 2, 2011 at 11:55 PM, Paul A Norman wrote:
>
>> May be if you can spot features that you want poppler in TeXworks to
>> achieve, already operating well in another C++ OpenSource project, and
>> make recommendations to the developers here, based on those, so that
>> the research is substantially done already for them?
> well AFAIR evince is quite good at displaying PDFs, it has a less
> awkward UI and it is poppler-based, so you may want to have a look
> there.
Yes, evince is poppler-based, but not on Qt, so unfortunately there are
many things that are different in the poppler binding used by evince.
> Also, Okular is Qt-based
> see: http://en.wikipedia.org/wiki/Poppler_(software)#PDF_readers_using_Poppler
Actually, Okular looks a lot more powerful than I had thought. I'll
definitely have to check out their sources and maybe use something for Tw.
> They both can have page facing, and continuous page scrolling;
This already is on the wish list
(http://code.google.com/p/texworks/issues/detail?id=296). I hope this
gets implemented in the 0.5 series.
> also I'd rather have mouse mode (hand vs. zoom tool) in the right-click
> menu;
This sounds like an interesting idea. Could you add it to the issue
tracker at http://code.google.com/p/texworks/issues/, please?
> also, I'd expect the zoom tool to actually zoom the page instead
> of acting as a magnifying glass
Well, I'd rather not abandon the current magnifying glass version, as I
find it quite useful, in particular when you want to quickly check
something rather small. But I agree that the toolbar icon (a magnifying
glass with a +) can be misleading, so could you please file a bug for that?
> just my impressions, though
Thanks for sharing them!
Cheers,
Stefan
From paul.a.norman at gmail.com Thu May 5 02:11:59 2011
From: paul.a.norman at gmail.com (Paul A Norman)
Date: Thu, 5 May 2011 12:11:59 +1200
Subject: [texworks] About the native PDF viewer (feature request and a
question)
In-Reply-To: <4DC184E6.2090301@gmail.com>
References:
<4DC184E6.2090301@gmail.com>
Message-ID:
On 5 May 2011 04:55, Stefan L?ffler wrote:
> Hi,
>
> On 2011-05-02 16:01, Edoardo Vacchi wrote:
>>> Can we make TeXworks monitor a ?port we could safely address in ?a
>>> running copy of TeXworks - would be ideal and have a certain list of
>>> accepted registered commands like open this .tex document (if not
>>> already open) at this line number, and bring the appropriate editor
>>> window into focus? Perhaps also a 'port' command in the acceptable
>>> list that says insert this text at cursor position/line number?
>> many applications (such as texniccenter or texmaker) accomplish this
>> by allowing only one instance and looking at command line switches
>
> This actually applies to TeXworks as well. It is a single-instance, and
> it supports the --position=... switch (or the short form -p ...), which
> currently can be used to jump to a specific line (for .tex files) or
> page (for .pdf files).
>
That got me hunting - sounded really useful :)
I couldn't find it in the manual - searched over the files - did I
miss it or is it yet to go in the manual?
At -
http://www.google.com/codesearch/p?hl=en#TCAOwTxChU8/trunk/man/texworks.1&q=position%3D%20package:http://texworks%5C.googlecode%5C.com&sa=N&cd=2&ct=rc
-- Found this reference in the source code - are these all of the
command line switches?
.SH OPTIONS
Form the cmd shell on Xp only one set of these worked ...
".TP
.B --help, -?
Display a short overview over all command line options"
texworks --help
texworks -h
Nothing happens at all TeXworks does not appear as a running process
as far as I can tell, however if Tw is open already, but not in focus,
it is brought to the front of the desktop.
No message on the command line.
.TP
.B --position=, -p
Open the next specified file at the given position (line or page)
texworks -p=1000 "/some/path/myTex.tex"
texworks -p=10 "/some/path/myTex.pdf"
Very nice.
The switch MUST appear BEFORE the file name.
".TP
.B --version, -v
Display version information"
texworks --version
texworks -v
Nothing happens at all, however if Tw is open already, but not in
focus, it is brought to the front of the desktop.
No message on the command line.
With
texworks -p=10 "/some/path/myTex.pdf"
The source is not opened with it (just a note not a complaint)
And with
texworks -p=1000 "/some/path/myTex.tex"
I have object modules (PhpJs ($P), twConst, msgBox, twPan ($tw) as in
FileTracker.js ) loaded when Tw starts and there is no problem with
them at all.
// Script-Type: hook
// Hook: TeXworksLaunched
All is fine there.
But I have a hookscript that works on ...
// Hook: LoadFile
That gets interfered with. That script monitors and records all files
opened by TeXworks to give me an exhaustive list of unique filenames
for when I need to look back beyond the Recent Files list.
The .tex opens, and then it does not jump to line 1000 until I clear
my hookscript error message in the Debugger. Once the debugger is
cleared, the editor jumps correctly to line 1000 as indicated above.
The error is that my script wants to open its monitoring file, but it
can't find it - when I am using -p=someIntegerLineNumber while opening
a .tex file
As might be expected, this does not happen when opening a .pdf to a
page number -p=12
My script ( FileTracker.js) fails when something like this is used on
the command line:
texworks -p=1000 "/some/path/myTex.tex"
FileTracker.js is below - as I say it always manages to find its
record file (in same directory as script itself) undedr normal
circumstances (i.e. when not using -p=someLineNumber switch).
Any advice appreciated please.
Paul
> HTH
> Stefan
>
Sample of filelist.txt
===============
D:/LaTeXPortable/LatexUtils/TeXworks/TeXworks/config/scripts/Graphics/GraphicInsertColWidth.js
D:/LaTeXPortable/LatexUtils/TeXworks/TeXworks/config/scripts/text/autocomplete.js
D:/LaTeXPortable/LatexUtils/TeXworks/TeXworks/config/scripts/FileTracker/fileList.txt
D:/LaTeXPortable/LatexUtils/TeXworks/TeXworks/config/syntax/javascript.php
D:/LaTeXPortable/LatexUtils/TeXworks/TeXworks/config/scripts/Scripting
- Experiments/tw_OBJECT.js
C:/Hold/MyFile.txt
D:/LaTeXPortable/LatexUtils/TeXworks/TeXworks/config/configuration/texworks-config.txt
FileTracker.js
==========
// TeXworksScript
// Title: File Tracker
// Description: Keeps track of first opening of a file
// Author: Paul Norman
// Version: 0.3
// Script-Type: hook
// Hook: LoadFile
eval(TW.app.getGlobal("helper_twPan")); // Comment if NOT Needed -
This includes PhpJs ($P), twConst, msgBox, twPan ($tw)
function writeFileList(thisPath)
{
twPan.file_put_contents("fileList.txt"
, fileList
+ thisPath
+ PhpJs.chr(13) + PhpJs.chr(10)
);
}
var currentFile = TW.target.fileName;
var fileList = twPan.file_get_contents("fileList.txt");
if (fileList == undefined)// first usage
{
fileList = "";
writeFileList(currentFile);
}
else
{
if (fileList.indexOf(currentFile) == -1)
{
writeFileList(currentFile);
}
}
null
From paul.a.norman at gmail.com Thu May 5 03:46:45 2011
From: paul.a.norman at gmail.com (Paul A Norman)
Date: Thu, 5 May 2011 13:46:45 +1200
Subject: [texworks] About the native PDF viewer (feature request and a
question)
In-Reply-To:
References:
<4DC184E6.2090301@gmail.com>
Message-ID:
P.S. if a copy of TeXworks is already open even just on a new blank
file, my previously reported probl;em with the hook script does not
happen, it seems to only happen when Tw is being started from the
command line from scratch.
Also, as hinted at in the source code, it looks possible to gang-up
the files to be opened, each with a preceding line/page number switch
e.g.
>texworks -p=1500 "/SomePath/MyFile01.tex"
-p=2500 "/SomePath/MyFile02.tex"
-p=25 "/SomePath/MyFile03.pdf"
Paul
On 5 May 2011 12:11, Paul A Norman wrote:
> On 5 May 2011 04:55, Stefan L?ffler wrote:
>> Hi,
>>
>> On 2011-05-02 16:01, Edoardo Vacchi wrote:
>>>> Can we make TeXworks monitor a ?port we could safely address in ?a
>>>> running copy of TeXworks - would be ideal and have a certain list of
>>>> accepted registered commands like open this .tex document (if not
>>>> already open) at this line number, and bring the appropriate editor
>>>> window into focus? Perhaps also a 'port' command in the acceptable
>>>> list that says insert this text at cursor position/line number?
>>> many applications (such as texniccenter or texmaker) accomplish this
>>> by allowing only one instance and looking at command line switches
>>
>> This actually applies to TeXworks as well. It is a single-instance, and
>> it supports the --position=... switch (or the short form -p ...), which
>> currently can be used to jump to a specific line (for .tex files) or
>> page (for .pdf files).
>>
>
> That got me hunting - sounded really useful :)
>
> I couldn't find it in the manual - searched over the files - did I
> miss it or is it yet to go in the manual?
>
> At -
> ?http://www.google.com/codesearch/p?hl=en#TCAOwTxChU8/trunk/man/texworks.1&q=position%3D%20package:http://texworks%5C.googlecode%5C.com&sa=N&cd=2&ct=rc
>
> -- Found this reference in the source code - are these all of the
> command line switches?
>
> .SH OPTIONS
>
> Form the cmd shell on Xp only one set of these worked ...
>
> ".TP
> .B --help, -?
> Display a short overview over all command line options"
>
> texworks --help
> texworks -h
>
> Nothing happens at all TeXworks does not appear as a running process
> as far as I can tell, however if Tw is open already, but not in focus,
> it is brought to the front of the desktop.
>
> No message on the command line.
>
> .TP
> .B --position=, -p
> Open the next specified file at the given position (line or page)
>
> texworks -p=1000 "/some/path/myTex.tex"
> texworks -p=10 "/some/path/myTex.pdf"
>
> Very nice.
>
> The switch MUST appear BEFORE the file name.
>
> ".TP
> .B --version, -v
> Display version information"
>
> texworks --version
> texworks -v
>
> Nothing happens at all, however if Tw is open already, but not in
> focus, it is brought to the front of the desktop.
>
> No message on the command line.
>
> With
>
> texworks -p=10 "/some/path/myTex.pdf"
>
> The source is not opened with it (just a note not a complaint)
>
> And with
>
> texworks -p=1000 "/some/path/myTex.tex"
>
> I have object modules (PhpJs ($P), twConst, msgBox, twPan ($tw) as in
> FileTracker.js ) loaded when Tw starts and there is no problem with
> them at all.
>
> // Script-Type: hook
> // Hook: TeXworksLaunched
>
> All is fine there.
>
> But I have a hookscript that works on ...
>
> // Hook: LoadFile
>
> That gets interfered with. That script monitors and records all files
> opened by TeXworks to give me an exhaustive list of unique filenames
> for when I need to look back beyond the Recent Files list.
>
> The .tex opens, and then it does not jump to line 1000 until I clear
> my hookscript error message in the Debugger. Once the debugger is
> cleared, the editor jumps correctly to line 1000 as indicated above.
>
> The error is that my script wants to open its monitoring file, but it
> can't find it - when I am using -p=someIntegerLineNumber while opening
> a .tex file
>
> As might be expected, this does not happen when opening a .pdf to a
> page number -p=12
>
> My script ( FileTracker.js) ?fails when something like this is used on
> the command line:
>
> texworks -p=1000 "/some/path/myTex.tex"
>
> ?FileTracker.js is below - as I say it always manages to find its
> record file (in same directory as script itself) undedr normal
> circumstances (i.e. when not using -p=someLineNumber switch).
>
> Any advice appreciated please.
>
> Paul
>
>> HTH
>> Stefan
>>
>
> Sample of filelist.txt
> ===============
>
> D:/LaTeXPortable/LatexUtils/TeXworks/TeXworks/config/scripts/Graphics/GraphicInsertColWidth.js
> D:/LaTeXPortable/LatexUtils/TeXworks/TeXworks/config/scripts/text/autocomplete.js
> D:/LaTeXPortable/LatexUtils/TeXworks/TeXworks/config/scripts/FileTracker/fileList.txt
> D:/LaTeXPortable/LatexUtils/TeXworks/TeXworks/config/syntax/javascript.php
> D:/LaTeXPortable/LatexUtils/TeXworks/TeXworks/config/scripts/Scripting
> - Experiments/tw_OBJECT.js
> C:/Hold/MyFile.txt
> D:/LaTeXPortable/LatexUtils/TeXworks/TeXworks/config/configuration/texworks-config.txt
>
> FileTracker.js
> ==========
>
> // TeXworksScript
> // Title: ?File Tracker
> // Description: Keeps track of first opening of a file
> // Author: ?Paul Norman
> // Version: 0.3
> // Script-Type: hook
> // Hook: LoadFile
>
>
> ?eval(TW.app.getGlobal("helper_twPan")); // ?Comment if NOT Needed -
> This includes PhpJs ($P), twConst, msgBox, twPan ($tw)
>
> ? ?function writeFileList(thisPath)
> ? ? ? ? ?{
> ? ? ? ? ? twPan.file_put_contents("fileList.txt"
> ? ? ? ? ? , fileList
> ? ? ? ? ? + thisPath
> ? ? ? ? ? + PhpJs.chr(13) + PhpJs.chr(10)
> ? ? ? ? ? );
> ? ? ? ? ?}
>
>
> ?var ?currentFile ?= TW.target.fileName;
>
>
> ?var ?fileList = twPan.file_get_contents("fileList.txt");
>
>
> ? if (fileList == undefined)// first usage
> ? ? {
> ? ? ? fileList = "";
> ? ? ? writeFileList(currentFile);
> ? ? ? ? ? ?}
> ? ? ?else
> ? ? ?{
> ? ? ? ?if (fileList.indexOf(currentFile) == -1)
> ? ? ? ? {
> ? ? ? ? ?writeFileList(currentFile);
> ? ? ? ? }
>
> ? ? ?}
>
> ? null
>
From kohda at pm.tokushima-u.ac.jp Thu May 5 10:03:19 2011
From: kohda at pm.tokushima-u.ac.jp (Atsuhito Kohda)
Date: Thu, 05 May 2011 17:03:19 +0900 (JST)
Subject: [texworks] fails to start without dbus running due to logic error
In-Reply-To: <20110504095153.GA25819@email.mathematik.uni-freiburg.de>
Message-ID: <20110505.170319.193725827.kohda@pm.tokushima-u.ac.jp>
Hi all,
I, a maintainer of TeXworks of Debian, got the following
bug report recently (Bug#625543).
> The following patch fixes a bug in the control flow that causes
> texworks to not start without a running dbus daemon.
>
> --- texworks-0.4.0.orig/src/main.cpp
> +++ texworks-0.4.0/src/main.cpp
> @@ -141,8 +141,8 @@
> continue;
> interface.call("openFile", fi.absoluteFilePath(), fileToOpen.position);
> }
> + return 0;
> }
> - return 0;
> }
>
> new TWAdaptor(&app);
If this is a real problem, I prefer to be fixed in an upstream
than to be fixed in locally Debian so I forward this to the list.
I'm sorry if this is an already known problem or if this is
not an appropriate list to ask a bug.
Best regards, 2011-5-5(Thu)
--
Debian Developer - much more I18N of Debian
Atsuhito Kohda
Department of Math., Univ. of Tokushima
From st.loeffler at gmail.com Thu May 5 21:02:34 2011
From: st.loeffler at gmail.com (=?ISO-8859-1?Q?Stefan_L=F6ffler?=)
Date: Thu, 05 May 2011 21:02:34 +0200
Subject: [texworks] fails to start without dbus running due to logic
error
In-Reply-To: <20110505.170319.193725827.kohda@pm.tokushima-u.ac.jp>
References: <20110505.170319.193725827.kohda@pm.tokushima-u.ac.jp>
Message-ID: <4DC2F44A.3030405@gmail.com>
Hi,
On 2011-05-05 10:03, Atsuhito Kohda wrote:
> I, a maintainer of TeXworks of Debian, got the following
> bug report recently (Bug#625543).
> If this is a real problem, I prefer to be fixed in an upstream
> than to be fixed in locally Debian so I forward this to the list.
>
> I'm sorry if this is an already known problem or if this is
> not an appropriate list to ask a bug.
These are the bug reports I like: the ones with (simple) patches ;).
Thanks for letting us know - I committed the patch as r808.
Reporting bugs here is fine, though the dedicated bug tracker is at
http://code.google.com/p/texworks/issues/list (primarily to keep lengthy
technical discussions off this list for all users, and to keep track of
older issues that can't/aren't solved immediately).
Cheers,
Stefan
From st.loeffler at gmail.com Thu May 5 21:31:33 2011
From: st.loeffler at gmail.com (=?ISO-8859-1?Q?Stefan_L=F6ffler?=)
Date: Thu, 05 May 2011 21:31:33 +0200
Subject: [texworks] About the native PDF viewer (feature request and a
question)
In-Reply-To:
References:
<4DC184E6.2090301@gmail.com>
Message-ID: <4DC2FB15.60206@gmail.com>
Hi,
On 2011-05-05 02:11, Paul A Norman wrote:
> On 5 May 2011 04:55, Stefan L?ffler wrote:
>> On 2011-05-02 16:01, Edoardo Vacchi wrote:
>>>> Can we make TeXworks monitor a port we could safely address in a
>>>> running copy of TeXworks - would be ideal and have a certain list of
>>>> accepted registered commands like open this .tex document (if not
>>>> already open) at this line number, and bring the appropriate editor
>>>> window into focus? Perhaps also a 'port' command in the acceptable
>>>> list that says insert this text at cursor position/line number?
>>> many applications (such as texniccenter or texmaker) accomplish this
>>> by allowing only one instance and looking at command line switches
>> This actually applies to TeXworks as well. It is a single-instance, and
>> it supports the --position=... switch (or the short form -p ...), which
>> currently can be used to jump to a specific line (for .tex files) or
>> page (for .pdf files).
>>
> That got me hunting - sounded really useful :)
>
> I couldn't find it in the manual - searched over the files - did I
> miss it or is it yet to go in the manual?
I can't remember off-hand, but chances are high that it isn't in the
manual yet. Actually I don't really know where best to put it. Any
suggestions?
> At -
> http://www.google.com/codesearch/p?hl=en#TCAOwTxChU8/trunk/man/texworks.1&q=position%3D%20package:http://texworks%5C.googlecode%5C.com&sa=N&cd=2&ct=rc
>
> -- Found this reference in the source code - are these all of the
> command line switches?
>
> .SH OPTIONS
Yes, all these (3) are command line options. The file you found
(man/texworks.1) is actually a man-page that is used on *nix (and Mac, I
think) as a brief documentation on the command line. The actual place in
the code where this is handed is in src/main.cpp (lines 52-95).
> Form the cmd shell on Xp only one set of these worked ...
Yes, only "position" works. This is a known problem
(http://code.google.com/p/texworks/issues/detail?id=475), but the
workaround I noted down there doesn't seem to work. In fact, after some
searching the internet, there doesn't seem to be any (simple)
possibility by design. Anyway, "version" and "help" are not crucial and
provided primarily for GNU compliance on Linux.
> ".TP
> .B --help, -?
> Display a short overview over all command line options"
>
> texworks --help
> texworks -h
>
> Nothing happens at all TeXworks does not appear as a running process
> as far as I can tell, however if Tw is open already, but not in focus,
> it is brought to the front of the desktop.
See above. The effect is the same as when trying to launch TeXworks
multiple times.
> .TP
> .B --position=, -p
> Open the next specified file at the given position (line or page)
>
> texworks -p=1000 "/some/path/myTex.tex"
> texworks -p=10 "/some/path/myTex.pdf"
>
> Very nice.
>
> The switch MUST appear BEFORE the file name.
Precisely. It modifies the behavior for the next filename it finds only.
I.e., if you want to open to files at line 100 each, you'd need to say
"texworks -p=100 a.tex -p=100 b.tex".
> With
>
> texworks -p=10 "/some/path/myTex.pdf"
>
> The source is not opened with it (just a note not a complaint)
This is always the case when opening pdf files.
> I have object modules (PhpJs ($P), twConst, msgBox, twPan ($tw) as in
> FileTracker.js ) loaded when Tw starts and there is no problem with
> them at all.
>
> // Script-Type: hook
> // Hook: TeXworksLaunched
>
> All is fine there.
>
> But I have a hookscript that works on ...
>
> // Hook: LoadFile
>
> That gets interfered with. That script monitors and records all files
> opened by TeXworks to give me an exhaustive list of unique filenames
> for when I need to look back beyond the Recent Files list.
>
> The .tex opens, and then it does not jump to line 1000 until I clear
> my hookscript error message in the Debugger. Once the debugger is
> cleared, the editor jumps correctly to line 1000 as indicated above.
>
> The error is that my script wants to open its monitoring file, but it
> can't find it - when I am using -p=someIntegerLineNumber while opening
> a .tex file
On 2011-05-05 03:46, Paul A Norman wrote:
> P.S. if a copy of TeXworks is already open even just on a new blank
> file, my previously reported probl;em with the hook script does not
> happen, it seems to only happen when Tw is being started from the
> command line from scratch.
I think I can explain this. When starting Tw, the sequence of events is
as follows:
1) Parse command line
2) Load each file given on the command line (I omit the case when none
are given).
For each file:
2a) Load the file contents from disk
2b) Run LoadFile hook
2c) deal with presentation on screen (including moving the cursor around)
After all files are processed
3) Once the rest of the application is fully initialized, run the
TeXworksLaunched hook
Consequently, when you set up your frameworks/functions/etc. in
TeXworksLaunched, it will not be available in the first LoadFile
executions. If there is an error in LoadFile, the presentation stuff is
not dealt with, so the cursor only moves after that error is dismissed.
As a workaround for your case, you could set a global in
TeXworksLaunched once all your code is initialized. In LoadFile, you can
then check for that flag, and if it is not present defer logging to a
TeXworksLaunched handler.
HTH
Stefan
From murray at math.umass.edu Fri May 6 17:12:30 2011
From: murray at math.umass.edu (Murray Eisenberg)
Date: Fri, 06 May 2011 11:12:30 -0400
Subject: [texworks] \begin...\end environment completion?
Message-ID: <4DC40FDE.4070804@math.umass.edu>
I'm using current texworks in Mac TeXShop. Is there some way to cause
the texworks editor to supply automatically the \end{env} part of a
\begin{env}...\end{env} environment delimiters after I type the
"\begin{env}" part?
This is something I'm accustomed to doing in WinEdt under Windows (with
any TeX engine). There, for example, if I type
\begin{enumerate}
and press Alt-Enter, the editor automatically inserts a blank line after
what I typed, automatically types \end{enumerate}, and positions the
cursor back at the start of the blank line, so what I have is:
\begin{enumerate}
*
\end{enumerate}
A great time-saver.
I'm told that the Mac is a more user-friendly place to work than a PC
with Windows, but I cannot even find documentation about such a feature
for texworks (or TeXShop).
--
Murray Eisenberg murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 413 549-1020 (H)
University of Massachusetts 413 545-2859 (W)
710 North Pleasant Street fax 413 545-1801
Amherst, MA 01003-9305
From herbs at wideopenwest.com Fri May 6 21:29:24 2011
From: herbs at wideopenwest.com (Herbert Schulz)
Date: Fri, 6 May 2011 14:29:24 -0500
Subject: [texworks] \begin...\end environment completion?
In-Reply-To: <4DC40FDE.4070804@math.umass.edu>
References: <4DC40FDE.4070804@math.umass.edu>
Message-ID: <7A7C82EC-5E13-494C-96D6-626D94A7C8F7@wideopenwest.com>
On May 6, 2011, at 10:12 AM, Murray Eisenberg wrote:
> I'm using current texworks in Mac TeXShop. Is there some way to cause the texworks editor to supply automatically the \end{env} part of a \begin{env}...\end{env} environment delimiters after I type the "\begin{env}" part?
>
> This is something I'm accustomed to doing in WinEdt under Windows (with any TeX engine). There, for example, if I type
>
> \begin{enumerate}
>
> and press Alt-Enter, the editor automatically inserts a blank line after what I typed, automatically types \end{enumerate}, and positions the cursor back at the start of the blank line, so what I have is:
>
> \begin{enumerate}
> *
> \end{enumerate}
>
> A great time-saver.
>
> I'm told that the Mac is a more user-friendly place to work than a PC with Windows, but I cannot even find documentation about such a feature for texworks (or TeXShop).
Howdy,
Ummmm... Are you using TeXworks or TeXShop?
If you are using TeXShop there are several ways of getting that completion with the latest version:
(1)If you have
\begin{myenvironment}
with the cursor just after the closing brace simply press Esc and the corresponding
\end{myenvironment}
will be placed on the next line and the cursor will remain where it started.
(2)If you are using TeXShop 2.41 you can complete an environment (i.e., balance \begin...\end) by using the Source->Close Current Environment (Ctl-Cmd-C) which will give you the \end{myenvironment} with the cursor at the end of the statement.
(3)If you are using any of the usual environments you can use Command Completion (TeXworks has a similar feature as TeXShop in this instance). E.g., to get a skeleton for an enumerate environment simply write
\benu
at the start of a line and press Esc (with TeXworks you press Tab --- TeXShop lets you make the ``trigger'' key Tab too in TeXshop->Preferences->Source->Command Completion Triggered By:) and you'll get (a little bit different in TeXworks)
\begin{enumerate}
\item
|?|
\end{enumerate}?
where |?| is a selected ? (called a Mark for Command Completion). You can move from Mark to Mark, etc. For TeXShop take a look at ~/Library/TeXShop/CommandCompletion/Quick Start Guide... or the full documentation for a list of all completions/abbreviations supplied by default with TeXShop (~/Library/ is the Library folder in your HOME folder).
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
From murrayeisenberg at gmail.com Fri May 6 21:57:03 2011
From: murrayeisenberg at gmail.com (Murray Eisenberg)
Date: Fri, 06 May 2011 15:57:03 -0400
Subject: [texworks] \begin...\end environment completion?
In-Reply-To: <7A7C82EC-5E13-494C-96D6-626D94A7C8F7@wideopenwest.com>
References: <4DC40FDE.4070804@math.umass.edu>
<7A7C82EC-5E13-494C-96D6-626D94A7C8F7@wideopenwest.com>
Message-ID: <4DC4528F.3000307@gmail.com>
Sorry, I was indeed using texworks whereas I had intended to use
TeXShop: I hadn't noticed that when I double-clicked the source tex file
it opened in texworks instead of TeXShop. And then I confused the names
of the front ends. No wonder I couldn't find what I wanted in the Help,
which was for texworks instead of TeXShop.
What you say works, and I thank you.
On 5/6/2011 3:29 PM, Herbert Schulz wrote:
>
> On May 6, 2011, at 10:12 AM, Murray Eisenberg wrote:
>
>> I'm using current texworks in Mac TeXShop. Is there some way to cause the texworks editor to supply automatically the \end{env} part of a \begin{env}...\end{env} environment delimiters after I type the "\begin{env}" part?
>>
>> This is something I'm accustomed to doing in WinEdt under Windows (with any TeX engine). There, for example, if I type
>>
>> \begin{enumerate}
>>
>> and press Alt-Enter, the editor automatically inserts a blank line after what I typed, automatically types \end{enumerate}, and positions the cursor back at the start of the blank line, so what I have is:
>>
>> \begin{enumerate}
>> *
>> \end{enumerate}
>>...
>
> Howdy,
>
> Ummmm... Are you using TeXworks or TeXShop?
>
> If you are using TeXShop there are several ways of getting that completion with the latest version:
>
> (1)If you have
>
> \begin{myenvironment}
>
> with the cursor just after the closing brace simply press Esc and the corresponding
>
> \end{myenvironment}
>
> will be placed on the next line and the cursor will remain where it started.
>
> (2)If you are using TeXShop 2.41 you can complete an environment (i.e., balance \begin...\end) by using the Source->Close Current Environment (Ctl-Cmd-C) which will give you the \end{myenvironment} with the cursor at the end of the statement.
>
> (3)If you are using any of the usual environments you can use Command Completion (TeXworks has a similar feature as TeXShop in this instance). E.g., to get a skeleton for an enumerate environment simply write
>
> \benu
>
> at the start of a line and press Esc (with TeXworks you press Tab --- TeXShop lets you make the ``trigger'' key Tab too in TeXshop->Preferences->Source->Command Completion Triggered By:) and you'll get (a little bit different in TeXworks)
>
> \begin{enumerate}
> \item
> |?|
> \end{enumerate}?
>
> where |?| is a selected ? (called a Mark for Command Completion). You can move from Mark to Mark, etc. For TeXShop take a look at ~/Library/TeXShop/CommandCompletion/Quick Start Guide... or the full documentation for a list of all completions/abbreviations supplied by default with TeXShop (~/Library/ is the Library folder in your HOME folder).
--
Murray Eisenberg murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 413 549-1020 (H)
University of Massachusetts 413 545-2859 (W)
710 North Pleasant Street fax 413 545-1801
Amherst, MA 01003-9305
From agbqc at juno.com Sun May 8 21:05:46 2011
From: agbqc at juno.com (agbqc at juno.com)
Date: Sun, 8 May 2011 22:05:46 +0300
Subject: [texworks] input files
Message-ID: <20110508.120629.946.474057@mailpop07.vgs.untd.com>
I just downloaded MikTex to my new computer.
Where do my input files need to be so that when I TeX a file, the program
will
know where to find them?
Thanks.
Arthur Goodman
____________________________________________________________
Groupon™ Official Site
1 ridiculously huge coupon a day. Get 50-90% off your city's best!
http://thirdpartyoffers.juno.com/TGL3141/4dc6e9d1e471d2e57f5st04vuc
From sigmundv at gmail.com Mon May 9 12:31:45 2011
From: sigmundv at gmail.com (sigmundv at gmail.com)
Date: Mon, 9 May 2011 12:31:45 +0200
Subject: [texworks] input files
In-Reply-To: <20110508.120629.946.474057@mailpop07.vgs.untd.com>
References: <20110508.120629.946.474057@mailpop07.vgs.untd.com>
Message-ID:
Any directory will do, as long as LaTeX is on the path. The MikTeX installer
should set this up for you, so after installing MikTeX you should be ready
to go.
Sigmund
On Sun, May 8, 2011 at 21:05, wrote:
> I just downloaded MikTex to my new computer.
> Where do my input files need to be so that when I TeX a file, the program
> will
> know where to find them?
>
> Thanks.
> Arthur Goodman
> ____________________________________________________________
> Groupon™ Official Site
> 1 ridiculously huge coupon a day. Get 50-90% off your city's best!
> http://thirdpartyoffers.juno.com/TGL3141/4dc6e9d1e471d2e57f5st04vuc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From joerg.kleinman at gmx.de Tue May 10 14:28:04 2011
From: joerg.kleinman at gmx.de (Joerg Klein)
Date: Tue, 10 May 2011 14:28:04 +0200
Subject: [texworks] Message from TeXworks user
Message-ID: <4DC92F54.8030305@gmx.de>
Hello,
I trey to work with MikTeX. I got this errormessage. What ist wrong?
This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9)
entering extended mode
(C:/Users/klein/Downloads/Hallo/test.tex
that is all.
Thank you for the help
Joerg
----- configuration info -----
TeXworks version : 0.4.0r759 (MiKTeX 2.9)
Install location : C:/Program Files/MiKTeX
2.9/miktex/bin/miktex-texworks.exe
Library path : C:/Users/klein/AppData/Local/MiKTeX/2.9/TeXworks/0.4\
pdfTeX location : C:/Program Files/MiKTeX 2.9/miktex/bin/pdftex.exe
Operating system : Windows Microsoft Windows 7 Business Edition, 32-bit
(build 7600)
Qt4 version : 4.7.2 (build) / 4.7.2 (runtime)
------------------------------
From sigmundv at gmail.com Tue May 10 15:45:13 2011
From: sigmundv at gmail.com (sigmundv at gmail.com)
Date: Tue, 10 May 2011 15:45:13 +0200
Subject: [texworks] Message from TeXworks user
In-Reply-To: <4DC92F54.8030305@gmx.de>
References: <4DC92F54.8030305@gmx.de>
Message-ID:
What does your test.tex look like?
Sigmund
On Tue, May 10, 2011 at 14:28, Joerg Klein wrote:
> Hello,
>
> I trey to work with MikTeX. I got this errormessage. What ist wrong?
>
> This is pdfTeX, Version 3.1415926-1.40.11 (MiKTeX 2.9)
>
> entering extended mode
>
> (C:/Users/klein/Downloads/Hallo/test.tex
>
>
> that is all.
>
> Thank you for the help
>
> Joerg
>
> ----- configuration info -----
> TeXworks version : 0.4.0r759 (MiKTeX 2.9)
> Install location : C:/Program Files/MiKTeX
> 2.9/miktex/bin/miktex-texworks.exe
> Library path : C:/Users/klein/AppData/Local/MiKTeX/2.9/TeXworks/0.4\
> pdfTeX location : C:/Program Files/MiKTeX 2.9/miktex/bin/pdftex.exe
> Operating system : Windows Microsoft Windows 7 Business Edition, 32-bit
> (build 7600)
> Qt4 version : 4.7.2 (build) / 4.7.2 (runtime)
> ------------------------------
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From source at sharpsteen.net Thu May 12 07:23:42 2011
From: source at sharpsteen.net (Charlie Sharpsteen)
Date: Wed, 11 May 2011 22:23:42 -0700
Subject: [texworks] Another TeXworks mac build (with a buildsystem!)
Message-ID:
Hey everyone,
I just finished a CMake-based build of TeXworks that is capable of producing
stand-alone apps. At least, the resulting binary build on OS X 10.6.7
appears to be running fine on a clean install of OS X 10.6.4.
A Drag N' Drop installer is available at:
https://github.com/downloads/Sharpie/TeXworks/TeXworks.0.5.0-813-8c754c5.dmg
Currently the build is Snow Leopard only and there is no support for Qt
plugins such as Lua and Python scripting.
If someone wants to play with the build system, the code is available at:
https://github.com/downloads/Sharpie/TeXworks
Direct git access:
git://github.com/Sharpie/TeXworks.git
If anyone has any improvements/corrections, feel free to fork the repo and
send a pull request.
If the core developers are interested in bringing this new build system into
the SVN repository, the following patch should apply cleanly against
revision 813:
https://github.com/Sharpie/TeXworks/compare/texworks-svn...cmake-only
There is only one teenie-tiny change to src/TWApp.h to guard against D-Bus
that affects the existing code code.
Hope this is useful to someone!
-Charlie
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From st.loeffler at gmail.com Thu May 12 21:24:01 2011
From: st.loeffler at gmail.com (=?ISO-8859-1?Q?Stefan_L=F6ffler?=)
Date: Thu, 12 May 2011 21:24:01 +0200
Subject: [texworks] Another TeXworks mac build (with a buildsystem!)
In-Reply-To:
References:
Message-ID: <4DCC33D1.2080408@gmail.com>
Hi,
this is looking awesome, thanks! If you agree, I'd like to write
something up (well, actually, copy from you ;)) for the Tw wiki.
WARNING (for non-developers): The rest of this message is very technical.
A few questions:
1) is it possible to use the upstream svn repo instead of cloning a git
version of it? That would have the benefit that people don't have to
rely/wait on you pulling changes, as long as nothing dramatic changes.
2) Can you add support for stable releases? They are in /tags in the svn
repo (if the answer to 1) is yes, this is trivial)
3) I noticed you mention homebrew; can your cmake system be incorporated
into homebrew?
On 2011-05-12 07:23, Charlie Sharpsteen wrote:
> If someone wants to play with the build system, the code is available at:
>
> https://github.com/downloads/Sharpie/TeXworks
This didn't work for me.
> Direct git access:
>
> git://github.com/Sharpie/TeXworks.git
>
>
> If anyone has any improvements/corrections, feel free to fork the repo
> and send a pull request.
Done. I wanted to send separate pull requests for different sets of
changes, but didn't succeed (is it possible at all? I have practically
no experience with git/github).
> If the core developers are interested in bringing this new build
> system into the SVN repository, the following patch should apply
> cleanly against revision 813:
>
> https://github.com/Sharpie/TeXworks/compare/texworks-svn...cmake-only
>
> There is only one teenie-tiny change to src/TWApp.h to guard against
> D-Bus that affects the existing code code.
Bringing the whole CMake system in will need some thinking and
discussion, so please be patient.
Regarding the patch: it seems trivial, but the way I read the Qt docs,
Q_WS_X11 and Q_WS_MAC should be mutually exclusive. See, e.g., main.cpp,
which also uses dbus, but only guards against Q_WS_X11 - why doesn't
that cause problems for you? The only thing I can think of is that your
workaround "ADD_DEFINITIONS( -DQ_WS_MAC )" is not really resolving the
issue (note that there is TwApp.h, but no main.h, to be processed by
moc). I could imagine that QT4_WRAP_CPP actually mistakes the system and
defines Q_WS_X11 _instead of_ DQ_WS_MAC. Can this be overridden by
"REMOVE_DEFINITIONS( -DQ_WS_X11 )"?
All in all, I'd rather have a proper solution if possible rather than
hacking the svn code...
> Hope this is useful to someone!
I think it will be tremendously useful! Thanks very much again!
-Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From source at sharpsteen.net Thu May 12 22:33:27 2011
From: source at sharpsteen.net (Charlie Sharpsteen)
Date: Thu, 12 May 2011 13:33:27 -0700
Subject: [texworks] Another TeXworks mac build (with a buildsystem!)
In-Reply-To: <4DCC33D1.2080408@gmail.com>
References:
<4DCC33D1.2080408@gmail.com>
Message-ID:
On Thu, May 12, 2011 at 12:24 PM, Stefan L?ffler wrote:
> Hi,
>
> this is looking awesome, thanks! If you agree, I'd like to write something
> up (well, actually, copy from you ;)) for the Tw wiki.
>
> WARNING (for non-developers): The rest of this message is very technical.
>
>
> A few questions:
> 1) is it possible to use the upstream svn repo instead of cloning a git
> version of it? That would have the benefit that people don't have to
> rely/wait on you pulling changes, as long as nothing dramatic changes.
>
My Git repo was cloned from the offical TeXworks SVN repository, the
texworks-svn branch is currently tracking your trunk. If I disappear and
someone wants to use my CMake patches on top of the newest version of the
SVN repo, the following workflow should do the trick:
# Clone the Git repository:
git clone git://github.com/Sharpie/TeXworks.git
cd TeXworks
# Add the TeXworks svn repository, remove the `trunk` part and
add --stdlayout if you want to bring in branches and tags from SVN.
git svn init http://texworks.googlecode.com/svn/trunk/
# Bring in SVN history (this will take a while)
git svn fetch
# Checkout the SVN trunk as a git branch
git checkout -b texworks-upstream remotes/git-svn
# Checkout the CMake branch
git checkout cmake-only
# Forward-port all changes in cmake-only onto the the SVN trunk:
git rebase texworks-upstream
# If new changes occur in SVN:
git checkout texworks-upstream
git svn rebase
git checkout cmake-only
git rebase texworks-upstream
2) Can you add support for stable releases? They are in /tags in the svn
> repo (if the answer to 1) is yes, this is trivial)
>
Sure, I'll just have to import the tags directory into the Git repository.
> 3) I noticed you mention homebrew; can your cmake system be incorporated
> into homebrew?
>
Yes, Homebrew builds quite a few projects that use CMake. However, it does
have a policy that frowns on including Applications unless they have a lot
of dependencies or are otherwise difficult to obtain.
>
> On 2011-05-12 07:23, Charlie Sharpsteen wrote:
>
> If someone wants to play with the build system, the code is available at:
>
> https://github.com/downloads/Sharpie/TeXworks
>
>
> This didn't work for me.
>
Gah. Bad copy and paste job, the correct url is:
https://github.com/Sharpie/TeXworks
>
> Direct git access:
>
> git://github.com/Sharpie/TeXworks.git
>
> If anyone has any improvements/corrections, feel free to fork the repo
> and send a pull request.
>
>
> Done. I wanted to send separate pull requests for different sets of
> changes, but didn't succeed (is it possible at all? I have practically no
> experience with git/github).
>
Looks great! I'll pull your changes over, when I get the chance. One thing
you may be interested in is that CPack can be set to build Debian packages
and RPMs on Linux.
To generate separate pull requests, you have to adopt the "branching
mindset" that git is famous (infamous?) for. Basically, it works like this:
# If there is another upstream repo you want to get updates from
get remote add upstream git://github.com/Sharpie/TeXworks.git
# Check out the master branch and sync it with "upstream"
git checkout master
git pull upstream master
# If any conflicts happen:
git mergetool
# Create a new branch for a feature that will start out as a copy of the
master branch:
git branch feature-x master
# Switch to the feature-x branch
git checkout feature-x
# Hack Hack Hack
# Push some feature brances to GitHub
git push origin feature-x feature-y
Now to open a pull request, go to your project page on GitHub.com, select
the desired branch from the "Switch Branches" menu and then hit the "Pull
Request" button. The resulting request will only contain commits from the
branch you selected.
Or, to do it the ol' fashioned way:
# Create patchfiles containing all the commits that happened on the
feature-x branch relative to your master branch
git format-patch master...feature-x
# Or a given remote master branch
git fetch upstream # Make sure git has an up-to-date picture of the
upstream repo
git format-patch upstream/master...feature-x
Quick 'n dirty Git Reference:
http://gitref.org
More in-depth:
http://progit.org
http://gitready.com
If the core developers are interested in bringing this new build system
> into the SVN repository, the following patch should apply cleanly against
> revision 813:
>
> https://github.com/Sharpie/TeXworks/compare/texworks-svn...cmake-only
>
> There is only one teenie-tiny change to src/TWApp.h to guard against
> D-Bus that affects the existing code code.
>
>
> Bringing the whole CMake system in will need some thinking and discussion,
> so please be patient.
>
No problem, I will try to keep the cmake-only branch limited to changes
that concern the build system--i.e. by excluding things like the README swap
I did for the GitHub project page. That way a GitHub comparison between
texworks-svn and cmake-only should always generate a nice patch if you
decide to bring it into the main repo.
> Regarding the patch: it seems trivial, but the way I read the Qt docs,
> Q_WS_X11 and Q_WS_MAC should be mutually exclusive. See, e.g., main.cpp,
> which also uses dbus, but only guards against Q_WS_X11 - why doesn't that
> cause problems for you? The only thing I can think of is that your
> workaround "ADD_DEFINITIONS( -DQ_WS_MAC )" is not really resolving the issue
> (note that there is TwApp.h, but no main.h, to be processed by moc). I could
> imagine that QT4_WRAP_CPP actually mistakes the system and defines Q_WS_X11
> _instead of_ DQ_WS_MAC. Can this be overridden by "REMOVE_DEFINITIONS(
> -DQ_WS_X11 )"?
> All in all, I'd rather have a proper solution if possible rather than
> hacking the svn code...
>
The problem that is occurring for me is that when QT4_WRAP_CPP processes
TWApp.h to generate moc_TWApp.cxx, it runs the following command:
cd /Users/sharpie/code/TeX/texworks/build/src &&
/usr/local/Cellar/qt/4.7.3/bin/moc -I/usr/local/Cellar/qt/4.7.3/include
-F/usr/local/Cellar/qt/4.7.3/lib
-I/usr/local/Cellar/qt/4.7.3/lib/QtScript.framework/Headers
-I/usr/local/Cellar/qt/4.7.3/include/QtUiTools
-I/usr/local/Cellar/qt/4.7.3/lib/QtScriptTools.framework/Headers
-I/usr/local/Cellar/qt/4.7.3/lib/QtGui.framework/Headers
-I/usr/local/Cellar/qt/4.7.3/lib/QtXml.framework/Headers
-I/usr/local/Cellar/qt/4.7.3/lib/QtCore.framework/Headers
-I/Users/sharpie/code/TeX/texworks/src
-I/Users/sharpie/code/TeX/texworks/build/src -I/usr/local/include/hunspell
-I/usr/local/include/poppler
-I/usr/local/Cellar/poppler/0.16.5/include/poppler/qt4 -I/usr/X11R6/include
-I/usr/include -DQT_SCRIPT_LIB -DQT_UITOOLS_LIB -DQT_SCRIPTTOOLS_LIB
-DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -o
/Users/sharpie/code/TeX/texworks/build/src/moc_TWApp.cxx
/Users/sharpie/code/TeX/texworks/src/TWApp.h
Somehow, that command apparently processes TWApp with Q_WS_X11 defined which
causes the D-Bus dependencies to show up. I don't think REMOVE_DEFINITIONS(
-DQ_WS_X11 ) would be a solution because CMake is not passing -DQ_WS_X11. It
seems likely that one of the Qt header files is setting the definition. I'm
by no means an expert on Qt, but it seems likely that Q_WS_X11 could be
defined for Mac since X11 is present on my machine.
One thing that I may try is running QT4_AUTOMOC on the `*.cpp` files instead
of QT4_WRAP_CPP on the headers to see if it makes a difference.
Hope this is useful to someone!
>
>
> I think it will be tremendously useful! Thanks very much again!
>
> -Stefan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From chuck at sharpsteen.net Fri May 13 00:00:19 2011
From: chuck at sharpsteen.net (Charlie Sharpsteen)
Date: Thu, 12 May 2011 15:00:19 -0700
Subject: [texworks] Another TeXworks mac build (with a buildsystem!)
In-Reply-To:
References:
<4DCC33D1.2080408@gmail.com>
Message-ID:
On Thu, May 12, 2011 at 1:33 PM, Charlie Sharpsteen