[O] disable title-format "%s\n" when exporting html
Dear list, I would like my org html exporter to not include the title as an H1 header. According to this (http://orgmode.org/worg/org-contrib/org-export-generic.html), I think I could do it by setting it to blank in my init file. However, I'd like to keep as is the default, but would like to disable the inclusion of "%s\n" for each project/org file by itself. Is there any way to set this option within the org file? Thanks for your help. -- Vinh
[O] export presentations: org to ppt or odp
Hi everyone, This question is probably for Jambunathan K: is an org to ppt or odp exporter in the works? Was wondering whether most of the work could be borrowed form the org to odt exporter. If anyone is wondering, why export presentations to odp or ppt when export to pdf (via beamer) and html (S5) are available? Those two works well for me personally, but for work, we tend to collaborate with others, and truth of the matter is that everyone else uses powerpoint. The files need to be editable and re-usable by others in a format they could work with. If anyone else has a current work flow they use to convert org to ppt, please do share. Any way to go from org to latex to ppt? Or org to s5 to ppt? I did a quick google but wasn't able to find anything. Thanks! -- Vinh
Re: [O] org-odt: command line options for soffice bug?
On Sat, Feb 16, 2013 at 2:33 PM, Vinh Nguyen wrote: > Hi, > > I was having issues exporting to a "doc" file with this in my init file: > (setq org-export-odt-preferred-output-format "doc") > > After some debugging, it appears my "soffice" command takes a single > dash (-), not double dash (--) for command line arguments. When I > change to > > "soffice -headless -convert-to %f%x -outdir %d %i" > > in org-odt.el, things seem to work. I am running org-mode 7.9.3e on > Emacs 24.1.50.1 and LibreOffice 3.3.4 on Ubuntu 11.04. Not sure if > this is specific to me or not, but it should be fixed in org-mode. > Thanks! > Just checked LibreOffice on my Mac OS X, and it uses two dashes for arguments. Weird that LibreOffice on Ubuntu uses one dash. Can anyone else confirm? I guess the emacs function should determine the current OS to decide whether to use single or double dash for command line arguments... > -- Vinh
[O] org-odt: command line options for soffice bug?
Hi, I was having issues exporting to a "doc" file with this in my init file: (setq org-export-odt-preferred-output-format "doc") After some debugging, it appears my "soffice" command takes a single dash (-), not double dash (--) for command line arguments. When I change to "soffice -headless -convert-to %f%x -outdir %d %i" in org-odt.el, things seem to work. I am running org-mode 7.9.3e on Emacs 24.1.50.1 and LibreOffice 3.3.4 on Ubuntu 11.04. Not sure if this is specific to me or not, but it should be fixed in org-mode. Thanks! -- Vinh
[O] color of exported code block
Hi, My emacs color theme consists of a black background with colors that match that. When I export an org file to html, the colors appear like how they appear in emacs (good), except the background isn't black. This (http://comments.gmane.org/gmane.emacs.orgmode/50906) post explains that I could modify the color and background options in the pre tag), but I was wondering if there's a way to have emacs export the code with a white background color theme so that it'll always look OK in an export? That is, when I edit in emacs, colors have a black background theme. When I export, different colors are used that match a white or grey background color. FYI, I use (add-to-list 'load-path "~/.emacs.d/color-theme-6.6.0") (require 'color-theme) (color-theme-clarity) -- Vinh
Re: [O] org-mobile setup: org-mobile-push not copying my org files?
On Mon, Jul 4, 2011 at 10:40 AM, Vinh Nguyen wrote: > Dear list, > > I'm having trouble setting up org-mobile in emacs for use with > MobileOrg on Android. I have the following in my init file: > > ;; org-mode OrgMobile > (setq org-directory "~/Documents/Org") ;; my folder is empty > (setq org-mobile-directory "~/Dropbox/MobileOrg") > (setq org-mobile-inbox-for-pull "~/Documents/Org/notes.org") > > In ~/Documents/Org, I have a file notes.org that contain my notes. > > When I call org-mobile-push, only 4 files get created in ~ /Dropbox/MobileOrg: > agendas.org, checksum.dat, index.org, and mobileorg.org. > > Based on my understanding, ~/Documents/Org/notes.org should be copied > to ~/Dropbox/MobileOrg/, and a link to notes.org should be created in > index.org. However, this does not happen. Am I not configuring > things correctly or am I misunderstanding how to use org-mobile? > > I also tried setting: > (setq org-mobile-files (quote "notes.org")) > > but this does not work either. > Setting the following made it work (file copied to MobileOrg's staging directory): (setq org-mobile-files (list "~/Documents/Org/notes.org")) > Thanks for your help. > -- Vinh
[O] org-mobile setup: org-mobile-push not copying my org files?
Dear list, I'm having trouble setting up org-mobile in emacs for use with MobileOrg on Android. I have the following in my init file: ;; org-mode OrgMobile (setq org-directory "~/Documents/Org") ;; my folder is empty (setq org-mobile-directory "~/Dropbox/MobileOrg") (setq org-mobile-inbox-for-pull "~/Documents/Org/notes.org") In ~/Documents/Org, I have a file notes.org that contain my notes. When I call org-mobile-push, only 4 files get created in ~ /Dropbox/MobileOrg: agendas.org, checksum.dat, index.org, and mobileorg.org. Based on my understanding, ~/Documents/Org/notes.org should be copied to ~/Dropbox/MobileOrg/, and a link to notes.org should be created in index.org. However, this does not happen. Am I not configuring things correctly or am I misunderstanding how to use org-mobile? I also tried setting: (setq org-mobile-files (quote "notes.org")) but this does not work either. Thanks for your help. -- Vinh
Re: [O] org-odt (Applying custom templates)
Hi Jumba, Sorry for testing this out late. Been busy. See my comments below. On Wed, Mar 23, 2011 at 4:38 AM, Jambunathan K wrote: >> In addition, is there a way to set up a header, or some text, before >> the title, similar to the attached file (including the image)? I >> don't mind if the solution is pasting some raw xml code in the >> org-mode file, as this part will remain constant. > > What is required is that you extract styles.xml and any images files > that it referenced from your odt/ott file and instruct org-odt.el to > package these files in the resulting directory. You can do these > manually. > > I also have a prototype code (that is not committed yet) that achieves > the above functionality. Suppose I have styles.xml and ./Pictures/1274034B83A526F3.png in the working directory of my org file, both extracted from my original odt file that I did myself. What exactly must I do to get these files packaged into the generated odt file? How do I set org-export-odt-styles-file in my org file? Thanks! -- Vinh
[O] HTML5 presentations
After the recent org-mode to S5 discussion, I stumbled onto [these](https://gist.github.com/509761) code. It offers a way to export org files to HTML5 presentations. I think it looks quite nice. I see it being better than S5 in that no "ui" folder is required. What do you all think? Is it worthy of being incorporated into org-mode? -- Vinh
[O] org-mode with pyblosxom or blosxom?
Dear list, Is anyone currently using org-mode in conjunction with pyblosxom or blosxom for their blogs? I think there might be a few out there doing so because I found [[http://comments.gmane.org/gmane.emacs.orgmode/18069][this]] thread referring to it. If so, do you have any notes to share? I'm exploring the idea of migrating from wordpress to it. Thanks. -- Vinh
[Orgmode] cache issue when publishing website with include file
Dear list, I currently use #+INCLUDE: "nav.org" on top of multiple org files (say f1.org, f2.org, ...) to include a navigation "bar" for my website. Suppose I update nav.org. If I publish the website with "C-c C-e P", then the f1.org, f2.org, ... files do not get updated/exported since the files were not changed (or maybe only one of them gets changed since I changed the .org file). I'm wondering how others are handling this in their work flow? Delete the cache directory? Edit all .org files so they get updated at the publishing command? Thanks. -- Vinh ___ 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] centering text in html
On Tue, Oct 12, 2010 at 12:41 AM, Christian Moe wrote: > Hi again, Vinh, > > More to the point, why don't you just use > > #+BEGIN_CENTER > { [[file:index.org][Home]] | [[file:files.org][Announcements and Files]] } > #+END_CENTER > > See info:org:Paragraphs. > > Cheers, > CM Thanks Christian! I was not aware of this. I actually was expecting this but when I googled I did not end up with anything useful. However, a quick text search for "center" on the monolithic manual did. On a similar note, I searched for "right" on the manual but did not see anything for right aligned. Just to confirm, there isn't a #BEGIN_RIGHT feature right? Thanks. Vinh ___ 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] centering text in html
On Mon, Oct 11, 2010 at 12:41 AM, Carsten Dominik wrote: > You give us *very* little to chew on. Sorry about this. I meant to elicit on what folks do when they want to center text I general. I should've known better to put down what I've tried. I just got it working but will also put down what I tried to let others know what did not work. > How about: > > - what have you tried? #+HTML: { [[file:index.org][Home]] | [[file:files.org][Announcements and Files]] } #+HTML: and #+HTML: { [[file:index.org][Home]] | [[file:files.org][Announcements and Files]] } #+HTML: > - an example HTML code that would do the right thing > THIS WORKED: #+HTML: { [[file:index.org][Home]] | [[file:files.org][Announcements and Files]] } #+HTML: > etc etc etc. If you want people to help you solve a problem, > please do your part by giving them *as much as possible* information. > > - Carsten -- Vinh ___ 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] centering text in html
Dear all, Sorry this may seem trivial but I'm not getting any success. I'm trying to get the following centered when outputting to html: { [[file:index.org][Home]] | [[file:files.org][Announcements and Files]] } Can anyone help? Thanks. -- Vinh ___ 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: text color + highlight
I'd like to write a concluding email for this thread for future searchers to find. This easy solution is brought to you by Eric Schulte and Christian Moe. Place the following in your .emacs or init.el file: ;; org-mode color (org-add-link-type "color" nil (lambda (path desc format)p (cond ((eq format 'html) (format "%s" path desc)) ((eq format 'latex) (format "{\\color{%s}%s}" path desc) ;; org-mode highlight (org-add-link-type "hl" nil (lambda (path desc format) (cond ((eq format 'html) (format "%s" path desc)) ((eq format 'latex) (format "\\colorbox{%s}{%s}" path desc) ;; require \usepackage{color} Examples: [[color:blue][test this out]] [[hl:yellow][highlighted text]] Remarks: * Pros - don't need to modify org-mode source (just edit your .emacs) - use the existing links syntax * Cons - cannot be used concurrently or with other formatting * To Do - Hopefully it will be implemented via extensible syntax in the future ($[options mytext]) - highlight and color paragraph or region -- Vinh On Thu, Aug 5, 2010 at 1:42 PM, Vinh Nguyen wrote: > Dear list, > > I was wondering if there is an easy way to markup the color of the > text for html output (and highlight as well). When I prepare meeting > minutes I'd like to color some things and highlight certain things. > Right now, I am using emphasizing a major portion of the text. It > would be great to have colors and highlights to draw attention to > certain items. > > Thanks. > Vinh ___ 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] text color + highlight
On Fri, Aug 6, 2010 at 8:15 PM, Eric Schulte wrote: > In playing with the patched code I sent out, I noticed that it may be > doing weird things to my headings (#+Title: etc...) in some Org-mode > files, so probably it could use some more tweaking before any merge, > also I'd not want to rush what could be a reasonably large change into > Org-mode without more discussion, but I agree I'd ultimately like to see > some form of this functionality appear in Org-mode. > > Best -- Eric Eric, so are you tweaking the code to give it a more org-like syntax? If not, I'll have to get dirty with your patch to figure out the lisp code. You're right the regular parentheses will probably be mixed up with lisp code. Sebastian also brought up that curly braces are hard to type on a German keyboard. Just googled up the layout -- don't even seen them. What syntax to use... ___ 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] text color + highlight
Thanks Eric, this works. I do agree that the implemented syntax is not org-like but more latex-like. To be more org-like, could we use parentheses or curly braces like how links are implemented? They aren't taken, are they? For example, ((red)(this text is red)) {{yellow}{this text is highlighted yellow}} ## see http://answers.yahoo.com/question/index?qid=20080316135432AANXSJc What do you think? How hard would it be to change your code to this? Can this be merged into the development branch? Thanks, Vinh On Fri, Aug 6, 2010 at 2:51 PM, Eric Schulte wrote: > Hi, > > I've recently seen similar requests on this list. > > The attached patch provides a first pass at this support implementing > both in-buffer coloring given the following syntax, and html export (I > don't know the correct LaTeX syntax, but it shouldn't be hard to extend > this to LaTeX as well). This uses something like the LaTeX Beamer > \color{}{} directive, for example... > > My name is \color{red}{eric} schulte. > > Would result in the word "eric" appearing in red. Even though I > implemented the syntax above, I'm *not* recommending this syntax, it > feels decidedly more like "latex" than "org", it was simply the only > obvious option for this initial implementation. > > -- Eric > ___ 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] text color + highlight
On Fri, Aug 6, 2010 at 2:18 AM, Bastien wrote: > Hi Vinh, > > Vinh Nguyen writes: > >> I was wondering if there is an easy way to markup the color of the >> text for html output (and highlight as well). When I prepare meeting >> minutes I'd like to color some things and highlight certain things. >> Right now, I am using emphasizing a major portion of the text. It >> would be great to have colors and highlights to draw attention to >> certain items. > > I don't understand your request: what portion of org-mode buffer do you > want to highlight? based on what criteria? > Apologies for the ambiguity. In the org, we can use *text* and the word "text" would be bold in the html output. I was wondering if there is a markup that would change the color, eg, \{red}[text], or something of that sort. I don't think it exists. If I wanted to implement this myself, what should I start with. Ditto with highlights (say, highlight text yellow). Something more on org-mode's line would be like setting a variable #+ color=red and with some new symbols, say ^text^, the color of "text" would be red in the html output. Hope this clears things up. > -- > 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] text color + highlight
Dear list, I was wondering if there is an easy way to markup the color of the text for html output (and highlight as well). When I prepare meeting minutes I'd like to color some things and highlight certain things. Right now, I am using emphasizing a major portion of the text. It would be great to have colors and highlights to draw attention to certain items. Thanks. Vinh ___ 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