[Orgmode] Load macros from other files?

2010-09-15 Thread amscopub-mail
Is there a way to load macros from another file? The "include" command doesn't seeem to work. For example, the following does *not* work. macro.org: #+MACRO: hello Hello world and include.org: #+INCLUDE: "./macro.org" {{{hello}}} I'm using org-mode 7.01g. --Thanks! Uriel Avalos __

Re: [Orgmode] Automatic global tag list?

2010-11-23 Thread amscopub-mail
I just want to keep tag names consistent across files and I want to know what tags are in use in all files as I add a tag. However, it's too tedious to manually maintain org-tag-alist because I use a large and arbitrary number of tags at any given time. It would also be great if there was a way

[Orgmode] (no subject)

2010-06-29 Thread amscopub-mail
The following latex options produce the right format (an article scaled up to 20pts using the "arev" font): #+LaTeX_CLASS: article #+LaTeX_CLASS_OPTIONS: [12pt] #+LATEX_HEADER: \usepackage{amsmath,amsthm,amssymb} \usepackage[T1]{fontenc} \usepackage[20pt]{extsizes} \usepackage{arev} \usepackage[

Re: [Orgmode] LaTeX export works but not in HTML

2010-07-01 Thread amscopub-mail
Thanks very much for the tip. The relevant variables I needed to change were org-export-latex-default-packages-alist and org-format-latex-header. It's working fine now. BTW, where did you find the latex fragment? I'm assuming in the tmp directory of the file? On Wed, 30 Jun 2010 02:58:41 -04

[Orgmode] Change resolution of LaTeX formulas in HTML output?

2010-08-04 Thread amscopub-mail
Is there a way to control the resolution of PNG LaTeX formulas when you export to HTML? You can control the font size directly in the header but there doesn't seem to be a way to use org-mode to control the resolution... BTW, I'm not exporting to LaTeX directly because I'm using PrinceXML to co

Re: [Orgmode] Change resolution of LaTeX formulas in HTML output?

2010-08-05 Thread amscopub-mail
Thanks for the reply. What version of org-mode is that defined in? I'm using 7.01g. When I bring up org-format-latex-options, it doesn't define that variable in the documentation. Setting the variable doesn't seem to do anything. The PNG files are always 72 x 72 ppi. I tried setting it to th

Re: [Orgmode] Change resolution of LaTeX formulas in HTML output?

2010-08-06 Thread amscopub-mail
Carsten, we are trying to increase the resolution of the images for *print* (ppi or dpi) while keeping the image the size on the web page. (As I wrote in the first email, I'm generating an HTML file with LaTeX pngs and then converting that to a PDF.) Unfortunately, the html-scale and scale opti

Re: [Orgmode] Change resolution of LaTeX formulas in HTML output?

2010-08-06 Thread amscopub-mail
I just tripped over myself :-) After reading this excellent discussion of dpi (http://www.danheller.com/tech-dpi.html ), I think the problem might just be dvipng. The "problem" is that while the PNGs look good on the screen, they look horrible in the printer. I tried creating some PNGs with with

[O] Feature request: modify italic regexp list to include non-breaking space and other characters

2011-04-20 Thread amscopub-mail
Sample code: Using /a/’s and /b/’s, write add /x/ + 2. ^ ^^ ^ Right single quotation markNon-breaking space Expected HTML export: Using a’s and b’s, write x + 2. Actual HTML export: Using /a/’s and /b/’s, write add /x/ + 2. If it's not clear, t

[O] Bug: HTML blocks in macros called before lists break in 7.5

2011-04-22 Thread amscopub-mail
Sample code: - #+MACRO: start #+BEGIN_HTML\n \n#+END_HTML #+MACRO: end #+BEGIN_HTML\n \n#+END_HTML * Hello world {{{start}}} 1. Item 1 {{{end}}} --- Expected HTML export (valid HTML): -- Item 1 ---

[O] Run lisp code in macros?

2011-04-28 Thread amscopub-mail
Is there a way to apply text transformations to arguments in macros? For example, say that you want to change the first argument to capital letters? or transpose the letters of the second argument? How would you do that? I imagine you would have to run elisp code, perhaps babel is the answer?

[O] Weird bug when babel used in a macro

2011-05-16 Thread amscopub-mail
Sample ORG file: #+MACRO: test src_emacs-lisp[:results raw]{(let (mRef) (progn (if (string= "$2" "1") (setq mRef "A") (if (string= "$2" "2") (setq mRef "B") (setq mRef "C"))) (concat "Test $1" mRef ": ")))} * *Hello World* {{{test(1,1)}}} Desired HTML export: Test 1.A Actual HTML e

[O] Stop inserting default CSS in HTML export?

2011-05-17 Thread amscopub-mail
How can I get org-mode to stop inserting the default CSS in the HTML export? By default, exporting to HTML gives me this CSS defined in the header. I'd like to...well, *not* have it included in the HTML.