[Orgmode] How to write special LaTeX symbols
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] How to write special LaTeX symbols
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 wrote: > Nick Dokos writes: > > > Nick Dokos 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
Re: [Orgmode] How to write special LaTeX symbols
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 wrote: > Nick Dokos 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
[Orgmode] How to write verbatim [0] ?
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] ?
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 wrote: > 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 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
Re: [Orgmode] How to write verbatim [0] ?
Wow~~ Thanks ! Xin On Thu, Oct 29, 2009 at 5:23 AM, Carsten Dominik wrote: > > 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
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 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] ?
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 wrote: > > 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] Error when push fils in MobileOrg
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] Error when push fils in MobileOrg
t; ... "\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 (quote org-mobile-pre-push-hook)) (message "Creating agendas...") (let (...) (org-mobile-create-sumo-agenda)) (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 (quote org-mobile-post-push-hook))) (save-excursion (save-window-excursion (org-mobile-check-setup) (org-mobile-prepare-file-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 wrote: > Xin Shi 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
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 wrote: > Xin Shi 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
[Orgmode] Re: MobileOrg agendas
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 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
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 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 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 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
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 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 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 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 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] Function request in exporting to HTML: \bar
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 : A 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?
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 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
Hi Carsten, Hi Carsten, It worked. Thank you! Xin On Tue, Jan 5, 2010 at 12:27 PM, Carsten Dominik wrote: > 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 : >> A >> >> 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] symbol request ins org-html-entities
Hello Experts, Sometimes, I found it would be handy to put "checkmarks" in tables. In TeX, it is \checkmark, while in HTML, its ✓ 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] org-info.js : How to put link on "go back to last / forward to next visited section." ?
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] Open link with different suffix in org mode
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
Re: [Orgmode] Open link with different suffix in org mode
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 wrote: > Hi, Xin, > > Xin Shi 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] Turn off "pushed to kill ring and clipboard" exporting HTML
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
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 wrote: > Xin Shi 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] Exporting to HTML opens resulting file
I had a similar request before but never get solved. I support this request. On Thu, Apr 8, 2010 at 4:11 AM, Gary . 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
Re: [Orgmode] Exporting to HTML opens resulting file
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 wrote: > > 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 . >> 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] Can org accept letter (a.b.c) as ordered list?
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] Can org accept letter (a.b.c) as ordered list?
Okay. Thanks for this confirmation :) Xin On Thu, Apr 29, 2010 at 9:02 AM, Carsten Dominik wrote: > > 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] No title or date in LaTeX export
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
[Orgmode] Re: No title or date in LaTeX export
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 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] No title or date in LaTeX export
Hello, Thank you all ! :) Xin On Thu, Jul 29, 2010 at 7:01 PM, John Hendy 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 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 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
[O] How to add entry in the Agenda view
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] Orgmode LaTeX export special character in Title
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: [O] Orgmode LaTeX export special character in Title
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 wrote: > Xin Shi 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
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 wrote: > Xin Shi 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] TAB not working on example line : ?
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 : ?
Thank you Nicolas! Xin On Sun, Jun 5, 2011 at 11:46 AM, Nicolas Goaziou wrote: > Hello, > > Xin Shi 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 >
[O] Double Quotation not translated in sections for LaTeX
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
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
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 wrote: > Xin Shi 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
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 wrote: > Xin Shi 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
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 wrote: > Xin Shi 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 > wrote: > > > >> Xin Shi 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] Org Agenda - revert all agenda files?
Hello Experts, In the *Org Agenda* buffer, I usually use the key "r" to refresh the content. If some of the agenda files have change from the disk, it will pop up the question in the mini-buffer to ask what to do. As I choose "r" to revert most of the time, and I have to do several times to revert all the related agenda files. I'm wondering if there is a command to revert all agenda files? Or "force revert"? Thanks! Xin
Re: [O] Org Agenda - revert all agenda files?
Hi Giovanni, Thanks for your quick response. You're right that g and r are the same thing. To reproduce what my problem, one has to change the file not inside the Emacs of org-mode, such as in a terminal (the senario is that the files are updated remotely and controlled by VC) . For example, a.org is one of the agenda files, one can do in terminal: $ echo "Additional line to test" >> a.org Then, inside the *Org Agenda* buffer, press "g" or "r" will show: a.org changed on disk; really edit the buffer? (y, n, r or C-h) Xin On Wed, Jul 25, 2012 at 10:18 AM, Giovanni Ridolfi < giovanni.rido...@yahoo.it> wrote: > Hi, Xin, > > Da: Xin Shi > Inviato: Mercoledì 25 Luglio 2012 10:09 > > > > In the *Org Agenda* buffer, I usually use the key "r" to refresh the > content. > > > If some of the agenda files have change from the disk, it will pop up > the question in the mini-buffer to ask what to do. > > > As I choose "r" to revert most of the time, and I have to do several > times to revert all the related agenda files. > >I'm wondering if there is a command to revert all agenda files? Or "force > revert"? > > why don't you use "g" ? (ah I've just read it is the same) > > however I am not asked what to do both with r and g). Org rebuilts the > agenda reading from disk. > Do you have some configuration for asking? > > Org-mode version 7.8.11 (eed478ffa @ > GNU Emacs 24.1.1 (i386-mingw-nt6.1.7601) of 2012-06-10 on MARVIN > > > cheers, > Giovanni > >
Re: [O] Org Agenda - revert all agenda files?
Dear all, Thanks for your kind reply! Sorry that I didn't have chance to check till now. OKay, I added the function: (defun sx-org-revert-agenda-buffers () (interactive) (mapcar (lambda (file) (let ((revert-without-query '(".*\.org$"))) (find-file file) (revert-buffer))) (org-agenda-files t))) It works ! Thanks a lot! Xin On Thu, Jul 26, 2012 at 11:32 PM, Carsten Dominik wrote: > Carsten Dominik wrote: > > > > > On 25 jul 2012, at 17:39, Nick Dokos wrote: > > > >> ... > >> On the OP's question, I'd prefer a more targeted solution: something > >> like this should work (very lightly tested - check the doc for > >> revert-without-query if you want to modify the regexp): > >> > >> --8<---cut here---start->8--- > >> (defun xin-shi-org-revert-agenda-buffers () > >> (interactive) > >> (mapcar > >> (lambda (file) > >>(let ((revert-without-query '(".*\.org$"))) > >> (find-file file) > >> (revert-buffer))) > >> org-agenda-files)) > >> --8<---cut here---end--->8--- > > > > > > The variable org-agenda-files can also contain directories. Therefore > > you should use the function call > > > > (org-agenda-files t) > > > > to get a list of the files. The t means, even if the agenda > > is currently restricted, get all files. > > > > Thanks - I forgot all about that. > > > Another improvement to this function would be to limit it > > to files currently visited - but I guess this is a minor issue > > as the next agenda command will visit all those files anyway. > > > > Yes, I thought about that and decided it wasn't worth worrying about. > As Kernighan and Plauger say: first get it right, then make it fast; and > as we just saw, it wasn't right :-). But for typical setups - a few > files or a few dozen files - I don't think it's going to make much > difference. OTOH, if one has thousands of agenda files, then one > probably has much worse problems than this. > > > > Uhhh, yes, indeed! > > - Carsten > > Nick >
[O] Org publish restrict to certain levels
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
Re: [O] Org publish restrict to certain levels
Thank you! Xin On Wed, Mar 28, 2012 at 3:20 AM, Nick Dokos wrote: > Bastien wrote: > > > Hi Nick, > > > > Nick Dokos 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 >
[Orgmode] Custom_ID problem with org-info.js display
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] A Mark-up rule question
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 ±, etc. See this page: http://comers.citadel.edu/math_sym2005.htm That exact table lists ± 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
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
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] Javascript in Safari
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
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 wrote: > 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 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
On Wed, May 6, 2009 at 6:30 AM, Carsten Dominik 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? > > - 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
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 wrote: > 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 ` ' instead of ` ' > > > Regards > > Sebastian > > Carsten Dominik 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~ | > > | \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] How to type A[0] in org w/o footnote
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
Thanks a lot! Xin On Tue, May 26, 2009 at 1:18 PM, Bernt Hansen wrote: > Carsten Dominik 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
[Orgmode] Alternate Table Row Colors
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 , such as: OneFish TwoFish RedFish BlueFish So, that in the CSS file, it'll be easier to implement the color: 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; } 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
Re: [Orgmode] Alternate Table Row Colors
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 . Xin On Sun, Jun 14, 2009 at 3:11 PM, Russell Adams wrote: > 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 , such as: > > > > > > > > OneFish > > TwoFish > > RedFish > > BlueFish > > > > > > So, that in the CSS file, it'll be easier to implement the color: > > > > > > 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; > > } > > > > > > 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
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 "" ... 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 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 . > > Xin > > > > On Sun, Jun 14, 2009 at 3:11 PM, Russell Adams > wrote: > >> 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 , such as: >> > >> > >> > >> > OneFish >> > TwoFish >> > RedFish >> > BlueFish >> > >> > >> > So, that in the CSS file, it'll be easier to implement the color: >> > >> > >> > 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; >> > } >> > >> > >> > 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] org-info.js: new navigation history
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 wrote: > 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] Alternate Table Row Colors
Hi Carsten, That's great! Thanks a lot! Just one tiny typo in the docstring: "these ca be Lisp forms" ~~~ -> can Xin On Thu, Jun 18, 2009 at 1:09 AM, Carsten Dominik wrote: > Hi Xin, > > I have pushed a change to this effect. It introduces a new variable > org-export-table-row-tags which can be used for this purpose. > > Please the the docstring of that variable. > > HTH > > - Carsten > > > On Jun 14, 2009, at 9:00 PM, 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 , such as: >> >> >> OneFish >> TwoFish >> >> RedFish >> BlueFish >> >> >> So, that in the CSS file, it'll be easier to implement the color: >> >> >> >> 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; >> } >> >> >> 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 >> > > ___ 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
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 wrote: > Xin Shi 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] org-info.js: new navigation history
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]]. It does not jump to that position by the javascript. Although, opening a new web browser and specify that link (published_org_file_name#tab-compare) will open it. Are there any way to solve it in the js file? Thanks! Xin On Thu, Jun 18, 2009 at 6:01 PM, Sebastian Rose wrote: > Xin Shi writes: > > > Hi Sebastian, > > > > I see. So, in your initial email, "using mouse" only means click on the > > links make by the js file. > > > Yes. > > Modifying the history is considered dangerous (it is). > > But you can return from file b to file a using the browsers back > button. Now to the very point you left file a before. > > > 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
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 wrote: > Xin Shi 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
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 wrote: > > 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--- > # <> > * 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
[Orgmode] Special symbol table in Worg
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
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 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
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 wrote: > Xin Shi 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
Re: [Orgmode] org-info.js: new navigation history
On Mon, Jun 22, 2009 at 10:15 PM, Sebastian Rose wrote: > Xin Shi writes: > > Hi Sebastian, > > > > Hmm... I may need to wait for another release of the org-mode and the js > > file. > > > Which version of Org-mode do you use? `M-x org-version RET' > > I'm using 6.27a. > > > 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 > > > Yes. It the navigation jumps up again. > > I saw, that the page in info mode jumps up to the headline inside the > window. It does so, because the browser moves to the section if I change > the location. > The only workaround I found so far, is to hide the body, change the > location, show the body again and do a `window.scrollTo(0,0)' which > turns out to be sub-optimal. > You can see the effect, if you press `m' to switch to plain view > mode. The TOC then stays where it was before the click. > > Hm - now as I write this... maybe it helps to just hide hide the > info-view widget... I'll figure... > I checked just now, looks normal again :) > > > > Sebastian > 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] Sourceforge voting has started
done. On Tue, Jun 23, 2009 at 10:29 AM, Nagarjuna G. 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] [ANN] org-icons.el
Hi Nicolas, That looks impressive! Especially the colors for different meanings. Xin On Tue, Jun 23, 2009 at 3:38 PM, Nicolas Girard wrote: > Hi all, > > a while ago, David mentionned that at least two people from the > #org-mode IRC channel would be interested in having pretty icons in > org-mode buffers. I have to confess I'm the second one :-) > > After a little experimentation, I ended up with the results shown in > these screenshots [1] [2]. > > The code can be found on github [3]. Currently, it is not based > on overlays, like David's linkd.el, but on display properties. It is > still unclear which of the approach is the best, but as David > offered his help and is by far more skilled in elisp than I, > hopefully these kind of implementation details will be solved > quickly and the code will become actually useable. > > As for the icons, I make them from scratch using Inkscape and the > Tango [4] colour palette. > > So, what do you think ? Is this a direction you'd want org-mode > to go ? Please, share your feedback & suggestions ! > > Also, I was thinking that putting such kind of screenshots in org-mode's > website could make us gain a little more votes... > > Cheers, > Nicolas > > [1] > http://github.com/ngirard/org-icons/blob/20ab287cd6ab5a5bb3fc8dfc6524f3dd1ab29b2e/example/screenshot1.png > [2] > http://github.com/ngirard/org-icons/blob/20ab287cd6ab5a5bb3fc8dfc6524f3dd1ab29b2e/example/screenshot2.png > [3] http://github.com/ngirard/org-icons/tree/master > [4] http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines > > > ___ > 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] unicorn image is not a link back to the front page on orgmode.org
One reason is that this picture is a background. On Wed, Jun 24, 2009 at 9:39 AM, James Yoo 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] Release 6.28
Hi Carsten, On Thu, Jun 25, 2009 at 3:10 AM, Carsten Dominik wrote: > 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 > "" > (if (= (mod nline 2) 1) > "" > "")) > "")) > > > 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?
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_id"s, 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] Problem with org-info.js?
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 wrote: > Xin Shi 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_id"s, 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] Problem with org-info.js?
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 wrote: > Xin Shi 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?
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 wrote: > Xin Shi 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 ). > > 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?
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 wrote: > Xin Shi 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
[Orgmode] Shotcut Icon and PDF problem in the HTML output
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: 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
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 wrote: > Xin Shi 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: > > > > 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
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 wrote: > Xin Shi 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
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. Xin On Tue, Jun 30, 2009 at 1:58 PM, Vikram S V 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
Hi Vikram, On Tue, Jun 30, 2009 at 2:17 PM, Vikram S V 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: 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
[Orgmode] Feature request: javascript expand collapse
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
Re: [Orgmode] Feature request: javascript expand collapse
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 wrote: > Hi Xin, > > Xin Shi 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
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 wrote: > Xin Shi 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
Hi Bastien, On Sun, Jul 19, 2009 at 1:00 PM, Bastien wrote: > Xin Shi 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
Re: [Orgmode] Feature request: javascript expand collapse
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 wrote: > Hi Xin, > > Xin Shi 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
[Orgmode] How to Calculate duration time in Table ?
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 ?
Cool! thanks for all :) Xin On Tue, Jul 21, 2009 at 7:47 PM, Bastien wrote: > Nick Dokos writes: > > > Bastien wrote: > > > >> Nick Dokos 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
[Orgmode] error in org-remember
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
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 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] org export html with header and footer option
Hello, I've been using Emacs Muse and Planner to maintain my project in html format for about 3 years. Until recently, I started looking into the org mode and really impressed by it! Now, when I want to publish org to html, it is possible to add a header and footer file? Usually the header file contains the style and other format related settings. Just for reference, here is the settings in Emacs Muse: (muse-derive-style "calendar" "planner-xhtml" :header "~/work/static/templates/header-calendar.html" :footer "~/work/static/templates/footer.html") (setq muse-project-alist (append muse-project-alist `( ("cms-calendar" ("~/work/calendar/" :force-publish ("index") :default "index") (:base "calendar" :path "~/work/cms/calendar/")) ))) 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] org export html with header and footer option
Hi Will, Thanks for your message! So, for your first solution, I just put the code into my .org file? # Local Variables: # org-export-html-style: " # " # End: I'll check it out. 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] org export html with header and footer option
Hi Will, I've tried that and it works pretty well! There are still one minor issue bother me: I would like to turn off the Author and Date at the end of the page. And instead add my own style footer: org-export-html-postamble: " Updated February 20, 2008 And I don't know how to put a variable for the date format. (In the muse case, it is Updated (muse-publishing-directive "date") 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] Suggestions on Org-table export-html
Hi, When I use the org-table to export-html, I have two suggestions to make the CSS more flexiable (it already done a great job!) The first one is for flexiable CSS: The current code in html is: It'll be flexiable to add another attribute class="org-table", so that in the CSS file, we can treat these tables specifically. In this way, we'll be able to write in the CSS file like: table.org-table th { background-color: #ECF1FF; } without affect the generic web table. The second one is for cleaner view on the html table: Currently, every row is start with , it'll be nice to have alternate row with class="alt": ... ... Then, in the CSS file, we can use: table tr { background: #e6e6e6;} table tr.alt {background: #f1f1f1;} The output html table will looks better then. 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] Suggestions on Org-table export-html
Hi Phil, Hah, I hope this won't consume you too much time :) Thank you! Xin Phil Jackson <[EMAIL PROTECTED]> writes: > Hi Xin, > > Xin Shi <[EMAIL PROTECTED]> writes: > >> When I use the org-table to export-html, I have two suggestions to >> make the CSS more flexiable (it already done a great job!) >> > > [...] > > It looks like I'll be doing the HTML exporter for the new engine so I've > jotted down your points. > > Thanks, > Phil > -- > Phil Jackson > http://www.shellarchive.co.uk ___ 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
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
[Orgmode] export-html, close the .html file
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
Bastien Guerry wrote: Xin Shi <[EMAIL PROTECTED]> writes: Is that possible to not open the .html file in the Emacs buffer after exporting the .org file to HTML? Thanks! Is `C-c C-e H' what you need? 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. ___ 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