[O] Org release_9.0 hangs

2017-01-17 Thread Shiyuan
experiencing hanging problems. My case is more dramatic, it always happen, even when I try to open an empty org file. Everything seems good for release_8.3.6. The changes introducing in release_9.0 seems to cause the hanging problem. Any suggesting in how to track down the problem? Shiyuan

Re: [O] xml-rpc-request error for wordpress

2015-01-22 Thread Shiyuan
Changing the blog's url to https solves the problem. Thank you Puneeth. Shiyuan On Wed, Jan 21, 2015 at 10:33 PM, Puneeth Chaganti puncha...@gmail.com wrote: Shiyuan, Wordpress has moved all the blogs to https. You will need to change your blog's url to https://myname.wordpress.com

[O] xml-rpc-request error for wordpress

2015-01-17 Thread Shiyuan
Hi all, I have been using org2blog/wp package to manage my wordpress blog. It had been woking very well until last week when things started to fail. org2blog/wp uses xml-rpc-request to connect to wordpress.com which returns the 301 Error. I haven't changed my emacs config for quite a long time.

Re: [O] Babel-R TBLFM example

2014-08-26 Thread Shiyuan
Yes, it works. Thanks, Sebastien. Shiyuan On Mon, Aug 25, 2014 at 12:51 AM, Sebastien Vauban sva-n...@mygooglest.com wrote: Shiyuan wrote: I am looking at a simpler example, the pie-chart example as in this link: http://orgmode.org/worg/org-contrib/babel/intro.html#literate-programming

Re: [O] Babel-R TBLFM example

2014-08-24 Thread Shiyuan
how the conversion works, and how Babel passes the table to R. Any explanation is appreciated. Which function/file should I look at? Are there working examples for passing a table to R? Thanks. Shiyuan -- #+name: directories #+begin_src shell :results replace cd ~ du

[O] Mobile-Org Issues

2014-08-18 Thread Shiyuan
adding a capture note, the screen is frozen. Thanks. Shiyuan.

Re: [O] org-table: missing vertical boundary when exported

2014-08-12 Thread Shiyuan
also fix the problem. But could you explain why using the HTML_HEAD_EXTRA is more advisable than setting the table style=border:2px directly as table attributes? What would you suggest if we want some tables have orders and others don't have borders in the same html webpage? Thank you. Shiyuan

Re: [O] org-table: missing vertical boundary when exported

2014-08-09 Thread Shiyuan
can specify so that Org would not use the border attribute but use the style attribute instead when exporting to html? Thanks. Shiyuan On Tue, Jun 10, 2014 at 10:34 PM, Shiyuan gshy2...@gmail.com wrote: Yes, it seems to be related to the browser or css style stuff. In fact, for the attached

[O] define a new export backend

2014-07-31 Thread Shiyuan
-derived-backend. I can see the new backend showing up in the export menu(C-c C-e), but my transcoder for bold is not used. Any help or reference pointer is appreciated. Shiyuan - (org-export-define-derived-backend 'my-html-enlish 'html :traslate-alist '((bold . my-org

Re: [O] define a new export backend

2014-07-31 Thread Shiyuan
Oops, I've asked the dumpest question ever in the mailing list :) That's what happens when working late. Thanks for reply. On Thu, Jul 31, 2014 at 4:41 AM, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Hello, Nicolas Richard theonewiththeevill...@yahoo.fr writes: Oops, I forgot to

[O] org-latex filters

2014-07-30 Thread Shiyuan
(by org-export-define-backend). When shall we use a transcode and when shall we use a filter? Thank you. Shiyuan

Re: [O] Babel-R TBLFM example

2014-07-29 Thread Shiyuan
Thanks Bastien. I see ob-R.el from org-mode repos has been updated. So is the org-R from git-repos ready to use? Could you suggest a good place to start learning the new org-R? The source file ob-R.el? Shiyuan On Mon, Jul 28, 2014 at 6:21 AM, Bastien b...@gnu.org wrote: Hi Shiyuan, Shiyuan

[O] key collision for auto completion

2014-07-13 Thread Shiyuan
and I need to rebind the key. I digged into the org.el file but failed to locate the code for key binding. Any pointer or hints are appreciated. In particular, what command is M-tab supposed to be bound to for auto completion for the special symbols? Thanks. Shiyuan

[O] How to show the complete syntax tree

2014-07-13 Thread Shiyuan
... ... What's the recommended way to show the syntax tree? Thanks. Shiyuan

[O] Change font size temporarily for pdf export

2014-06-29 Thread Shiyuan
Hi, When a src code block is exported to latex-pdf, the src lines sometimes are too long to fit in a pdf line. One easy way to handle this problem I can think of is to temporarily change font size. What is the best way to do that in org model? Say that if I have two src blocks, I want the

Re: [O] Change font size temporarily for pdf export

2014-06-29 Thread Shiyuan
I found one solution which surrounds the src block by #+LATEX: \scriptsize #+BEGIN_SRC R print(This block is in scriptsize) #+END_SRC R #+LATEX: \normalize On Sat, Jun 28, 2014 at 11:09 PM, Shiyuan gshy2...@gmail.com wrote: Hi, When a src code block is exported to latex-pdf, the src

Re: [O] R src block not highlighted in pdf

2014-06-28 Thread Shiyuan
-interaction nonstopmode -output-directory %o %f pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f)) On Fri, Jun 27, 2014 at 3:37 PM, Nick Dokos ndo...@gmail.com wrote: Shiyuan gshy2...@gmail.com writes: I use the following setting. The keywords are correctly recognized

[O] R src block not highlighted in pdf

2014-06-27 Thread Shiyuan
/archive/html/emacs-orgmode/2010-07/msg00379.html which suggests setting the variable org-export-latex-listings. This variable seems no longer exist in Org 8.2.6. What variables shall I set so that the R code is syntax highlighted when exported to pdf in Org mode 8.2.6? Thanks. Shiyuan

Re: [O] R src block not highlighted in pdf

2014-06-27 Thread Shiyuan
in wonder.” --Socrates ((λ (x) (x x)) (λ (x) (x x))) “Life has become immeasurably better since I have been forced to stop taking it seriously.” --Thompson On Fri, Jun 27, 2014 at 12:23 PM, Shiyuan gshy2...@gmail.com wrote: Hi, I have a R code src block in a org file. When exported

[O] Babel-R TBLFM example

2014-06-25 Thread Shiyuan
supposed to be deprecated? Thanks. Shiyuan

[O] Babel-R vs. ESS

2014-06-25 Thread Shiyuan
would use, which option (Babel-R vs ESS) is more advisable? I do want a nice integration of graphics/source code into a paper/slides. Any suggestions/options are appreciated. Shiyuan

Re: [O] LaTex best practice in org-mode

2014-06-24 Thread Shiyuan
Hi Thorsten, Thank you very much for the detailed step-by-step instructions. I will try it out. BTW: your email is very well-structured . Do you write your email in org-mode or some other emacs mode which can recognize [C-h f function-name RET] and insert the results into the email? Shiyuan

[O] LaTex best practice in org-mode

2014-06-22 Thread Shiyuan
Hi all, Hi all, We can write LaTex directly in org-mode without put it in a SRC block. When the code is exported, the latex syntax will be handled correctly to html or pdf. That's very nice part of org mode. However, if we don't put the latex code into a SRC block, the latex syntax is not

Re: [O] babel python example not reproducible

2014-06-17 Thread Shiyuan
/#+end_example for the second evaluation. I want to hunt down the problem. Any hints/helps is greatly appreciated. Shiyuan On Mon, Jun 16, 2014 at 9:12 AM, Doyley, Marvin mdoy...@ur.rochester.edu wrote: Hi Eric, Thanks for showing me the smart way of doing this. cheers, M --

Re: [O] babel python example not reproducible

2014-06-16 Thread Shiyuan
The two setting doesn't seem to have effect. (setq python-shell-interpreter ipython) (setq python-shell-interpreter-args --pylab) When I did `C-c C-c` on the SRC block to execute the code, emacs created a buffer with the interior python process. When I switched to the process, I saw it is python

Re: [O] Remove the build-in orgmode

2014-06-11 Thread Shiyuan
Thanks for the reply and the tips. Just add another small tip to this thread: `-Q`/`-q` skips ELPA load path. So we need to manually add the ELPA load path to the debugorg.el. It looks like that by default the ELPA org-mode load path is ~/.emacs.d/org/$DATE On Fri, Jun 6, 2014 at 10:57 PM,

[O] babel python example not reproducible

2014-06-10 Thread Shiyuan
Hi, I try to understand the difference of session and non-session as in http://orgmode.org/manual/Results-of-evaluation.html#Results-of-evaluation http://orgmode.org/manual/Results-of-evaluation.html#Results-of-evaluation However, I copy-paste the example but have different result. It looks

Re: [O] org-table: missing vertical boundary when exported

2014-06-10 Thread Shiyuan
wrote: On 2014-06-07 17:15, Shiyuan wrote: I am following the manual example http://orgmode.org/worg/org-tutorials/tables.html [1]. But the two vertical boundary line on the very left and right is not showing up when exported to html. Anything I am missing? Thanks. My guess

Re: [O] babel setup

2014-06-09 Thread Shiyuan
AM, Shiyuan wrote: Hi all, I am using Emacs 24.3.9 + org-mode 8.2.6(from ELPA) I followed this instruction http://orgmode.org/worg/org-contrib/babel/languages.html#configure and added the following to my .emacs file. (org-babel-do-load-languages 'org-babel-load

Re: [O] babel setup

2014-06-09 Thread Shiyuan
Yes. Putting (package-initialize) immediately before the (org-babel-do-load-languages ...) solves the problem. On Mon, Jun 9, 2014 at 7:54 AM, Jorge A. Alfaro-Murillo jorge.a.alf...@gmail.com wrote: Shiyuan gshy2...@gmail.com writes: Hi all, I am using Emacs 24.3.9 + org-mode 8.2.6(from

Re: [O] babel setup

2014-06-09 Thread Shiyuan
, 2014 at 10:54 PM, Jorge A. Alfaro-Murillo jorge.a.alf...@gmail.com wrote: Shiyuan gshy2...@gmail.com writes: Hi all, I am using Emacs 24.3.9 + org-mode 8.2.6(from ELPA) I followed this instruction http://orgmode.org/worg/org-contrib/babel/languages.html#configure and added

[O] babel setup

2014-06-08 Thread Shiyuan
-lisp . t))) After that, org-mode mysteriously switched back to the old version 7.9. Another problem is that export command C-c C-e no longer works and generates error: Symbol's function definition is void: org-defvaralias. Is there any step I missed? Thanks. Shiyuan

[O] org-table: missing vertical boundary when exported

2014-06-07 Thread Shiyuan
Hi, I am following the manual example http://orgmode.org/worg/org-tutorials/tables.html. But the two vertical boundary line on the very left and right is not showing up when exported to html. Anything I am missing? Thanks. | | N | N^2 | N^3 | N^4 | sqrt(n) | sqrt[4](N) |

Re: [O] org-table: missing vertical boundary when exported

2014-06-07 Thread Shiyuan
I use Emacs 24.3.9, org 8.2.6. I viewed the html on Chrome/Firebox. I don't use emacs-w3m. But could it be the problem of browsers? Thanks. On Sat, Jun 7, 2014 at 2:40 PM, Thorsten Jolitz tjol...@gmail.com wrote: Shiyuan gshy2...@gmail.com writes: Hi, I am following the manual example

Re: [O] export org-table to wiki code

2014-06-06 Thread Shiyuan
I mean the pipe syntax as in http://en.wikipedia.org/wiki/Help:Table On Fri, Jun 6, 2014 at 1:31 AM, Loris Bennett loris.benn...@fu-berlin.de wrote: Hi, Shiyuan gshy2...@gmail.com writes: Hi, Is there a way to export a org-table to wiki code? Thanks. Shiyuan I don't think

Re: [O] src blocks not fontified

2014-06-05 Thread Shiyuan
I need to download the htmlize.el from the org-mode git repos separately. After that, htmlize works magically and highlights the syntax in the resulting html without any extra markup. Thanks for the help. On Tue, Jun 3, 2014 at 11:53 AM, Nick Dokos ndo...@gmail.com wrote: Shiyuan gshy2

Re: [O] src blocks not fontified

2014-06-03 Thread Shiyuan
at 3:46 PM, Omid omidl...@gmail.com wrote: One way is to use the package htmlize, which you can install from ELPA using M-x package-install RET htmlize http://www.emacswiki.org/emacs/Htmlize Omid Sent from my Emacs On 06/01/2014 06:40 PM, Shiyuan wrote: That solves the problem. Thanks

[O] src blocks not fontified

2014-06-01 Thread Shiyuan
setup steps.Do I need to do any setup in my .emacs if I just use the built-in org? Thanks. Shiyuan

[O] Remove the build-in orgmode

2014-06-01 Thread Shiyuan
completely so that even if I start emacs with -Q, emacs still use the new version 8.2.6 from ELPA. Thanks. Shiyuan

Re: [O] src blocks not fontified

2014-06-01 Thread Shiyuan
. On Sun, Jun 1, 2014 at 3:17 PM, Omid omidl...@gmail.com wrote: Hi Shiyuan, Add (setq org-src-fontify-natively t) to your .emacs. Omid Sent from my Emacs On 06/01/2014 06:13 PM, Shiyuan wrote: Hi, I am using Emacs 24.3 with the built-in org mode(7.9.3). The src code block