texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Texmacs-dev] two minor problems in mac os


From: Zou Hu
Subject: [Texmacs-dev] two minor problems in mac os
Date: Mon, 19 Jul 2010 18:36:58 +0800 (CST)

Hi all, I was building qt-texmacs in Mac OS and found two minor problems as follows:

Problem 1: When making texmacs bundle, doc directory is not copied to the texmacs.app directory.
Solution: It's due to line 231-233 in makefile.in,
    if [ -f ../doc ] ; then \
      $(CP) ../doc $(BUNDLE_TEXMACS) ;\
    fi
line 231 should be changed to
    if [ -d ../doc ] ; then \
since ../doc is a directory.

Problem 2: From http://doc.qt.nokia.com/4.6/qkeysequence.html I see the following:
    "On Mac OS X, references to "Ctrl" correspond to the Command keys on the Macintosh keyboard,
    and references to "Meta" correspond to the Control keys."
Hence the keyboard shortcuts displayed in texmacs menu items is not the same as the real shortcuts.
Solution: line 342-343 in qt_menu.cpp should be changed to
    #ifdef OS_MACOS
      r = replace (r, "C-", "Meta+");
      r = replace (r, "M-", "Ctrl+");
    #else
      r = replace (r, "C-", "Ctrl+");
      r = replace (r, "M-", "Meta+");
    #endif

Best wishes.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]