[O] How to safely update from ver. 8.2.10 to 8.3.x

2016-08-14 Thread Maria Shinoto

Hi all,

this weekend I got through lots of troubles, because I updated my 
orgmode version with "manage emacs packages" menu command and somehow 
got mixed preferences.


Now, after a clean install, I have org mode 8.2.10 and would like to
update to version 8.3.x (20160808) which is shown under the menu command
"manage emacs packages".

How can I do this safely, without creating a mess again?

Thanks for all advice,
Maria



[O] Latex equation numbering on left instead of right

2016-08-14 Thread Lawrence Bottorff
I've got this

\begin{align}
n &= 0 \\
n &= m + 1
\end{align}

in an org-mode buffer. When I produce a Latex output, the numbering n = 0
  (1) etc. is properly placed on the right. But an HTML output places the
numbering on the left. What do I need to do to have both HTML and Latex
output place the equation numbering off to the right? One Latex tip was to
include \documentclass[12pt,oneside,reqno]{amsart} where t


Re: [O] org-ref bibliography html export & bigblow

2016-08-14 Thread John Kitchin
It sounds like a css to me.

On Sunday, August 14, 2016, Johannes Brauer  wrote:

> In the meantime I figured out that all works fine if the bibliography is a
> org-mode level 1 headline:
>
> * bibliography:referenzen.bib
> But if you write
>
> bibliography:referenzen.bib
>
> the bibliography is in the html but not displayed
>
> Johannes
>
> Am 14.08.2016 um 18:43 schrieb John Kitchin  >:
>
> Is the bibliography actually in the html but not displayed in a browser?
>
> It is hard to see how a theme would change the link export, although via
> few it might change what is visible.
>
>
> On Saturday, August 13, 2016, Johannes Brauer  > wrote:
>
>> Hi,
>>
>> using org-ref by John Kitchin bibliography html export works fine as long
>> as I don’t activate the org-html-theme bigblow by Fabrice Niessen which I
>> like very much. With this theme the bibliography doesn’t appear in the
>> exported html anymore.
>>
>> Are there any ideas what I could do?
>>
>> Johannes
>>
>
>
> --
> John
>
> ---
> Professor John Kitchin
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu
>
>
>
>

-- 
John

---
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu


Re: [O] org-ref bibliography html export & bigblow

2016-08-14 Thread Johannes Brauer
In the meantime I figured out that all works fine if the bibliography is a 
org-mode level 1 headline:

* bibliography:referenzen.bib
But if you write

bibliography:referenzen.bib

the bibliography is in the html but not displayed

Johannes
Am 14.08.2016 um 18:43 schrieb John Kitchin 
>:

Is the bibliography actually in the html but not displayed in a browser?

It is hard to see how a theme would change the link export, although via few it 
might change what is visible.


On Saturday, August 13, 2016, Johannes Brauer 
> wrote:
Hi,

using org-ref by John Kitchin bibliography html export works fine as long as I 
don’t activate the org-html-theme bigblow by Fabrice Niessen which I like very 
much. With this theme the bibliography doesn’t appear in the exported html 
anymore.

Are there any ideas what I could do?

Johannes


--
John

---
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu





[O] Bug: keys C-c C-c do not update in Emacs app, but in Terminal emacs [8.2.10 (release_8.2.10 @ /Users/home/.emacs.d/elpa/org-20160801/)]

2016-08-14 Thread Maria Shinoto
Message-ID: 





Hi,

I am learning Org-mode and Emacs on a Mac, and got everything working
fine, except for the key combination C-c C-c. It should update states in
contexts, e.g. toggle the state of a check box and the counter of tasks
finished in the header of such a check box list.

In the Emacs UI for Mac (not Aquamac), this key combination does not
work. It does work when I call emacs from the terminal though.

Is there something wrong with the GUI?

Thanks for your help and for your efforts,
Maria



Emacs  : GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS 
apple-appkit-1265.21)

 of 2015-04-11 on builder10-9.porkrind.org
Package: Org-mode version 8.2.10 (release_8.2.10 @ 
/Users/home/.emacs.d/elpa/org-20160801/)


current state:
==
(setq
 org-tab-first-hook '(org-hide-block-toggle-maybe
  org-src-native-tab-command-maybe
  org-babel-hide-result-toggle-maybe
  org-babel-header-arg-expand)
 org-speed-command-hook '(org-speed-command-default-hook
  org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-confirm-shell-link-function 'yes-or-no-p
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-from-is-user-regexp "\\"
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
 org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '(#[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-archive-hook '(org-attach-archive-delete-maybe)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
  org-babel-execute-safely-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
  org-cycle-hide-inline-tasks org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-agenda-files '("~/mylife.org")
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 )



Re: [O] org-ref bibliography html export & bigblow

2016-08-14 Thread John Kitchin
Is the bibliography actually in the html but not displayed in a browser?

It is hard to see how a theme would change the link export, although via
few it might change what is visible.


On Saturday, August 13, 2016, Johannes Brauer 
wrote:

> Hi,
>
> using org-ref by John Kitchin bibliography html export works fine as long
> as I don’t activate the org-html-theme bigblow by Fabrice Niessen which I
> like very much. With this theme the bibliography doesn’t appear in the
> exported html anymore.
>
> Are there any ideas what I could do?
>
> Johannes
>


-- 
John

---
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu


Re: [O] Bug: keys C-c C-c do not update in Emacs app, but in Terminal emacs

2016-08-14 Thread Maria Shinoto

Aloha Axel and Tom,

You both pushed me in the right direction.

I did a clean install and did not load any new packages, now it works 
like it should.



Thanks and all the best from Japan,
Maria




Am 14.08.16 um 17:09 schrieb Maria Shinoto:

Axel,

o yes! I made a mistake in my test file on the Macbook. Now, with the
list as a real list, the setup on my Macbook works great.

So, the problem is definitely the emacs/org-mode set up on my iMac, the
list file there was OK.

I will now re-install the whole emacs application and try to keep
everything clean. Then I will test exactly the same way like on the
Macbook and write again on this list, whether it worked.


Best and thanks a lot,
Maria



Am 14.08.16 um 16:46 schrieb Axel Kielhorn:



Am 14.08.2016 um 08:55 schrieb Maria Shinoto :

Now, I will explain the behaviour on my Macbook.

My test buffer (file, in org mode) looks like this:

*
* A test todo [/]
 [X] checkbox
 [ ] another checkbox
*

Two things I observe:

**1** As far as I understand, the counter in the headline should
update with C-c C-c. Instead, I am asked to enter a tag, and this tag
will then be set.


You have to be on the [/].
If you are anywhere else on the line the default behavior is indeed to
set a tag.



**2** When I try C-c C-c with the cursor on the checkbox line, it
should change the state of the line and that of the counter -- if I
understand correctly. But I get another message "C-c C-c can do
nothing useful at this location.“


Right, because you are not in a list, use:

*
* A test todo [/]
 - [X] checkbox
 - [ ] another checkbox
*

BTW, you should get exactly the same behavior in the shell.

In case you want to use the same Emacs in the shell and in GUI, add

/Applications/Emacs\ 24.5.app/Contents/MacOS/
  ^^^ adjust as appropriate

to your PATH.

Axel
—
And again we see the usefulness of the ECM, long live the ECM.








Re: [O] Bug: keys C-c C-c do not update in Emacs app, but in Terminal emacs

2016-08-14 Thread Maria Shinoto

Axel,

o yes! I made a mistake in my test file on the Macbook. Now, with the 
list as a real list, the setup on my Macbook works great.


So, the problem is definitely the emacs/org-mode set up on my iMac, the 
list file there was OK.


I will now re-install the whole emacs application and try to keep 
everything clean. Then I will test exactly the same way like on the 
Macbook and write again on this list, whether it worked.



Best and thanks a lot,
Maria



Am 14.08.16 um 16:46 schrieb Axel Kielhorn:



Am 14.08.2016 um 08:55 schrieb Maria Shinoto :

Now, I will explain the behaviour on my Macbook.

My test buffer (file, in org mode) looks like this:

*
* A test todo [/]
 [X] checkbox
 [ ] another checkbox
*

Two things I observe:

**1** As far as I understand, the counter in the headline should update with 
C-c C-c. Instead, I am asked to enter a tag, and this tag will then be set.


You have to be on the [/].
If you are anywhere else on the line the default behavior is indeed to set a 
tag.



**2** When I try C-c C-c with the cursor on the checkbox line, it should change the 
state of the line and that of the counter -- if I understand correctly. But I get 
another message "C-c C-c can do nothing useful at this location.“


Right, because you are not in a list, use:

*
* A test todo [/]
 - [X] checkbox
 - [ ] another checkbox
*

BTW, you should get exactly the same behavior in the shell.

In case you want to use the same Emacs in the shell and in GUI, add

/Applications/Emacs\ 24.5.app/Contents/MacOS/
  ^^^ adjust as appropriate

to your PATH.

Axel
—
And again we see the usefulness of the ECM, long live the ECM.






Re: [O] Bug: keys C-c C-c do not update in Emacs app, but in Terminal emacs

2016-08-14 Thread Axel Kielhorn

> Am 14.08.2016 um 08:55 schrieb Maria Shinoto :
> 
> Now, I will explain the behaviour on my Macbook.
> 
> My test buffer (file, in org mode) looks like this:
> 
> *
> * A test todo [/]
>  [X] checkbox
>  [ ] another checkbox
> *
> 
> Two things I observe:
> 
> **1** As far as I understand, the counter in the headline should update with 
> C-c C-c. Instead, I am asked to enter a tag, and this tag will then be set.

You have to be on the [/].
If you are anywhere else on the line the default behavior is indeed to set a 
tag. 

> 
> **2** When I try C-c C-c with the cursor on the checkbox line, it should 
> change the state of the line and that of the counter -- if I understand 
> correctly. But I get another message "C-c C-c can do nothing useful at this 
> location.“

Right, because you are not in a list, use:

*
* A test todo [/]
 - [X] checkbox
 - [ ] another checkbox
*

BTW, you should get exactly the same behavior in the shell.

In case you want to use the same Emacs in the shell and in GUI, add

/Applications/Emacs\ 24.5.app/Contents/MacOS/
  ^^^ adjust as appropriate

to your PATH.

Axel
— 
And again we see the usefulness of the ECM, long live the ECM. 




Re: [O] Bug: keys C-c C-c do not update in Emacs app, but in Terminal emacs

2016-08-14 Thread Maria Shinoto

I appreciate your help! It seems, the problem is a bit more difficult...

Before accessing this mailing list, I have already done some 
installations and updates (whole emacs, org mode packages etc.), but all 
to the same result. I get along with R, Latex, Pandoc etc., in console 
mode or GUI, yet I could solve all problems, even with mixed languages 
like German, Japanese, English and Korean. But emacs, after 10 days, 
still is opaque.


Now I tried another new installation of Emacs GUI on another Mac (both 
Macs run El Capitan, 10.12), but I get another strange behaviour with 
this unmodified version.



Now, I will explain the behaviour on my Macbook.


My test buffer (file, in org mode) looks like this:

*
* A test todo [/]
  [X] checkbox
  [ ] another checkbox
*

Two things I observe:

**1** As far as I understand, the counter in the headline should update 
with C-c C-c. Instead, I am asked to enter a tag, and this tag will then 
be set.


**2** When I try C-c C-c with the cursor on the checkbox line, it should 
change the state of the line and that of the counter -- if I understand 
correctly. But I get another message "C-c C-c can do nothing useful at 
this location."


When asking for the org-version (M-x org-version), I get the same answer 
like on my iMac:


*
Org-mode version 8.2.10 (release_8.2.10 @ 
/Applications/Emacs.app/Contents/Resources/lisp/org/)

*

My file path looks a bit better on the new installation without org-mode 
update:


*
("/Library/Application Support/Emacs/24.5/site-lisp"
"/Library/Application Support/Emacs/site-lisp"
"/Applications/Emacs.app/Contents/Resources/site-lisp"
"/Applications/Emacs.app/Contents/Resources/lisp"
"/Applications/Emacs.app/Contents/Resources/lisp/vc"
"/Applications/Emacs.app/Contents/Resources/lisp/url"
"/Applications/Emacs.app/Contents/Resources/lisp/textmodes"
"/Applications/Emacs.app/Contents/Resources/lisp/progmodes"
"/Applications/Emacs.app/Contents/Resources/lisp/play"
"/Applications/Emacs.app/Contents/Resources/lisp/org"
"/Applications/Emacs.app/Contents/Resources/lisp/nxml"
"/Applications/Emacs.app/Contents/Resources/lisp/net"
"/Applications/Emacs.app/Contents/Resources/lisp/mh-e"
"/Applications/Emacs.app/Contents/Resources/lisp/mail"
"/Applications/Emacs.app/Contents/Resources/lisp/leim"
"/Applications/Emacs.app/Contents/Resources/lisp/language"
"/Applications/Emacs.app/Contents/Resources/lisp/international"
"/Applications/Emacs.app/Contents/Resources/lisp/gnus"
"/Applications/Emacs.app/Contents/Resources/lisp/eshell"
"/Applications/Emacs.app/Contents/Resources/lisp/erc"
"/Applications/Emacs.app/Contents/Resources/lisp/emulation"
"/Applications/Emacs.app/Contents/Resources/lisp/emacs-parallel"
"/Applications/Emacs.app/Contents/Resources/lisp/emacs-lisp"
"/Applications/Emacs.app/Contents/Resources/lisp/cedet"
"/Applications/Emacs.app/Contents/Resources/lisp/calendar"
"/Applications/Emacs.app/Contents/Resources/lisp/calc"
"/Applications/Emacs.app/Contents/Resources/lisp/obsolete")
*


I hope that someone can guide me to a solution, otherwise Emacs looks 
inaccessible for me... :(


Best,
Maria



Am 14.08.16 um 11:17 schrieb Thomas S. Dye:

I'm not an expert, but instead of trying to adjust the initialization
files I'd re-install Org mode following the instructions here:
http://orgmode.org/worg/org-faq.html#installing-via-elpa.

hth,
Tom

Maria Shinoto writes:


So should I delete the line

 /Applications/Emacs.app/Contents/Resources/lisp/org

and leave the one on top

 /Users/mariashinoto/.emacs.d/elpa/org-20160808/

?

Maria




Am 14.08.16 um 10:35 schrieb Thomas S. Dye:

According to the web site, you should see the path to the latest
Org mode.  Yours points to the Org mode that ships with Emacs.  If
you've updated Org mode independently of Emacs, then Emacs isn't finding
the latest Org mode correctly.

hth,
Tom

Maria Shinoto writes:


and again...

I got the load-path variable with C-h v load-path RET, it looks like this:


load-path is a variable defined in `C source code'.
Its value is
("/Users/mariashinoto/.emacs.d/elpa/org-20160808/"
"/usr/share/emacs/site-lisp/org" "/Library/Application
Support/Emacs/24.5/site-lisp" "/Library/Application
Support/Emacs/site-lisp"
"/Applications/Emacs.app/Contents/Resources/site-lisp"
"/Applications/Emacs.app/Contents/Resources/lisp"
"/Applications/Emacs.app/Contents/Resources/lisp/vc"
"/Applications/Emacs.app/Contents/Resources/lisp/url"
"/Applications/Emacs.app/Contents/Resources/lisp/textmodes"
"/Applications/Emacs.app/Contents/Resources/lisp/progmodes"
"/Applications/Emacs.app/Contents/Resources/lisp/play"
"/Applications/Emacs.app/Contents/Resources/lisp/org"

^^


"/Applications/Emacs.app/Contents/Resources/lisp/nxml"
"/Applications/Emacs.app/Contents/Resources/lisp/net"
"/Applications/Emacs.app/Contents/Resources/lisp/mh-e"
"/Applications/Emacs.app/Contents/Resources/lisp/mail"