LaTeX forum ⇒ Texmaker and TeXstudioTexMakerX (with interactive spellchecking!)

Information and discussion about Texmaker, an integrated LaTeX environment for several platforms, and the related TeXstudio
yunghsianghan
Posts: 21
Joined: Mon Apr 06, 2009 2:03 am

Re: TexMakerX (with interactive spellchecking!)

Postby yunghsianghan » Sun Apr 12, 2009 5:16 pm

benibela wrote:>However, it still cannot be run by clicking texmakerx.app. Any thought to solve it?
The bundle description file was wrong, and still wanted to execute texmaker instead of texmakerx.
Perhaps it works in the new revision

It is working now. Thanks a lot.

>1. I use the default font family: Lucida Sans Typewriter. The space between Chinese characters becomes very small ans some of them are overlapping to each other and to some English words. If I use Lucida Sans Unicode font family the problem is gone.
Have the character different widths?
In the default it tries to draw all with the same to be faster

Yes. Chinese characters are wider.

>When I copy and past several lines of texts form other application (for example, Smultron), all lines are put into one line in texmakerx.
It didn't understand the mac line ending, so removed all line breaks. (even worse: you couldn't really open a file with mac line endings)
But now it should work (the only remaining problem is that the line ending is set to the windows \r\n when saving)

Now it is working.

>Some alphabets at end of words are missing in configure window. For example, Editor font family becomes Editor font famil.
It works on Windows, perhaps Mac has a larger default font / screen resolution


I think so.
Now new version is working well so far.

Sam

yunghsianghan
Posts: 21
Joined: Mon Apr 06, 2009 2:03 am

Postby yunghsianghan » Sun Apr 12, 2009 5:26 pm

The new version is still has one problem. It cannot be open by clicking a .tex file which is associated with it. I need to run it first and open the .tex file in File menu bar.
Sam

benibela
Posts: 97
Joined: Thu Aug 09, 2007 8:13 pm

Postby benibela » Sun Apr 12, 2009 11:07 pm

Great, now I looked some hours, how to receive apple events, just to notice, that there existing now a qt way for loading files which doesn't need them and which is already implemented in the source I took from texmaker :-(
However, it should work in the version you currently have.


Does it open the files if TexMakerX is already running, when clicking on the file?
And if it is not running, does nothing happen, or starts tmx without loading the files?

If the answers to the first question is no, you could add #include <QMessageBox> to the top of main.cpp and QMessageBox::information(0,"",oe->file(),0); in line 76 after QFileOpenEvent *oe = static_cast<QFileOpenEvent *>(event);, and tell me what the message says

yunghsianghan
Posts: 21
Joined: Mon Apr 06, 2009 2:03 am

Postby yunghsianghan » Sun Apr 12, 2009 11:38 pm

The answer is yes. If texmakerx is open, I can click file to open it without any trouble. If texmakerx is not open, after I click the file the message "Application texmakerx is terminated unexpectedly. The following is the first part of the error message:
Process: texmakerx [2503]
Path: /Applications/texmakerx.app/Contents/MacOS/texmakerx
Identifier: texmakerx
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: launchd [119]

Date/Time: 2009-04-12 16:35:10.897 -0500
OS Version: Mac OS X 10.5.6 (9G55)
Report Version: 6

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000004
Crashed Thread: 0

Thread 0 Crashed:
0 QtGui 0x00b73875 QWidget::raise() + 21
1 texmakerx 0x00035b78 Texmaker::load(QString const&, bool) + 54
2 texmakerx 0x00006e56 TexmakerApp::event(QEvent*) + 66
3 QtGui 0x00b2b7cf QApplicationPrivate::notify_helper(QObject*, QEvent*) + 191
4 QtGui 0x00b322ec QApplication::notify(QObject*, QEvent*) + 268
5 QtCore 0x00509c52 QCoreApplication::notifyInternal(QObject*, QEvent*) + 98
6 QtGui 0x00ac0421 QApplicationPrivate::globalAppleEventProcessor(AEDesc const*, AEDesc*, long) + 545
7 com.apple.AE 0x930e6648 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 144
8 com.apple.AE 0x930e657e dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 44
9 com.apple.AE 0x930e6425 aeProcessAppleEvent + 177
10 com.apple.HIToolbox 0x96c1b9a5 AEProcessAppleEvent + 38
11 QtGui 0x00ac2bb2 QApplicationPrivate::globalEventProcessor(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 1634
12 com.apple.HIToolbox 0x96bf1143 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1181
13 com.apple.HIToolbox 0x96bf057d SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 405
14 com.apple.HIToolbox 0x96bf03e2 SendEventToEventTargetWithOptions + 58
15 com.apple.HIToolbox 0x96c1ed54 ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 356
16 com.apple.HIToolbox 0x96bf14fc DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 2134
17 com.apple.HIToolbox 0x96bf057d SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 405
18 com.apple.HIToolbox 0x96c0ced2 SendEventToEventTarget + 52
19 QtGui 0x00ad7744 QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 612
20 QtCore 0x0050d3ee QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 62
21 QtGui 0x00b7b232 QWidgetPrivate::show_helper() + 690
22 QtGui 0x00b7b7a3 QWidget::setVisible(bool) + 1267
23 texmakerx 0x00006f90 TexmakerApp::init(int&, char**) + 196
24 texmakerx 0x00007734 main + 398
25 texmakerx 0x00006cd6 start + 54

Sam

benibela
Posts: 97
Joined: Thu Aug 09, 2007 8:13 pm

Postby benibela » Mon Apr 13, 2009 12:44 am

Perhaps it tries to load the file before it is loaded itself...

Try the new revision.

yunghsianghan
Posts: 21
Joined: Mon Apr 06, 2009 2:03 am

Postby yunghsianghan » Mon Apr 13, 2009 3:26 pm

Yes. It is now working without any problem. Thanks!
Sam

osna
Posts: 1
Joined: Tue Apr 14, 2009 11:09 am

Postby osna » Tue Apr 14, 2009 11:40 am

yunghsianghan wrote:1. Download QT SDK for mac from
http://www.qtsoftware.com/downloads
and install it.


What exactly is needed:
1. Qt libraries 4.5 for Mac (116 Mb),
2. Qt SDK for Mac (430 Mb) or
3. the Commercial Download for Mac-OSX?

???
Then, underneath the "Qt SDK: Complete Development Environment" download links on http://www.qtsoftware.com/downloads is written:

"Be sure to check if Qt and Qt Creator are supported on your platform."

Can you help me to know if this is the case with my MacOSX 10.4?

Hello Sam & all,

I am very interested in your finding out about running TeXMakerX on Mac-OSX. Benibela told gave the tip for this discussion.

Last question for the moment:

yunghsianghan wrote:TexMakerX compilation :
----------------------------------------
Enter path to QT4 (/usr/lib/qt4 or ...):
6. /usr/bin


that is, Qt-SDK for Mac installs to /usr/bin by default?

Joachim Osnabryg

yunghsianghan
Posts: 21
Joined: Mon Apr 06, 2009 2:03 am

Postby yunghsianghan » Tue Apr 14, 2009 1:09 pm

Just download Qt SDK: Complete Development Environment under LGPL/free license. It is 430Mb and qmake will be installed automatically to /usr/bin. I am using OSX 10.5 but I think it is also good for OSX 10.4.

yunghsianghan
Posts: 21
Joined: Mon Apr 06, 2009 2:03 am

Postby yunghsianghan » Wed Apr 15, 2009 8:05 pm

I found the OSX version still has some problem. For example, sometimes the data in log file window are lost. If I open two files to work on, Skim is locked to one of them. It seems this version is unstable.
Sam

benibela
Posts: 97
Joined: Thu Aug 09, 2007 8:13 pm

Postby benibela » Wed Apr 15, 2009 9:08 pm

>For example, sometimes the data in log file window are lost.
If you switch to another document? That's a feature (of texmaker)...

>If I open two files to work on, Skim is locked to one of them.
Does it work, if you close skim before?
Then probably either the command line parameters are wrong, or it is a Skim bug

>It seems this version is unstable.
Yes, but not so much as original texmaker...


Return to “Texmaker and TeXstudio”

Who is online

Users browsing this forum: No registered users and 1 guest