Re: [Orgmode] 23.0.94; [PATCH] org-store-link broken within kbd macros

2009-07-25 Thread Samuel Wales
Hi Bastien,

Thanks for the idea.

Doesn't work.

Maybe it's an emacs bug.

On Fri, Jul 3, 2009 at 02:18, Bastien wrote:
> My other guess would be that the macro execution is too fast for the
> display engine.  Maybe the trick is to insert a command in your macro
> sequence that makes sure the tab is displayed correctly before you try
> to remember it.
>
> C-x ( f8 f8 n M-> M-< c-x )
>              ^^^ <- this goes to the end and beginning of buffer
>
> Anyway, you might have clearer/cleverer answers on help-gnu-emacs@
>
> HTH,
>
> --
>  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] orgstruct minor mode

2009-07-25 Thread Dan Davison

> Maurizio Vitale
>  writes:

> Is anybody working on making orgstruct work with programming modes (or
> other modes that require the org "markup" to be hidden in comments)?


Samuel Wales  writes:

>> It might be nice to have these solutions in one place.

Yes, an overview/tutorial of the various options would be good to have.

>>
>> I know of hideshow, hideshow-org, the email thread,
>> outline-minor-mode plus regexp fixes, orgstruct, orgstruct++,
>> orgtbl, and org-babel so far.

[One obvious point for the record -- embedding code in org files is not
a mutually exclusive alternative to the others: after C-c ' the code is
edited in a language major mode buffer in which the other solutions
might be used for folding / structuring]

I'll add Carsten's outline-magic.el to that list.

http://staff.science.uva.nl/~dominik/Tools/outline-magic.el

Personally I've been using plain outline-minor-mode for code folding. I
haven't used outline-magic, but it seems like perhaps I should. Is
anyone out there currently using it?

Dan

>>
>> I guess there are several categories.  This is very rough.
>>
>>   1) code folding (e.g. hiding the contents of a defun)
>>   2) as much of org as possible without changing the
>>  behavior of the mode itself too much.  plain lists and
>>  headlines can go inside comments or docstrings.
>>   3) literate programming.  compile in two steps:
>>  compile from org and compile to binary.
>>
>>
>> ___
>> 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


Re: [Orgmode] org agenda search goes to wrong target location

2009-07-25 Thread Samuel Wales
It happens in s and in a.


-- 
Myalgic encephalomyelitis makes you die decades early (Jason
et al. 2006) and suffer severely.  Conflicts of interest are
destroying research.  Silence = death.
http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


___
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] tea-time?

2009-07-25 Thread Samuel Wales
My idea was to be thorough, documenting the idea even if it is too
hard to implement.  I think the interface would be the same as now,
except that clicking on the mode line cycles among the timers.

In principle you might be clocking a task while timing a few
tea-time-type tasks (e.g. your tea has steeped, the meat is defrosted,
the laundry is ready for somebody to switch).

tea-time and clocking are different things.  Thus, you might want to
clock without effort, and you might want to simply do org-remember to
start a timer.  Or you might want to do both at the same time.

Unless I am mistaken, your hooks would work for people who want to
clock with effort, but not for those two cases.  At least not without
further code.

This thread started because it was claimed that tea-time was
integrated into org.  Perhaps tea-time should just be used separately
from org?

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


Re: [Orgmode] Restore previous folded state of org buffer

2009-07-25 Thread Eric S Fraga
At Sat, 25 Jul 2009 19:34:01 + (UTC), User wrote:

[...]

> You simply load the elisp file and from that on folding state is
> automatically saved and restored for org mode files. The folding
> information is saved at the end of the org file itself every time
> the buffer is saved.

I wonder if it would be useful to have this information as an org-mode
COMMENT entry?  Otherwise, functions like exporting etc will get
messed up?

Looks useful otherwise! Thanks,
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] orgstruct minor mode

2009-07-25 Thread Samuel Wales
I should point out that I am assuming that #2 supersedes previous
solutions in which structure information is put in comments.


On 2009-07-25, Samuel Wales  wrote:
> It might be nice to have these solutions in one place.
>
> I know of hideshow, hideshow-org, the email thread,
> outline-minor-mode plus regexp fixes, orgstruct, orgstruct++,
> orgtbl, and org-babel so far.
>
> I guess there are several categories.  This is very rough.
>
>   1) code folding (e.g. hiding the contents of a defun)
>   2) as much of org as possible without changing the
>  behavior of the mode itself too much.  plain lists and
>  headlines can go inside comments or docstrings.
>   3) literate programming.  compile in two steps:
>  compile from org and compile to binary.
>


-- 
Myalgic encephalomyelitis makes you die decades early (Jason
et al. 2006) and suffer severely.  Conflicts of interest are
destroying research.  Silence = death.
http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


___
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] orgstruct minor mode

2009-07-25 Thread Samuel Wales
It might be nice to have these solutions in one place.

I know of hideshow, hideshow-org, the email thread,
outline-minor-mode plus regexp fixes, orgstruct, orgstruct++,
orgtbl, and org-babel so far.

I guess there are several categories.  This is very rough.

  1) code folding (e.g. hiding the contents of a defun)
  2) as much of org as possible without changing the
 behavior of the mode itself too much.  plain lists and
 headlines can go inside comments or docstrings.
  3) literate programming.  compile in two steps:
 compile from org and compile to binary.


___
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] Showing table formulas in cells

2009-07-25 Thread gregory mitchell
Hi Bastien,

On Sat, Jul 25, 2009 at 3:24 PM, Bastien wrote:

> Hi Gregory,
>
> gregory mitchell  writes:
>
> > I was wondering if anyone has found a way to toggle cells so that
> > formulas could be shown/hidden in place of calculated results in
> > org-mode tables.
>
> This is not what you're looking for but perhaps it comes close: the
> C-c ' key edits the cell at point in a separate buffer.
>

I currently use  "C-u C-c ="  to get the formula of the cell at point in the
minibuffer, but it would be nice to extend this to other cells as well.


>
> Also, since the formulas are already shown below the table, I would
> find it somewhat confusing to display them within the cell...
>


Most dedicated spreadsheets, i.e. excel,  have an option to toggle the
display of formulas/results  in cells.  Having all of the formulas at the
bottom of a table can get even more confusing with large tables that contain
lots of formulas on a single line.



>
> > Also wanted to test this list since I haven't posted to it yet.
>
> It works!
>
> --


Glad that this works!  Thanks for the response.

>
>  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] org agenda search goes to wrong target location

2009-07-25 Thread Bastien
Samuel Wales  writes:

> Very often, when I do a keyword search in the agenda (m-x
> agenda RET s), org-agenda-switch-to (RET) goes to the wrong
> location in the target file.  To sync it, the easiest way that I have
> found so far is
> to open all agenda buffers, kill all agenda buffers, open
> all agenda buffers, and run the search again.

Does this happen only for M-x agenda RET s or for other agenda commands?

-- 
 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] Restore previous folded state of org buffer

2009-07-25 Thread Bastien
User  writes:

> I don't need this feature at the moment, but the problem
> intrigued me, so I came up with a quick implementation.

Great!

> I don't plan to work on it further, since I don't really need it
> yet (I'm a novice org user), but I put it here if someone wants
> to develop the idea.
>
> You simply load the elisp file and from that on folding state is
> automatically saved and restored for org mode files. The folding
> information is saved at the end of the org file itself every time
> the buffer is saved.
>
> It seemed to work pretty well. The only faulty case I discovered
> is when the very last branch is folded in the file, because it
> contains the saved folding info, but this bug is probably easy to
> fix with a little thinking.

Yes, I found this bug.  

One way to work around this limitation and to safely store the folding
information would be to put it in a face property for each headline.  
Perhaps you have time to dig into that direction?

Thanks for this proof-of-concept!

-- 
 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] Showing table formulas in cells

2009-07-25 Thread Bastien
Hi Gregory,

gregory mitchell  writes:

> I was wondering if anyone has found a way to toggle cells so that
> formulas could be shown/hidden in place of calculated results in
> org-mode tables.

This is not what you're looking for but perhaps it comes close: the 
C-c ' key edits the cell at point in a separate buffer.

Also, since the formulas are already shown below the table, I would
find it somewhat confusing to display them within the cell...

> Also wanted to test this list since I haven't posted to it yet.

It works!

-- 
 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] tea-time?

2009-07-25 Thread Bastien
Samuel Wales  writes:

> On 2009-07-17, Bastien  wrote:
>> The steps are these:
>>
>> - create a task
>> - add an effort estimate
>> - clock in
>>
>> Let me know if this needs to be refined.
>
> If a remember template could be made to do it, then maybe the user
> could do org-remember, the key for the template, the number of
> minutes, and the reminder text.  Does that sound like a reasonable
> interface?

To me, yes.  Also check the example hooks I sent in my previous email.

> Another question.  Let's say you're clocking a task, but you want to
> set two reminders.  Can clocking keep track of 3 timers and does it
> know what to put in the mode line?  Sounds slightly complicated.

Well, yes.  Maybe at this point you better do M-x doctor RET

:)

I'm sure you can run several timers at the same time but I'm not sure
whether it would be useful.  

-- 
 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] Clean Org Clock with step

2009-07-25 Thread Bastien
meingbg  writes:

> And while I'm at it - my employer requires me to report not only what I'm 
> doing
> and how long it takes, but also when I'm doing it. I assume most people
> wouldn't benefit from a feature like this, and that there are many other 
> things
> on the wish list with higher priority, so I'm just asking if someone could
> point out an API guide or something like that, it would be wonderful.

I've implemented this.  

You can use an option like ":timestamp t" in the clock report and
a timestamp will be inserted.  It looks for SCHEDULED, TIMESTAMP,
DEADLINE and TIMESTAMP_IA -- in this order.

Thanks for this idea!

-- 
 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] inconsistency in VERSE environment?

2009-07-25 Thread Bastien
Stefan Vollmar  writes:

> I just observed that in
>
> #+BEGIN_VERSE
> =A= B
> =C=
> #+END_VERSE
>
> the first line is exported in HTML as expected (with A in "code" style),
> B in default text style. However, the second line yields "=C="  with
> default text style, rather than just "C" in "code" style. I  assume this
> is a bug?

Fixed now, thanks!

-- 
 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] suggestion: converting plain lists to subtrees

2009-07-25 Thread Bastien
Ilya Shlyakhter  writes:

> A suggestion for a simple but useful command: convert a plain list to
> a full-blown org subtree.

I have implemented this.

C-c C-* will convert the plain list at point into a subtree, projecting 
the structure of the list into the hierarchy of the tree.

Of course, this calls for a C-c C-- function that will do the opposite:
convert a subtree into a list.  I plan to do this using a new version of
the parser I've been working on.

Thanks for this idea!

-- 
 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] tea-time?

2009-07-25 Thread Samuel Wales
On 2009-07-17, Bastien  wrote:
> The steps are these:
>
> - create a task
> - add an effort estimate
> - clock in
>
> Let me know if this needs to be refined.

If a remember template could be made to do it, then maybe the user
could do org-remember, the key for the template, the number of
minutes, and the reminder text.  Does that sound like a reasonable
interface?

Another question.  Let's say you're clocking a task, but you want to
set two reminders.  Can clocking keep track of 3 timers and does it
know what to put in the mode line?  Sounds slightly complicated.

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] Restore previous folded state of org buffer

2009-07-25 Thread User
Bastien  googlemail.com> writes:
> 
> Nope.  As this is becoming a FAQ, I've added this sad answer to the
> org-faq.org file in Worg.
> 

I don't need this feature at the moment, but the problem
intrigued me, so I came up with a quick implementation.

I don't plan to work on it further, since I don't really need it
yet (I'm a novice org user), but I put it here if someone wants
to develop the idea.

You simply load the elisp file and from that on folding state is
automatically saved and restored for org mode files. The folding
information is saved at the end of the org file itself every time
the buffer is saved.

It seemed to work pretty well. The only faulty case I discovered
is when the very last branch is folded in the file, because it
contains the saved folding info, but this bug is probably easy to
fix with a little thinking.

Here it is. I hope someone takes the idea further:


http://www.emacswiki.org/emacs/orgfold.el





___
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] Edits to info file

2009-07-25 Thread Bastien
Dan Griswold  writes:

> I took a few minutes to go through the info file correcting spelling
> errors. Then I made a patch file. (I'm more of an editor than a
> programmer, so it's the way I think I can best help.) I hope this can be
> of some help. 

It certainly is!

> Could somebody with access apply it to the file on the git
> repository?

I did.  Thanks a lot for the careful proof-reading.

-- 
 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] Restored previous folded state after buffer opened again?

2009-07-25 Thread Bastien
User  writes:

> Is there a way to do it? I use saveplace.el which puts me back to
> the position where I was last time. I use nofold, so the place is
> not hidden when opening the file. Currently, I'm satisfied with
> this setup, but it would even be nicer if the previous folded
> state was also restored.
>
> Does org-mode have support for that?

Nope.  As this is becoming a FAQ, I've added this sad answer to the
org-faq.org file in Worg.

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


[Orgmode] Re: Restored previous folded state after buffer opened again?

2009-07-25 Thread Matthew Lundin
User  writes:

> Is there a way to do it? I use saveplace.el which puts me back to
> the position where I was last time. I use nofold, so the place is
> not hidden when opening the file. Currently, I'm satisfied with
> this setup, but it would even be nicer if the previous folded
> state was also restored.
>
> Does org-mode have support for that?

No. Org-mode does not automatically save and restore the fold-state of a
file.

However, you can specify a default fold-state for particular
trees/subtrees by using the visibility property. See:

http://orgmode.org/manual/index.html#Visibility-cycling

Best,
Matt


___
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] Restored previous folded state after buffer opened again?

2009-07-25 Thread User
Is there a way to do it? I use saveplace.el which puts me back to
the position where I was last time. I use nofold, so the place is
not hidden when opening the file. Currently, I'm satisfied with
this setup, but it would even be nicer if the previous folded
state was also restored.

Does org-mode have support for that?




___
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] Edits to info file

2009-07-25 Thread Dan Griswold
I took a few minutes to go through the info file correcting spelling
errors. Then I made a patch file. (I'm more of an editor than a
programmer, so it's the way I think I can best help.) I hope this can be
of some help. Could somebody with access apply it to the file on the git
repository?

Dan

--- org	2009-07-25 10:33:19.0 -0400
+++ org.dmg	2009-07-25 10:56:29.0 -0400
@@ -77,7 +77,7 @@
 * History and Acknowledgments::  How Org came into being
 * Main Index::  An index of Org's concepts and features
 * Key Index::   Key bindings and where they are described
-* Variable Index::  Variables mentiond in the manual
+* Variable Index::  Variables mentioned in the manual
 
  --- The Detailed Node Listing ---
 
@@ -297,7 +297,7 @@
 * TeX macros and LaTeX fragments::  Create special, rich export.
 * Horizontal rules::A line across the page
 * Comment lines::   Some lines will not be exported
-* Macro replacement::   Global replacement of place holdes
+* Macro replacement::   Global replacement of place holders
 
 HTML export
 
@@ -369,7 +369,7 @@
 * Hooks::   Who to reach into Org's internals
 * Add-on packages:: Available extensions
 * Adding hyperlink types::  New custom link types
-* Context-sensitive commands::  How to add functioality to such commands
+* Context-sensitive commands::  How to add functionality to such commands
 * Tables in arbitrary syntax::  Orgtbl for LaTeX and other programs
 * Dynamic blocks::  Automatically filled blocks
 * Special agenda views::Customized views
@@ -3521,7 +3521,7 @@
 
If the current outline node has an `ORDERED' property, checkboxes
 must be checked off in sequence, and an error will be thrown if you try
-to check off a box while there are unchecked boxes bove it.
+to check off a box while there are unchecked boxes above it.
 
 The following commands work with checkboxes:
 
@@ -3570,7 +3570,7 @@
-- Footnotes --
 
(1) Set the variable `org-recursive-checkbox-statistics' if you want
-such cookes to represent the all checkboxes below the cookie, not just
+such cookies to represent the all checkboxes below the cookie, not just
 the direct children.
 
 
@@ -4538,7 +4538,7 @@
  +4--> same as above
  +2w   --> two weeks from today
  ++5   --> five days from default date
- +2tue --> second tuesday from now.
+ +2tue --> second Tuesday from now.
 
The function understands English month and weekday abbreviations.  If
 you want to use unabbreviated names and/or other languages, configure
@@ -4803,7 +4803,7 @@
 clock is stopped and the corresponding time interval is recorded.  It
 also computes the total time spent on each subtree of a project.
 
-   Normally, the clock does not survive exiting and re-entereing Emacs,
+   Normally, the clock does not survive exiting and re-entering Emacs,
 but you can arrange for the clock information to persist across Emacs
 sessions with
 
@@ -5445,7 +5445,7 @@
 9.3 RSS feeds
 =
 
-Org has the capablity to add and change entries based on information
+Org has the capability to add and change entries based on information
 found in RSS feeds.  You could use this to make a task out of each new
 podcast in a podcast feed.  Or you could use a phone-based
 note-creating service on the web to import tasks into Org.  To access
@@ -6097,7 +6097,7 @@
 "\\"))
 
Note that if a project is identified as non-stuck, the subtree of
-this entry will still be searched for stuck projets.
+this entry will still be searched for stuck projects.
 
-- Footnotes --
 
@@ -6654,7 +6654,7 @@
 
(1) Custom commands can preset a filter by binding the variable
 `org-agenda-filter-preset' as an option.  This filter will then be
-applied to the view and presist as a basic filter through refreshes and
+applied to the view and persist as a basic filter through refreshes and
 more secondary filtering.
 
 
@@ -7463,7 +7463,7 @@
  (save-excursion  (ref:sc)
 (goto-char (point-min))   (ref:jump)
  #+END_SRC
- In line [[(sc)]] we remember the current positon.  [[(jump)][Line (jump)]]
+ In line [[(sc)]] we remember the current position.  [[(jump)][Line (jump)]]
  jumps to point-min.
 
If the syntax for the label format conflicts with the language
@@ -8448,7 +8448,7 @@
Image attributes supported by the `imagedata' element, like `align'
 or `width', can be specified in two ways: you can either customize
 variable `org-export-docbook-default-image-attributes' or use the
-`#+ATTR_DOCBOOK:' line.  Attributes sepcified in variable
+`#+ATTR_DOCBOOK:' line.  Attributes specified in variable
 `org-export-docbook-default-image-attributes' are applied to all inline
 images in the Org file to be exported (unless th

Re: [Orgmode] Clean Org Clock with step

2009-07-25 Thread Bastien
meingbg  writes:

> Just looking at the output, maybe this could be implemented as a regexp 
> replace
> on the entire block performed after putting together the tables? Just thinking
> it might save you some headache, if you don't think it's too ugly of a hack.

Well, it *is* to ugly of a hack, but here it is:

(defun my-org-remove-empty-daily-clock-report ()
  "Remove empty daily clock reports"
  (interactive)
  (while (re-search-forward "^Daily report:.*$" nil t)
(let ((beg0 (match-beginning 0))
  (beg1 (1+ (match-end 0)))
  (end (save-excursion 
 (re-search-forward "^$\\|^#\\+END.*" nil t)
 (match-beginning 0
  (when (re-search-forward "Total time.*0:00" end t)
(delete-region beg0 end)
(delete-char -1)

It will definitely not make its way thru Org, we need a mechanism that
prevents the display of empty report instead.

> And while I'm at it - my employer requires me to report not only what I'm 
> doing
> and how long it takes, but also when I'm doing it. I assume most people
> wouldn't benefit from a feature like this, and that there are many other 
> things
> on the wish list with higher priority, so I'm just asking if someone could
> point out an API guide or something like that, it would be wonderful.

That makes sense...

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


[Orgmode] Subfloats in LaTeX

2009-07-25 Thread Tim Burt
Raffi ---

The answer addresses the question behind "I've never tried to do this in
LaTeX", where 'this' is a group of figures.  

> Dear community,
> 
> How do I stick a group of figures together (i.e. so that I have Fig. 1
> and then a, b, c)?
The short answer is to use the ~\subfloat~ command from the =subfig=
package.  The package can be found on CTAN at
http://tug.ctan.org/tex-archive/macros/latex/contrib/subfig/.  

The following LaTeX document source demonstrates the technique,
including how to identify and reference subfigures.
#+begin_src latex
\documentclass{article}
\usepackage{graphicx}
\usepackage{subfig}
\begin{document}

\begin{figure}
  \centering
  \subfloat[Red eye, up horn.]{\includegraphics[width=0.33\textwidth]{nrocinu}}
  \hfill
  \subfloat[More 
right-looking]{\includegraphics[width=0.33\textwidth]{nrocinu2}}
  \\ 
  \subfloat[Geometric, 
right-looking]{\includegraphics[width=0.33\textwidth]{nrocinu3}}
  \hfill
  \subfloat[[Geometric, left-looking (and a bit 
jagged)]{\includegraphics[width=0.33\textwidth]{nrocinu4}}
  \\
  \mbox{}\hfill
  \subfloat[More depth of 
character\label{fig:curr}]{\includegraphics[width=0.33\textwidth]{org-mode-unicorn}}
  \hfill\mbox{}
  \caption{The changing styles of the org-mode unicorn.}
  \label{fig:all}
\end{figure}
%
The unicorns in Figure~\ref{fig:all} are the JPEG versions found on
\texttt{http://orgmode.org/img}.
Figure~\ref{fig:all}\subref{fig:curr} is the current form on
\texttt{http://orgmode.org}.

\end{document}
#+end_src

> 
> Alternatively, is there a way I can keep images inline and yet use
> captions? Whenever I add a #+CAPTION:, it's turned into \figure and
> floating is turned on.
> 
> What I'm trying to do is make a section that consists of a sequence of images.
> 
> I've searched the orgmode manual but can't figure out a way short of
> generating the LaTeX file and editing it directly (hardly ideal!).
> 
> That said, I've never tried to do this in LaTeX  so I guess it may not
> be possible (although it would surprise me!).
> 
> 
> Thank you very much,
> 
> - Raffi.


___
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


Re: [Orgmode] Re: suggestion: converting plain lists to subtrees

2009-07-25 Thread Bastien
Christian Egli  writes:

> I'm not such a big fan of code or documentation duplication. Here's a
> patch that removes this duplication and simply refers to the original
> section on C-c *.

Well spotted, thanks, I applied the patch.

-- 
 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: R: [Orgmode] Vertical lines are broken in 6.28?

2009-07-25 Thread Bastien
Hi Yuri,

Yury GEORGIEVSKIY  writes:

>> |-+-+|
>> | /   |   < |  < |
>> | pca/ellse1  |   1 |   none |
>>
>>> This was OK before.
>>
>> This what? Could you, please, add more detail, add an example of the
>> output (if the problen is during exporting) ?
>
> If C-c C-e h is done on the example above -- boundaries between
> column groups are not marked with vertical lines upon export.

Thanks for the details - can you post the HTML code from 6.24?

Thanks!

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


[Orgmode] Showing table formulas in cells

2009-07-25 Thread gregory mitchell
I was wondering if anyone has found a way to toggle cells so that
formulas could be shown/hidden in place of calculated results in
org-mode tables.

Also wanted to test this list since I haven't posted to it yet.

Hoping to hear back.

GJM


___
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