Re: [O] Org publish restrict to certain levels

2012-03-28 Thread Xin Shi
Thank you!

Xin



On Wed, Mar 28, 2012 at 3:20 AM, Nick Dokos nicholas.do...@hp.com wrote:

 Bastien b...@gnu.org wrote:

  Hi Nick,
 
  Nick Dokos nicholas.do...@hp.com writes:
 
   Unfortunately, there is a bug in org-latex.el, in
 org-export-latex-subcontent
  
   ,
   |   ((listp org-export-latex-low-levels)
   |(if (string-match % ends low level$
   |  (buffer-substring (point-at-bol 0) (point)))
   |(delete-region (point-at-bol 0) (point))
   |  (insert (car org-export-latex-low-levels) \n)) 
  org-export-latex-low-levels cannot be nil here: car will blow up
   |(insert (format (nth 2 org-export-latex-low-levels)
  or here: format will blow up
   |heading
   |(if label (format \\label{%s} label) )))
   |(insert (org-export-latex-content content))
   |(cond ((stringp subcontent) (insert subcontent))
   |  ((listp subcontent) (org-export-latex-sub subcontent)))
   |(insert (nth 1 org-export-latex-low-levels)
   | %% ends low level\n))
   |
   `
 
  This is fixed -- you can now set `org-export-latex-low-levels' to nil,
  low levels won't be exported.
 

 Verified - thanks!

 Nick



[O] Org publish restrict to certain levels

2012-02-23 Thread Xin Shi
Hello Experts,

I have a relatively long and detailed document maintained in org but only
won't to publish into LaTeX to the first 3 levels, because the rest of the
levels are too many details. If I use COMMENT into every of them, looks
very cumbersome. I'm wondering if there is any in-file config to enable
this.

Thanks!

Xin


[O] How to add entry in the Agenda view

2011-08-02 Thread Xin Shi
Hello Experts,

I am using orgmode 7.7 in Emacs 23.3.

I usually have a dedicated window (frame) for Org Agenda view. I found it
would be very convient to be able to add item directly from the Agenda
buffer, however, I don't see that command in the manual. (A closer one is
the refill, which moves the entry to another category)

Can anyone help?

Thanks!

Xin


[O] Double Quotation not translated in sections for LaTeX

2011-06-21 Thread Xin Shi
Hello,

I'm using the org-mode 7.5 in Emacs 23.3.

I noticed this lines in org:

** ``Internal'' and External Example

   ``Internal'' and External Examples in paragraph

will result in tex:

\section{``Internal'' and External Example}
\label{sec-1_1}

   ``Internal'' and ``External'' Examples in paragraph

One can see that the  quotation in the heading line is not translated
properly into TeX.

Is this a bug?

Thanks!

Xin


[O] How to highlight the LaTeX fragments inside orgmode

2011-06-21 Thread Xin Shi
Hello,

I'm looking for a way to highlight the syntax of the LaTeX fragments inside
orgmode.

I have tried to put the LaTeX parts into:

#+BEGIN_SRC LaTeX
#+END_SRC

But the output tex file will have the
\begin{verbatim}
\end{verbatim}

surrounding the parts. I'm wondering if it's possible to #+BEGIN_LaTeX: also
highlight the syntax inside the block?

Thanks!

Xin


Re: [O] How to highlight the LaTeX fragments inside orgmode

2011-06-21 Thread Xin Shi
Hi Eric,

Thanks for your reply!

I added these two lines into .emacs and it worked!

(require 'ob-latex)
(setq org-src-fontify-natively t)

However, I noticed something else is broken with the ob-latex:

The C-c C-e d (export to PDF and open the PDF file) is no longer working.
Maybe a bug in 7.5?

Best,
Xin


On Tue, Jun 21, 2011 at 3:35 PM, Eric Schulte schulte.e...@gmail.comwrote:

 Xin Shi shixin...@gmail.com writes:

  Hello,
 
  I'm looking for a way to highlight the syntax of the LaTeX fragments
 inside
  orgmode.
 
  I have tried to put the LaTeX parts into:
 
  #+BEGIN_SRC LaTeX
  #+END_SRC
 
  But the output tex file will have the
  \begin{verbatim}
  \end{verbatim}
 
  surrounding the parts. I'm wondering if it's possible to #+BEGIN_LaTeX:
 also
  highlight the syntax inside the block?
 
  Thanks!
 
  Xin

 Hi Xin,

 Try the following syntax

 #+begin_src latex :exports results :results code
  ...
 #+end_src

 Making sure that you have the ob-latex.el loaded.

 Note that you can set the two header arguments on the subtree or the
 file level so that you don't have to continually re-type them.  See the
 header arguments portion of the manual for information on how to do
 this.

 Best -- Eric

 --
 Eric Schulte
 http://cs.unm.edu/~eschulte/



Re: [O] How to highlight the LaTeX fragments inside orgmode

2011-06-21 Thread Xin Shi
Thanks. Maybe it's just not working here.

Also, I got this question every time:

Evaluate this latex code block on your system? (y or n)

Are there anyway to turn accept all?

Xin



On Tue, Jun 21, 2011 at 4:49 PM, Nick Dokos nicholas.do...@hp.com wrote:

 Xin Shi shixin...@gmail.com wrote:

 
  However, I noticed something else is broken with the ob-latex:
 
  The C-c C-e d (export to PDF and open the PDF file) is no longer working.
 Maybe a bug in 7.5?
 

 Works fine here: Org-mode version 7.5 (baseline.324.ga0bc.dirty)

 Nick



Re: [O] How to highlight the LaTeX fragments inside orgmode

2011-06-21 Thread Xin Shi
Thank you!

P.S.  Although this works, I still think for my purpose of just want to see
the syntax of the LaTeX highlight, this begin_src latex might be a bit
overkill. It would be nice the begin_latex have the option to do this job.

Xin


On Tue, Jun 21, 2011 at 5:05 PM, Eric Schulte schulte.e...@gmail.comwrote:

 Xin Shi shixin...@gmail.com writes:

  Thanks. Maybe it's just not working here.
 
  Also, I got this question every time:
 
  Evaluate this latex code block on your system? (y or n)
 
  Are there anyway to turn accept all?
 

 the following will disable this prompt

 (setq org-confirm-babel-evaluate nil)

 Best -- Eric

 
  Xin
 
 
 
  On Tue, Jun 21, 2011 at 4:49 PM, Nick Dokos nicholas.do...@hp.com
 wrote:
 
  Xin Shi shixin...@gmail.com wrote:
 
  
   However, I noticed something else is broken with the ob-latex:
  
   The C-c C-e d (export to PDF and open the PDF file) is no longer
 working.
  Maybe a bug in 7.5?
  
 
  Works fine here: Org-mode version 7.5 (baseline.324.ga0bc.dirty)
 
  Nick
 

 --
 Eric Schulte
 http://cs.unm.edu/~eschulte/



[O] TAB not working on example line : ?

2011-06-05 Thread Xin Shi
Hello Experts,

I'm using orgmode 7.5 on Emacs 23.3. The TAB key used to work on version
7.3, where a line like the following:

* Section One

  The text

 : this is the example line   -- If I use TAB here, this line
will be aligned to The text in the above line.

However, in the 7.5, it's no longer working this way.

Any suggestions or explanations?

Thanks!

Xin


Re: [O] TAB not working on example line : ?

2011-06-05 Thread Xin Shi
Thank you Nicolas!

Xin


On Sun, Jun 5, 2011 at 11:46 AM, Nicolas Goaziou n.goaz...@gmail.comwrote:

 Hello,

 Xin Shi shixin...@gmail.com writes:

  I'm using orgmode 7.5 on Emacs 23.3. The TAB key used to work on version
  7.3, where a line like the following:
 
  * Section One
 
The text
 
   : this is the example line   -- If I use TAB here, this
 line
  will be aligned to The text in the above line.
 
  However, in the 7.5, it's no longer working this way.

 According to the manual (11.3 Literal examples) :

For simplicity when using small examples, you can also start the
example lines with a colon followed by a space. There may also be
additional whitespace before the colon

 This means indent function shouldn't remove the spaces you inserted at
 the beginning of the line. I guess it allows examples to stand out this
 way.

 Regards,

 --
 Nicolas Goaziou



Re: [O] Orgmode LaTeX export special character in Title

2011-06-03 Thread Xin Shi
Hi Nick,

I saw there is no problem in the tex file. It's some other problem with my
tex files which seems not happy with that one in title. I tried on a simple
version, it works. Thank you!

Xin


On Fri, Jun 3, 2011 at 1:32 PM, Nick Dokos nicholas.do...@hp.com wrote:

 Xin Shi shixin...@gmail.com wrote:


  Thanks for your reply.  I updated my org to 7.5 and the $D$ worked in
  the title. However, if I use \(D\) in the title, it says: undefined
  control sequence
 
  I tried \( ... \) in body, its OK.
 

 Works fine here:

 --8---cut here---start-8---
 #+TITLE:  This is a test for \(D\)

 * foo
 bar
 --8---cut here---end---8---

 What does the \title in the produced tex file look like? Mine looks
 like this:

 \title{This is a test for \(D\)}

 and it compiles fine.

 Nick



Re: [O] Orgmode LaTeX export special character in Title

2011-06-03 Thread Xin Shi
Hi Nick,

Thanks for your reply.  I updated my org to 7.5 and the $D$ worked in the
title. However, if I use \(D\) in the title, it says:
undefined control sequence

I tried \( ... \) in body, its OK.

Xin


On Thu, Jun 2, 2011 at 10:55 PM, Nick Dokos nicholas.do...@hp.com wrote:

 Xin Shi shixin...@gmail.com wrote:

  If I want to export to LaTeX with the math symbols in the title:
 
  #+TITLE:  This is a test for $D$
 
  I get the $D$ in the PDF. Are there any way to let it behave the same as
 in
  the body for the title?
 

 This works fine here:

 GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.22.0)
 Org-mode version 7.5 (baseline.263.gcf708)

 Carsten pushed a fix back in November of last year. If your org-mode is
 older,
 it's time to upgrade.

 NB: it's probably a better practice to use the \(...\) inline math
 delimiters instead
 of $...$

 Nick



[O] Orgmode LaTeX export special character in Title

2011-06-02 Thread Xin Shi
Hello,

If I want to export to LaTeX with the math symbols in the title:

#+TITLE:  This is a test for $D$

I get the $D$ in the PDF. Are there any way to let it behave the same as in
the body for the title?

Thanks!

Xin


Re: [Orgmode] How to write special LaTeX symbols

2011-01-20 Thread Xin Shi
Thanks for all your response!

I've found this page and it explains the name and hex:
http://www.unicode.org/charts/PDF/U0080.pdf

00F6 ö LATIN SMALL LETTER WITH DIAERESIS

Xin



On Mon, Jan 17, 2011 at 5:33 PM, Bastien bastien.gue...@wikimedia.frwrote:

 Nick Dokos nicholas.do...@hp.com writes:

  It works correctly in headlines, but not in running text. I think [fn:1]
  that it is a bug and that the following patch fixes it:

 I've tested and applied your patch -- thanks for the fix!

 The only problematic situation I can think of is if someone gives this
 as an example:

  C:\Program File\

 ... where the string `\' will not be properly exported; quite a
 borderline case I'd say.

 Best,

 --
  Bastien

___
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


Re: [Orgmode] How to write special LaTeX symbols

2011-01-16 Thread Xin Shi
Hello all,

Thanks for your response!

I can go with the UTF-8 method. The only problem for me now is I don't know
how to input the ö from Emacs.

I've tried the C-x 8 RET, but don't know the name or hex. Any suggestions?

Xin


On Sun, Jan 16, 2011 at 8:54 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote:

 Nick Dokos nicholas.do...@hp.com writes:

  Nick Dokos nicholas.do...@hp.com wrote:
 
  Alternatively, you can use UTF-8 in your org file and write
 Schr=C3=B6dinger
  explicitly.  This will survive the LaTeX export intact and the
  \usepackage[utf8]{inputenc} in the LaTeX file will do the right thing
  with it.[fn:2]
 
  [fn:2] I'm not sure whether it will survive the email trip
  though. Here's hoping that it will.
 
 
  Well, it didn't survive the email trip: I messed up the encoding I
  guess, but I can't fight with email right now. Sorry about that.
  I'm attaching my test file: I hope that will survive.

 Well, actually, that's strange as it did survive the email trip as far
 as I can see!  Schrödinger came out just fine when I viewed your
 original email.  Are you sure it's not a problem with your email viewer?

 --
 : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
 : using Org-mode version 7.4 (release_7.4.199.g8be1.dirty)

___
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


[Orgmode] How to write special LaTeX symbols

2011-01-15 Thread Xin Shi
Hello experts,

I want to export org file to PDF using LaTeX for certain special symbols.
For example, in the plain LaTeX:

Shr\odinger   will give the o with two dots on top. Notice that the  is a
double quotation mark.

However, when org translate that into LaTeX, it will become two single
quotation mark! \'' (it's very hard to see the difference, but the pdf
version will see the wrong result).

Could someone tell me how to do that?

Thanks!

Xin
___
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


Re: [Orgmode] No title or date in LaTeX export

2010-08-02 Thread Xin Shi
Hello,

Thank you all ! :)

Xin


On Thu, Jul 29, 2010 at 7:01 PM, John Hendy jw.he...@gmail.com wrote:

 Whoops -- sorry for the duplicate suggestion... a bunch of messages just
 came through!


 On Thu, Jul 29, 2010 at 6:00 PM, John Hendy jw.he...@gmail.com wrote:

 See this: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg20692.html

 Key line to add in your .org header section:

 #+BIND: org-export-latex-title-command 

 When you do C-c C-e p the minibuffer will ask if you want to apply the BIND 
 code. Type yes and that should do it. It's been working for me in 
 eliminating the \maketitle line.


 John

 On Thu, Jul 29, 2010 at 3:31 PM, Xin Shi shixin...@gmail.com wrote:

 Hello Experts,

 When I export the org file to LaTeX, I want no title or date in the first
 page.  Namely, I want these lines to be commented out:

 %\title{XX}
 %\date{X}
 %\maketitle

 So far, I only found
 #+OPTIONS: author:nil  can make:

 %\author{}

 I also tried :

 # Local Variables:
 # org-export-latex-title-command:  
 # End:

 but still saw the \maketitle .

 Any suggestions?

 Thanks!

 Xin


 ___
 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




___
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


[Orgmode] Re: No title or date in LaTeX export

2010-07-29 Thread Xin Shi
Hello,

I found an answer for my question :)

#+OPTIONS: toc:nil
#+TITLE:
#+AUTHOR:
#+DATE:

will do the work.

Xin



On Thu, Jul 29, 2010 at 4:31 PM, Xin Shi shixin...@gmail.com wrote:

 Hello Experts,

 When I export the org file to LaTeX, I want no title or date in the first
 page.  Namely, I want these lines to be commented out:

 %\title{XX}
 %\date{X}
 %\maketitle

 So far, I only found
 #+OPTIONS: author:nil  can make:

 %\author{}

 I also tried :

 # Local Variables:
 # org-export-latex-title-command:  
 # End:

 but still saw the \maketitle .

 Any suggestions?

 Thanks!

 Xin


___
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


Re: [Orgmode] Can org accept letter (a.b.c) as ordered list?

2010-04-29 Thread Xin Shi
Okay. Thanks for this confirmation :)

Xin


On Thu, Apr 29, 2010 at 9:02 AM, Carsten Dominik
carsten.domi...@gmail.comwrote:


 On Apr 27, 2010, at 5:49 PM, Xin Shi wrote:

  Hello Experts,

 I'm wondering if it's easy to make ordered list like this:


 No.

 - Carsten


 1. This is the first level
a. This is in the second level
b. Same level
c. Same ...
 2. This is the first level again

 It is more readable than the current one.

 Thanks!

 Xin

 ___
 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







___
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


[Orgmode] Can org accept letter (a.b.c) as ordered list?

2010-04-27 Thread Xin Shi
Hello Experts,

I'm wondering if it's easy to make ordered list like this:

1. This is the first level
a. This is in the second level
b. Same level
c. Same ...
2. This is the first level again

It is more readable than the current one.

Thanks!

Xin
___
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


Re: [Orgmode] Exporting to HTML opens resulting file

2010-04-08 Thread Xin Shi
I had a similar request before but never get solved. I support this request.



On Thu, Apr 8, 2010 at 4:11 AM, Gary . emacs-orgm...@garydjones.namewrote:

 It seems that when I export to HTML, something, somewhere, opens the
 file so I have yet another buffer open. Is there any way to configure
 that behaviour so that I don't get even more swamped by buffers than I
 am already, or alternatively automatically name the buffer with
 something that I can instruct ido to ignore (setq ido-ignore-buffers
 ...)? Using org-mode 6.21b in emacs 23.1 if it makes any difference.


 ___
 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

___
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


Re: [Orgmode] Exporting to HTML opens resulting file

2010-04-08 Thread Xin Shi
Hi Carsten,

I've tried to set:
(setq org-export-kill-product-buffer-when-displayed t)

But when I use org-export-as-html to export HTML, I can still see the
.html buffer. Am I missing something here?

Thanks!
Xin

On Thu, Apr 8, 2010 at 9:54 AM, Carsten Dominik
carsten.domi...@gmail.comwrote:


 On Apr 8, 2010, at 3:34 PM, Xin Shi wrote:

  I had a similar request before but never get solved. I support this
 request.


 (setq org-export-kill-product-buffer-when-displayed t)

 will do this when the exported file is shown immediately, so
 the buffer will be removed during `C-c C-e b', but not during `C-c C-e h'

 I guess we could have a variable that always removes the buffer.

 - Carsten




 On Thu, Apr 8, 2010 at 4:11 AM, Gary . emacs-orgm...@garydjones.name
 wrote:
 It seems that when I export to HTML, something, somewhere, opens the
 file so I have yet another buffer open. Is there any way to configure
 that behaviour so that I don't get even more swamped by buffers than I
 am already, or alternatively automatically name the buffer with
 something that I can instruct ido to ignore (setq ido-ignore-buffers
 ...)? Using org-mode 6.21b in emacs 23.1 if it makes any difference.


 ___
 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

 ___
 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




___
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


[Orgmode] Turn off pushed to kill ring and clipboard exporting HTML

2010-04-07 Thread Xin Shi
Hello,

When exporting to HTML, the default behavior is to pushed to kill ring and
clipboard. As shown in the message:

HTML export done, pushed to kill ring and clipboard

Are there any way to turn off this push?

Thanks!

Xin
___
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


Re: [Orgmode] Turn off pushed to kill ring and clipboard exporting HTML

2010-04-07 Thread Xin Shi
Thank you!

I never use it.  Just found it annoying when using C-y to paste in Emacs
sometimes :)

Xin


On Wed, Apr 7, 2010 at 1:51 PM, Dan Davison davi...@stats.ox.ac.uk wrote:

 Xin Shi shixin...@gmail.com writes:

  Hello,
 
  When exporting to HTML, the default behavior is to pushed to kill ring
 and
  clipboard. As shown in the message:
 
  HTML export done, pushed to kill ring and clipboard
 
  Are there any way to turn off this push?

 (setq org-export-copy-to-kill-ring nil)

 Or use customize to do the same.

 I'd be interested to know how people make use of this feature (i.e. why
 it is on by default.)

 Dan

 
  Thanks!
 
  Xin
 
  ___
  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

___
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


Re: [Orgmode] Open link with different suffix in org mode

2010-01-22 Thread Xin Shi
Hi Carsten and Giovanni,

I used (add-to-list 'auto-mode-alist '(\\.info\\' . text-mode)) and it
works!

By the way, my system is GNU Linux.

Thanks!

Xin


On Fri, Jan 22, 2010 at 4:45 AM, Giovanni Ridolfi giovanni.rido...@yahoo.it
 wrote:

 Hi, Xin,

 Xin Shi shixin...@gmail.com writes:

  Emacs 23.1.1 and org mode 6.34b.
 here:
 GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON
 Org-mode version 6.34
 Windows XP PS3

  a link say [[./http://link.org][test]], it will open the
  http://link.org file in another buffer with orgmode.
 [...]
  [[./http://test.info][test]], it will just hang there.

 + [[file:fit.log][fit]]  fit.log   is opened with notepad
 + [[file:../../../a.info][test]]  a.info is not opened:
  the message error, in Italian, translates in:

 eval: ShellExecute failed: None application is associated to the
 specified file for this operation

  It seems that org does not know how to deal with the .info suffix.
 Well, I suspect that org calls the program defined in the mailcap file.

 Please check there if you have a program associated to the .info
 extension

 cheers,
 Giovanni

___
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


[Orgmode] Open link with different suffix in org mode

2010-01-21 Thread Xin Shi
Hello Experts,

I'm using Emacs 23.1.1 and org mode 6.34b.  In the org file, if I use a link
say [[./link.org][test]], it will open the link.org file in another buffer
with orgmode. It will be also true, if I use [[./link.txt][link test]],
which will open a link.txt file with Text mode. However, if I do the
following:

[[./test.info][test]], it will just hang there. It seems that org does not
know how to deal with the .info suffix. Are there any way to set the org to
open different link?
I've read the org manual, but didn't find the solution. Any suggestions?

Thanks!

Xin
___
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


[Orgmode] org-info.js : How to put link on go back to last / forward to next visited section. ?

2010-01-07 Thread Xin Shi
Hello Experts,

On the exported html page with org-info.js, one can go to the next page by
clicking the Next or simply type n as indicated in the help menu by
typing ?. An example page is:

http://orgmode.org/Changes.html

If one jumps randomly in the page, one can also go back to the last visited
section by typing b. It is very handy in a long documentation. However,
for viewer with only clickable input (such as mouse), it's quite easy to get
lost. So, I'm wondering if it's possible (or easy) to put a link either on
the top or bottom of the page? The layout might looks like this:

Previous | Next  | Back | Forward .  Version
6.33  1

Thanks!
Xin
___
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


[Orgmode] symbol request ins org-html-entities

2010-01-06 Thread Xin Shi
Hello Experts,

Sometimes, I found it would be handy to put checkmarks in tables. In TeX,
it is \checkmark, while in HTML, its #10003
see page: http://www.mistywindow.com/reference/html-characters.htm)

It looks the const org-html-entities is defined in org-exp.el, can we
include this ? In the long run, it might be usful if it can be extended by
user.

Thanks!

Xin
___
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


[Orgmode] Function request in exporting to HTML: \bar

2010-01-05 Thread Xin Shi
Hello Experts,

In mathematics, it's frequent to see symbols with a bar over it. This is
easy to do in LaTeX: \bar{A}.  While in HTML, it is :
span style=text-decoration:overlineA/span

I'm wondering if it's possible to implement that into the org-mode.

Thanks!

Xin
___
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


Re: [Orgmode] How to use org-info.js?

2010-01-05 Thread Xin Shi
Hi Water,

You can try this :

#+INFOJS_OPT: view:info path:http://orgmode.org/org-info.js

HTH
Xin


On Tue, Jan 5, 2010 at 1:37 AM, Water Lin water...@ymail.com wrote:


 I want to use org-info.js to build a navigator for my knowledge base.

 So I set something like this:
 -
 #+INFOJS_OPT: path:http://orgmode.org/org-info.js
 #+LINK_UP:
 #+LINK_HOME:
 -

 but after I publish my project, there is no this kind of navigator.

 What's the correct way to set it? But I can't find the detail
 description in Worg.

 Thanks

 Water Lin

 --
 Water Lin's notes and pencils: http://en.waterlin.org
 Email: water...@ymail.com
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com



 ___
 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

___
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


Re: [Orgmode] Function request in exporting to HTML: \bar

2010-01-05 Thread Xin Shi
Hi Carsten,

Hi Carsten,

It worked. Thank you!

Xin

On Tue, Jan 5, 2010 at 12:27 PM, Carsten Dominik
carsten.domi...@gmail.comwrote:

 Hi Xin,

 take a look at the variable org-emphasis-alist.

 - Carsten


 On Jan 5, 2010, at 4:39 PM, Xin Shi wrote:

  Hello Experts,

 In mathematics, it's frequent to see symbols with a bar over it. This is
 easy to do in LaTeX: \bar{A}.  While in HTML, it is :
 span style=text-decoration:overlineA/span

 I'm wondering if it's possible to implement that into the org-mode.

 Thanks!

 Xin

 ___
 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




___
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


[Orgmode] Re: MobileOrg agendas

2009-12-05 Thread Xin Shi
Hi Richard,

Thanks for your reply (and also the MobileOrg of course)!

No. I'm using the 6.33. I tried the git version, but there are some
compiling errors:

In toplevel form:
lisp/org-ascii.el:29:1:Error: Symbol's function definition is void:
org-float-ti
me

make: *** [lisp/org-ascii.elc] Error 1

I'll probably wait till the next release.

By the way, on the ipod touch, I can see the TODO and TAGs, but the
Priority is always empty. Any suggestions?

Thanks!

Xin



On Sat, Dec 5, 2009 at 9:00 AM, Richard Moreland r...@ncogni.to wrote:

 Are you using the latest Git version of org-mode?  Carsten added a fix
 that should automatically add the default week and todo agenda views
 for you.

 Let me know if this helps,
 Richard

___
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


[Orgmode] Re: MobileOrg agendas

2009-12-05 Thread Xin Shi
Hi Richard,

Yes. In my index.org file (generated by org-mobile-push), it has:
#+ALLPRIORITIES: A B C

I noticed the priority in my original org file is lost once pushed to by the
org-mobile-push:

TODO [#A] Learn MobileOrg = TODO Learn MobileOrg

Hm

Xin



On Sat, Dec 5, 2009 at 9:57 AM, Richard Moreland r...@ncogni.to wrote:

 Hi Xin,

 Do you have a line similar to this in index.org (generated by
 org-mobile-push):

 #+ALLPRIORITIES: A B C

 If not, you can try adding a priorities line to your Org file like this:

 #+PRIORITIES: A B C

 Then re-push and see if #+ALLPRIORITIES is set for you.

 Hope this helps,
 Richard

 On Sat, Dec 5, 2009 at 9:44 AM, Xin Shi shixin...@gmail.com wrote:
  Hi Richard,
 
  Thanks for your reply (and also the MobileOrg of course)!
 
  No. I'm using the 6.33. I tried the git version, but there are some
  compiling errors:
 
  In toplevel form:
  lisp/org-ascii.el:29:1:Error: Symbol's function definition is void:
  org-float-ti
  me
  make: *** [lisp/org-ascii.elc] Error 1
 
  I'll probably wait till the next release.
 
  By the way, on the ipod touch, I can see the TODO and TAGs, but the
  Priority is always empty. Any suggestions?
 
  Thanks!
 
  Xin
 
 
 
  On Sat, Dec 5, 2009 at 9:00 AM, Richard Moreland r...@ncogni.to wrote:
 
  Are you using the latest Git version of org-mode?  Carsten added a fix
  that should automatically add the default week and todo agenda views
  for you.
 
  Let me know if this helps,
  Richard
 
 

___
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


[Orgmode] Re: MobileOrg agendas

2009-12-05 Thread Xin Shi
Hi Richard,

I just updated my orgmode to 6.33f, and this time the priority reserved in
the pushed file, but in the ipod touch, it seemed not recognized, i.e. it
shows:

[#A] Learn MobileOrg.

In the Priority row, it still says None.

Xin



On Sat, Dec 5, 2009 at 11:59 AM, Xin Shi shixin...@gmail.com wrote:

 Hi Richard,

 Yes. In my index.org file (generated by org-mobile-push), it has:
 #+ALLPRIORITIES: A B C

 I noticed the priority in my original org file is lost once pushed to by
 the org-mobile-push:

 TODO [#A] Learn MobileOrg = TODO Learn MobileOrg

 Hm

 Xin




 On Sat, Dec 5, 2009 at 9:57 AM, Richard Moreland r...@ncogni.to wrote:

 Hi Xin,

 Do you have a line similar to this in index.org (generated by
 org-mobile-push):

 #+ALLPRIORITIES: A B C

 If not, you can try adding a priorities line to your Org file like this:

 #+PRIORITIES: A B C

 Then re-push and see if #+ALLPRIORITIES is set for you.

 Hope this helps,
 Richard

 On Sat, Dec 5, 2009 at 9:44 AM, Xin Shi shixin...@gmail.com wrote:
  Hi Richard,
 
  Thanks for your reply (and also the MobileOrg of course)!
 
  No. I'm using the 6.33. I tried the git version, but there are some
  compiling errors:
 
  In toplevel form:
  lisp/org-ascii.el:29:1:Error: Symbol's function definition is void:
  org-float-ti
  me
  make: *** [lisp/org-ascii.elc] Error 1
 
  I'll probably wait till the next release.
 
  By the way, on the ipod touch, I can see the TODO and TAGs, but the
  Priority is always empty. Any suggestions?
 
  Thanks!
 
  Xin
 
 
 
  On Sat, Dec 5, 2009 at 9:00 AM, Richard Moreland r...@ncogni.to wrote:
 
  Are you using the latest Git version of org-mode?  Carsten added a fix
  that should automatically add the default week and todo agenda views
  for you.
 
  Let me know if this helps,
  Richard
 
 



___
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


Re: [Orgmode] Error when push fils in MobileOrg

2009-12-04 Thread Xin Shi
-lists) (run-hooks ...) (message Creating
agendas...) (let ... ...) (message Creating agendas...done)
(org-save-all-org-buffers) (message Copying files...)
(org-mobile-copy-agenda-files) (message Writing index file...)
(org-mobile-create-index-file) (message Writing checksums...)
(org-mobile-write-checksums) (run-hooks ...)))
  (let ((org-agenda-buffer-name *SUMO*) (org-agenda-filter
org-agenda-filter) (org-agenda-redo-command org-agenda-redo-command))
(save-excursion (save-window-excursion ... ... ... ... ... ... ... ... ...
... ... ... ... ...)))
  (let ((a-buffer ...)) (let (... ... ...) (save-excursion ...))
(redraw-display) (when (and a-buffer ...) (if ... ... ...)))
  org-mobile-push()
  call-interactively(org-mobile-push nil nil)

Thanks!

Xin


On Thu, Dec 3, 2009 at 5:16 PM, Nick Dokos nicholas.do...@hp.com wrote:

 Xin Shi shixin...@gmail.com wrote:

  Hello Experts,
 
  I'm using Emacs 23.1 with orgmode 6.33b.
 
  When I use Push Files and Views in MobileOrg in Emacs, I got error
 message:
 
  Writing index file...
  byte-code: Wrong type argument: listp, TODO
 
  Any suggestions?
 

 The topic is different but the suggestion still holds:

http://thread.gmane.org/gmane.emacs.orgmode/20039/focus=20040

 Nick

___
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


Re: [Orgmode] Error when push fils in MobileOrg

2009-12-04 Thread Xin Shi
Hi Nick,

Thanks for your detailed explanation! After deleting the set todo in my
.emacs file, it's working now!

Now, the remaining question for me is that the generated agenda.org file
is empty even when there is agenda there. And I don't know if there is a way
to display the agenda in the MobileOrg in the iphone/ipod touch.

Xin



On Fri, Dec 4, 2009 at 6:25 PM, Nick Dokos nicholas.do...@hp.com wrote:

 Xin Shi shixin...@gmail.com wrote:


  Debugger entered--Lisp error: (wrong-type-argument listp TODO)
cdr(TODO)
(mapcar (lambda (x) (if ... ... x)) (cdr entry))
(setq kwds (mapcar (lambda ... ...) (cdr entry)))
(while (setq entry (pop def-todo)) (insert #+READONLY\n) (setq kwds
  (mapcar ... ...)) (insert #+TODO:  (mapconcat ... kwds  ) \n) (setq
  dwds (member | kwds) twds (org-delete-all dwds kwds) todo-kwds
  (org-delete-all twds todo-kwds) done-kwds (org-delete-all dwds
 done-kwds)))
(save-current-buffer (set-buffer temp-buffer) (while (setq entry ...)
  (insert #+READONLY\n) (setq kwds ...) (insert #+TODO:  ... \n)
 (setq
  dwds ... twds ... todo-kwds ... done-kwds ...)) (when (or todo-kwds
  done-kwds) (insert #+TODO:  ...  |  ... \n)) (setq def-tags (mapcar
  ... def-tags)) (setq def-tags (delq nil def-tags)) (setq tags
  (org-delete-all def-tags tags)) (setq tags (sort tags ...)) (setq tags
  (append def-tags tags nil)) (insert #+TAGS:  (mapconcat ... tags  )
  \n) (insert #+DRAWERS:  (mapconcat ... drawers  ) \n) (insert
  #+ALLPRIORITIES: A B C \n) (when (file-exists-p ...) (insert *
 [[file:
  agendas.org][Agenda Views]]\n)) (while (setq entry ...) (setq file ...
  link-name ...) (insert ...)) (push (cons org-mobile-index-file ...)
  org-mobile-checksum-files))
(with-current-buffer temp-buffer (while (setq entry ...) (insert
  #+READONLY\n) (setq kwds ...) (insert #+TODO:  ... \n) (setq dwds
 ...
  twds ... todo-kwds ... done-kwds ...)) (when (or todo-kwds done-kwds)
  (insert #+TODO:  ...  |  ... \n)) (setq def-tags (mapcar ...
  def-tags)) (setq def-tags (delq nil def-tags)) (setq tags (org-delete-all
  def-tags tags)) (setq tags (sort tags ...)) (setq tags (append def-tags
 tags
  nil)) (insert #+TAGS:  (mapconcat ... tags  ) \n) (insert
 #+DRAWERS:
   (mapconcat ... drawers  ) \n) (insert #+ALLPRIORITIES: A B C
 \n)
  (when (file-exists-p ...) (insert * [[file:agendas.org][Agenda
 Views]]\n))
  (while (setq entry ...) (setq file ... link-name ...) (insert ...)) (push
  (cons org-mobile-index-file ...) org-mobile-checksum-files))
(prog1 (with-current-buffer temp-buffer (while ... ... ... ... ...)
 (when
  ... ...) (setq def-tags ...) (setq def-tags ...) (setq tags ...) (setq
 tags
  ...) (setq tags ...) (insert #+TAGS:  ... \n) (insert #+DRAWERS: 
 ...
  \n) (insert #+ALLPRIORITIES: A B C \n) (when ... ...) (while ...
 ...
  ...) (push ... org-mobile-checksum-files)) (with-current-buffer
 temp-buffer
  (write-region nil nil temp-file nil 0)))
(unwind-protect (prog1 (with-current-buffer temp-buffer ... ... ... ...
  ... ... ... ... ... ... ... ... ...) (with-current-buffer temp-buffer
 ...))
  (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))
(let ((temp-file ...) (temp-buffer ...)) (unwind-protect (prog1 ...
 ...)
  (and ... ...)))
(with-temp-file (expand-file-name org-mobile-index-file
  org-mobile-directory) (while (setq entry ...) (insert #+READONLY\n)
 (setq
  kwds ...) (insert #+TODO:  ... \n) (setq dwds ... twds ... todo-kwds
 ...
  done-kwds ...)) (when (or todo-kwds done-kwds) (insert #+TODO:  ...  |
 
  ... \n)) (setq def-tags (mapcar ... def-tags)) (setq def-tags (delq nil
  def-tags)) (setq tags (org-delete-all def-tags tags)) (setq tags (sort
 tags
  ...)) (setq tags (append def-tags tags nil)) (insert #+TAGS: 
 (mapconcat
  ... tags  ) \n) (insert #+DRAWERS:  (mapconcat ... drawers  )
 \n)
  (insert #+ALLPRIORITIES: A B C \n) (when (file-exists-p ...) (insert
 *
  [[file:agendas.org][Agenda Views]]\n)) (while (setq entry ...) (setq
 file
  ... link-name ...) (insert ...)) (push (cons org-mobile-index-file ...)
  org-mobile-checksum-files))
(let ((files-alist ...) (def-todo ...) (def-tags ...) file link-name
  todo-kwds done-kwds tags drawers entry kwds dwds twds)
  (org-prepare-agenda-buffers (mapcar ... files-alist)) (setq done-kwds
  (org-uniquify org-done-keywords-for-agenda)) (setq todo-kwds
 (org-delete-all
  done-kwds ...)) (setq drawers (org-uniquify org-drawers-for-agenda))
 (setq
  tags (org-uniquify ...)) (with-temp-file (expand-file-name
  org-mobile-index-file org-mobile-directory) (while ... ... ... ... ...)
  (when ... ...) (setq def-tags ...) (setq def-tags ...) (setq tags ...)
 (setq
  tags ...) (setq tags ...) (insert #+TAGS:  ... \n) (insert
 #+DRAWERS: 
  ... \n) (insert #+ALLPRIORITIES: A B C \n) (when ... ...) (while
 ...
  ... ...) (push ... org-mobile-checksum-files)))
org-mobile-create-index-file()
(save-window-excursion (org-mobile-check-setup)
  (org-mobile-prepare-file-lists) (run-hooks

[Orgmode] Error when push fils in MobileOrg

2009-12-03 Thread Xin Shi
Hello Experts,

I'm using Emacs 23.1 with orgmode 6.33b.

When I use Push Files and Views in MobileOrg in Emacs, I got error
message:

Writing index file...
byte-code: Wrong type argument: listp, TODO

Any suggestions?

Thanks!
Xin
___
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


Re: [Orgmode] How to write verbatim [0] ?

2009-11-09 Thread Xin Shi
Hi Carsten,

I'm using the 6.32b, but neither of the method work (=[0]= or ~[0]~), will
this be in the next release?

Thanks!
Xin


On Thu, Oct 29, 2009 at 4:23 AM, Carsten Dominik
carsten.domi...@gmail.comwrote:


 On Oct 28, 2009, at 8:55 PM, Xin Shi wrote:

  Hello Experts,

 Are there any way to write just a plain [0], instead of interpreting it as
 a footnote when publishing in to HTML?

 I've tried the ~[0]~, and ~[~0~]~, but not luck.


 I have finally fixed this, you can now write =[0]= or ~[0]~

 - Carsten


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] MobileOrg 1.0 for iPhone/iPod Touch now available

2009-11-04 Thread Xin Shi
Hi Richard,

Thanks for this app!

Actually I get to know it's on AppStore by looking at your webpage, I've
been checking that page after 10/18 :)

I've installed on my iPod Touch and it works great!

The only comment I have is about the documentation page.

http://mobileorg.ncogni.to/doc/getting-started/setup-your-webdav-account/

Once I  set up the account (on myDisk.se), I uploaded the org file using
their web interface.  It would be nice to give instructions on how to push
the org file from Emacs directly at this page.

I'll read more instruction later...

Best,
Xin





On Tue, Nov 3, 2009 at 5:19 PM, Richard Moreland r...@ncogni.to wrote:

 Hi all,

 MobileOrg 1.0 is now available in the iTunes AppStore:
 http://bit.ly/1kpHqg  Documentation (including a screencast demonstrating
 the app) is available on the website at http://mobileorg.ncogni.to.

 Many thanks to Carsten and all the beta testers who helped get it ready for
 release.  Feel free to contact me with any questions or support requests.
  If there is a question related to Org-mode integration, CC: Carsten too,
 he's the expert on that side of things.

 Be sure to use Org-mode 6.32 or later.

 Hope you all enjoy.

 Thanks,
 Richard



 ___
 Emacs-orgmode mailing list
 Remember: use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] How to write verbatim [0] ?

2009-10-29 Thread Xin Shi
Wow~~ Thanks !

Xin


On Thu, Oct 29, 2009 at 5:23 AM, Carsten Dominik
carsten.domi...@gmail.comwrote:


 On Oct 28, 2009, at 8:55 PM, Xin Shi wrote:

  Hello Experts,

 Are there any way to write just a plain [0], instead of interpreting it as
 a footnote when publishing in to HTML?

 I've tried the ~[0]~, and ~[~0~]~, but not luck.


 I have finally fixed this, you can now write =[0]= or ~[0]~

 - Carsten


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] How to write verbatim [0] ?

2009-10-28 Thread Xin Shi
Hello Experts,

Are there any way to write just a plain [0], instead of interpreting it as a
footnote when publishing in to HTML?

I've tried the ~[0]~, and ~[~0~]~, but not luck.

Thanks!
Xin
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] How to write verbatim [0] ?

2009-10-28 Thread Xin Shi
It works. Though it seems a pity to turn off the footnote mode in the whole
file.  I used the [ 0 ] for a temporary  fix just now.

Thanks!
Xin


On Wed, Oct 28, 2009 at 4:32 PM, Nick Dokos nicholas.do...@hp.com wrote:

 Xin Shi shixin...@gmail.com wrote:

  Hello Experts,
 
  Are there any way to write just a plain [0], instead of interpreting it
 as a footnote when
  publishing in to HTML?
 
  I've tried the ~[0]~, and ~[~0~]~, but not luck.
 

 I don't know how to do it on an instance-by-instance basis, but
 on a per-file basis, there is

 #+OPTIONS: f:nil

 to turn off footnotes.

 HTH,
 Nick

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] error in org-remember

2009-09-16 Thread Xin Shi
Hello Experts,

I recently update my Emacs to 23.1 and the org-mode to 6.30e.  Then I
noticed my org-remember is not working. When I type C-c C-c, I got the
following error:

Target files for notes must be in Org-mode if not filing to top/bottom

My settings are:

(org-remember-insinuate)
(setq sx-notes-file-name ~/.notes.org)
(setq sx-journal-file-name ~/.journal.org)
(setq org-remember-templates
  '(
(Journal ?j * %U %?\n\n  %i\n  %a sx-journal-file-name)
(Notes ?n * %^{Title}\n  %i\n  %a sx-notes-file-name Notes)
)
  )
Any suggestions?

Thanks!
Xin
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: error in org-remember

2009-09-16 Thread Xin Shi
I solved the problem by using the file name directly:

(setq org-remember-templates
  '(
(Journal ?j * %U %?\n\n  %i\n  %a ~/.journal.org)
(Notes ?n * %^{Title}\n  %i\n  %a ~/.notes.org Notes)
)
  )

Xin

On Wed, Sep 16, 2009 at 10:43 AM, Xin Shi shixin...@gmail.com wrote:

 Hello Experts,

 I recently update my Emacs to 23.1 and the org-mode to 6.30e.  Then I
 noticed my org-remember is not working. When I type C-c C-c, I got the
 following error:

 Target files for notes must be in Org-mode if not filing to top/bottom

 My settings are:

 (org-remember-insinuate)
 (setq sx-notes-file-name ~/.notes.org)
 (setq sx-journal-file-name ~/.journal.org)
 (setq org-remember-templates
   '(
 (Journal ?j * %U %?\n\n  %i\n  %a sx-journal-file-name)
 (Notes ?n * %^{Title}\n  %i\n  %a sx-notes-file-name Notes)
 )
   )
 Any suggestions?

 Thanks!
 Xin


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] How to Calculate duration time in Table ?

2009-07-21 Thread Xin Shi
Hello,

I have a table in org which stores the date, I'm wondering if there is any
function to calculate the duration? For example:

| Start Date |   End Date | Duration |
|++--|
| 2004.08.07 | 2005.07.08 |  |

I tried to use B-C, but failed ...

Thanks!

Xin
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] How to Calculate duration time in Table ?

2009-07-21 Thread Xin Shi
Cool! thanks for all :)

Xin


On Tue, Jul 21, 2009 at 7:47 PM, Bastien bastiengue...@googlemail.comwrote:

 Nick Dokos nicholas.do...@hp.com writes:

  Bastien bastiengue...@googlemail.com wrote:
 
  Nick Dokos nicholas.do...@hp.com writes:
 
   Try the following:
  
   | Start Date |   End Date | Duration |
   |++--|
   | 2004.08.07 | 2005.07.08 |  335 |
   #+TBLFM: $3=(date($2)-date($1))
 
  Nice, I added a note in Worg/org-hacks.org.
 
 
  Thanks for doing that. The only problem is that the TBLFM line has been
  stripped, so it's not clear *what* the solution is, unless one follows
  the link to the message.

 Opps, fixed!  Thanks for checking.

  Would it work better if I had quoted the above (e.g. boxquote or the
  gnus message method)?

 No no, I just need more sleep :)

 --
  Bastien


 ___
 Emacs-orgmode mailing list
 Remember: use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Feature request: javascript expand collapse

2009-07-20 Thread Xin Shi
Hi Bastien,

I'm sorry that I didn't explain it clearly. Here is what I mean. For
instance, one can  open this page:

http://orgmode.org/Changes.htm

All one can do is to click the sections and read each pages. If a certain
page turns out to be very long, there is no easy way to make it shorter in
the first place, then click on the needed parts.  One might say that you can
always put those into different sections, but I think it's just another
option for people.  If it sounds too complicated, we can just leave with
this and wait until more people need ... :)

Thanks!

Xin



On Sun, Jul 19, 2009 at 2:03 PM, Bastien bastiengue...@googlemail.comwrote:

 Hi Xin,

 Xin Shi shixin...@gmail.com writes:

  In my opinion, there is no directly contradict with Sebastian's design,
 they
  are targeting to different tasks. It'll be nice it we can include both
 ... :)

 But...  to me clicking on the title or clicking on a small button would
 achieve the same function: i.e. unfold the section.  I don't see where
 there are two different tasks - but maybe I don't understand :/

 --
  Bastien

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Feature request: javascript expand collapse

2009-07-19 Thread Xin Shi
Hi Bastien,


Thanks for coming back to my request!

I'm not sure if Sebastian has already implemented it or not. I saw my
friends using a software on Mac called aquaminds to produce webnotes, and
that expand button is very useful when presenting across the internet
during net-work meeting.

Here is the one example page (including the ?1 after html):

http://www.aquaminds.com/synergy/index.html?1

On this page, one can see the  minus sign can be clicked and become plus
sign ...

Xin






On Thu, Jul 16, 2009 at 5:11 PM, Bastien bastiengue...@googlemail.comwrote:

 Hi Xin,

 Xin Shi shixin...@gmail.com writes:

  I'm wondering if it's easy to implement the javascript expand collapse
 in the
  published page.
 
  [This might be  work for Sebastian again :-), but I think this feature
  shall be useful. ]

 How does it differ from what Sebastian already implemented?

 --
  Bastien

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Feature request: javascript expand collapse

2009-07-19 Thread Xin Shi
Hi Matt,

Thanks for your response. I knew the toggle button, but it's not what I
need. However, I think based on the current system, it would not be too hard
to add those expand on ...

Xin


On Sun, Jul 19, 2009 at 12:35 PM, Matthew Lundin m...@imapmail.org wrote:

 Xin Shi shixin...@gmail.com writes:
 
  I'm not sure if Sebastian has already implemented it or not. I saw my
  friends using a software on Mac called aquaminds to produce webnotes,
  and that expand button is very useful when presenting across the
  internet during net-work meeting.
 
  Here is the one example page (including the ?1 after html):
 
  http://www.aquaminds.com/synergy/index.html?1
 
  On this page, one can see the  minus sign can be clicked and become
  plus sign ...

 Perhaps it's not exactly what you're looking for, but you can already
 get javascript folding of an exported org file using org-info.js.

 For an example click on the toggle view button on the following page:

 http://orgmode.org/worg/code/org-info-js/#sec-1

 Best,
 Matt

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Feature request: javascript expand collapse

2009-07-19 Thread Xin Shi
Hi Bastien,

On Sun, Jul 19, 2009 at 1:00 PM, Bastien bastiengue...@googlemail.comwrote:

 Xin Shi shixin...@gmail.com writes:

  I'm not sure if Sebastian has already implemented it or not. I saw my
 friends
  using a software on Mac called aquaminds to produce webnotes, and that
 expand
  button is very useful when presenting across the internet during net-work
  meeting.
 
  Here is the one example page (including the ?1 after html):
 
  http://www.aquaminds.com/synergy/index.html?1
 
  On this page, one can see the  minus sign can be clicked and become plus
 sign
  ...

 Ah, I see.  Still, I find Sebastian's design far better: no need to look
 for this little needle (the minus sign), just click on the title of a
 section...


In my opinion, there is no directly contradict with Sebastian's design, they
are targeting to different tasks. It'll be nice it we can include both ...
:)

Xin




 --
  Bastien

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Feature request: javascript expand collapse

2009-07-14 Thread Xin Shi
Hello  Experts,

I'm wondering if it's easy to implement the javascript expand collapse in
the published page.

For example: in this page:

http://en.wikipedia.org/wiki/Emacs

One can click the [hide]  or [show] beside the Contents.


Probably in the org file, we can use:

 A Detailed section  [+]

to indicate this collapse?

[This might be  work for Sebastian again :-), but I think this feature shall
be useful. ]

Thanks!

Xin
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Shotcut Icon and PDF problem in the HTML output

2009-06-30 Thread Xin Shi
Hello Experts,

I noticed two problems with recent org publishing HTML with js support.

To make is specific, one can use this page as example:

http://orgmode.org/Changes.html

1.)  The shortcut icon is no longer displayed (the small icon in the address
bar)

In the HTML, the line is still there:

link rel=SHORTCUT ICON href=/org-mode-unicorn.ico type=image/x-icon /

2.) Print one webpage into PDF is not working:

For example, go to page:
http://orgmode.org/Changes.html#sec-4.3.5

In firefox (3.0.11), Ctrl+p (File-Print ) into PDF, then open with Adobe
reader gives:
Adobe Reader: There was an error processing a page. There was a problem
reading this document(109).

It might due to the org-info.js ...

Thanks!

Xin
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output

2009-06-30 Thread Xin Shi
Hi Xiao-Yong,

Yes. My broser works on the same page a few weeks ago.

I tested on other sites, it is OK.  I also tried on the orgmode homepage,
same error.

Thanks!

Xin



On Tue, Jun 30, 2009 at 9:43 AM, Xiao-Yong Jin xj2...@columbia.edu wrote:

 Xin Shi shixin...@gmail.com writes:

  Hello Experts,
 
  I noticed two problems with recent org publishing HTML with js support.
 
  To make is specific, one can use this page as example:
 
  http://orgmode.org/Changes.html
 
  1.)  The shortcut icon is no longer displayed (the small icon in the
 address
  bar)
 
  In the HTML, the line is still there:
 
  link rel=SHORTCUT ICON href=/org-mode-unicorn.ico
 type=image/x-icon /

 I didn't notice that.  But, yes, it is missing the icon.

 
  2.) Print one webpage into PDF is not working:
 
  For example, go to page:
  http://orgmode.org/Changes.html#sec-4.3.5
 
  In firefox (3.0.11), Ctrl+p (File-Print ) into PDF, then open with Adobe
  reader gives:
  Adobe Reader: There was an error processing a page. There was a problem
  reading this document(109).

 I can't reproduce this.  Is your browser work for other
 sites?

 
  It might due to the org-info.js ...
 
  Thanks!
 
  Xin
 
 --
c/*__o/*
\ * (__
*/\  


 ___
 Emacs-orgmode mailing list
 Remember: use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output

2009-06-30 Thread Xin Shi
Hi Nick,

I tested on another machine with Debian 5.0 /Iceweasel 3.0.6. It can produce
the PDF file but the icon is still missing.

Xin

On Tue, Jun 30, 2009 at 10:53 AM, Nick Dokos nicholas.do...@hp.com wrote:

 Xin Shi shixin...@gmail.com wrote:


  Yes. My broser works on the same page a few weeks ago.
 
  I tested on other sites, it is OK.  I also tried on the orgmode homepage,
  same error.
 

 I see neither of the problems you see: the icon is in the proper place and
 the PDF of the org home page is readable by both xpdf and acroread. But
 note
 that Carsten fixed something having to do with (I'm guessing) with
 org-info.js,
 that was causing the navigation sidebar of the manual to be absent. That
 may
 have fixed the problems that you see, too? In any case, it's worth
 rechecking.






 Thanks,
 Nick

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output

2009-06-30 Thread Xin Shi
Hi Vikram,

I think the manual is a different story than the other HTML pages generated
by org-mode.

From the source of the manual:
http://orgmode.org/manual/index.html

One can see that it is generated by: makeinfo, not org-mode.

meta name=generator content=makeinfo 4.13

Xin



On Tue, Jun 30, 2009 at 1:58 PM, Vikram S V vkr...@gmail.com wrote:

 Hi

  I see neither of the problems you see: the icon is in the proper place
 and
  the PDF of the org home page is readable by both xpdf and acroread. But
 note
  that Carsten fixed something having to do with (I'm guessing) with
 org-info.js,
  that was causing the navigation sidebar of the manual to be absent. That
 may
  have fixed the problems that you see, too? In any case, it's worth
 rechecking.

 The icon _is_ missing in the online version of the manual. Actually,
 there seems to be no html to display the icon or link it.
 The home page is fine. Printing to a PDF file seems to be working for me.







 Vikram

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output

2009-06-30 Thread Xin Shi
Hi Vikram,


On Tue, Jun 30, 2009 at 2:17 PM, Vikram S V vkr...@gmail.com wrote:

 Hi Xin,

  I think the manual is a different story than the other HTML pages
 generated
  by org-mode.
 I see. Thank you for the pointer. As you can see (?), the icon seems
 to be missing in the manual pages too.


No problem. You're right.  In the manual case, there is no such line in the
HTML.



 I am no expert at org-mode, my naive guess is that, probably there is
 some common source to this problem of missing icons.


However, in the Changes.html, the HTML file has it as I pointed in my first
email:

link rel=icon href=/org-mode-unicorn.ico type=image/ico /

When loading that page: http://orgmode.org/Changes.html, if one looks
carefully, one can see the icon shows up in the address bar very quickly and
then disappear. :)



 Vikram



Xin
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Problem with org-info.js?

2009-06-28 Thread Xin Shi
Hi Sebastian,

I can see the version now:  org-info.js, v. 0.1.1.8 :)

Thanks!

Xin


On Sat, Jun 27, 2009 at 11:37 PM, Sebastian Rose sebastian_r...@gmx.dewrote:

 Xin Shi shixin...@gmail.com writes:
  Hi Sebastian,
 
  Thanks for the explanation! I guess one reason for me to spot that is I
 use
  org to publish all my working notes into HTML and use it on our group
  meetings all the time :)
 
  By the way, for the org-info-src.js and org-info.js, is the white
 spaces
  only difference between them? We can probly keep the version number in
 the
  org-info.js, so that people are easier to follow.

 No. The yuicompressor (http://developer.yahoo.com/yui/compressor/) has
 no option to keep comments intact - at least I couldn't fine one.

 But from now on (since the one I pushed 20 seconds ago), the version
 number is always visible below the table of shortcuts (`?' or click the
 `HELP' link).


   Sebastian

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Problem with org-info.js?

2009-06-27 Thread Xin Shi
Hi Sebastian,

Thanks for your quick fix.

Just curious, what was the problem before?

Shall I just download the new js file?

Xin

On Fri, Jun 26, 2009 at 7:21 PM, Sebastian Rose sebastian_r...@gmx.dewrote:

 Xin Shi shixin...@gmail.com writes:
  Hi Sebastian,
 
  I've attached a  simple test org (a.org), please check it it works for
 you.


 OK. Seems fixed now.

 Here is the link to the commit:


 http://repo.or.cz/w/Worg.git?a=commit;h=ddc3cf413702914a2c1a1f1fac063d4e4e367b6c



 Thanks again for sending the test file (i.e. locating the bug).



 Best wishes


Sebastian

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Problem with org-info.js?

2009-06-27 Thread Xin Shi
Hi Sebastian,

Thanks for the explanation! I guess one reason for me to spot that is I use
org to publish all my working notes into HTML and use it on our group
meetings all the time :)

By the way, for the org-info-src.js and org-info.js, is the white spaces
only difference between them? We can probly keep the version number in the
org-info.js, so that people are easier to follow.

Thanks again!

Xin




On Sat, Jun 27, 2009 at 5:49 PM, Sebastian Rose sebastian_r...@gmx.dewrote:

 Xin Shi shixin...@gmail.com writes:
  Hi Sebastian,
 
  Thanks for your quick fix.
 
  Just curious, what was the problem before?


 getElementsByTagName() is not recursive when called on certain HTML
 elements. I had to use `document.getElementsByTagName(a);' instead to
 catch links inside list elements. Before I did that for each sections
 block level elements (the headline and the div id=text-sec-2.2...).

 I wonder how no one noticed that for such a long time :) links in a list
 is not too strange...



  Shall I just download the new js file?

 Yes. Nothing else has changed, just added that fix.

 It looks as if some more stuff has changed sometimes, because I minify
 the script. That leads to bigger chunks if you diff it. The diff of the
 org-info-src.js file shows what has actually changed.


 Best wishes

   Sebastian

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Problem with org-info.js?

2009-06-26 Thread Xin Shi
Hi Sebastian,

I've attached a  simple test org (a.org), please check it it works for you.

My environment does not work:

Emacs: 22.3.1
Org-mode: 6.28b
Firefox: 3.0.11

Thanks!

Xin

On Thu, Jun 25, 2009 at 5:26 PM, Sebastian Rose sebastian_r...@gmx.dewrote:

 Xin Shi shixin...@gmail.com writes:
  Hello Experts,
 
  I'm using org-6.28b and the fresh org-info.js (a few minutes ago). I
 publish
  org file into HTML with #+INFOJS_OPT: view:info. Just like this page:
  http://orgmode.org/Changes.html
 
  However, the internal links (such as [[#tag-name]]) still does not
  work.

 Here it does. I wonder if we could finally help you, if you submitted a
 simple test file that reproduces the problem.


 As I wrote before, I can use custom IDs in the several documented ways
 and they all work for me. Please send a test file so we have a chance to
 find out where the problem is. I fear without a chance to reproduce the
 error,
 we can not be of great help.


  When I hover the courser on the link, I can see it is correct. Somehow,
 the
  javascript just does not follow the link. Put it another way, once get
 into
  that page, all of the movement for the internal links are governed by
  javascript only, only links like javascript:org_html_manager.go(12)
 works. I
  don't know if it's possible to fix it.


 No. Not in info view. The info-view mode (and folding in plain view) is
 done by hiding the other sections. To show a section, the script has to
 show it again.


  For example, in the same page:
  http://orgmode.org/Changes.html
 
  although it already have customed_ids, such as #v6.27, when you click
 on
  the Version 6.27, the real link get you to there is
  javascript:org_html_manager.go(29). If one put a link on that page:
  [[#v6.27][Go to Version 6.27]], it might not work.

 There is a script like that on the page, but the script changes all
 those links to ensure that the script gets noticed if the link is
 used. How else should the script show and hide sections as needed??

 To see that, just click on the [[#v6.27][Go to Version 6.27]] and then
 press `U'. Do you see the URL in the link the script shows on top of the
 screen?

 It looks like this:

   http://orgmode.org/Changes.html#v6.27

 If you now click this link, you will come to that exact section.



   Sebastian




a.org
Description: Binary data
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Release 6.28

2009-06-25 Thread Xin Shi
Hi Carsten,


On Thu, Jun 25, 2009 at 3:10 AM, Carsten Dominik
carsten.domi...@gmail.comwrote:

 Hi,

 I have uploaded release 6.28.  Once more I urge you to read
 the release notes carefully, there are many very interesting changes.

 Enjoy!

 - Carsten

 Changes in Version 6.28
 ===

 Agenda changes
 ..

 Miscellaneous changes
 ~~

 

 HTML table export: Assign alternating classes to rows
 ==

 The new variable `org-export-table-row-tags' can now be set up in
 a way so that different table lines get special CSS classes
 assigned.  This can be used for example to choose different
 background colors for odd and even lines, respectively.  The
 docstring of the variable contains this example:

  (setq org-export-table-row-tags
(cons '(if head
   tr
 (if (= (mod nline 2) 1)
 tr class=\tr-odd\
   tr class=\tr-even\))
  /tr))


 It makes use of the local variables `head' and `nline' which are
 used to check whether the current line is a header line, and whether
 it is an odd or an even line.  Since this is fully programmable,
 you can do other things as well.

 This was a request by Xin Shi.


I've just tested it. It works great!

Thank you!

Xin
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Problem with org-info.js?

2009-06-25 Thread Xin Shi
Hello Experts,

I'm using org-6.28b and the fresh org-info.js (a few minutes ago). I publish
org file into HTML with #+INFOJS_OPT: view:info. Just like this page:
http://orgmode.org/Changes.html

However, the internal links (such as [[#tag-name]]) still does not work.
When I hover the courser on the link, I can see it is correct. Somehow, the
javascript just does not follow the link. Put it another way, once get into
that page, all of the movement for the internal links are governed by
javascript only, only links like javascript:org_html_manager.go(12) works. I
don't know if it's possible to fix it.

For example, in the same page:
http://orgmode.org/Changes.html

although it already have customed_ids, such as #v6.27, when you click on
the Version 6.27, the real link get you to there is
javascript:org_html_manager.go(29). If one put a link on that page:
[[#v6.27][Go to Version 6.27]], it might not work.

Thanks!

Xin
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] unicorn image is not a link back to the front page on orgmode.org

2009-06-24 Thread Xin Shi
One reason is that this picture is a background.

On Wed, Jun 24, 2009 at 9:39 AM, James Yoo james@gmail.com wrote:

 Linking back to the front page via the main logo is pretty standard, or at
 least that's what I've come to expect... is there a particular reason why
 the unicorn graphic does not?


 ___
 Emacs-orgmode mailing list
 Remember: use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Sourceforge voting has started

2009-06-23 Thread Xin Shi
done.

On Tue, Jun 23, 2009 at 10:29 AM, Nagarjuna G. nagar...@gnu.org wrote:

 On Tue, Jun 23, 2009 at 12:58:00PM +0200, Carsten Dominik wrote:
 
  Hi all,
 
  the voting for the sourceforge community choice awards has started at
 
  http://sourceforge.net/community/cca09/vote
 
  We are up against, among others, Freemind.  Which means that we have a
  formidable opponent and we need to get our mothers, grandmothers and
  children out to vote, each with multiple email addresses :-)
 
  Please go vote and spread the word.  I think it would be fantastic
  if we could win,  not only for Org-mode, but also for Emacs.
 

 done


 ___
 Emacs-orgmode mailing list
 Remember: use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-info.js: new navigation history

2009-06-22 Thread Xin Shi
Hi Sebastian,

Hmm... I may need to wait for another release of the org-mode and the js
file.

By the way, it looks the contents table in the left-bar of that page behaves
strange:

  http://orgmode.org/Changes.html#sec-2.1.1

Xin


On Mon, Jun 22, 2009 at 7:46 AM, Sebastian Rose sebastian_r...@gmx.dewrote:

 Xin Shi shixin...@gmail.com writes:
  Hi Sebastian,
 
  I have an idea of testing whether it works or not.
 
  In the orgmode page:
 
  http://orgmode.org/Changes.html#sec-2.1.1
 
  It's talking about the custom ID. Could you try to add an example after
  line:
 
  Links written like [[#my-target-name] ] can be used to target a custom
 ID.
 
  For example:  [[#v6.24][Version 6.24]] should go to the section Version
  6.24.
 
  If this link can be used, that means the  problem is solved.


 The links work there. I Adjusted my local test file and found, that both
 of these work:

  [[#v6.24][Version 6.24]]

 and

  [[v6.24][Version 6.24]]

 (without the hash sign)


  Sebastian

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Special symbol table in Worg

2009-06-21 Thread Xin Shi
Hello,

As requested by Carsten, I created a table for special symbols:

http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.php#sec-9

Comments or suggestions are welcome!

Best,
Xin
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Special symbol table in Worg

2009-06-21 Thread Xin Shi
Hi Carsten,

It's hard for one to forget a certain task once registered on his/her org
file ;)  Learning git and how to publish on Worg took me some time.

As you can see from the webpage, most of the symbols are OK.  I guess the
symbols displayed as blank might have some problem, people with more
experience with (X)HTML might have solutions.

I haven't used the LaTeX export yet, but I'll let you know once I have
questions there.

Thanks!

Xin




On Sun, Jun 21, 2009 at 11:30 AM, Carsten Dominik carsten.domi...@gmail.com
 wrote:

 Ah, I had thought you might have forgotten.

 Thanks!


 I would like to know from you if there were any symbols with
 problems, for example only working in HTML but on in LaTeX
 and vice versa...

 - Carsten

 On Jun 21, 2009, at 4:28 PM, Xin Shi wrote:

  Hello,

 As requested by Carsten, I created a table for special symbols:

 http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.php#sec-9

 Comments or suggestions are welcome!

 Best,
 Xin

 ___
 Emacs-orgmode mailing list
 Remember: use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-info.js: new navigation history

2009-06-19 Thread Xin Shi
Hi Sebastian,

I tried that.  Now in the published file, the link becomes
pagename#sec-2.1.1, not the ID name. At the same time, when I click on it,
it still does not move. :(

Xin

On Fri, Jun 19, 2009 at 11:09 AM, Sebastian Rose sebastian_r...@gmx.dewrote:

 Xin Shi shixin...@gmail.com writes:
  Hi Sebastian,
 
  So, I got a related question is how to jump internally during the info
 mode?
  For example:
 
  In one place I defined:
:CUSTOM_ID: tab-compare
 
  In another place in the same org file, I want to link to that position by
  [[#tab-compare][table]].


 Ahh - got it:

 It should be:

   [[tab-compare][table]]

 without the hash.


 Anyway, thanks for your mail. This way I found that I broke the
 `prefered ID' stuff (`l' should use the prefered ID, i.e. the custom
 id).


  Sebastian

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-info.js: new navigation history

2009-06-19 Thread Xin Shi
Hi Sebastian,

I have an idea of testing whether it works or not.

In the orgmode page:

http://orgmode.org/Changes.html#sec-2.1.1

It's talking about the custom ID. Could you try to add an example after
line:

Links written like [[#my-target-name] ] can be used to target a custom ID.

For example:  [[#v6.24][Version 6.24]] should go to the section Version
6.24.

If this link can be used, that means the  problem is solved.

Thank you!

Xin






On Fri, Jun 19, 2009 at 12:08 PM, Sebastian Rose sebastian_r...@gmx.dewrote:


 Hm - the following methods work here. As I found in
 http://article.gmane.org/gmane.emacs.orgmode/13047/match=custom+id they
 shouldn't. Seems the links should be prepended with the hash sign as you
 proposed. But it works both ways here (org-mode from today).  I jumped
 the gun and took a look in a testfile I use here (see below).



 And:

  There really _was_ a bug in org-info.js that should be fixed now.
  The current code is here:

 http://repo.or.cz/w/Worg.git?a=commit;h=366e95c4c3dd9bcca7093d6aad137fc89eadf37a

  Now we see the prefered (i.e. custom) IDs in the browser's location
  bar (and therefor the history panel, if the browser has such a thing).




 This is the relevant part of a file I use here for testing:

 = ---8-8-8---
 # fill-table-column-with-incremental-numbers
 * Section C

  ...some content ...

*These links work:*

+ [[fill-table-column-with-incremental-numbers][Section C]]
+ [[subsection-four][Subsection C.2]]


 *** Subsection C.2
:PROPERTIES:
:CUSTOM_ID: subsection-four
:END:

+ [[#fill-table-column-with-incremental-numbers][Section C]]
+ [[#subsection-four][Subsection C.2]]

 = ---8-8-8---






 Could you send us the part of your sources that does _not_ work?




 Regards



   Sebastian

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-info.js: new navigation history

2009-06-18 Thread Xin Shi
Hi Sebastian,

This is a really great feature I was hoping to have!

I tried to get the http://orgmode.org/org-info.js and tested on Firefox
3.0.11, the B works but click on the go back button is not working. ...
not sure why.

Thanks!
Xin


One question is in one org file, how to specify the internal link so that it
can be j

On Wed, Jun 17, 2009 at 5:52 PM, Sebastian Rose sebastian_r...@gmx.dewrote:

 Hi,


 just cannot resist posting this here:

 The navigation of org-info.js has been improved quite a bit.

  1.) Navigating a file through org-info.js, either using the mouse or
  using the keyboard, modifies the location. Thus, once you left
  the file by following a link somewhere else, your browser's `back'
  button will bring you back to the point you left the file.

  2.) org-info.js now navigates accross files. If those files both use
  org-info.js, you can navigate back and forth. Because of the new
  technique in 1.), both files nearly feel like beeing one and the
  same file. Thus following links in published files feels like
  following footnotes and returning to the context.

  Example:

  Once you reach the end of the internal history, repeatedly
  pressing `B' or `b' takes you forward and back in the browsers
  history.

  - open one of your published org files.
  - press `n' until a you reach a section, that has a link to another
file in your published tree.
  - follow the link by clicking on it.
  - in the other file, navigate using `n' and `p'...
  - go back in the navigation history using `b'
  - repeat this, until org-info.js brings you back to the file you
opened in step 1. Note, that you see the same section you saw
just before leaving the file by following the link.
  - Now press `B' until org-info.js brings you to the other file
again.

 One flaw though: the internal history is lost when returning to a
 file.



 Regards


   Sebastian



 --
 Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
 Tel.:  +49 (0)511 - 36 58 472
 Fax:   +49 (0)1805 - 233633 - 11044
 mobil: +49 (0)173 - 83 93 417
 Email: s.r...@emma-stil.de, sebastian_r...@gmx.de
 Http:  www.emma-stil.de


 ___
 Emacs-orgmode mailing list
 Remember: use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org-info.js: new navigation history

2009-06-18 Thread Xin Shi
 Hi Sebastian,

I see. So, in your initial email, using mouse only means click on the
links make by the js file.

Xin


On Thu, Jun 18, 2009 at 10:58 AM, Sebastian Rose sebastian_r...@gmx.dewrote:

 Xin Shi shixin...@gmail.com writes:
  Hi Sebastian,
 
  This is a really great feature I was hoping to have!
 
  I tried to get the http://orgmode.org/org-info.js and tested on Firefox
  3.0.11, the B works but click on the go back button is not working. ...
  not sure why.


 The reason for this is, we can not modify the history. What we can do,
 is to modify the current history entry. If we used

document.location.href=...;

 the page would be reloaded when going to the next section.

 The browsers back button works only across history entries (i.e. from
 one file to another in this case).
 But going back in the navigation history of the current file works only
 through the keyboard shortcuts or the clicking the links org-info.js
 adds to the page.



  Sebastian

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Alternate Table Row Colors

2009-06-15 Thread Xin Shi
Hi Russell,

Thanks for your posting!

Unfortunately, this is quite a new feature for CSS 3, which is not supported
by the Firefox 3.  It would be great if the org-mode can just add the class
attribute in the tr.

Xin


On Sun, Jun 14, 2009 at 3:11 PM, Russell Adams rlad...@adamsinfoserv.comwrote:

 Not that I'm a CSS expert, but it appears you could do this without
 changing how Org outputs tables by adding this styling to your CSS.

 http://www.zorked.com/css/alternating-table-rows-using-css-only/

 Quote:

 tr:nth-child(odd) {
 background-color: #CC;
 }

 tr:nth-child(even) {
 background-color: #6699FF;
 }

 Good luck! If you make an example, please post it!

 On Sun, Jun 14, 2009 at 03:00:15PM -0400, Xin Shi wrote:
  Hello Experts,
 
  I use org-mode to produce a lot of big tables with numbers in them. When
 I
  present these tables by HTML, I found it's hard to keep track which row
 it
  is. I'm wondering if it's possible to implement additional class
 attribute
  to the tr, such as:
 
 
  table class=sample
  tr class=d0tdOne/tdtdFish/td/tr
  tr class=d1tdTwo/tdtdFish/td/tr
  tr class=d0tdRed/tdtdFish/td/tr
  tr class=d1tdBlue/tdtdFish/td/tr
  /table
 
  So, that in the CSS file, it'll be easier to implement the color:
 
  style type=text/css
  table.sample {
border: 6px inset #8B8378;
-moz-border-radius: 6px;
  }
  table.sample td {
border: 1px solid black;
padding: 0.2em 2ex 0.2em 2ex;
color: black;
  }
  table.sample tr.d0 td {
background-color: #FCF6CF;
  }
  table.sample tr.d1 td {
background-color: #FEFEF2;
  }
  /style
 
  I borrowed idea from this article:
  http://www.somacon.com/p338.php
 
  Thanks!
 
  Xin

  ___
  Emacs-orgmode mailing list
  Remember: use `Reply All' to send replies to the list.
  Emacs-orgmode@gnu.org
  http://lists.gnu.org/mailman/listinfo/emacs-orgmode



 --
 Russell Adamsrlad...@adamsinfoserv.com

 PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

 Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


 ___
 Emacs-orgmode mailing list
 Remember: use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Alternate Table Row Colors

2009-06-15 Thread Xin Shi
Hello Experts,

I took a look in the lisp directory, the related function is in the
org-html.el:

(defun org-format-org-table-html (lines optional splice)

There it might need a counter for the row in the line
(push (concat tr  ...

I don't know how to continue from here ... Any suggestions from our Lisp
experts?

Thanks!

Xin


On Mon, Jun 15, 2009 at 8:39 AM, Xin Shi shixin...@gmail.com wrote:

 Hi Russell,

 Thanks for your posting!

 Unfortunately, this is quite a new feature for CSS 3, which is not
 supported by the Firefox 3.  It would be great if the org-mode can just add
 the class attribute in the tr.

 Xin



 On Sun, Jun 14, 2009 at 3:11 PM, Russell Adams 
 rlad...@adamsinfoserv.comwrote:

 Not that I'm a CSS expert, but it appears you could do this without
 changing how Org outputs tables by adding this styling to your CSS.

 http://www.zorked.com/css/alternating-table-rows-using-css-only/

 Quote:

 tr:nth-child(odd) {
 background-color: #CC;
 }

 tr:nth-child(even) {
 background-color: #6699FF;
 }

 Good luck! If you make an example, please post it!

 On Sun, Jun 14, 2009 at 03:00:15PM -0400, Xin Shi wrote:
  Hello Experts,
 
  I use org-mode to produce a lot of big tables with numbers in them. When
 I
  present these tables by HTML, I found it's hard to keep track which row
 it
  is. I'm wondering if it's possible to implement additional class
 attribute
  to the tr, such as:
 
 
  table class=sample
  tr class=d0tdOne/tdtdFish/td/tr
  tr class=d1tdTwo/tdtdFish/td/tr
  tr class=d0tdRed/tdtdFish/td/tr
  tr class=d1tdBlue/tdtdFish/td/tr
  /table
 
  So, that in the CSS file, it'll be easier to implement the color:
 
  style type=text/css
  table.sample {
border: 6px inset #8B8378;
-moz-border-radius: 6px;
  }
  table.sample td {
border: 1px solid black;
padding: 0.2em 2ex 0.2em 2ex;
color: black;
  }
  table.sample tr.d0 td {
background-color: #FCF6CF;
  }
  table.sample tr.d1 td {
background-color: #FEFEF2;
  }
  /style
 
  I borrowed idea from this article:
  http://www.somacon.com/p338.php
 
  Thanks!
 
  Xin

  ___
  Emacs-orgmode mailing list
  Remember: use `Reply All' to send replies to the list.
  Emacs-orgmode@gnu.org
  http://lists.gnu.org/mailman/listinfo/emacs-orgmode



 --
 Russell Adamsrlad...@adamsinfoserv.com

 PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

 Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


 ___
 Emacs-orgmode mailing list
 Remember: use `Reply All' to send replies to the list.
 Emacs-orgmode@gnu.org
 http://lists.gnu.org/mailman/listinfo/emacs-orgmode



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Alternate Table Row Colors

2009-06-14 Thread Xin Shi
Hello Experts,

I use org-mode to produce a lot of big tables with numbers in them. When I
present these tables by HTML, I found it's hard to keep track which row it
is. I'm wondering if it's possible to implement additional class attribute
to the tr, such as:


table class=sample
tr class=d0tdOne/tdtdFish/td/tr
tr class=d1tdTwo/tdtdFish/td/tr
tr class=d0tdRed/tdtdFish/td/tr
tr class=d1tdBlue/tdtdFish/td/tr
/table

So, that in the CSS file, it'll be easier to implement the color:

style type=text/css
table.sample {
border: 6px inset #8B8378;
-moz-border-radius: 6px;
}
table.sample td {
border: 1px solid black;
padding: 0.2em 2ex 0.2em 2ex;
color: black;
}
table.sample tr.d0 td {
background-color: #FCF6CF;
}
table.sample tr.d1 td {
background-color: #FEFEF2;
}
/style

I borrowed idea from this article:
http://www.somacon.com/p338.php

Thanks!

Xin
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] How to type A[0] in org w/o footnote

2009-05-26 Thread Xin Shi
Hello Experts,

I tried to type A[0] in a document with orgmode, but it gives me the
footnote link. I could use A[ 0] for a quick replacement, but are there any
better way to tell org not interpreting the footnote?

Thanks!

Xin
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: How to type A[0] in org w/o footnote

2009-05-26 Thread Xin Shi
Thanks a lot!

Xin


On Tue, May 26, 2009 at 1:18 PM, Bernt Hansen be...@norang.ca wrote:

 Carsten Dominik carsten.domi...@gmail.com writes:

  On May 26, 2009, at 4:15 PM, Xin Shi wrote:
 
  I tried to type A[0] in a document with orgmode, but it gives me the
  footnote link. I could use A[ 0] for a quick replacement, but are
  there any better way to tell org not interpreting the footnote?
 
  One way would be to always code code emphasis when typing something
  like this which is probably some kind of code snippet?
 
  So either
 
  #+begin_src c
 a[0] += 33
  #+end_src
 
 
  or
 
  The pointer referenced by =a[0]= points to the first real number
  in the array =a=
 
 
  The second method will still highlight the [0] as a link in org-mode
  because of
  bad font-lock setup.  However, during export this should behave fine.

 Another method is to turn off footnote handling in your export options
 line  (f:nil)

 ,
 | #+OPTIONS:   f:nil
 `

 -Bernt

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] A Mark-up rule question

2009-05-06 Thread Xin Shi
On Wed, May 6, 2009 at 6:30 AM, Carsten Dominik
carsten.domi...@gmail.comwrote:


 On Apr 22, 2009, at 4:21 PM, Xin Shi wrote:

  Hi Carsten,

 That's great! It would be nice that we document all of this symbols in the
 manual.


 Are you volunteering to make this table?  :-)


Sure. I'll be glad to do that :)

Could you tell me the format and where to put the documents?




 - Carsten




Xin
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] A Mark-up rule question

2009-05-06 Thread Xin Shi
Hi Carsten and Sebastian,

Thanks for your suggestions!

It seems the choice of unicode or not  is up to the developer for coding
that part. For documentation purpose only,  I would prefer to have a first
draft of character table which only contains two columns on Worg page:

  | Symbol  | Org   |
  |-+---+
  | \nbsp   | ~\nbsp~   |
  | \iexcl  | ~\iexcl~  |
  | \cent   | ~\cent~   |

Is that OK?

Xin



On Wed, May 6, 2009 at 11:37 AM, Sebastian Rose sebastian_r...@gmx.dewrote:

 Forgot to say:

 It's always a good idea to use the unicode entity notations in (X)HTML,
 since you will not get an error `undefined entity...'

 Example:

  Use `#160;' instead of `nbsp;'


 Regards

  Sebastian

 Carsten Dominik carsten.domi...@gmail.com writes:
  On May 6, 2009, at 3:08 PM, Xin Shi wrote:
 
 
 
  On Wed, May 6, 2009 at 6:30 AM, Carsten Dominik 
 carsten.domi...@gmail.com
   wrote:
 
  On Apr 22, 2009, at 4:21 PM, Xin Shi wrote:
 
  Hi Carsten,
 
  That's great! It would be nice that we document all of this symbols in
 the
  manual.
 
  Are you volunteering to make this table?  :-)
 
  Sure. I'll be glad to do that :)
 
  Could you tell me the format and where to put the documents?
 
 
  Maybe as a Worg page, so the format would be org-mode:
 
  * Table of special symbol macros
 
   | Symbol | Org  | HTML  | LaTeX|
   |+--+---+--|
   | \vert  | ~\vert~  | ~vert;~  | ~\vert~  |
   | \alpha | ~\alpha~ | ~alpha;~ | ~\alpha~ |
 
 
 
 
  Note that HTML and LaTeX are not always the same word, only sometimes.
  In org-html-entities you can see this by looking at entries which
  are a cons cell, for example
 
  (star . *) means \star in LaTeX, and * in HTML.
 
  I think many of these symbols have never been tried, so exporting
  this document to HTML and to LaTeX will be an interesting exercise
  and probably help us fix some bugs.
 
  Thanks!
 
  - Carsten
 
 
 
 
 
 
 
 
 
  - Carsten
 
 
 
 
  Xin
 
 
 
 
 
  ___
  Emacs-orgmode mailing list
  Remember: use `Reply All' to send replies to the list.
  Emacs-orgmode@gnu.org
  http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Javascript in Safari

2009-05-04 Thread Xin Shi
Hello Experts,

It appears that the javascript enabled webpage looks not good in Safari
browser. In particular, the whole page is expanded in one big page
instead of foled together. Are there any suggestions for that? 

Thanks!

Xin



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Javascript in Safari

2009-05-04 Thread Xin Shi
Hi Sebastian,

Does this mean it has been fixed or there are something need to be done in
the elisp?

Thanks!

Xin


On Mon, May 4, 2009 at 1:00 PM, Sebastian Rose sebastian_r...@gmx.dewrote:

 Hi,


 Hm - the comment dilimiter is wrong there.


 It should be

   /*]]*///--

 after scripts (it is not after org-info.js),

 but

   /*]]*/--

 after CSS-Sections.



 Carsten, this is in line 114 of org-jsinfo.el.

  - /*]]*/--
  + /*]]*///--


 This is what Safaris inspector says:


  SyntaxError: Parse error
  http://orgmode.org/worg/org-faq.php#sec-1 (line 61)


 The  `--' part of the ending comment delimeter.



 Regards,

  Sebastian




 Xin Shi shixin...@gmail.com writes:
  Hello Experts,
 
  It appears that the javascript enabled webpage looks not good in Safari
  browser. In particular, the whole page is expanded in one big page
  instead of foled together. Are there any suggestions for that?
 
  Thanks!
 
  Xin
 
 
 
  ___
  Emacs-orgmode mailing list
  Remember: use `Reply All' to send replies to the list.
  Emacs-orgmode@gnu.org
  http://lists.gnu.org/mailman/listinfo/emacs-orgmode
 

 --
 Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
 Tel.:  +49 (0)511 - 36 58 472
 Fax:   +49 (0)1805 - 233633 - 11044
 mobil: +49 (0)173 - 83 93 417
 Email: s.r...@emma-stil.de, sebastian_r...@gmx.de
 Http:  www.emma-stil.de

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] A Mark-up rule question

2009-04-22 Thread Xin Shi

Hi Carsten,

That's great! It would be nice that we document all of this symbols in 
the manual.


Another question related to the Mark-up:

Is there any way to by pass the + mark-up except using space? The 
reason is that I have a table like this:


| D^{+}\to K^{-}\pi^{+}\pi^{+} | 44120 \plusmn 211 | 43800 
\plusmn 210 | +0.7% (+1.5\sigma)|


The above will have several punch through line. If I use space 
surround the +, the output looks not as tight as as one symbol ...


Any suggestions?

Thanks!

Xin



Carsten Dominik wrote:


On Apr 22, 2009, at 2:05 AM, Xin wrote:


Hello Experts,

I'm wondering if it's possible to implement some special character 
for displaying math in HTML in addition to the already well performed 
greek letter.  For example, 35 ± 5 can be written as 35 \pm 5, which 
in the html correspond to plusmn, etc.   See this page:


http://comers.citadel.edu/math_sym2005.htm


That exact table lists plusmn; as the way to write
this symbol, which is why \plusmn does work in Org.
However, since Org is LaTeX based for symbols like this,
I agree that \pm should work, and it will in the future.

The full list of these commands is in org-html-entities,
you are welcome to go through this list and point out omissions.

- Carsten



Thanks!

Xin



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode






___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Problem in the http://orgmode.org/Changes.html

2009-04-22 Thread Xin Shi

Hi,

This webpage behaves strange in firefox:
http://orgmode.org/Changes.html

A lot of dialog box jumps up saying the section number. 


Xin






___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Problem in the http://orgmode.org/Changes.html

2009-04-22 Thread Xin Shi

Hi Sebastian,

Thanks for your quick fix! (Also thanks for Greg's confirm).

Now, here is another question:  if you go to that page:

http://orgmode.org/Changes.html

1. Suppose one clicks the Version 6.23  on the left panel, then 
Version 6.23 will show up in the top (notice it's slanted and not a link 
as before)
2. In the contents, you click Details. This time the Version 6.23 
show up again on the top (this time not a link either, but it was a link 
before using the CUSTOM_ID)


To verify my statement, you can remove the custom_id in one of the 
versions, for example Version 6.25, you will be able to click the title 
in the above step 2.


The clickable feature is very nice for a smooth browsing, I'm wondering 
if it's possible to apply them for the custom_id sections. Thanks!


Xin




Sebastian Rose wrote:

Oh god,

my failure ... forgot to delete a line...

I push the fix. Should be gone after the next update...


Sorry

   Sebastian
  




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Custom_ID problem with org-info.js display

2009-04-20 Thread Xin Shi
Hello Experts,

I've tried to use the new feature in 6.26a for custom IDs. Unfortunately, those
sections have the custom IDs won't show up properly in the javascript page. I 
used the org-info.js(v.0.1.0.6).  I'm wondering if the orgmode.org web
administrator could use this new feature for one of the pages, such as 

http://orgmode.org/Changes.html

So, that the link to each version will be something like:

http://orgmode.org/Changes.html#v6.25  

And see if its sub-section still works on that page. 


Thanks!

Xin







___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] shortcut keys for mark ups

2009-01-06 Thread Xin Shi

Hi Carsten,

That's cool! I think it'll be great to document them on the org-manual.

Xin


Carsten Dominik wrote:


Hi Xin,

there is only an undocumented way to do this:

On an empty line, insert e and then type TAB.

See org-structure-template-alist for a configurable list of similar 
templates.


HTH

- Carsten


On Jan 6, 2009, at 5:35 PM, Xin Shi wrote:


Hello,

In org mode, are there any shortcut keys for typing the following 
mark-ups?


#+BEGIN_EXAMPLE
#+END_EXAMPLE

Thanks!

Xin



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode






___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: shortcut keys for mark ups

2009-01-06 Thread Xin Shi

Hi Bernt,

Thanks for your reply! That's what I was trying to do. But I think 
Carsten's suggestion of using the org-structure-template-alist is more 
appealing to general user.


Xin


Bernt Hansen wrote:

Xin Shi x...@cornell.edu writes:

  

In org mode, are there any shortcut keys for typing the following mark-ups?

#+BEGIN_EXAMPLE
#+END_EXAMPLE



Not that I'm aware of.  You can use a function like the following to
achieve this - or maybe you can use yasnippets (I've never tried that
yet)


(defun bth-begin-example ()
  (interactive)
  (save-excursion
(beginning-of-line)
(insert #+BEGIN_EXAMPLE\n)
(end-of-line)
(insert \n#+END_EXAMPLE)))


(global-set-key (kbd f9 e) 'bth-begin-example)


Then you can just type f9 e while on a line and it'll put the EXAMPLE
block around the current line.

HTH,

-Bernt
  




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org/blorg and mysql

2008-03-27 Thread Xin Shi

Hi Dimitris,

Here is a link:

http://peadrop.com/blog/2007/05/11/blogging-with-emacs/

Xin

D. Kapetanakis wrote:

Hey, I also want to look at it, but where???
Dimitris

--

Message: 6
Date: Wed, 26 Mar 2008 13:37:20 -0700
From: Cezar Halmagean [EMAIL PROTECTED]
Subject: [Orgmode] Re: org/blorg and mysql
To: emacs-orgmode@gnu.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

Xin Shi [EMAIL PROTECTED] writes:

 

Hi Cezar,

It's a good idea!

I've been using the weblogger.el to post on the mysql server,
interfaced by wordpress. You may want to take a look at it.

Xin




Thanks Xin, I think that will help me build a publish/sync function.






___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Add to do item in the Org Agenda Day Grid

2008-03-26 Thread Xin Shi

Hi,

I'm wondering if there's a way to add todo item in the buffer Org 
Agenda on its Day Grid? Since there are frequently something jumps up 
and I want to keep it in the schedule.


Thanks!

Xin




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Add to do item in the Org Agenda Day Grid

2008-03-26 Thread Xin Shi

Hi Thomas,

Thank you! I'll read more about the remember package then.

Xin

Thomas Baumann wrote:

I have customized my remember templates:

 '(org-remember-store-without-prompt t)
 '(org-remember-templates (quote ((Todo 116 * TODO %?
  %u ~/org/diary.org Tasks) (Note 110 * %?
  %u ~/org/tb.org Notes) (Appt 97 * %?
  %^T
  %^{Ort} ~/org/diary.org Appointments) (Call 99 * call %:name 
(%:company)
  [[bbdb:%:name]]
  %^T
  %? ~/org/diary.org Tasks

 '(remember-annotation-functions (quote (org-remember-annotation)))
 '(remember-handler-functions (quote (org-remember-handler)))


Maybe this helps

Thomas



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
  




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] org/blorg and mysql

2008-03-26 Thread Xin Shi

Hi Cezar,

It's a good idea!

I've been using the weblogger.el to post on the mysql server, interfaced 
by wordpress. You may want to take a look at it.


Xin


Cezar Halmagean wrote:

Hello,

  What I am trying to do is create a blog that reads from a mysql db and
  I would like to be able to use org-mode to write (and read) to that
  mysql db. So in other words, use org-mode as an interface/editor for
  my blog.

  I would like to hear your thoughts about this.

Regards,
Cezar



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
  




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Release 5.23a

2008-03-10 Thread Xin Shi

Hi,

Thanks for the release!

There is a bug which I got from an Email several weeks ago said it has 
been fixed, but I still found it in the 5.23a.  When export the org file 
to html, emacs opens the .html file in the buffer. Since the html file 
has already been saved, shall we not open it in Emacs?  Another reason 
that this matters to me is that I'm using the nXhtml mode, whenever 
emacs opens the html file, (even in the background buffer), it will load 
this mode and open the *nXhtml Welcome* buffer in half window. :)


Best,
Xin





Carsten Dominik wrote:

Hi,

I am releasing Org-mode version 5.23, at

http://orgmode.org

Enjoy!

- Carsten

Changes in Version 5.23
~~~

Overview


   - New keyword search agenda view

   - Many new extensions available in the CONTRIB directory

   - New remember template option: pre-selection contexts

   - Modifying list/headline status of a line

   - Granularity while editing time stamps

   - New repeaters mechanisms

   - New parameters for dynamic blocks ad the clock table

   - Limiting iCalendar export to fewer entries

   - `M-RET' splits lines again

   - New hooks

Incompatible changes


   - The variable `org-time-stamp-rounding-minutes' is now a list
 of two values - if you have configured this variable before,
 please do it again.

Details
===

New keyword search agenda view
--

`C-c a s' now invokes a special agenda view that can be used
to search notes by keyword and regular expressions.  In
particular, it does not require a single regular expression
or string to search for, but it can search for a number
keywords or regexps that can occur in arbitrary sequence in
the entry.  The search knows the boundaries of an entry, can
use simple Boolean logic and is reasonably fast.  For
example, the search string

 +computer +wifi -ethernet -{8\.11[bg]}

will search for note entries that contain the keywords
`computer' and `wifi', but not the keyword `ethernet', and
which are also not matched by the regular expression
8\.11[bg], meaning to exclude both 8.11b and 8.11g.  If the
first character of the search string is an asterisk, the
search will only look at headlines - otherwise it will look
at the headine and the text below it, up to the next
(possibly sub-) heading.

The command searches all agenda files, and in addition the
files listed in `org-agenda-text-search-extra-files'.

I find it very useful to define a custom command to do such
a search only in a limited number of files (my notes files),
like this:

 (N Search notes search 
   ((org-agenda-files '(~/org/notes.org ~/org/computer.org))
(org-agenda-text-search-extra-files nil)))

Many new extensions available in the CONTRIB directory
--

- Phil Jackson's /org-irc.el/ is now part of the Org-mode
  core, which means it will become part of Emacs soon.

- The new development model already starts to pay off, a
  number of interesting extensions are now part of the
  distribution.  Check the file CONTRIB/README for a list.

- There is a new variable `org-default-extensions'.
  Configuring this variable makes it *very* easy to load
  these default extensions - eventually this will be expanded
  to cover contributed extensions as well.

New remember template option: pre-selection contexts


- Remember template definitions now allow six elements.  The
  last element defines the contexts in which the template
  should be offered.  It can be a list of major modes, a
  function, `t' or `nil'.  If it is a list of major-mode, the
  template will be available only when `org-remember' is
  called from a buffer in one of these modes.  If it is a
  function, the template will be offered only if the function
  returns `t' when called in the current buffer.  A value of
  `t' or `nil' for this element means select this template in
  any context.

  One possible application for this would be to have several
  templates all using the same selection letter, and choosing
  the right one based on context.  For example, think of
  tasks describing a bug in a source code file.  With the
  following configuration we make sure that the bug reports
  are filed into the appropriate sections of the target file.

 (setq org-remember-templates
  '((Elisp ?b * %a\n\n%i%? ~/bugs.org Elisp bugs 
(emacs-lisp-mode))

(C Bugs ?b * %a\n\n%i%? ~/bugs.org C bugs (cc-mode

  See (info (org)Remember templates) for details.

Modifying list/headline status of a line


- `C-c -' has now more functions:
  + In a table, add a hline as before
  + In an item list, cycle bullet type as before
  + In 

Re: [Orgmode] Release 5.23a

2008-03-10 Thread Xin Shi

Hi Bastien,


Bastien wrote:

Hi Xin,

Xin Shi [EMAIL PROTECTED] writes:

  

When export the org file to html, emacs opens the .html file in the
buffer. Since the html file has already been saved, shall we not open
it in Emacs?  



`C-c C-e b' -- The `b' standing for [b]rowsing.
  

I used the C-c C-e h ( org-export-as-html).


| Command   | Save to a file | Jump to buffer | Don't kill buffer |
|---+++---|
| C-c C-e b | V  | V  | V |
| C-c C-e h | V  | X  | V |
| C-c C-e H | X [temp buf]   | V  | V |

All export commands export to a buffer.
All exported buffers are still around after export.
  
Is that possible to make it kill the buffer on the C-c C-e h case? Or 
let user to customize this behavior?  I don't know the reason to keep 
that buffer in this case.  (I know in the ps-spool-buffer case, the 
output PostScript buffer is open, because that buffer is not saved to 
any file).



Some export command also save the file.
Some export command also jump to the buffer.

Note two differences with publishing: (1) publishing require a file to
be part of a project and (2) publishing will kill exported buffers.

  
I'm not sure where are these two differences comes from? Are they 
behaviors in org or in general?





HTH,

  



Thank you!

Xin



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Release 5.23a

2008-03-10 Thread Xin Shi

Bastien Guerry wrote:

Xin Shi [EMAIL PROTECTED] writes:

  

Is that possible to make it kill the buffer on the C-c C-e h case? Or
let user to customize this behavior?  I don't know the reason to keep
that buffer in this case.  



I don't know what the default should be, I have no personal preference.
I think it's quite useful to have the exported file accessible through
the list of buffers even if you don't want to jump to it.

  
If there are programs still need to access that buffer, I agree to keep 
it in the buffer list.  Otherwise, I don't think people want to EDIT 
that html file inside Emacs by hand :)




But I certainly wouldn't go for an option about this.

What people think?

  
I'm using firefox to view the output. If there are people still using 
the Emacs to view the output .html file, let's just keep it there.




Note two differences with publishing: (1) publishing require a file to
be part of a project and (2) publishing will kill exported buffers.

  

I'm not sure where are these two differences comes from? Are they
behaviors in org or in general?



I'm not sure what do you mean by in general.  In case of publishing,
since you can publish a project from *any* buffer, it doesn't really
make sense to keep the exported buffers alive, right?  As for the (1),
the truth is that it would be nice to be able to add a file to a project
on the fly.

  




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Release 5.23a

2008-03-10 Thread Xin Shi

Hi Xiao-Yong,

Thanks for your message!

I'll look into the nXhtml mode to turn that off.

Xin

Xiao-Yong Jin wrote:

Bastien Guerry [EMAIL PROTECTED] writes:

  

Xin Shi [EMAIL PROTECTED] writes:



Is that possible to make it kill the buffer on the C-c C-e h case? Or
let user to customize this behavior?  I don't know the reason to keep
that buffer in this case.  
  

I don't know what the default should be, I have no personal preference.
I think it's quite useful to have the exported file accessible through
the list of buffers even if you don't want to jump to it.



I second that.  Because I use `midnight' to take care of
useless buffers and `ido' does well on choosing buffers,
leaving such a buffer open is not completely useless, if
people have enough RAM.

  

But I certainly wouldn't go for an option about this.

What people think?



I think it could be an option, if someone thinks he/she
would use it.  At the very least, we can have an option to
keep our environment green.


And a second thought on Xin's issue.  I believe the one whom
we should blame to is nXhtml mode, because if I understand
correctly, his problem is that an additional window being
created by nXhtml mode, when the html file is generated.  So
I would guess that even if the buffer is killed after the
generation, that additional nXhtml window would still be
there.  Therefore, I would suggest that Xin disable the
annoying/useless behaviour of nXhtml mode.

Xiao-Yong
  




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] time lag in re-scheduling the item in Agenda buffer

2008-03-04 Thread Xin Shi

Hi,

I'm using the 5.22a version.  When I view the agenda in the buffer, I 
use keyboard C-c C-s to re-schedule some items. It first gives a nil 
in the min-buffer, and after about 2 or 3 seconds gives me the calendar 
to choose. It looks like slow compared with doing the same thing in the 
.org file on those items. Are there any reason for that or to make it a 
little bit faster?


Thanks!

Xin



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] export-latex beamer

2008-03-04 Thread Xin Shi

Hi,

I'm wondering if it's possible to export org file to latex beamer 
format, to make pdf slides.  Or are there any thoughts?


Xin



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] export-latex beamer

2008-03-04 Thread Xin Shi

All right. Thank you!

Xin



Bastien wrote:

Xin Shi [EMAIL PROTECTED] writes:

  

I'm wondering if it's possible to export org file to latex beamer
format, to make pdf slides.  



You can export to LaTeX and work from here.  Direct export to beamer is
not supported right now.  I hope it will be someday, but it won't happen
before a while...

The list have been pretty busy these days (partly because of me) and
maybe we should slow down a bit on the [Feature request] side -- let's
concentrate on bugs before the next release!

  




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] export-html, close the .html file

2008-02-29 Thread Xin Shi

Hi,

Is that possible to not open the .html file in the Emacs buffer after 
exporting the .org file to HTML? 
Thanks!


Xin



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] export-html, close the .html file

2008-02-29 Thread Xin Shi

Bastien Guerry wrote:

Xin Shi [EMAIL PROTECTED] writes:

  

Not really. That one is export to temporary  buffer. What I want is when
org-export-html, is just do the work at the background, without open the
.html in one of Emacs' buffer.



Sorry I misunderstood your question, because exporting to HTML does not
open the result in the current buffer, unless you explicitly export to 
a temporary buffer.


What you want exactly is that all export buffers should be cleaned up
after expor -- am I right?

  

Yes.  That's exactly what I mean. :)

I so, I agree, and will fix this.
  

Thank you!

Xin




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] title for single page export to html

2008-02-28 Thread Xin Shi

Hi,

Is that possible to add a line in the .org file indicating the title of 
the exported HTML, in stead of the file name?  For example:


#title This is the title of the HTML

Thanks!

Xin



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


  1   2   >