Time Based Log Formatting

2022-02-11 Thread Robert Love
I use Org Mode to log data while monitoring events.  I used YASnippets to 
insert time but Org mode flushes every thing left.   What I get looks like

09:12  All Systems started OK
09:15  Remote system xyzzy reports problems with the framistat cluster.
It was restarted with the same configuration
09:16 xyzzy failed again, changing configuration.
09:17 successful restart


What I want looks like

09:12  All Systems started OK
09:15  Remote system xyzzy reports problems with the framistat cluster.
   It was restarted with the same configuration
09:16 xyzzy failed again, changing configuration.
09:17 successful restart

Tab doesn’t work to move the text over.   How can I make to continue lines, 
that is not starting with a timestamp, indent?

There are many bullets that describe the equipment and set up and are not part 
of the time based log.  I guess I only want the time records to format this way.

Thanks for any suggestions.





Re: [O] LaTex Output with Index

2019-05-14 Thread Robert Love
With your instructions I can now generate a document with an index.  Thanks.

However, I have one hitch.   How do I generate an index with an entry that has 
an “@“ symbol in it?

For example

#+index: @ terms

I’ve tried \@ and \verb{@} and several other ideas but once there is an @ sign, 
no entry shows up.  If I have “terms” instead of “@ terms” it works fine. The @ 
sign shows up OK in the body of the document, just not in an index.

Any suggestions?   


> On May 12, 2019, at 2:21 PM, Fraga, Eric  wrote:
> 
> On Sunday, 12 May 2019 at 10:17, Robert Love wrote:
>> Can someone point to an example of using Org mode to generate a LaTeX
>> document with an index?  I see the Org has section 13.1.8 Generating
>> an index.  What is the means to turn that into LaTex with an index?
>> Do I have to use a project?  Is there a simple example?
> 
> That part of the manual is for publishing to HTML, not for creating a
> PDF via LaTeX.
> 
> To generate an index for LaTeX, you add
> 
> #+index: term
> 
> lines to your org file.  
> 
> You need to have a couple of extra bits in your org file for LaTeX to
> know about creating an index.  In particular, you need:
> 
> #+LaTeX_HEADER: \usepackage{makeidx} \makeindex
> 
> and then a \printindex statement somewhere in your org file (probably at
> the end) for the index to be generated.
> 
> Once you have your org file the way you want it, you then need to use
> LaTeX itself to create the index.  So:
> 
> 1. export to LaTeX
> 2. run pdflatex on the LaTeX file
> 3. run it again just to make sure (sometimes 3 runs are needed...)
> 4. then run makeindex on the file (base name)
> 5. finally run pdflatex again (maybe twice)
> 
> You can do all these steps from within Emacs.  You can either visit the
> LaTeX file directly to execute steps 2-5 or you can modify
> org-latex-pdf-process (via file local variables, for instance) to insert
> the makeindex command.
> 
> HTH.
> -- 
> Eric S Fraga via Emacs 27.0.50, Org release_9.2.3-327-g3375f0




[O] LaTex Output with Index

2019-05-12 Thread Robert Love
Can someone point to an example of using Org mode to generate a LaTeX document 
with an index?   I see the Org has section 13.1.8 Generating an index.   What 
is the means to turn that into LaTex with an index?   Do I have to use a 
project?  Is there a simple example?


Re: [O] Multiple Indices

2019-03-02 Thread Robert Love
I don’t understand this advice.   I went looking for the source for the Org 
manual and found it IS written in Texinfo. This is version 8.2.10.   Is 
there a native Org mode manual written in Org?  If so, please provide the 
source location.



> On Mar 1, 2019, at 2:15 AM, Gregor Zattler  wrote:
> 
> Hi Robert,
> * Robert Love  [2019-02-28; 23:52]:
>> I’m using Org mode to document some software.  When I see
>> Texinfo used for this, I see that you can have a subject index
>> and a variable index.  How do I achieve the same thing in Org
>> mode?  Can someone point to examples of this?
> 
> I don't know anything about texinfo, but the Org-mode manual has
> three indices.  You may have a look at doc/org-manual.org.
> 
> Ciao; Gregor
> -- 
> -... --- .-. . -.. ..--.. ...-.-
> 
> 


— 
Bob Love
"Save the books...BURN the censors!"  







[O] Multiple Indices

2019-02-28 Thread Robert Love
I’m using Org mode to document some software.  When I see Texinfo used for 
this, I see that you can have a subject index and a variable index.  How do I 
achieve the same thing in Org mode?  Can someone point to examples of this?







[O] Hyperlink to Table in Other Org file

2018-08-03 Thread Robert Love
All my attempts to create an org mode link to a table in another org file fails 
to find the table.   Instead I’m offered to create a new heading, which is not 
what I want.

In Section 4.3 External Links I see this format:

file:projects.org::some wordstext search in Org file(31)

so my link looks like 

This is how to find error codes [[file:rst.org::tbl:luaerrors][Errors]]

And I have this entry in the org file with the table

#+LABEL: tbl:luaerrors

I’ve also tried the absolute path.   All advice appreciated.


Re: [O] ANNOUNCE: GNU Hyperbole 6.0.1 for Emacs 24.4 - 25 is released

2016-07-30 Thread Robert Love
I just looked on YouTube and didn’t find anything.

> On Jul 29, 2016, at 10:54 AM, Kaushal Modi  wrote:
> 
> Actually it will be even more awesome if you can record a short video/GIF 
> screencast demonstrating what hyperbole does compared to org mode. Or in 
> general how you would use hyperbole.
> 
> Thanks.
> 
> On Fri, Jul 29, 2016 at 11:52 AM Adam Porter  > wrote:
> Charles Philip Chan > writes:
> 
> > Wow, blast from the past. I remember using older versions of Hyperbole
> > fondly and still miss it. Thank you for updating it. I look forward to
> > using it. :-)
> 
> Charles, could you explain a little bit how it compares to Org?  I read
> the thread on /r/emacs and looked at the wiki, but I'm still not sure
> how it compares to or complements Org.
> 
> 
> -- 
> Kaushal Modi
> 




Re: [O] Example of Make file for Org Mode LaTeX to pdf

2016-03-08 Thread Robert Love
I have gotten many good ideas from these replies to my question.  Thanks to all.

> On Mar 7, 2016, at 10:10 AM, Loris Bennett  wrote:
> 
> Eric S Fraga  writes:
> 
>> On Monday,  7 Mar 2016 at 09:55, Loris Bennett wrote:
>> 
>> [...]
>> 
>>> Would you be able to share what you load in custom.el and esf-org.el, or
>>> a least explain what needs to be done?
>> 
>> My custom.el is the emacs customisations (for variables and faces that
>> usually ends up in your .emacs) and esf-org.el is my full org
>> initialisation which is rather large and convoluted.  There is nothing
>> in either of those that should help solve the problem you are
>> having... but, then again, I'm not sure why you are having the problem
>> you encounter!
>> 
>> Do you get the same backtrace with -Q as in the previous post?
> 
> Apart from the Debian gubbins, yes.  However, I seem to have solved the
> problem.
> 
> With the following ~/.emacs_minimal
> 
>  (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
> 
> I get:
> 
>  $ emacs /home/loris/org/gtd.org -Q -batch --load ~/.emacs_minmal -eval 
> '(org-icalendar-export-to-ics))' --kill
>  Symbol's value as variable is void: org-agenda-default-appointment-duration
> 
> However, with ~/.emacs_minimal as
> 
>  (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
>  (org-agenda-to-appt)
> 
> I get
> 
>  $ emacs /home/loris/org/gtd.org -Q -batch --load ~/.emacs_minmal -eval 
> '(org-icalendar-export-to-ics))' --kill
>  No event to add
>  Saving file /home/loris/org/gtd.ics...
>  Wrote /home/loris/org/gtd.ics
> 
> So I was just being too minimalist.  org-agenda-to-appt seems to be some
> cruft I copied from here:
> 
>  http://sachachua.com/blog/2007/11/setting-up-appointment-reminders-in-org/
> 
> I'll go and look what it does whether I still need it.
> 
> Cheers,
> 
> Loris
> 
> -- 
> This signature is currently under construction.


— 
Bob Love
"Neil Armstrong was the first human on the moon. Neil A backwards is alien." 

Listening to:  Promontory  by  Circa Paleo











[O] Example of Make file for Org Mode LaTeX to pdf

2016-03-06 Thread Robert Love
Does anyone have a make file example that has emacs load an .org file, process 
it into LaTeX and export as PDF, all from the command line without the user 
doing anything more than type ‘make’?   All examples appreciated.

— 
Bob Love
"Insisting on perfect safety is for people who don't have the balls to live in 
the real world." -- Mary Shafer, NASA Dryden 






[O] Org-Journal Weekly View?

2015-04-11 Thread Robert Love
I’ve been using org-journal to record daily activities at work.  When it comes 
time to write the weekly progress report, is there a way to view a weeks worth 
of org-journal entries?   It’s fairly easy to go day by day but I would like a 
weekly overview if there is such a thing.

— 
Bob Love
The inherent vice of capitalism is the unequal sharing of the blessings.
The inherent blessing of socialism is the equal sharing of misery.” --Winston 
Churchill  



[O] Failure to Build

2013-08-30 Thread Robert Love
When I try to build Org 8.0.7 I get many, many of this warning, then I get the 
error

org.el:15592:4:Warning: attempt to open-code `anonymous lambda' with too many 
arguments
org.el:15592:4:Warning: attempt to open-code `anonymous lambda' with too many 
arguments
org.el:15592:4:Error: Variable binding depth exceeds max-specpdl-size

No org.elc is ever produced.

$ emacs --version
GNU Emacs 23.1.1

When I tried Googling this error I see something about Xemacs but nothing is 
really relevant.

I asume production code would build without errors.  Is there something with my 
emacs? 

Anybody else encounter this?

--
Bob Love



Re: [O] LaTeX export: underscores and the syntax package

2011-05-13 Thread Robert Love
And I find the same problem with export to HTML.  I have many variables and 
paths that have underscores in them.  The underscores all are shown as 
subscripts.   I don't want to have to go thru all my org files and escape the 
underscore.  

How do I make the underscore be a subscript only in math mode?


On May 12, 2011, at 9:00 AM, peter.fri...@agfa.com wrote:

 Good afternoon all,
 
 I spent the best part of the afternoon trying to figure out why an 
 org-generated .tex file wouldn’t compile with my set-up. It turns out that 
 the `syntax’ package messes a bit with the definition of an underscore, 
 making it impossible to use the underscore in a \label.
 
 Unfortunately, the LaTeX exporter uses underscores in its section labels.
 
 
 Actually, it is possible to have the _ in \label: use the `nounderscore’ 
 option with the syntax package. But you then do not get the tweaked 
 underscore in plain text (unless you use \_ again).
 
 Since I’d like to keep the syntax package and the ease of using plain 
 underscores, I’d like to avoid the _ in labels. 
 
 Maybe I didn’t look hard enough, but I didn’t find an obvious way to change 
 the way org generates the labels. Would it be an option to use the same 
 label-generating code as AUCTeX mode? That would be very nice!
 
 
 Thanks,
 Peter.
 -- 
 c++; // this makes c bigger but returns the old value