Re: [O] ditaa source gets disappeared by exporting html
thanks for your reply. It might have been my mistake. I have redone all org-mode configuration written in init.el, then now it seems to be working as I wanted it to. Though, I wasn't able to find the cause of what was happing. Thanks anyway. 2014-10-11 17:40 GMT+09:00 Eric S Fraga e.fr...@ucl.ac.uk: On Saturday, 11 Oct 2014 at 12:13, ishi soichi wrote: emacs 24.3 org-mode 8.2.6 When I run org-html-export-to-html the following code, #+begin_src ditaa :file ditaa-seqboxes.png +--+ +-+ +-+ +-+ |{io} | |{d} | |{s} | |cBLU | | Foo +---+ Bar +---+ Baz +---+ Moo | | | | | | | | | +--+ +-+ +--+--+ +-+ | /-\ | +--+ | | | | c1AB | | Goo +--+---=--+ Shoo | \-/ | | +--+ #+end_src it successfully produces an image, which is visible in the exported html. But the original source of the org file becomes, #+RESULTS: [[file:ditaa-seqboxes.png]] In other words, the source is gone(?). Very strange. I have never heard of this happening to anybody with any version of org! In any case, your example works just fine when I export to HTML. In fact, the export commands should not change the original org file at all. The RESULTS line should only appear if you actually execute babel on the src block. You must be doing something more than what you are indicating in your email. -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-431-g8e1359
[O] ditaa source gets disappeared by exporting html
emacs 24.3 org-mode 8.2.6 When I run org-html-export-to-html the following code, #+begin_src ditaa :file ditaa-seqboxes.png+--+ +-+ +-+ +-+|{io} | |{d} | |{s} | |cBLU || Foo +---+ Bar +---+ Baz +---+ Moo || | | | | | | |+--+ +-+ +--+--+ +-+ | /-\ | +--+ | | | | c1AB | | Goo +--+---=--+ Shoo | \-/ | | +--+#+end_src it successfully produces an image, which is visible in the exported html. But the original source of the org file becomes, #+RESULTS: [[file:ditaa-seqboxes.png]] In other words, the source is gone(?). Is there anyway to maintain the source of the image and export the image in html? soichi
Re: [O] table export-as-html from a simple list
thanks for your answer. it was helpful. 2013/10/30 Rick Frankel r...@rickster.com On 2013-10-28 22:53, ishi soichi wrote: Emacs 24.3 org-mode 7.8.11 I am trying to export org file into html, and the result html needs to show a table rather than a list. I understand that |-+-| | | | | | | would export itself into a table. But this form of contents is not easy to read and edit, though it might be my personal preference. I prefer, * - - style. Is there anyway to export the org list into an html table? Short answer, no. You could play around with the css display: attribute (table, table-row, table-cell), but a table is inherently 2-d and a list 1-d. rick
[O] table export-as-html from a simple list
Emacs 24.3 org-mode 7.8.11 I am trying to export org file into html, and the result html needs to show a table rather than a list. I understand that |-+-| | | | | | | would export itself into a table. But this form of contents is not easy to read and edit, though it might be my personal preference. I prefer, * - - style. Is there anyway to export the org list into an html table? soichi
[O] Clocking table for all org-files
Hi. Clocking capability is nice and powerful. I'm wondering if there is a way to generate a clocking table for ALL org files that are registered as org-agenda-files ? I have currently set up several agenda files in order to keep track of many projects. I use the clocking functionality for each of them. It is nicer if a single clocking table can show the summary of all projects. Thanks in advance soichi
Re: [O] Clocking table for all org-files
Thanks! That was simple. soichi 2011/10/26 Cecilio Pardo cpa...@imayhem.com Hitting R in the daily agenda will give you that (org-agenda-clockreport-mode). I'm wondering if there is a way to generate a clocking table for ALL org files that are registered as org-agenda-files ? -- Cecilio Pardo.
Re: [O] Clocking table for all org-files
I will try it as well. Thanks. sochi 2011/10/26 Carsten Dominik carsten.domi...@gmail.com On 26.10.2011, at 09:36, ishi soichi wrote: Thanks! That was simple. Alternatively, use the :scope parameter, described in the manual. - Carsten soichi 2011/10/26 Cecilio Pardo cpa...@imayhem.com Hitting R in the daily agenda will give you that (org-agenda-clockreport-mode). I'm wondering if there is a way to generate a clocking table for ALL org files that are registered as org-agenda-files ? -- Cecilio Pardo.
[O] freshly setting up MobileOrg and org-id-add-location problem
org-mode 7.4 MacOSX SnowLeopard Hi. I have tried to re-set-up the MobileOrg environment using Dropbox. I have succeeded in creating and making use of MobileOrg application before, so the procedure of setting up should be OK. I wrote the directory of org files and so on... Then I implemented org-mobile-push but it gives a long error like org-id-add-location: Wrong type argument: hash-table-p, ((~/Dropbox/Org/ main-todo.org 5CFEA79D-5E11-406B-8C63-2DAE8DFC619B) (~/Dropbox/Org/ main-todo.org 4D2E2BF7-8245-4B52-9F54-9C312255CF61) (~/Dropbox/Org/ web_service.org 2C4C4F7F-C193-4DB0-910F-9171F590A5D0) (~/Dropbox/Org/ main-todo.org 8B559866-07C8-45C0-8C53-37A3A42CF10B) (~/Dropbox/Org/ main-todo.org 5B591CDD-6335-436C-9CDF-FA3272A9318B) (~/Dropbox/Org/ main-todo.org 2339B93C-66AB-4715-9789-545A506ADA8B) (~/Dropbox/Org/ main-todo.org 9FE39471-3919-4354-BBF9-363278FE2261) (~/Dropbox/Org/ web_service.org BB07BF21-53A4-4DA9-B708-422FB045E176) (~/Dropbox/Org/ main-todo.org 9A7DF4AB-EAB2-437B-B97E-1A8CB331B508) (~/Dropbox/Org/ main-todo.org F8DCA33A-B480-4E03-8DEF-47913C66555A) ...) It shows the id's of the old set-up. And I found the file, .org-id-locations which is in ~/.emacs.d/ directory. So, I erased it and restarted Emacs, but the same problem occurred. Every time Emacs starts, it seems to create the file, .org-id-locations. I think that this is the problem but not sure how to deal with it. Could anyone help me out ? soichi
Re: [O] Google Analytics tracking code for org-export-as-html
Oh, I see. It's a simple reason. Thanks for pointing it out. I will be careful. soichi 2011/6/2 Tomas Hlavaty t...@logand.com Hi soichi, May I ask why I shouldn't do this ? data protection, privacy. Some people don't like being spied on, esp by untrusted third-parties not related to your website content. But this goes beyond your original technical question. Cheers, Tomas
[O] Google Analytics tracking code for org-export-as-html
Hi. I would like to add a Google Analytics tracking code to the exported html file from an org-file. According to the instruction of GAnalytics, the tracking code must be right before /head tag. And I assume it's OK as long as the code is between head and /head. The tracking code needs to be in the html file every time I export it as html. So, I need to somehow add the code segment in the org-file. #+BEGIN_HTML ... #+END_HTML This seems to add whatever between to a location after body tag. Is there anyway to achieve this? soichi
[O] Options for into exporting both LaTeX and HTML
emacs23.2 org-mode 7.4 I would like to export an org file into both LaTeX and HTML. In order to do so, it is important to add appropriate options for both. #+ATTR_HTML: alt=apples image title=How many? align=right width=200 #+ATTR_LaTeX: width=200 [[./images/apples.jpg]] The HTML export gives an outcome as I desire. But this does not seem to work well for LaTeX export. I want to show the image in TeX as similarly as HTML. First of all, can I simply list the options like this? Should I wrap them like... #+Begin_... #+End_... ? Thank you in advance. soichi
Re: [O] Options for into exporting both LaTeX and HTML
Thanks! It did solve the problem. soichi 2011/5/17 Thomas S. Dye t...@tsdye.com Aloha ishi soichi, LaTeX probably wants a unit of measure, something like this #+ATTR_LaTeX: width=200mm Does this solve your problem? Tom ishi soichi soichi...@gmail.com writes: emacs23.2 org-mode 7.4 I would like to export an org file into both LaTeX and HTML. In order to do so, it is important to add appropriate options for both. #+ATTR_HTML: alt=apples image title=How many? align=right width=200 #+ATTR_LaTeX: width=200 [[./images/apples.jpg]] The HTML export gives an outcome as I desire. But this does not seem to work well for LaTeX export. I want to show the image in TeX as similarly as HTML. First of all, can I simply list the options like this? Should I wrap them like... #+Begin_... #+End_... ? Thank you in advance. soichi emacs23.2org-mode 7.4I would like to export an org file into both LaTeX and HTML.In order to do so, it is important to add appropriate options for both. #+ATTR_HTML: alt=apples image title=How many? align=right width=200#+ATTR_LaTeX: width=200[[./images/apples.jpg]] The HTML export gives an outcome as I desire. But this does not seem to work well for LaTeX export. I want to show the image in TeX as similarly as HTML.First of all, can I simply list the options like this? Should I wrap them like... #+Begin_...#+End_...?Thank you in advance.soichi -- Thomas S. Dye http://www.tsdye.com
[O] #+EMAIL:... does not produce email by org-export-as-html
emacs23.2 org7.4 MacOSX SnowLeopard I put #+EMAIL: soujiro0...@gmail.com in an org file, hoping that org-export-as-html will produce a href=mailto:...;/a in the resultant html file. But it does not. I have not idea why. Do I need some other options or whatever? soichi
Re: [Orgmode] any CSS examples for org-export-as-html?
Wow, it looks neat. I will give a shot. Thanks! soichi 2011/2/28 Jeff Horn jrhorn...@gmail.com The author of the following site uses org-mode to maintain his website: http://almostobsolete.net/ His style sheet makes the website feel like it is in org-mode, particularly how links are fontified. That stylesheet served as the basis for my website style for a while. On Sat, Feb 26, 2011 at 10:49 PM, ishi soichi soichi...@gmail.com wrote: Thank you for the info. It looks nice. soichi 2011/2/27 Puneeth Chaganti puncha...@gmail.com Hi, On Sun, Feb 27, 2011 at 5:10 AM, ishi soichi soichi...@gmail.com wrote: Hi. I am looking for some CSS examples for org-export-as-html outputs. After implementing the command, org-export-as-html, org files give an html output, which will be shown neatly in browser. But it is not good enough for viewers. I can write CSS from scratch but it is better if there is some examples from which I can start. Could anyone give me URLs or whatever? Both Orgmode's main page and the wiki, Worg, are published from org-mode files. I guess this might be a good place to start, http://orgmode.org/org.css http://orgmode.org/worg/style/worg.css http://orgmode.org/worg/style/worg-classic.css http://orgmode.org/worg/style/worg-zenburn.css -- Puneeth ___ 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 -- Jeffrey Horn http://www.failuretorefrain.com/jeff/ ___ 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] adding a style to individual images
Hi. I would like to specify the widths and heights of images inserted in org-file, which will be exported as html. There are several images in the original org-file, and each of those needs to be shown differently. So I tried putting #+ATTR_HTML: alt=... width=100px [[imageURL]] But it does not do anything. Changing Could anyone help me out? soichi ___ 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] adding a style to individual images
My org is 7.01 and Emacs23.2 #+ATTR_HTML: alt=apples image title=How many? align=right width=100px [[images/apples6.jpeg]] produced this. a href=#sec-1_1alt=apples image title=How many? align=right width=100pximg src=images/apples6.jpeg//a soichi 2011/2/28 Aankhen aank...@gmail.com Hi soichi, On Mon, Feb 28, 2011 at 06:26, ishi soichi soichi...@gmail.com wrote: So I tried putting #+ATTR_HTML: alt=... width=100px [[imageURL]] But it does not do anything. Changing Could anyone help me out? With Org from git (2–3 days old) on Emacs 24, given this text in my Org file: , | #+ATTR_HTML: alt=Gogola! width=100 | [[./Gogola.gif]] ` I get this in the exported version: , | img src=./Gogola.gif alt=Gogola! width=100 / ` Which versions of Emacs Org are you using? Could you give an example of the text in your Org file and the resultant HTML? Aankhen ___ 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] any CSS examples for org-export-as-html?
Hi. I am looking for some CSS examples for org-export-as-html outputs. After implementing the command, org-export-as-html, org files give an html output, which will be shown neatly in browser. But it is not good enough for viewers. I can write CSS from scratch but it is better if there is some examples from which I can start. Could anyone give me URLs or whatever? soichi ___ 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] any CSS examples for org-export-as-html?
Thank you for the info. It looks nice. soichi 2011/2/27 Puneeth Chaganti puncha...@gmail.com Hi, On Sun, Feb 27, 2011 at 5:10 AM, ishi soichi soichi...@gmail.com wrote: Hi. I am looking for some CSS examples for org-export-as-html outputs. After implementing the command, org-export-as-html, org files give an html output, which will be shown neatly in browser. But it is not good enough for viewers. I can write CSS from scratch but it is better if there is some examples from which I can start. Could anyone give me URLs or whatever? Both Orgmode's main page and the wiki, Worg, are published from org-mode files. I guess this might be a good place to start, http://orgmode.org/org.css http://orgmode.org/worg/style/worg.css http://orgmode.org/worg/style/worg-classic.css http://orgmode.org/worg/style/worg-zenburn.css -- Puneeth ___ 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-googlecl produces error Wrong type argument: characterp, sgml-xml-mode
hi. I have recently obtained org-googlecl.el, which enables to post from org files directly. https://github.com/rileyrg/org-googlecl/blob/master/org-googlecl.el As mentioned in README file, the authentication is fine. In fact, I can post blogger entries from the command line without problem. But every time I try to post an entry from Emacs by implementing M-x org-googlecl-blog, it gives an error Wrong type argument: characterp, sgml-xml-mode Can anyone tell me what is wrong with my setting or whatever? soichi ___ 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] elisp code takes CPU too much
hi. I have wrote an elisp code for org-mode, which puts entries in a table. It is a simple code in my opinion and it does the job I intended. But when executed, the activation of CPU shoots up and it will take a while to complete it. I do not believe that this little code requires such a work-load for the computer. There must be my wrong-doing. Could anyone help me for fixing it? soichi P.S. the code follows, and there is word in the table so that search command looks for it. ;;- (require 'org-table) (setq alist (list apple orange lemon baseball football)) (defun test-table (word-list) test to see if org-table-put works well (find-file-noselect (concat ~/Dropbox/language/word.org)) (set-buffer word.org) (save-excursion (goto-char (point-min)) (search-forward word) (goto-char (match-beginning 0)) (let ((i 1)) (while word-list (org-table-put i 3 (nth (- i 1) word-list) t) (setq i (1+ i)) (test-table alist) ;;execute it here ___ 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] Elisp code to insert a word in table
Ah, I need more help, though... I have tried this code. I made it as simple as possible to clarify my question. (defun add-word () (interactive) '(org-table-put (@2 $2 word!))) and execute in a buffer having a table already. It did not work at all. But also I kept wondering what could happen if there are two separate tables in the same buffer? I checked cells with C-c?, then realized that the cell locations are not unique in more than one table. So, there must be a way to identify the table in question. Thanks again. soichi 2010/12/3 ishi soichi soichi...@gmail.com Thanks for such a quick response! soichi 2010/12/3 Carsten Dominik carsten.domi...@gmail.com Hi Ishi, On Dec 3, 2010, at 10:00 AM, ishi soichi wrote: Hi. I'm trying to write an elisp code to enter words into a table of org-mode. after designating a buffer, which already contains a table, I simply wrote, '(insert test! @2$2) does not work obviously. indeed. Do I need to move the point to the particular cell before inserting? You could to that, using the functions org-table-goto-line and then org-table-goto-column. However, it is easier to use, for programmatic access to fields, the functions `org-table-put' and `org-table-get'. - 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
Re: [Orgmode] Elisp code to insert a word in table
I'd recommend you spend some time studying the Introduction to Emacs Lisp guide: Thanks for pointing this out. I have recently started programming in elisp, and am still having difficulty in basic understanding. But the code worked. So thanks for your help. soichi ___ 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] Elisp code to insert a word in table
Hi. I'm trying to write an elisp code to enter words into a table of org-mode. after designating a buffer, which already contains a table, I simply wrote, '(insert test! @2$2) does not work obviously. Do I need to move the point to the particular cell before inserting? Thanks in advance. soichi ___ 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] Elisp code to insert a word in table
Thanks for such a quick response! soichi 2010/12/3 Carsten Dominik carsten.domi...@gmail.com Hi Ishi, On Dec 3, 2010, at 10:00 AM, ishi soichi wrote: Hi. I'm trying to write an elisp code to enter words into a table of org-mode. after designating a buffer, which already contains a table, I simply wrote, '(insert test! @2$2) does not work obviously. indeed. Do I need to move the point to the particular cell before inserting? You could to that, using the functions org-table-goto-line and then org-table-goto-column. However, it is easier to use, for programmatic access to fields, the functions `org-table-put' and `org-table-get'. - 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] automatically org-mobile-push/pull ?
Hi. Is there anyway to execute automatically org-mobile-push/pull ? For example, when starting Emacs, org-mobile-pull is done. And when killing Emacs, org-mobile-push. I guess setting up elisp would do the job, but I am yet to understand elisp that much. Thanks in advance. Soichi ___ 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] automatically org-mobile-push/pull ?
Thanks everyone. I will try to customize it. soichi 2010/11/11 Suvayu Ali fatkasuvayu+li...@gmail.comfatkasuvayu%2bli...@gmail.com Hi Soichi, On Thursday 11 November 2010 01:11 AM, ishi soichi wrote: Hi. Is there anyway to execute automatically org-mobile-push/pull ? For example, when starting Emacs, org-mobile-pull is done. And when killing Emacs, org-mobile-push. You can customise these hooks, (add-hook 'after-init-hook 'org-mobile-pull) (add-hook 'kill-emacs-hook 'org-mobile-push) And put it in your init file (e.g. ~/.emacs or ~/.emacs.d/init.el). Soichi Hope this helps. -- Suvayu Open source is the future. It sets us free. ___ 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] Where local software is found ?
This question is fundamental, but I want to make sure about it. In installing the latest org-mode, I need to edit Makefile. In the file, it says, Where local software is found What exactly is the local software? Emacs itself? or something other lisp files? Thanks in advance. soichi ___ 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] setting index.org for MobileOrg
Hi. I have a question about setting MobileOrg. The directory needed for MobileOrg seems fine. I am a little confused how I should write index.org in order to make links to other org files. If I write in index.org like, * [[file:project.org][an important project]] the index.org makes a link to the file, project.org, then I can view and edit this file with iPhone as well as iPod touch. Am I correct? I have written this way, and executed on Emacs org-mobile-push, then pushed the sync button. It does not show the link to the file, project.orgat all. I don't know why but * [[file:project.org][an important project]] part was erased from index.org. Am I doing something wrong or I simply misunderstand how it works? soichi ___ 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