From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug: problem with special entities preview [6.36trans (release_6.36.32.gf3b55)] Date: Thu, 13 May 2010 20:35:11 +0200 Message-ID: <24D07164-02C5-424D-A640-8E5B8DD36869@gmail.com> References: <87aas3bz9l.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=37778 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCdFg-0004Tn-Tl for emacs-orgmode@gnu.org; Thu, 13 May 2010 14:35:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCdFc-00059q-E0 for emacs-orgmode@gnu.org; Thu, 13 May 2010 14:35:20 -0400 Received: from mail-ew0-f216.google.com ([209.85.219.216]:40972) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCdFb-00059b-N5 for emacs-orgmode@gnu.org; Thu, 13 May 2010 14:35:16 -0400 Received: by ewy8 with SMTP id 8so642060ewy.8 for ; Thu, 13 May 2010 11:35:14 -0700 (PDT) In-Reply-To: <87aas3bz9l.wl%ucecesf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: e.fraga@ucl.ac.uk Cc: emacs-orgmode@gnu.org Hi Eric, I am working on the pretty entities and will also fix this problem one way or another. Thanks! - Carsten On May 13, 2010, at 5:24 PM, Eric S Fraga wrote: > > Remember to cover the basics, that is, what you expected to happen and > what in fact did happen. You don't know how to make a good report? > See > > http://orgmode.org/manual/Feedback.html#Feedback > > Your bug report will be posted to the Org-mode mailing list. > ------------------------------------------------------------------------ > > The problem is that the new entity preview mechanism, which is > brilliant by the way, has a problem with mathematical functions like > log, min, sin. These are somehow interpreted and a special symbol > inserted, a symbol that originally made no sense to me but now appears > to be all the letters of the function superimposed. See the > screenshot. I have looked at org-entities.el but do not quite > understand how the translations happen so unfortunately cannot suggest > a fix... > > > Thanks, > eric > > > Emacs : GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.18.2) > of 2009-11-02 on raven, modified by Debian > Package: Org-mode version 6.36trans (release_6.36.32.gf3b55) > > current state: > ============== > (setq > org-export-html-final-hook '(org-inlinetask-remove-terminator) > org-log-done t > org-file-apps '((auto-mode . emacs)) > org-export-with-LaTeX-fragments t > org-emphasis-alist '(("*" bold "" "") ("/" italic "" "") > ("_" underline "" > "") > ("=" org-code "" "" verbatim) > ("~" org-verbatim "" "" verbatim) > ("+" (:strike-through t) "" "") ("@" org-warning > "" "")) > org-export-latex-after-initial-vars-hook '(org-beamer-after-initial- > vars) > org-todo-keyword-faces '(("TODO" :foreground "red") ("INPROGRESS" . > shadow) ("WAITING" . shadow) > ("DONE" :foreground "forest green" :weight normal) > ("CANCELLED" :foreground "white" :weight normal)) > org-special-ctrl-a/e t > org-agenda-files '("~/git/notes/admin.org" "~/git/notes/cpse.org" "~/ > git/notes/diary.org" > "~/git/notes/jacaranda.org" "~/git/notes/nokia.org" "~/git/ > notes/notes.org" > "~/git/notes/people.org" "~/git/notes/research.org" "~/git/ > notes/teaching.org") > org-export-ascii-final-hook '(org-inlinetask-remove-terminator) > org-agenda-window-setup 'other-frame > org-hide-leading-stars t > org-metaup-hook '(org-babel-load-in-session-maybe) > org-after-todo-state-change-hook '(org-clock-out-if-current > (lambda nil (if (string= state "WAITING") (org-schedule t)))) > org-read-date-prefer-future 'time > org-babel-interpreters '("emacs-lisp" "gnuplot" "python" "maxima" > "ledger" "jython" "latex" "ditaa" > "sh" "R") > org-speed-commands-user '(("," progn (org-cycle-agenda-files) > (when (not (and (bolp) (org-on-heading-p))) > (outline-previous-visible-heading 1) > (or (and (bolp) (org-on-heading-p)) (outline-next-visible- > heading 1))) > ) > ("h" org-speed-move-safe (quote outline-up-heading)) > ("j" org-speed-move-safe (quote outline-forward-same-level)) > ("k" org-speed-move-safe (quote outline-backward-same-level)) > ("l" org-speed-move-safe (quote outline-next-visible-heading))) > org-odd-levels-only t > org-export-copy-to-kill-ring nil > org-export-latex-format-toc-function 'org-export-latex-format-toc- > default > org-agenda-time-grid '((daily today require-timed) "----------------" > (900 1000 1100 1200 1300 1400 1500 1600 1700 1800)) > org-support-shift-select t > org-hide-emphasis-markers t > org-export-preprocess-hook '(org-export-blocks-preprocess) > org-tags-exclude-from-inheritance '("clocked") > org-agenda-diary-file "~/git/notes/diary.org" > org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-hide- > block-toggle-maybe) > org-src-mode-hook '(org-src-mode-configure-edit-buffer) > org-cycle-global-at-bob t > org-confirm-shell-link-function 'yes-or-no-p > org-reveal-start-hook '(org-decrypt-entry) > org-src-preserve-indentation t > org-export-first-hook '(org-beamer-initialize-open-trackers) > org-clock-persist t > org-todo-keywords '((sequence "TODO(t)" "INPROGRESS(i@/!)" > "WAITING(w@/!)" "|" "DONE(d!)" > "CANCELLED(c@)") > ) > org-agenda-before-write-hook '(org-agenda-add-entry-text) > org-default-notes-file "notes.org" > org-directory "~/git/notes" > org-read-date-popup-calendar nil > org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide- > drawers org-cycle-show-empty-lines > org-optimize-window-after-visibility-change) > org-export-latex-classes '(("article" > "\\documentclass[11pt]{scrartcl}\n\\usepackage[utf8] > {inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\ > \usepackage{longtable}\n\\usepackage{float}\n\\usepackage{wrapfig}\n\ > \usepackage{soul}\n\\usepackage{amssymb}\n\\usepackage{hyperref}" > ("\\section{%s}" . "\\section*{%s}") > ("\\subsection{%s}" . "\\subsection*{%s}") > ("\\subsubsection{%s}" . "\\subsubsection*{%s}") > ("\\paragraph{%s}" . "\\paragraph*{%s}") > ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) > ("report" > "\\documentclass[11pt]{report}\n\\usepackage[utf8]{inputenc} > \n\\usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\ > \usepackage{longtable}\n\\usepackage{float}\n\\usepackage{wrapfig}\n\ > \usepackage{soul}\n\\usepackage{amssymb}\n\\usepackage{hyperref}" > ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\ > \chapter*{%s}") > ("\\section{%s}" . "\\section*{%s}") > ("\\subsection{%s}" . "\\subsection*{%s}") > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) > ("book" > "\\documentclass[11pt]{book}\n\\usepackage[utf8]{inputenc}\n\ > \usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\ > \usepackage{longtable}\n\\usepackage{float}\n\\usepackage{wrapfig}\n\ > \usepackage{soul}\n\\usepackage{amssymb}\n\\usepackage{hyperref}" > ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\ > \chapter*{%s}") > ("\\section{%s}" . "\\section*{%s}") > ("\\subsection{%s}" . "\\subsection*{%s}") > ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) > ("beamer" > "\\documentclass{beamer}\n\\usepackage[utf8]{inputenc}\n\ > \usepackage[T1]{fontenc}\n\\usepackage{graphicx}\n\ > \usepackage{longtable}\n\\usepackage{float}\n\\usepackage{wrapfig}\n\ > \usepackage{soul}\n\\usepackage{amssymb}\n\\usepackage{hyperref}" > org-beamer-sectioning) > ) > org-export-preprocess-before-normalizing-links-hook '(org-remove- > file-link-modifiers) > org-use-speed-commands t > org-mode-hook '(org-clock-load esf/org-mode-hook > #[nil "\300\301\302\303\304$\207" > [add-hook before-save-hook org-encrypt-entries nil t] 5] > (lambda nil > (org-add-hook (quote change-major-mode-hook) (quote org-babel- > show-result-all) > (quote append) (quote local)) > ) > org-babel-result-hide-spec org-babel-hide-all-hashes > #[nil "\300\301\302\303\304$\207" > [org-add-hook change-major-mode-hook org-show-block-all append > local] 5] > ) > org-mime-library 'semi > org-font-lock-hook '(org-inlinetask-fontify) > org-export-htmlize-output-type 'css > org-export-latex-emphasis-alist '(("*" "\\textbf{%s}" nil) ("/" "\ > \emph{%s}" nil) > ("_" "\\underline{%s}" nil) ("+" "\\texttt{%s}" nil) > ("=" "\\verb=%s=" nil) ("~" "\\verb~%s~" t) > ("@" "\\alert{%s}" nil)) > org-refile-targets '((org-agenda-files :maxlevel . 5)) > org-ctrl-c-ctrl-c-hook '(org-ctrl-c-encrypted org-babel-lob-execute- > maybe org-babel-hash-at-point > org-babel-execute-src-block-maybe) > org-confirm-elisp-link-function 'yes-or-no-p > org-refile-use-outline-path 'file > org-log-into-drawer t > org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org- > babel-exp-inline-src-blocks)) > org-crypt-key "e.fraga@ucl.ac.uk" > org-occur-hook '(org-first-headline-recenter) > org-from-is-user-regexp "\\" > org-export-preprocess-before-selecting-backend-code-hook '(org- > beamer-select-beamer-code) > org-remember-templates '(("todo" 116 "* TODO %^{Task} %^G\n %i\n %? > \n\n %U" nil nil) > ("note" 110 "* %^{Title} %^G\n %i\n %?\n\n %U" nil nil) > ("appointment" 97 "* %^{Appt} %^G\n %t %?" nil bottom nil) > ("journal" 106 "* %^{Entry} %^G\n%i%?%!%&" "~/git/notes/ > journal.org" > date-tree) > ("uclfinance" 117 "%u %?\n \n\n" "~/git/notes/finances/ > ucl.ledger" bottom > nil) > ("personalfinance" 112 "%u %?\n \n\n" > "~/git/notes/finances/personal.ledger" bottom nil) > ("expenses" 101 "%u %?\n \n\n" "~/git/notes/finances/ > expenses.ledger" > bottom nil) > ("org-protocol" 119 "* %^{Title}\n\n Source: %u, %c\n\n %i\n > \n %U" nil > nil) > ("test" 84 "* %^{Description} %^G\n %T\n" nil nil)) > org-export-preprocess-after-tree-selection-hook '(org-inlinetask- > export-handler) > org-export-docbook-final-hook '(org-inlinetask-remove-terminator) > org-footnote-define-inline t > org-export-latex-final-hook '(org-inlinetask-remove-terminator org- > beamer-amend-header > org-beamer-fix-toc org-beamer-auto-fragile-frames > org-beamer-place-default-actions-for-lists) > org-metadown-hook '(org-babel-pop-to-session-maybe) > org-export-blocks '((src org-babel-exp-src-blocks nil) (comment org- > export-blocks-format-comment t) > (ditaa org-export-blocks-format-ditaa nil) > (dot org-export-blocks-format-dot nil)) > ) > -- > Eric S Fraga > GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten