emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: org-toggle-latex-fragment fails, example included [8.3.1 (8.3.1-103-g366dc4-elpa @ /home/oub/.emacs.d/elpa/org-20150907/)]
@ 2015-09-14 20:09 Uwe Brauer
  2015-09-14 23:01 ` Charles C. Berry
  0 siblings, 1 reply; 4+ messages in thread
From: Uwe Brauer @ 2015-09-14 20:09 UTC (permalink / raw)
  To: emacs-orgmode


Hello

For the following example,

$$w∈ {C([0,T];H_{s,\delta} : \|w(0,\cdot )\|_{H_{s,\delta}} \leq  M_0,   w(t,x)\leq 0}$$

org-toggle-latex-fragment fails to generate a png

org-mime-htmlize fails as well but a separate bug report will be
submitted.

The above example works for Xemacs 21.5.34 and org 7.8.03!!



Emacs  : GNU Emacs 25.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2015-08-28
Package: Org-mode version 8.3.1 (8.3.1-103-g366dc4-elpa @ /home/oub/.emacs.d/elpa/org-20150907/)

current state:
==============
(setq
 org-entities-user '(("implies" "\\Rightarrow" t "⇒" "=>" "=>" "⇒")
		     ("iff" "\\iff" t "&hArr;" "<=>" "<=>" "⇔"))
 outline-mode-hook '(hide-body)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe)
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-pretty-entities t
 org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function
 org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe
		      org-babel-header-arg-expand)
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
		  org-cycle-show-empty-lines
		  org-optimize-window-after-visibility-change)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook)
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-babel-pre-tangle-hook '(save-buffer)
 org-return-follows-link t
 org-occur-hook '(org-first-headline-recenter)
 org-html-format-headline-function 'org-html-format-headline-default-function
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-latex-format-drawer-function '(lambda (name contents) contents)
 org-load-hook '(my-link-keys)
 org-highlight-latex-and-related '(latex)
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 org-agenda-include-diary t
 org-html-with-latex 'dvipng
 org-mode-hook '(turn-on-flyspell turn-on-auto-capitalize-mode my-org-keys
		 #[nil "\300\301\302\303\304$\207"
		   [org-add-hook change-major-mode-hook org-show-block-all append local]
		   5]
		 #[nil "\300\301\302\303\304$\207"
		   [org-add-hook change-major-mode-hook org-babel-show-result-all
		    append local]
		   5]
		 org-babel-result-hide-spec org-babel-hide-all-hashes org-eldoc-load)
 org-ascii-format-drawer-function '(lambda (name contents width) contents)
 org-odt-format-drawer-function '(lambda (name contents) contents)
 org-from-is-user-regexp "\\<Uwe Brauer\\>"
 org-html-format-drawer-function '(lambda (name contents) contents)
 org-odt-format-headline-function 'org-odt-format-headline-default-function
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
		     org-src-mode-configure-edit-buffer)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function
 org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function
 org-confirm-shell-link-function 'yes-or-no-p
 )

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug: org-toggle-latex-fragment fails, example included [8.3.1 (8.3.1-103-g366dc4-elpa @ /home/oub/.emacs.d/elpa/org-20150907/)]
  2015-09-14 20:09 Bug: org-toggle-latex-fragment fails, example included [8.3.1 (8.3.1-103-g366dc4-elpa @ /home/oub/.emacs.d/elpa/org-20150907/)] Uwe Brauer
@ 2015-09-14 23:01 ` Charles C. Berry
  2015-09-15  7:50   ` Uwe Brauer
  0 siblings, 1 reply; 4+ messages in thread
From: Charles C. Berry @ 2015-09-14 23:01 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

On Mon, 14 Sep 2015, Uwe Brauer wrote:

>
> Hello
>
> For the following example,
>
> $$w∈ {C([0,T];H_{s,\delta} : \|w(0,\cdot )\|_{H_{s,\delta}} \leq  M_0,   w(t,x)\leq 0}$$
>

$$w\in {C([0,T];H_{s,\delta} : \|w(0,\cdot )\|_{H_{s,\delta}} \leq  M_0,   w(t,x)\leq 0}$$

works for me.

Maybe you need some encoding tricks to make your version work?

HTH,

Chuck

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug: org-toggle-latex-fragment fails, example included [8.3.1 (8.3.1-103-g366dc4-elpa @ /home/oub/.emacs.d/elpa/org-20150907/)]
  2015-09-14 23:01 ` Charles C. Berry
@ 2015-09-15  7:50   ` Uwe Brauer
  2015-09-15  8:12     ` Eric S Fraga
  0 siblings, 1 reply; 4+ messages in thread
From: Uwe Brauer @ 2015-09-15  7:50 UTC (permalink / raw)
  To: emacs-orgmode

>>>>> "Charles" == Charles C Berry <ccberry@ucsd.edu> writes:

> On Mon, 14 Sep 2015, Uwe Brauer wrote:
>> 
>> Hello
>> 
>> For the following example,
>> 
>> $$w∈ {C([0,T];H_{s,\delta} : \|w(0,\cdot )\|_{H_{s,\delta}} \leq  M_0,   w(t,x)\leq 0}$$
>> 

> $$w\in {C([0,T];H_{s,\delta} : \|w(0,\cdot )\|_{H_{s,\delta}} \leq  M_0,   w(t,x)\leq 0}$$

You are right, the evil ∈! Since I have started to use prettify-symbol
mode it is difficult to distinguish two situations:

    -   prettify-symbols, using overlays, *displays*  \in by  ∈

    -  but also \in can be *replaced* by the UTF8  ∈


After replacing the UTF8 by its latex constructions everything works
fine.

Sorry

Uwe 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Bug: org-toggle-latex-fragment fails, example included [8.3.1 (8.3.1-103-g366dc4-elpa @ /home/oub/.emacs.d/elpa/org-20150907/)]
  2015-09-15  7:50   ` Uwe Brauer
@ 2015-09-15  8:12     ` Eric S Fraga
  0 siblings, 0 replies; 4+ messages in thread
From: Eric S Fraga @ 2015-09-15  8:12 UTC (permalink / raw)
  To: emacs-orgmode

On Tuesday, 15 Sep 2015 at 09:50, Uwe Brauer wrote:

[...]

> You are right, the evil ∈! Since I have started to use prettify-symbol
> mode it is difficult to distinguish two situations:
>
>     -   prettify-symbols, using overlays, *displays*  \in by  ∈
>
>     -  but also \in can be *replaced* by the UTF8  ∈

I run into this problem quite frequently.  I often write with the tex
input method and later forget that I did so and ended up with UTF8
characters.

I wonder how difficult it would be to filter UTF8 characters that LaTeX
doesn't understand on export, e.g. converting ∈ to \in, maybe even using
the same org-entities table?  I'm sure a filter is straightforward in
emacs lisp, although beyond my capabilities unfortunately.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-234-g8c85c9

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-09-15  8:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-14 20:09 Bug: org-toggle-latex-fragment fails, example included [8.3.1 (8.3.1-103-g366dc4-elpa @ /home/oub/.emacs.d/elpa/org-20150907/)] Uwe Brauer
2015-09-14 23:01 ` Charles C. Berry
2015-09-15  7:50   ` Uwe Brauer
2015-09-15  8:12     ` Eric S Fraga

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).