Re: [Orgmode] Exporting for word processors
--- Ven 8/5/09, Matthew Lundin ha scritto: > Jeffrey Windsor > writes: > > > I'm a PhD candidate in English literature, > > My advisor and > > committee are all incorrigible Microsoft Word users -- > > there's no chance that they'll ever switch. > > But I need to regularly send drafts to my committee. > > Perhaps the easiest route would be to export to html and > then save as a > doc file from within Open Office or Word. agree. Hi Jeffrey, I use org to write the first draft of my reports and I export them as html. Then I open the html file with Microsoft Word and do the final corrections (numbered lists, section/subsections...) I have also written a stylesheet like the one boss uses: * COMMENT HTML style specifications #Local Variables: #truncate-lines:nil #org-export-html-style: " However I do not have many citations, and I can't help :-/ cheers, Giovanni ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Add HTML after and before title
To include script.js into the section per file: #+STYLE: Or #+STYLE: #+STYLE: #+STYLE: NOTE: there is no `document.write' in XHTML the way it was in HTML. You would have to call `document.open()' before and therefore erase the documents contents. So I guess putting the script in the head section might be OK. Regards Sebastian Daniel Clemente writes: > El dom, may 10 2009, Daniel Clemente va escriure: >some trick to insert code > just after the or after ? > > Sorry, I forgot about org-publish. It can use the parameter :preamble to do > exactly that. Furthermore: > > > , > | org-export-html-preamble is a variable defined in `org-html.el'. Its value > is > | nil > | > | Documentation: Preamble, to be inserted just before . Set by > publishing > | functions. > ` > > > > I prefer to always embed the configuration inside the .org file instead of > in > Elisp code, but if this is only possible with org-publish, I should use it. > > > -- Daniel ___ 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-mode Code_Swarm
Hey folks! I saw some cool code swarm videos for various projects [1]. So I made one for Org-mode (including Worg) [2]. 1. http://vimeo.com/michaelogawa/videos/ 2. http://vimeo.com/4581697 -- Manish -- Forwarded message -- From: Vimeo Date: Mon, May 11, 2009 at 10:21 AM Subject: Your video is now online on Vimeo! To: mailtomanish.sha...@gmail.com You can watch it here: http://vimeo.com/4581697 Org-mode Code Swarm http://vimeo.com/4581697 "This video visualizes the combined commit history of Org-mode and it's companion project Worg. Project pages: http://orgmode.org/ http://orgmode.org/worg/ Made with: http://code.google.com/p/codeswarm http://www.kinodv.org/ http://audacity.sourceforge.net/ Music: "Endless Skies" by Karunesh Dedicated to indomitable Carsten Dominik and to all those who continue to make Org-mode awesomer everyday. Thank you!" Involves Manish Sharma. Forward this email to your friends and family so that they can see it, too. Don't want these alerts anymore? http://vimeo.com/settings/notifications Want even more from Vimeo? Upgrade to Vimeo Plus! LOVE, ___ 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-publish doesn't detect changes in included files
On May 10, 2009, at 9:45 PM, Daniel Clemente wrote: Org 6.26trans. Imagine that a.org is part of a project which does #+SETUPFILE: options.org If you modify only options.org and republish the project, the exporter will not notice the change and will refuse to export a.org, even when a.html could have changed. It says: Skipping unmodified file /home/dc/manzana/a.org The same happens if you use #+INCLUDE: options.org You should create a makefile to handle such cases, I don't really want to write a system for checking all possible dependencies. - 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] Org-mode Code_Swarm
On May 11, 2009, at 1:02 PM, Manish wrote: Hey folks! I saw some cool code swarm videos for various projects [1]. So I made one for Org-mode (including Worg) [2]. 1. http://vimeo.com/michaelogawa/videos/ 2. http://vimeo.com/4581697 This is cool, but in fact these movies are best for projects with many committers. Maybe I should give more people write permission :-) - 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] Org-mode Code_Swarm
Meant to incite us to commit more stuff to worg :-D Best Sebastian Manish writes: > Hey folks! > > I saw some cool code swarm videos for various projects [1]. So I made > one for Org-mode (including Worg) [2]. > > 1. http://vimeo.com/michaelogawa/videos/ > 2. http://vimeo.com/4581697 ___ 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-mode Code_Swarm
On Mon, May 11, 2009 at 5:48 PM, Sebastian Rose wrote: > > Meant to incite us to commit more stuff to worg :-D Hehe. Nice side-effect, eh. ;-) A few people already send patches occasionally but their name didn't appear since they were all committed by Carsten. I don't know how I could have pulled their names. Sorry folks. But the video does highlight the extent of our reliance on Carsten (as if it wasn't evident earlier without it.) :) -- Manish > > Best > > Sebastian > > Manish writes: >> Hey folks! >> >> I saw some cool code swarm videos for various projects [1]. So I made >> one for Org-mode (including Worg) [2]. >> >> 1. http://vimeo.com/michaelogawa/videos/ >> 2. http://vimeo.com/4581697 > ___ 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-mode Code_Swarm
On May 11, 2009, at 2:27 PM, Manish wrote: On Mon, May 11, 2009 at 5:48 PM, Sebastian Rose wrote: Meant to incite us to commit more stuff to worg :-D Hehe. Nice side-effect, eh. ;-) A few people already send patches occasionally but their name didn't appear since they were all committed by Carsten. I don't know how I could have pulled their names. Sorry folks. I can get the names of others into the history if I get patches that work with git-am or so, or even better if people publish patches as a repository where I can fetch them from. There are quire a few commits in there from Bernt Hansen which I retrieved in this way. Maybe Bernt needs to make a small HOWTO on how exactly this should be done. But I have already gotten him to write an amazing document ahout his use of Org, so I will leave him alone for now. :-) - 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] No indentation for all paragraph
Hello, is it possible set for all document that all paragraphs will be without indentation? I have many headings with short text for example: * level 1 first paragraph Second paragraph ** level 1.1 first paragraph Second paragraph etc... and I would like have all these paragraphs indented to the left without a space Thanks thanks -- Jan Buchal Tel: (00420) 24 24 86 008 Mob: (00420) 608023021 ___ 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] No indentation for all paragraph
> "JB" == Jan Buchal writes: JB> Hello, is it possible set for all document that all paragraphs JB> will be without indentation? JB> I have many headings with short text for example: JB> * level 1 JB> first paragraph JB> Second paragraph JB> ** level 1.1 JB> first paragraph JB> Second paragraph JB> etc... JB> and I would like have all these paragraphs indented to the left JB> without a space I mean for HTML or PDF export. -- Jan Buchal Tel: (00420) 24 24 86 008 Mob: (00420) 608023021 ___ 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-mode Code_Swarm
Manish writes: > I saw some cool code swarm videos for various projects [1]. So I made > one for Org-mode (including Worg) [2]. > > 1. http://vimeo.com/michaelogawa/videos/ > 2. http://vimeo.com/4581697 Hey, this is cool - thanks! -- Bastien, still flying around ___ 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] No indentation for all paragraph
Jan Buchal writes: > JB> and I would like have all these paragraphs indented to the left > JB> without a space > > I mean for HTML or PDF export. To my knowledge, paragraphs are not indented by default in HTML. If you want to explicitely force indentation to be 0, use a style specification like this: .p {text-indent:0;} In PDF (as processed by LaTeX), indentation depends on the documentclass you are using in the LaTeX source. -- 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] No indentation for all paragraph
> "B" == Bastien writes: B> Jan Buchal writes: JB> and I would like have all these paragraphs indented to the left JB> without a space >> >> I mean for HTML or PDF export. B> To my knowledge, paragraphs are not indented by default in HTML. Yes, you are right. My problem is in PDF. B> If you want to explicitely force indentation to be 0, use a style B> specification like this: B> .p {text-indent:0;} B> In PDF (as processed by LaTeX), indentation depends on the B> documentclass you are using in the LaTeX source. I don't understand where I can change it? Thanks -- Jan Buchal Tel: +420242486008 Mob: +420608023021 http://www.brailcom.org ___ 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-protocol links from adobe reader
Hi. I've just migrated from org-annotation-helper to org-protocol and I've managed to adapt the hints from http://article.gmane.org/gmane.emacs.orgmode/6810 to org-protocol. It's simple, you just change the protocol accordingly, and call encodeURIComponent, so you arrive with: app.addMenuItem({cName:"org-store-link", cParent:"Tools", cExec:"app.launchURL('org-protocol://store-link://' + encodeURIComponent(this.URL) + '/' + encodeURIComponent(this.info.Title));"}); for org-store-link and app.addMenuItem({cName:"org-remember", cParent:"Tools", cExec:"app.launchURL('org-protocol://remember://' + encodeURIComponent(this.URL) + '/' + encodeURIComponent(this.info.Title) + '/');"}); or org-remember. Drop these into ~/.adobe/Acrobat/9.0/JavaScripts and you should be good to go. Note that modern emacsen also are able to display pdfs and org-store-link will already come up with a valid file:// link, but doesn't give you the document title, so this might be convenient, even if you prefer to open links to pdf files in emacs. Kind regards FDF -- Friedrich Delgado Friedrichs Laziness led to the invention of the most useful tools. signature.asc Description: Digital signature ___ 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-protocol links from adobe reader
Hi Friedrich, I was planing to investigate for org-protocol and Acrobat for a long time now and never got around to make it. Great stuff!! I think we should add this to the org-protocol docs on worg. How about adding it to the org-protocol docs on Worg: http://orgmode.org/worg/org-contrib/org-protocol.php#sec-3 I wouldn't bother to do it myself, but, as you might have read on the other thread, code_swarm is better for projects with lots of committers ;-) Best Sebastian Friedrich Delgado Friedrichs writes: > Hi. > > I've just migrated from org-annotation-helper to org-protocol and I've > managed to adapt the hints from > http://article.gmane.org/gmane.emacs.orgmode/6810 to org-protocol. > > It's simple, you just change the protocol accordingly, and call > encodeURIComponent, so you arrive with: > > app.addMenuItem({cName:"org-store-link", cParent:"Tools", >cExec:"app.launchURL('org-protocol://store-link://' + >encodeURIComponent(this.URL) + '/' + >encodeURIComponent(this.info.Title));"}); > > for org-store-link and > > app.addMenuItem({cName:"org-remember", cParent:"Tools", >cExec:"app.launchURL('org-protocol://remember://' + >encodeURIComponent(this.URL) + '/' + >encodeURIComponent(this.info.Title) + '/');"}); > > or org-remember. > > Drop these into ~/.adobe/Acrobat/9.0/JavaScripts and you should be > good to go. > > Note that modern emacsen also are able to display pdfs and > org-store-link will already come up with a valid file:// link, but > doesn't give you the document title, so this might be convenient, even > if you prefer to open links to pdf files in emacs. > > Kind regards > FDF ___ 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] No indentation for all paragraph
Try \setlength{\parindent}{0em} There might be some more required. But this is all I do and it should be enough for the `article' class. Regards Sebastian Jan Buchal writes: >> "B" == Bastien writes: > > B> Jan Buchal writes: > JB> and I would like have all these paragraphs indented to the left > JB> without a space > >> > >> I mean for HTML or PDF export. > > B> To my knowledge, paragraphs are not indented by default in HTML. > > Yes, you are right. My problem is in PDF. > > B> If you want to explicitely force indentation to be 0, use a style > B> specification like this: > > B> .p {text-indent:0;} > > B> In PDF (as processed by LaTeX), indentation depends on the > B> documentclass you are using in the LaTeX source. > I don't understand where I can change it? > > Thanks ___ 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] latex fragment problems with * environments
Carsten et al., If I have the following bit of LaTeX code in my org file: , | \begin{eqnarray} | x &=& a_i + b_j + c_{k} \\ | y &=& \sqrt{x} | \end{eqnarray} | | \begin{eqnarray*} | x &=& a_i + b_j + c_{k} \\ | y &=& \sqrt{x} | \end{eqnarray*} ` and ask for a LaTeX export, I get the following generated: , | \begin{eqnarray} | x &=& a_i + b_j + c_{k} \\ | y &=& \sqrt{x} | \end{eqnarray} | | \begin{eqnarray*} | x \&=\& a$_i$ + b$_j$ + c$_{k}$ \\ | y \&=\& \sqrt{x} | \end{eqnarray*} ` The second environment has not been recognised by org-mode as a valid latex fragment and so all the special characters (&, _) have been processed instead of being left alone. This could be my fault but I have no idea where to start looking in case I've set something I shouldn't have. Because the latex exporter has changed since I last used any latex fragments in my org files, and that has been a while, I am not sure if this ever worked properly anyway. Or it could be that "*" environments don't get recognised correctly by the latex exporter? Is there a regexp that I can customise for this? Thanks for any suggestions! I've temporarily changed all * environments to ones with the * (so I get tons of equation numbers I don't need) but I would love to revert to what I had originally. eric ___ 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-protocol links from adobe reader
Sebastian Rose schrieb: > How about adding it to the org-protocol docs on Worg: >http://orgmode.org/worg/org-contrib/org-protocol.php#sec-3 > > I wouldn't bother to do it myself, but, as you might have read on the > other thread, code_swarm is better for projects with lots of committers > ;-) ---Zitatende--- Help! Help! I'm being dragged into another project against my will! ;-) Just kidding, I just registered on repo.or.cz and sent mail to Bastien. -- Friedrich Delgado Friedrichs TauPan on Ircnet and Freenode ;) signature.asc Description: Digital signature ___ 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] variables to get the export date and other export data
On Apr 22, 2009, at 10:17 AM, Daniel Clemente wrote: El dc, abr 15 2009, Carsten Dominik va escriure: just like [TABLE-OF-CONTENTS] inserts the table of contents, are there other variables which will be translated on export? For instance [EXPORT-DATE] to get the export date, [VERSION] for the Org version, [FILE-NAME] for this file's name, … If you make me a complete list of what you'd like to have, I can add them to the macros. I actually only miss the export date, but after seeing for instance what txt2tags (another markup syntax) provides, I think this will cover most needs: - export date (that is, current date). So that you can say „Page updated on 22/4/2009“. txt2tags for instance has %%date and % %date(format-string), as in %%date(%d-%m-%Y) {{{date(FORMAT)}}} - file modification time; useful for instance if you export *all* pages frequently (then the export date would be the same for all even for unmodified pages) {{{modification-time(FORMAT)}}} - input file name; useful to say „See the Org source for this page: blabla.org“. It can also have a format string to select whether you want the extension, the full path, etc. {{{input-file}}} - output file name; only to say „This is page blabla.html“. I did not do this one. - table of contents as before, [TABLE-OF-CONTENTS] HTH - Carsten I don't want to add more [NAME], I don't think it is "strange" enough. Better use longer words like [EXPORT-FILE-NAME], or more Org-like syntax. Is there other metainformation that people need at export time? Org version? User name? File attributes? -- Daniel ___ 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] latex fragment problems with * environments
Hi Eric, this was fixed 11 days ago in commit 5f86fd7ae2da40b20c967382fa938fc871fb7e44 If you use the latet git version, this problem will not be present. - Carsten On May 11, 2009, at 8:02 PM, Eric S Fraga wrote: Carsten et al., If I have the following bit of LaTeX code in my org file: , | \begin{eqnarray} | x &=& a_i + b_j + c_{k} \\ | y &=& \sqrt{x} | \end{eqnarray} | | \begin{eqnarray*} | x &=& a_i + b_j + c_{k} \\ | y &=& \sqrt{x} | \end{eqnarray*} ` and ask for a LaTeX export, I get the following generated: , | \begin{eqnarray} | x &=& a_i + b_j + c_{k} \\ | y &=& \sqrt{x} | \end{eqnarray} | | \begin{eqnarray*} | x \&=\& a$_i$ + b$_j$ + c$_{k}$ \\ | y \&=\& \sqrt{x} | \end{eqnarray*} ` The second environment has not been recognised by org-mode as a valid latex fragment and so all the special characters (&, _) have been processed instead of being left alone. This could be my fault but I have no idea where to start looking in case I've set something I shouldn't have. Because the latex exporter has changed since I last used any latex fragments in my org files, and that has been a while, I am not sure if this ever worked properly anyway. Or it could be that "*" environments don't get recognised correctly by the latex exporter? Is there a regexp that I can customise for this? Thanks for any suggestions! I've temporarily changed all * environments to ones with the * (so I get tons of equation numbers I don't need) but I would love to revert to what I had originally. eric ___ 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