[O] Question: split up files for subprojects using taskjuggler-export (tj3)

2012-02-21 Thread mail

Hello,

I am looking for a solution to split one project into sub-projects, so 
I can distribute the project into sub-files as suggested here:

http://groups.google.com/group/taskjuggler-users/browse_thread/thread/a98489a0e343ddac

In my project some resources are involved in multiple sub-projects 
while others only work on a single sub-project. Sub-projects in 
separated files makes it more manageable and clear.


Regards,
Michael




[bug] C-u org-update-statitics-cookies errors out with "Non-existent agenda file" if current file isn't saved

2021-05-11 Thread mail
* Reproduction

1. emacs -Q
2. C-x C-f /tmp/new.org RET
3. Type anything
4. Type C-u C-c # (C-u org-update-statistics-cookies) to try to update all 
statistics cookies in the buffer
5. Notice the "Non-existent agenda file /tmp/new.org." error.

This doesn't happen if the file already exists.

I first saw this reported in this reddit thread: 
https://www.reddit.com/r/orgmode/comments/n9g1yf/is_this_a_bug_with_orgupdatestatisticcookies/
 (u/flyin1501 is me)

* Expectation

All statistics cookies in the buffer are updated no matter if the buffer's 
associated file is already created or not.

* Why this is happening

- `org-update-statistics-cookies` (C-c #) uses `org-map-entries` to update all 
cookies.
- `org-map-entries` uses `org-agenda-prepare-buffers` to prepare the file when 
SCOPE is nil. Excerpt:

(if (not scope)
(progn
  (org-agenda-prepare-buffers
   (and buffer-file-name (list buffer-file-name)))
  (setq res
(org-scan-tags
 func matcher org--matcher-tags-todo-only start-level)))

- This function complains if the file does not exist, causing the error.

* Solution (IMO)

`org-map-entries` is quite complex because of its matching and scoping 
features; `org-update-statistics-cookies` only updates the current buffer and 
should use `org-map-region` instead. IMO it should go from

(if all
(progn
  (org-update-checkbox-count 'all)
  (org-map-entries 'org-update-parent-todo-statistics))

to:

(if all
(progn
  (org-update-checkbox-count 'all)
  (org-map-region 'org-update-parent-todo-statistics (point-min) 
(point-max)))



[Feature Request] Support org-link-abbrev-alist for clickable image links

2021-11-13 Thread mail
Org mode supports clickable images in the following form:

[[https://orgmode.org][file:/tmp/org-mode-logo.png]]

This is also displayed by =org-display-inline-images= as the second case:

#+begin_quote
An inline image is a link which follows either of these
conventions:

  1. Its path is a file with an extension matching return value
 from image-file-name-regexp and it has no contents.

  2. Its description consists in a single link of the previous
 type.  In this case, that link must be a well-formed plain
 or angle link, i.e., it must have an explicit "file" type.
#+end_quote

However, this docstring isn't quite true.

- The image link is parsed as a plain link, and thus if it contains spaces, it 
must be wrapped in angle brackets. This should be mentioned in the docstring.
- More crucially, it does not support =org-link-abbrev-alist=, which works in 
case 1.

Yes: [[file:/tmp/org-mode-logo.png]]
Yes: [[my-abbrev:org-mode-logo.png]]
Yes: [[https://example.com][file:/tmp/org-mode-logo.png]]
Yes: [[https://example.com][]]
No: [[https://example.com][file:/tmp/with a space.png]] (docstring should 
mention this and suggest angle links)
No: [[https://example.com][my-abbrev:org-mode-logo.png]] (this should work)



[O] Bug: Ampersand is not replaced in URLs in html export [8.2.10 (release_8.2.10 @ /usr/share/emacs/24.5/lisp/org/)]

2016-01-31 Thread mail

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


Hi,

I write down some notes including URLs like this one:

http://www.reichelt.de/Drehschalter/DS-3/3/index.html?&ARTICLE=7217

afterwards I do C-c C-e h h to export my notes to an html-file.

I expect that the & is replaced by &.

But it's not replaced.
This causes the w3c validation to fail.

Kind regards
Fritz Reichwald


Emacs  : GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6)
 of 2015-09-10 on foutrelis
Package: Org-mode version 8.2.10 (release_8.2.10 @ 
/usr/share/emacs/24.5/lisp/org/)

current state:
==
(setq
 org-tab-first-hook '(org-hide-block-toggle-maybe 
org-src-native-tab-command-maybe
  org-babel-hide-result-toggle-maybe 
org-babel-header-arg-expand)
 org-speed-command-hook '(org-speed-command-default-hook 
org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-html-format-drawer-function '(lambda (name contents) contents)
 org-latex-format-inlinetask-function 'ignore
 org-confirm-shell-link-function 'yes-or-no-p
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-latex-format-drawer-function '(lambda (name contents) contents)
 org-from-is-user-regexp nil
 org-src-mode-hook '(org-src-babel-configure-edit-buffer 
org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '(#[nil "\300\301\302\303\304$\207"
   [org-add-hook change-major-mode-hook org-show-block-all 
append local] 5]
 #[nil "\300\301\302\303\304$\207"
   [org-add-hook change-major-mode-hook 
org-babel-show-result-all append local] 5]
 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-ascii-format-drawer-function '(lambda (name contents width) contents)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point 
org-babel-execute-safely-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers 
org-cycle-hide-inline-tasks
  org-cycle-show-empty-lines 
org-optimize-window-after-visibility-change)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-html-format-headline-function 'ignore
 org-html-format-inlinetask-function 'ignore
 org-agenda-files '("~/freichw/doc/org/agenda.org" 
"~/freichw/doc/org/first.org" "~/freichw/doc/org/inbox.org"
"~/agenda.org")
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 )



[O] Bug: Ampersand is not replaced in URLs in html export [8.2.10 (release_8.2.10 @ /usr/share/emacs/24.5/lisp/org/)]

2016-01-31 Thread mail

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


Hi,

I write down some notes including URLs like this one:

http://www.reichelt.de/Drehschalter/DS-3/3/index.html?&ARTICLE=7217

afterwards I do C-c C-e h h to export my notes to an html-file.

I expect that the & is replaced by &.

But it's not replaced.
This causes the w3c validation to fail.

Kind regards
Fritz Reichwald


Emacs  : GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6)
 of 2015-09-10 on foutrelis
Package: Org-mode version 8.2.10 (release_8.2.10 @ 
/usr/share/emacs/24.5/lisp/org/)

current state:
==
(setq
 org-tab-first-hook '(org-hide-block-toggle-maybe 
org-src-native-tab-command-maybe
  org-babel-hide-result-toggle-maybe 
org-babel-header-arg-expand)
 org-speed-command-hook '(org-speed-command-default-hook 
org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-html-format-drawer-function '(lambda (name contents) contents)
 org-latex-format-inlinetask-function 'ignore
 org-confirm-shell-link-function 'yes-or-no-p
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-latex-format-headline-function 'org-latex-format-headline-default-function
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-latex-format-drawer-function '(lambda (name contents) contents)
 org-from-is-user-regexp nil
 org-src-mode-hook '(org-src-babel-configure-edit-buffer 
org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '(#[nil "\300\301\302\303\304$\207"
   [org-add-hook change-major-mode-hook org-show-block-all 
append local] 5]
 #[nil "\300\301\302\303\304$\207"
   [org-add-hook change-major-mode-hook 
org-babel-show-result-all append local] 5]
 org-babel-result-hide-spec org-babel-hide-all-hashes)
 org-ascii-format-drawer-function '(lambda (name contents width) contents)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point 
org-babel-execute-safely-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers 
org-cycle-hide-inline-tasks
  org-cycle-show-empty-lines 
org-optimize-window-after-visibility-change)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-html-format-headline-function 'ignore
 org-html-format-inlinetask-function 'ignore
 org-agenda-files '("~/freichw/doc/org/agenda.org" 
"~/freichw/doc/org/first.org" "~/freichw/doc/org/inbox.org"
"~/agenda.org")
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 )



[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, the sample code uses the unicode character "right single 
character" instead of an apostrophe and "non-breaking space" instead of regular 
white space. 

It makes sense to use these characters this way, however, orgmode neither 
displays the italic expressions correctly nor exports them correctly. 

I believe older versions of orgmode worked in the expected way. 

How can I modify the regexp list? Bold characters are also affected.

Using 7.4.




[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


---
Actual HTML export (invalid HTML):
---


  Item 1
  

OK, so the example is a bit contrived. But that's basically the technique that 
I use to style lists. (It may not be the best but for complex START/END macros, 
using HTML blocks is the way to go.) 

Anyway, the above code worked fine in 7.4. Then I upgraded to 7.5 and I now 
have literally hundreds of these broken lists. 

Ideas? Where would the offending org code be?




[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?

Sample code:

#+MACRO: test Change $1 to uppercase, somehow.

* Hello World
{{{test(test phrase)}}}

Desired HTML export:

TEST PHRASE to uppercase, somehow.




[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 export:

The babel macro takes the 2nd argument and maps it to the following: 1 => A, 2 
=> B, Everything else => C. Yeah, it may be convoluted, but it gets the job 
done i.e., the actual HTML file is fine.

HOWEVER, I get this error during the export process: 

  "No match - create this as a new heading? (y or n)" 

If you select "y", it adds an extra heading to the file. This heading is 

  * Hello World* (same heading minus the *)

If you un-bold the heading (change the heading to "* Hello World"), it exports 
fine. For some reason when the actual heading starts with a * character, it is 
throwing "something" off...

Using 7.4 (I'm in a production environment, so I can't upgrade right now).





[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.


 





[O] Use custom program to process LaTeX fragments?

2011-06-09 Thread amscopub-mail
Currently, whenever you export to HTML, you have 3 options for processing LaTeX 
fragments: (1) dvipng, (2) jsmath, (3) or leave it as is. 


Is it possible to use an arbitrary program to process LaTeX fragments?

What I want to do is use a commandline converter to turn the LaTeX fragments 
directly into MathML. This way the final HTML document already has the correct 
MathML without the need to use javascript. (Why? I use princexml to convert 
that 
HTML file to a hi-quality PDF. JSmath is no good for that.)



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 to list all tags in global use. (I'm 
thinking something like a tag cloud here.)

BTW, where is the documentation? I'm using orgmode 7.03, perhaps it's not 
documented there?

U Avalos


--- On Tue, 11/23/10, Carsten Dominik  wrote:

> From: Carsten Dominik 
> Subject: Re: [Orgmode] Automatic global tag list?
> To: "Uriel Avalos" 
> Cc: emacs-orgmode@gnu.org
> Date: Tuesday, November 23, 2010, 11:50 AM
> 
> On Nov 23, 2010, at 4:45 PM, Uriel Avalos wrote:
> 
> > On Tue, 23 Nov 2010 06:52:34 +0100
> > Carsten Dominik 
> wrote:
> > 
> >> 
> >> On Nov 23, 2010, at 1:30 AM, Uriel Avalos wrote:
> >> 
> >>> Is there a way to auto-magically construct the
> global tag list (org-
> >>> tag-alist)?
> >>> That is, tags would get added to the global
> list as you add them.
> >>> 
> >>> Alternatively, is there a way to construct the
> global list of all tags
> >>> in use (in the agenda files or given set of
> files)?
> >> 
> >> There is the function
> `org-global-tags-completion-table' which will
> >> construct this list for the agenda files or for
> any other list of
> >> files you are giving it.  For each of these
> files it will at the tags
> >> defined in #+TAGS: lines as well as any other tags
> being used in that
> >> file.
> >> 
> >> HTH
> >> 
> >> - Carsten
> >> 
> > 
> > Thanks for the reply. However, I'm afraid that I'm not
> (yet) a lisp
> > programmer. What would the definition of such a
> function look like?
> > This function seems to be undocumented.
> 
> The function is there, and it is documented.  But I
> think they key question is:  what you you want to do
> with the list of tags.  If you tell us, maybe you can
> get an answer!
> 
> - 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] (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[utf8]{inputenc}

However, when I export to HTML, the math equations fail to export. And yes, I 
set the right variable for exporting latex snippets in HTML.

Ideas? The culprit seems to be the arev package. Export works fine if I remove 
that. However, why would that cause a problem? 

Using org-mode 6.36
-- 
--Thanks!
U.


___
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] 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 -0400
Nick Dokos  wrote:

> Uri Avalos  wrote:
>   
> > 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[utf8]{inputenc}
> > 
> > However, when I export to HTML, the math equations fail to export. And yes, 
> > I set the right variable for exporting latex snippets in HTML.
> > 
> > Ideas? The culprit seems to be the arev package. Export works fine if I 
> > remove that. However, why would that cause a problem? 
> > 
> > Using org-mode 6.36  
> 
> arev.sty conflicts with a couple of packages that are included by default
> when latex fragments are converted into images:
> 
> o \usepackage[mathscr]{eucal}
> o \usepackage{wasysym}
> 
> Since the latex compilation of the fragment fails, no .dvi and no .png
> files are produced.  If you delete arev from your header, the conflicts
> go away and everything works. 
> 
> The conflict with eucal elicits the message:
> 
> ,
> | (/usr/share/texmf-texlive/tex/latex/arev/arevmath.sty
> | (/usr/share/texmf-texlive/tex/latex/arev/ams-mdbch.sty)
> | (/usr/share/texmf-texlive/tex/latex/base/ifthen.sty)
> | 
> | ! LaTeX Error: Command `\mathscr' already defined.
> | 
> | See the LaTeX manual or LaTeX Companion for explanation.
> | Type  H   for immediate help.
> |  ...  
> |   
> | l.95 ...Alphabet{\mathscr}   {U}  {rsfs}{m}{n}
> |% Ralph Smith Formal 
> Script
> | ? 
> `
> 
> Then the conflict with wasysym elicits the message:
> 
> ,
> | (/usr/share/texmf-texlive/tex/latex/arev/arevsymbols.tex
> | 
> | ! LaTeX Error: Command `\quarternote' already defined.
> | 
> | See the LaTeX manual or LaTeX Companion for explanation.
> | Type  H   for immediate help.
> |  ...  
> |   
> | l.43 ...bol{\quarternote}{\mathalpha}{extraup}{90}
> |% uni2669
> | ? 
> `
> 
> If I comment those two out of the (temporary) fragment latex file,
> the compilation goes through without any problems, so these are the
> only conflicts.
> 
> Now that I've made the diagnosis, I'll let you worry about the
> cure ;-)
> 
> HTH,
> Nick  


-- 
--Thanks!
U


___
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] 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 convert 
the HTML file to a PDF.

--Uriel



___
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] 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 this:

:html-resolution 90
:html-resolution 300

but to no avail.

--Uriel

On Thu, 05 Aug 2010 00:32:16 +0200
Bastien  wrote:

> amscopub-m...@yahoo.com writes:
> 
> > Is there a way to control the resolution of PNG LaTeX formulas when
> > you export to HTML?
> 
> I've implemented this.
> 
> You can define the :html-resolution in `org-format-latex-options'.
> 
> Please test and report any problem.
> 
> -- 
>  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


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 options by themselves do *not* get the 
job done.

Anyhow, this has been done before in Twiki. Check out the "rendering options" 
in this page:

https://twiki.cern.ch/twiki/bin/view/TWiki/LatexModePlugin

The way this plugin gets LaTeX pngs of 300 ppi (without an increase in screen 
size) is by simultaneously increasing the resolution and *decreasing* the 
html-scale.

Just tried that approach with :html-scale .25 and :html-resolution 300 but with 
*no* noticeable increase in quality. I think :html-scale actually changes the 
size of the file. In the twiki plugin, html-scale changes the size of the file 
*in the HTML* only.

On Fri, 6 Aug 2010 12:46:28 +0200
Carsten Dominik  wrote:

>
> On Aug 5, 2010, at 12:32 AM, Bastien wrote:
>
> > amscopub-m...@yahoo.com writes:
> >
> >> Is there a way to control the resolution of PNG LaTeX formulas when
> >> you export to HTML?
> >
> > I've implemented this.
>
> I would not think that we need this change, the :scale and :html-scale
> parameters do this for in-buffer display and html formatting, 
> respectively.
>
> Please revert this change.
>
> - Carsten
>


-- 
--Thanks!
Uriel


___
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] 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 dpi's of 1000. 
The images were very pixelated. If you print such a low quality image, it will 
look horrible, no matter how high the dpi. 

I tried using the Q switch but that didn't seem to do anything. Maybe there is 
some type of combination of switches that produces better quality PNGs? Or an 
alternative program that does the same thing?


On Fri, 6 Aug 2010 07:05:58 -0700 (PDT)
Uri Avalos  wrote:

> 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 options by themselves do *not* get 
> the job done. 
> 
> Anyhow, this has been done before in Twiki. Check out the "rendering options" 
> in this page:
> 
> https://twiki.cern.ch/twiki/bin/view/TWiki/LatexModePlugin
> 
> The way this plugin gets LaTeX pngs of 300 ppi (without an increase in screen 
> size) is by simultaneously increasing the resolution and *decreasing* the 
> html-scale. 
> 
> Just tried that approach with :html-scale .25 and :html-resolution 300 but 
> with *no* noticeable increase in quality. 
> 
> On Fri, 6 Aug 2010 12:46:28 +0200
> Carsten Dominik  wrote:
> 
> > 
> > On Aug 5, 2010, at 12:32 AM, Bastien wrote:
> > 
> > > amscopub-m...@yahoo.com writes:
> > >
> > >> Is there a way to control the resolution of PNG LaTeX formulas when
> > >> you export to HTML?
> > >
> > > I've implemented this.
> > 
> > I would not think that we need this change, the :scale and :html-scale
> > parameters do this for in-buffer display and html formatting,  
> > respectively.
> > 
> > Please revert this change.
> > 
> > - Carsten
> > 
> 
> 
> -- 
> --Thanks!
> Uriel
> 
> 
> 
> ___
> 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


-- 
--Thanks!
Uriel



___
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] 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


___
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: [BUG] Incorrect time calculation in agenda clockcheck

2024-05-17 Thread Mnet-Mail
Thanks!

Am 17. Mai 2024 11:45:32 UTC schrieb Ihor Radchenko :
>Raffael Stocker  writes:
>
>> in the Org Agenda clockcheck view, a warning about missing end time of a
>> clocked-in task is displayed together with the already elapsed time of
>> that task.  If the starting time is in the future (this can happen if
>> rounding and continuous clocking are used), the elapsed time is
>> incorrect.  For example, if a clocked-in task starts in 5 minutes,
>> clockcheck will report something like "No end time: (0:55)".  It would
>> be more sensible to say "No end time: (-0:05)" or even "No end time: (in
>> 0:05)".
>
>Thanks for reporting!
>Fixed, on main.
>https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=ee58259bc
>
>> The culprit is the use of ‘org-duration-from-minutes’ in
>> ‘org-agenda-show-clocking-issues’, because org-duration always assumes
>> positive durations and is given a negative one here.  The problem can
>> easily be corrected with something like the following:
>>...
>> However, I believe it would be more useful (and general) to use a
>> similar trick to teach org-duration to work with negative durations.
>
>That's what I ended up doing.
>
>> ... It would be more sensible to ... or even "No end time: (in 0:05)".
>
>I find this confusing, so I left -0:05.
>
>-- 
>Ihor Radchenko // yantar92,
>Org mode contributor,
>Learn more about Org mode at .
>Support Org development at ,
>or support my work at 


[Orgmode] Undelivered Mail Returned to Sender

2008-12-21 Thread Mail Delivery System
This is the mail system at host owl.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

   The mail system

: host mail.maya.com[192.70.254.20] said: 550 Relaying
denied. (in reply to RCPT TO command)
Reporting-MTA: dns; owl
X-Postfix-Queue-ID: 9AF8219204B
X-Postfix-Sender: rfc822; demarco@maya.com
Arrival-Date: Sat, 20 Dec 2008 22:29:42 -0500 (EST)

Final-Recipient: rfc822; emacs-orgmode@gnu.org
Action: failed
Status: 5.0.0
Remote-MTA: dns; mail.maya.com
Diagnostic-Code: smtp; 550 Relaying denied.
--- Begin Message ---
On Wed, Dec 17, 2008 at 10:00:35AM +0100, Carsten Dominik wrote:

> (setq org-agenda-custom-commands
>   '(("x" "With deadline columns" alltodo ""
>((org-agenda-overriding-columns-format "%20ITEM %DEADLINE")
> (org-agenda-start-view-columns-initially t)

This doesn't seem to work :-/

I've cloned & installed from git -- org-version returns 6.16 and the
;;Version strings in the various .el being loaded by Emacs agree.

With the above in my .emacs, C-cax doesn't do anything different from
what I had before.  

FWIW, I don't actually have deadlines on most of my TODOs; I have
top-level headlines with deadlines and a custom tag indicating the
approx. effort required (I know that this is builtin elsewhere; I'm
tackling one problem at a time here :-) So my actual .emacs looks like
this:

(setq org-agenda-custom-commands
  '(("p" "Projects" tags "+xxx|+xx|+x"
 ((org-agenda-overriding-columns-format "%20ITEM %DEADLINE")
  (org-agenda-start-view-columns-initially t)

Either way, the columns don't show upon entering that agenda view.
Manually running org-agenda-columns (which I presume is what
org-agenda-start-view-columns-initially does?) doesn't show anything
different from what I'd get without the
org-agenda-overriding-columns-format .

I haven't had this much fun with software not working in a long time
:-) It's a stark contrast to my time on the phone with Apple about bugs in
their server admin tools :-b


-- 
Christopher DeMarco 
IT Director
MAYA Group
+1-412-708-9660

--- End Message ---
___
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