[Orgmode] MathJax - use Tex/LaTeX/MathML in HTML pages

2010-08-02 Thread Bastien
Hi all,

I just discovered and tested MathJax:

  http://www.mathjax.org

This is quite straightforward: unpack MathJax on your server (together
with the fonts zip) and it will display inline LaTeX maths in a webpage.

I thought it could be interesting to have an option for people who want
to use it instead of the current LaTeX fragments mechanism.

Anyone already using MathJax?

-- 
 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] [PATCH] Alphabetical ordered lists

2010-08-02 Thread Nicolas Goaziou
Hello,
 Nathaniel Flath writes:

 One thing that had been bugging me was the inability to have an
 ordered list of the form:

 a.  Item 1
 b.  Item 2
 c.  Item 3

 The following patch enables this, with lists going from a-z and A-Z.
 Let me know if there are any issues with it.

If I understand well your patch, I see a couple of issues with it,
that should not be hard to correct.

- you removed the code allowing to use [...@start:number] in a list;
  
- even if you recognize a. and A. lists, you only reorder from a. to
  z. (bullet start is 1- ?a, not 1- ?A);
  
- what happens when user wants to insert the 27th item in his
  alphabetically ordered list ? In other words you should have a
  function to increment such list from z. to aa.

Regards,

-- Nicolas


___
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] How can I add a DONE tag to an org file?

2010-08-02 Thread Water Lin

Here is my two questions:

1. I want to mark an org file as DONE, so I will let me know that the
file is finished and doesn't need any change.

   How can I add this similar tag to the file, or something else.

2. If I want to add some notes about the usage of this org file. How can
do it? I just want to remind me to limit the content to the topic.

Thanks

Water Lin

-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


___
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] How can I add a DONE tag to an org file?

2010-08-02 Thread Jan Böcker
On 08/02/2010 11:47 AM, Water Lin wrote:
 
 Here is my two questions:
 
 1. I want to mark an org file as DONE, so I will let me know that the
 file is finished and doesn't need any change.
 
How can I add this similar tag to the file, or something else.

You can use file tags:
#+FILETAGS: :DONE:

Every headline in the file inherits the file tags. Note that this is
completely independent of TODO states.

 
 2. If I want to add some notes about the usage of this org file. How can
 do it? I just want to remind me to limit the content to the topic.

Well, Org files are plain text, so just write it anywhere convenient. If
you do not want to see it normally, you might want to put it into a
drawer somewhere (also, IIRC drawers are not exported by default), e.g.


* some node
  :FILETOPIC:
  In this file, I want to keep track of sightings of purple elephants.
  Green elephants should be recorded somewhere else.
  :END:

Maybe a better question to ask would be where people who do something
similar write their notes, and if there are any specific reasons to
prefer one place to another?

HTH, Jan

___
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: when will org-indent-mode be ready?

2010-08-02 Thread Tassilo Horn
Brian Brooks brooks.br...@gmail.com writes:

Hi Brian,

 Currently using Emacs 23.1, when will org-indent-mode be usable?

Did you already (setq org-indent-usability-level 'high)? ;-)

Fun aside: it would be much better to tell us what inconveniences you
have with it instead of only complaining that it's not usable.

As a side note: The function `org-indent-mode' should have a more
informative docstring, and IMO the mode/file are a bit misleading in
general.  The idea of org-indent is to provide visual indentation and to
omit real indentation.  So maybe `org-visual-indentation-mode' and
`org-visual-indent.el' would be a bit more explanatory...

Bye,
Tassilo


___
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] [Babel] gnuplot, table entry and temporary file

2010-08-02 Thread d . tchin
Hi, 


Before asking my question, I would like to give few remarks
about use of gnuplot with org-babel and the reason why I
asked this question.
I tried to use it with org-plot but I was not really satisfied
as it didn't work clearly well with emacs installed on MS Windows.

Below a thread about this problem :
http://thread.gmane.org/gmane.emacs.orgmode/15036/focus=15032 

Since gnuplot is available from Babel I tried to use to check
if I have less problem with MS Windows. If I used it with 
session none and make a redirection to output file, it works 
well for me.

Below an example the way I use it :

--8---cut here---start-8---

#+begin_src gnuplot :session none :file out.png
set terminal png
set xlabel gx;set ylabel gy;set zlabel gz
set grid xtics ytics 
set view 0,0
plot cos(x)
#+end_src

--8---cut here---end---8---

#+results:
[[file:out.png]]

With org-plot it was possible to give a table in entry. Org-plot 
was able to write temporary file that was used by gnuplot. 

I haven't seen such a wrapped function for gnuplot use with babel
and I wonder if it is possible to pass a table in gnuplot
block that will create a generic tmpfile.dat used by gnuplot ?

Is there a elisp function that could be use to create such file 
that could be used afterwards ?

Something that could look like this :

--8---cut here---start-8---
#+tblname: tablein
 |  A |  B|
 ++---+
 | 257.72 | 21.39 |
 | 165.77 | 19.68 |
 |  71.00 | 11.50 |
 | 134.19 | 14.33 |
 | 257.56 | 17.67 |

#+lob: functiontowrite(table=tablein, filename=tmpfile_tablein.txt)
--8---cut here---end---8---


An then use tmpfile_tablein.txt in gnuplot block.

--8---cut here---start-8---
#+begin_src gnuplot :session none :file test.png
  set terminal png
  plot 'tmpfile_tablein.txt' us 1:2
#+end_src
--8---cut here---end---8---

Is there a tips that could be used to approach this way of doing ?





___
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] No title or date in LaTeX export

2010-08-02 Thread Xin Shi
Hello,

Thank you all ! :)

Xin


On Thu, Jul 29, 2010 at 7:01 PM, John Hendy jw.he...@gmail.com wrote:

 Whoops -- sorry for the duplicate suggestion... a bunch of messages just
 came through!


 On Thu, Jul 29, 2010 at 6:00 PM, John Hendy jw.he...@gmail.com wrote:

 See this: http://www.mail-archive.com/emacs-orgmode@gnu.org/msg20692.html

 Key line to add in your .org header section:

 #+BIND: org-export-latex-title-command 

 When you do C-c C-e p the minibuffer will ask if you want to apply the BIND 
 code. Type yes and that should do it. It's been working for me in 
 eliminating the \maketitle line.


 John

 On Thu, Jul 29, 2010 at 3:31 PM, Xin Shi shixin...@gmail.com wrote:

 Hello Experts,

 When I export the org file to LaTeX, I want no title or date in the first
 page.  Namely, I want these lines to be commented out:

 %\title{XX}
 %\date{X}
 %\maketitle

 So far, I only found
 #+OPTIONS: author:nil  can make:

 %\author{}

 I also tried :

 # Local Variables:
 # org-export-latex-title-command:  
 # End:

 but still saw the \maketitle .

 Any suggestions?

 Thanks!

 Xin


 ___
 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


Re: [Orgmode] Re: OrgMobile - just a little help?

2010-08-02 Thread Greg Troxel

Richard Moreland r...@ncogni.to writes:

 On Jul 30, 2010, at 10:17 AM, Erwin Panen wrote:

 Further to the app badge: Would this then show the number of changes
 like it shows on the Outlines icon or analoguous to e.g. the Mail
 icon in the iPhones dock?  If yes, on what basis will synching
 happen ?

 The badge will show the cumulate count of unsynced edit/new notes, so
 it will be the sum of the red indicator badges that show up on the
 Outlines and Capture buttons.  When you open the app and press sync,
 the badge will be cleared.

Unless there is a problem, I don't see why this should ever be off -
it's normal behavior.  I found the label confusing.  So I'd vote for
deleting the preference and just doing it.  If not, I'd make it negative
and Suppress needing-sync count in badge.


pgp30MHm1nsyp.pgp
Description: PGP signature
___
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: [Babel] gnuplot, table entry and temporary file

2010-08-02 Thread d . tchin
 d.tchin write 



Sorry, please forget the last question. 
I have just seen a thread related to gnuplot that answers 
to this question. 

Below a link to this thread :

http://thread.gmane.org/gmane.emacs.orgmode/27990/focus=27998




___
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: MathJax - use Tex/LaTeX/MathML in HTML pages

2010-08-02 Thread Dan Davison
Hi Bastien,

Bastien bastien.gue...@wikimedia.fr writes:

 Hi all,

 I just discovered and tested MathJax:

   http://www.mathjax.org

 This is quite straightforward: unpack MathJax on your server (together
 with the fonts zip) and it will display inline LaTeX maths in a webpage.

 I thought it could be interesting to have an option for people who want
 to use it instead of the current LaTeX fragments mechanism.

It's quite convenient already (see below), so what exactly would the
option involve?  Can the javascript and fonts be located remotely?
I.e. can org host them like it hosts org-info.js? (I just tried that and
failed)

I wasn't aware of mathjax but I've just had a quick play.

Some notes

- MathJax appears to be the successor of jsMath (same developer)
- Darlan Cavalcante has written a Worg article[1] on using jsMath with
  org
- Basically, to use jsMath all you need is

  #+options: latex:verbatim
  #+style: script src=/path/to/jsMath/easy/load.js/script

- To convert this to MathJax, all you need to change is the path:
  /path/to/mathjax/MathJax.js
- I found that a document with lots of maths rendered visually the same
  in mathjax as jsMath
- Mathjax was considerably slower to render the maths. (I think that
  under the hood it converts to mathML which jsMath does not do (?))
- Whereas google-chrome did not work with jsMath for me, it worked fine
  with MathJax. This is nice because google-chrome produces a clean pdf
  (firefox adds the file path at the top of the document)
- We can put the latex in a src block using
  #+begin_src latex :results raw :exports results


As I said the other day[2], one reason I am excited about these
technologies is that we can produce a pdf with pretty source code
fontification via htmlize (rather than ugly[3] latex listings output)
and genuine mathematical fonts rather than ugly dvipng images. I do this
via CUPS print to file under linux, which allows the web browser to
produce a .ps or .pdf. I'd be interested to know how we can make this a
more genuine org export path.

Dan


 Anyone already using MathJax?

Footnotes:

[1] http://orgmode.org/worg/org-tutorials/org-jsmath.php

[2] http://thread.gmane.org/gmane.emacs.orgmode/28150

[3] No one has replied to my post the other day, so I'll be more
contentious. Can anyone demonstrate how to make source code look
anywhere near as nice using listings in latex as with htmlize.el?

___
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] PATCH: Fix for agenda problems

2010-08-02 Thread David Maus
Robert Goldman wrote:
On 8/1/10 Aug 1 -1:28 PM, David Maus wrote:
 Robert Goldman wrote:
 [1  text/plain; ISO-8859-1 (7bit)]
 As far as I can tell, the current version of org-write-agenda evaluates
 ps-print-buffer-with-faces too eagerly.  I tripped over this because
 aquamacs 2.0, which I'm using, seems to have ps-printing code that
 conflicts with org-mode's expectation.

 The attached patch tries to fix this, but does not do the job
 particularly elegantly.  Instead of EVALUATING the flet form, it
 MACROEXPANDS that form, which I believe is correct in this context.

 Yes, the intension of backquoting the flet macro was macroexpansion,
 not evaluation.  And it should work to solve the issue with cl not
 loaded on runtime when calling `org-agenda-write'[1].

 Best,
   -- David

 [1] Cf. http://thread.gmane.org/gmane.emacs.orgmode/26132/focus=26698

Are you sure that my patch will work properly?  I was looking at it, and
it seems like the use of org-let might cause the list (the code) to be
evaluated at run-time, and not at compile time, right?

AFAIK this is the case: The list is passed to org-let and evaluated
there at run-time.  The backquotes were introduced to solve this
issue: A user might run `org-write-agenda' at a point where cl hasn't
be loaded (run-time dependency on cl.el).  Because the whole lisp
structure is passed as a quoted list to org-let, the byte compiler
does not touch it.  If it is evaluated at run-time and cl.el is not
loaded, `flet' is not fbound and `org-write-agenda' fails.

Writing this I realize that the original patch (using backquotes) as
well as the proposed patch using `macroexpand' does /not/ solve this
issue completely: It solves it for running byte-compiled Org, but not
non-byte-compiled Org.

It occurs in org-agenda.  Question:  does this mean that the backquoted
expression will be evaluated at run-time, or is the compiler aggressive
enough to do it at compile-time?

The backquoted expression will be evaluated at compile-time.
Backquoting `flet' removes the run-time dependency on cl.el for byte
compiled code
(http://thread.gmane.org/gmane.emacs.orgmode/26132/focus=26698).

IMO using backquoted `macroexpand' is the way to go.  I'll see if it
works as advertised (e.g. not causing org-write-agenda to fail when
run from byte compiled Org).

Best,
  -- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpHKWnLaBb8E.pgp
Description: PGP signature
___
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] What license for Worg?

2010-08-02 Thread David Maus
Bastien wrote:
Hi all,

what is the most suitable license (or licensing scheme) for Worg?

Here is the best solution I can think of: dual-licensing[1] under the
GNU Free Documentation License 1.3[2] and the Creative Commons BY-SA
3.0[3] license.  This solution would make it possible to take excerpts
from Worg and put them into Org manual for later inclusion in Emacs,
which uses GFDL 1.3 for the Emacs manual.

Would any Worg contributor have objection to this?

No objection.  Would have suggested the same.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpbUsDDxhiIw.pgp
Description: PGP signature
___
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: Orgmode[PATCH] org-export-generic, text markup -- and a request

2010-08-02 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Aug 02, 2010 at 06:54:44AM -0700, Wes Hardaker wrote:
  On Fri, 23 Jul 2010 13:19:31 +0200, to...@tuxteam.de said:
 
 t I tried contacting the author of org-export-generic, but don't know
 t whether I succeeded. Since this little patch might be useful, here it
 t is.
 
 You succeeded...  I'm just completely out of touch for the last two
 weeks and it'll continue into next week minus this very very short break
 when I actually can read mail...

Do take your time. No impatience here.

 Anyway, I haven't read the email chain yet but if others think the patch
 is fine then it may certainly be applied!

I do hate myself how I did some things (the naming could take some
discussion. For example: text markup is a bad name. I don't know how
to subsume strong, emphasized...). Besides, I'm unsure about this
hook-adding business within the unwind-protect. Maybe others could chime
in?

Thanks, regards
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFMVwCWBcgs9XrR2kYRAjTDAJ9X1jRrMJXKSnDkEjvotpPe/uiMPwCfRd66
/gJuF5E2ZI96o0cvLGqPpUU=
=oO1k
-END PGP SIGNATURE-

___
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: What license for Worg?

2010-08-02 Thread Bernt Hansen
David Maus dm...@ictsoc.de writes:

 Bastien wrote:
Hi all,

what is the most suitable license (or licensing scheme) for Worg?

Here is the best solution I can think of: dual-licensing[1] under the
GNU Free Documentation License 1.3[2] and the Creative Commons BY-SA
3.0[3] license.  This solution would make it possible to take excerpts
from Worg and put them into Org manual for later inclusion in Emacs,
which uses GFDL 1.3 for the Emacs manual.

Would any Worg contributor have objection to this?

 No objection.  Would have suggested the same.

No objection here either.

-Bernt

___
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: [ANN] Org-Drill: Interactive revision a la Anki/Mnemosyne

2010-08-02 Thread Paul Sexton
Detlef Steuer detlef.steuer at gmx.de writes:

 
 Hi!
 
 Just to give some feedback on org-drill. I had a look into writing something 
 similar some time ago, but never got around learning enough emacs lisp.
[...]

Thanks for the feedback. If by whitespace you mean blank lines, that's not a
requirement of org-drill. Org-drill just deals with topics and subtopics, how
you format their contents is up to you. You could delete all the blank lines in
spanish.org and it would work the same.

Paul





___
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] [mobileorg-android] Files synced, but nothing showing

2010-08-02 Thread Jonathan Arkell
Hi Orgers.

This could easily be a PEBKAC issue, I have pushed the files to my webdav with 
org-mobile-push, but when I try to sync with my webdav folder using MobileOrg, 
I get a blank MobileOrg screen.  Also, the mobileorg directory on my SD card is 
empty.  This is using version 0.4 alpha.

When I try to capture something, it seems to work (mobileorg.org file is 
created, with my captured entry).  During the sync, mobileorg.org is sent to 
the webdav server.

my index.org is just a simple set of links like so:

[[View20K.org]]
[[View30K.org]]
...
[[Game.org]]
[[Music.org]]


Can anyone help?  What Am I doing wrong?

__

Jonathan Arkell
Tech Lead
Inspired By Drum  Bass, Scheme, Kawaii

p. 403.206.4377

402 -- 11th Ave SE
Calgary, AB, Canada T2G 0Y4

jonath...@criticalmass.com
criticalmass.com








The information contained in this message is confidential. It is intended to be 
read only by the individual or entity named above or their designee. If the 
reader of this message is not the intended recipient, you are hereby notified 
that any distribution of this message, in any form, is strictly prohibited. If 
you have received this message in error, please immediately notify the sender 
and delete or destroy any copy of this message.

___
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