Re: [O] editing "The compact Org-Mode Guide"

2013-02-05 Thread Evan Misshula
Thanks for the instructions on how to play nice in the sandbox.  We
noobs are always afraid
we are going to cause more work than we fix.

:-)

On Tue, Feb 5, 2013 at 2:11 PM, Thomas S. Dye  wrote:
> Aloha Greg,
> Gregory Benjamin  writes:
>
>> I'd like to take a stab at making some corrections and would like to
>> have access to the source for this document. With some guidance, I
>> should be able to produce a patch that can be incorporated into the
>> next realease.
>
> The source is /path/to/org-mode/doc/orgguide.texi
>
> There is a file in that directory called Documentation_Standards.org,
> which contains what the file name advertises.
>
>>
>> Please provide me with instructions on downloading the source, and
>> after I finish editing, uploading the diffs or updated version.
>
> Assuming you are using the git version of Org mode, you should create a
> new branch, check it out, and edit orgguide.texi there.
>
> When you are happy with your edits, stage and commit them in the git
> repository.  Once the edits have been committed, you can make a patch like
> this:
>
> git format-patch -o ~/temp/ HEAD~1
>
> where ~/temp/ is what I use and might not be appropriate for your setup,
> so should be changed accordingly.
>
> You should read the instructions on formatting patches here:
>
> http://orgmode.org/worg/org-contribute.html#sec-4
>
> It saves the developers a lot of time if you follow these instructions.
>
> Finally, if you're likely to go over the limits of a TINY CHANGE, then
> you will want to assign your work to FSF so that it can be included in
> Emacs.  See the instructions here:
>
> http://orgmode.org/worg/org-contribute.html#sec-2
>
> Hopefully, I've remembered all the steps. If this doesn't work for you,
> come back to the list with queries.
>
> All the best,
> Tom
>
> --
> Thomas S. Dye
> http://www.tsdye.com
>



-- 
Evan Misshula
Doctoral Student (Criminal Justice)
CUNY John Jay
"Let us reform our schools, and we shall find little reform needed in
our prisons."
   John Ruskin, Unto This Last, essay 2 (1862)
   English critic, essayist, & reformer (1819 - 1900)

"Instruction does much, but encouragement does everything." Johann
Wolfgang Von Goethe
www.snrg-nyc.org



Re: [O] OT, but not really: todays XKCD

2013-02-12 Thread Evan Misshula
Many thanks for maintaining a civil community +1 Bastien

On Tue, Feb 12, 2013 at 6:39 PM, Rainer Stengele
 wrote:
> Am 12.02.2013 18:39, schrieb Samuel Wales:
>> On 2/12/13, Jambunathan K  wrote:
>>> I let go of my commit access sometime ago.  Now, I am leaving this
>>> forum.
>>>
>>> Peace.
>>
>> Yes, I think we will have peace.  I feel more comfortable on this list
>> now than I have in a very long time.
>>
>> Thank you.
>>
>> Samuel
>>
> +1
>
> Thanks Bastien for your great work and your kind and patient way of
> helping me and many more of us using Org!
>
> Rainer
>



-- 
Evan Misshula
Doctoral Student (Criminal Justice)
CUNY John Jay
"Let us reform our schools, and we shall find little reform needed in
our prisons."
   John Ruskin, Unto This Last, essay 2 (1862)
   English critic, essayist, & reformer (1819 - 1900)

"Instruction does much, but encouragement does everything." Johann
Wolfgang Von Goethe
www.snrg-nyc.org



Re: [O] LaTeX preview

2013-02-14 Thread Evan Misshula
+1 This is great,  I wanted to do something but did not know how.  I
am going to look at the patch.   If you have an interest in explaining
to an interested Noob what you did.  I would be grateful.

Best,
Evan

On Thu, Feb 14, 2013 at 3:17 AM, Bastien  wrote:
> Hi Greg,
>
> Daimrod  writes:
>
>> Here is a better formatted patch:
>
> I applied this change, thanks a lot!
>
> --
>  Bastien
>



-- 
Evan Misshula
Doctoral Student (Criminal Justice)
CUNY John Jay
"Let us reform our schools, and we shall find little reform needed in
our prisons."
   John Ruskin, Unto This Last, essay 2 (1862)
   English critic, essayist, & reformer (1819 - 1900)

"Instruction does much, but encouragement does everything." Johann
Wolfgang Von Goethe
www.snrg-nyc.org



Re: [O] [new exporter][latex] does org-preview-latex-fragment use #+latex_header ?

2013-02-26 Thread Evan Misshula
Hi Myles,

I followed the directions.  I created bug.sty and minimal.el in the
same directory and it worked for me.

My ox.elc was in /home/evan/Documents/org/elisp/org-mode.
My bug.sty was in /home/evan/Documents/org/exporter
My minimal.el was in /home/evan/Documents/org/exporter
My bug.org was in /home/evan/Documents/org/exporter

I hope this helps.

Best,
Evan

On Tue, Feb 26, 2013 at 9:21 AM, Myles English  wrote:
>
> Bastien writes:
>
>> Hi Myles,
>>
>> Myles English  writes:
>>
>>> #+LATEX_HEADER: \usepackage{~/bug}
>>
>> you want
>>
>> #+LATEX_HEADER: \usepackage{/full/path/bug}
>
> I do use the full path but cut it down for the example, which was
> incorrect, because it should have had a full path, so thanks for
> pointing that out.
>
> These fragments still don't work for me though.  Do they work for anyone
> else apart from Nicolas?  I have done make clean and build, started with
> emacs -Q, checked that the correct org library is found, I don't know
> what else to try.
>
> Myles
>



-- 
Evan Misshula
Doctoral Student (Criminal Justice)
CUNY John Jay
"Let us reform our schools, and we shall find little reform needed in
our prisons."
   John Ruskin, Unto This Last, essay 2 (1862)
   English critic, essayist, & reformer (1819 - 1900)

"Instruction does much, but encouragement does everything." Johann
Wolfgang Von Goethe
www.snrg-nyc.org



Re: [O] [new exporter][latex] does org-preview-latex-fragment use #+latex_header ?

2013-02-26 Thread Evan Misshula
If it would be helpful I can send a screen shot to anyone who wants one offlist.

Best,
Evan

On Tue, Feb 26, 2013 at 9:54 AM, Evan Misshula  wrote:
> Hi Myles,
>
> I followed the directions.  I created bug.sty and minimal.el in the
> same directory and it worked for me.
>
> My ox.elc was in /home/evan/Documents/org/elisp/org-mode.
> My bug.sty was in /home/evan/Documents/org/exporter
> My minimal.el was in /home/evan/Documents/org/exporter
> My bug.org was in /home/evan/Documents/org/exporter
>
> I hope this helps.
>
> Best,
> Evan
>
> On Tue, Feb 26, 2013 at 9:21 AM, Myles English  wrote:
>>
>> Bastien writes:
>>
>>> Hi Myles,
>>>
>>> Myles English  writes:
>>>
>>>> #+LATEX_HEADER: \usepackage{~/bug}
>>>
>>> you want
>>>
>>> #+LATEX_HEADER: \usepackage{/full/path/bug}
>>
>> I do use the full path but cut it down for the example, which was
>> incorrect, because it should have had a full path, so thanks for
>> pointing that out.
>>
>> These fragments still don't work for me though.  Do they work for anyone
>> else apart from Nicolas?  I have done make clean and build, started with
>> emacs -Q, checked that the correct org library is found, I don't know
>> what else to try.
>>
>> Myles
>>
>
>
>
> --
> Evan Misshula
> Doctoral Student (Criminal Justice)
> CUNY John Jay
> "Let us reform our schools, and we shall find little reform needed in
> our prisons."
>John Ruskin, Unto This Last, essay 2 (1862)
>English critic, essayist, & reformer (1819 - 1900)
>
> "Instruction does much, but encouragement does everything." Johann
> Wolfgang Von Goethe
> www.snrg-nyc.org



-- 
Evan Misshula
Doctoral Student (Criminal Justice)
CUNY John Jay
"Let us reform our schools, and we shall find little reform needed in
our prisons."
   John Ruskin, Unto This Last, essay 2 (1862)
   English critic, essayist, & reformer (1819 - 1900)

"Instruction does much, but encouragement does everything." Johann
Wolfgang Von Goethe
www.snrg-nyc.org



Re: [O] [BABEL] the julia language

2013-03-03 Thread Evan Misshula
Just +1 on incorporating Julia.  @Eric, babel is amazing.  I am developing on it
and I can't wait to use it with my students.  Thanks to both of you.

On Sun, Mar 3, 2013 at 5:27 PM, Jay Kerns  wrote:
> Dear Eric,
>
> On Sun, Mar 3, 2013 at 2:05 PM, Eric Schulte  wrote:
>> Hi Jay,
>>
>> Having read through intro-julia.org and scanned ob-julia.el I have to
>> say this looks great.  Thanks for sharing!
>
> I should be saying "Thanks" to you!  Org Babel is truly great work; I
> use it almost every day of my life.
>
>> Would you be willing to contribute ob-julia.el to the Org-mode
>> repository?
>
>
> Yes, of course, it would be an honor to give back to the Org
> community.  And I'm not just saying that.
>
>
>> I don't see you listed as an Org-mode contributor (see
>> [1]), so to do so you would likely have to complete the FSF copyright
>> attribution.  Please let me (and more importantly Bastien) know if this
>> is something you'd like to do, so we can help get julia support into
>> Org-mode.
>>
>
>
> OK, I'll get started on that right away.
>
>
>> Additionally, it would be nice for your excellent introduction to be
>> added to worg, and for julia to be listed as a supported babel language
>> (see [2]).
>
>
> Thanks for the kind words, and I would be happy to contribute to worg.
>  I've been sitting on my hands about worg so far because I'm scared
> I'm going to break it with something that isn't compatible with the
> old exporter.  In an earlier message Bastien indicated that Org 8.0
> might be coming out in a few weeks (thanks, Bastien!) and I've been
> trying to wait for it patiently.
>
> In the meantime, maybe I'll check out the maintenance branch and dig
> up those old configurations to get the ball rolling on my side.
>
> --
> Jay
>



-- 
Evan Misshula
Doctoral Student (Criminal Justice)
CUNY John Jay
"Let us reform our schools, and we shall find little reform needed in
our prisons."
   John Ruskin, Unto This Last, essay 2 (1862)
   English critic, essayist, & reformer (1819 - 1900)

"Instruction does much, but encouragement does everything." Johann
Wolfgang Von Goethe
www.snrg-nyc.org



Re: [O] Fwd: run python from org, draft

2013-03-29 Thread Evan Misshula
Org-mode version 8.0-pre (release_8.0-pre-203-g993e3e @
/home/evan/Documents/org/elisp/org-mode/lisp/)
GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10) of
2013-03-21 on evan-Dell-System-Inspiron-N7110 [2 times]

I installed the patched version.  It does hold session definition:

#+name: second-deriv-function
#+begin_src python :session  :results output :exports code
  def diff2(f, x, h=1E-6):
"""Function that takes the second derivative"""
r=(f(x-h)-2*f(x)+f(x+h))/float(h*h)
return r

#+end_src
#+RESULTS: second-deriv-function

Now let's write a target function, say $g(t)=t^{-6}$:
#+name: target-funtion
#+begin_src python :session :results output :exports code
  def g(t):
  """well behaved target function"""
  return t**(-6)

#+end_src

#+RESULTS: target-funtion

Now let's define the second derivative and evaluate it at $t=1.2$

#+name: evaluating-the-target
#+begin_src python :session  :results output :exports both
  t=1.2
  d2g = diff2(g,t)
  print "g''(%f)=%f" % (t, d2g)
#+end_src

#+RESULTS: evaluating-the-target
:
: >>> g''(1.20)=9.767798

But it does not appear to support named session:

Works with a named session.
#+begin_src python :session foo
  x = 9
  x
#+end_src

#+RESULTS:
: None

#+begin_src python :session foo
  x
#+end_src

#+RESULTS:

Thanks,

Evan



On Fri, Mar 29, 2013 at 12:59 PM, Eric Schulte wrote:

> Andreas Röhler  writes:
>
> > Am 29.03.2013 17:20, schrieb Eric Schulte:
> >
> >> A valid opinion, in fact I think I defended that point of view myself,
> >
> > Hi Eric,
> >
> > so, if I'm saying: let's make things considerably easier, working right
> from the spot,
> > why not try that?
> >
> > What I need still is a specification, what :session and the other header
> arguments shall do.
> > Presently they do quite different things. Also can't read a bulk of
> mails to figure out some guessing.
> >
> > Please write a specification and with the help of the other guys let's
> have some tiny and
> > effective ob-python.
> >
>
> Sorry, I'm not going to do this work for you.  If you want to take a
> shot at re-working ob-python, then you're welcome to.  However, I would
> recommend first reading through some of the history which lead to its
> current state, and fully understanding what that current state is (which
> at a minimum means reading and digesting the relevant documentation).
>
> > Let's see of we need more lines than ob-emacs-lisp.el :)
> >
>
> You will. :)
>
> Best of luck,
>
> >
> > Cheers
>
> --
> Eric Schulte
> http://cs.unm.edu/~eschulte
>
>


-- 
Evan Misshula
Doctoral Student (Criminal Justice)
CUNY John Jay
"Let us reform our schools, and we shall find little reform needed in our
prisons."
   John Ruskin, Unto This Last, essay 2 (1862)
   English critic, essayist, & reformer (1819 - 1900)

"Instruction does much, but encouragement does everything." Johann Wolfgang
Von Goethe
www.snrg-nyc.org


Re: [O] Fwd: run python from org, draft

2013-03-29 Thread Evan Misshula
It works exactly as advertised for me.  Many thanks!!


On Fri, Mar 29, 2013 at 2:50 PM, Eric Schulte wrote:

> >
> > But it does not appear to support named session:
> >
> > Works with a named session.
> > #+begin_src python :session foo
> >   x = 9
> >   x
> > #+end_src
> >
> > #+RESULTS:
> > : None
> >
> > #+begin_src python :session foo
> >   x
> > #+end_src
> >
> > #+RESULTS:
> >
> > Thanks,
> >
> > Evan
> >
>
> Thanks for reporting this, I've just pushed up a fix, please let me know
> if the problem persists.
>
> Best,
>
> --
> Eric Schulte
> http://cs.unm.edu/~eschulte
>



-- 
Evan Misshula
Doctoral Student (Criminal Justice)
CUNY John Jay
"Let us reform our schools, and we shall find little reform needed in our
prisons."
   John Ruskin, Unto This Last, essay 2 (1862)
   English critic, essayist, & reformer (1819 - 1900)

"Instruction does much, but encouragement does everything." Johann Wolfgang
Von Goethe
www.snrg-nyc.org


Re: [O] New logo

2013-04-01 Thread Evan Misshula
> I did spent a lot of time and energy on deciding this, and this
> is not only me, but also many Org users I've asked, so please do
> not discuss this change.

Seems like an April fools joke.  Of course we will discuss. :-P


On Mon, Apr 1, 2013 at 2:16 PM, Brian van den Broek <
brian.van.den.br...@gmail.com> wrote:

> On 1 April 2013 13:20, Bastien  wrote:
> > Hi all,
> >
> > I've been trying hard to enhance the logo for the release of 8.0
> > and I gather that my attempts failed so far.  So instead of trying
> > to change the colors and the shape, I suddenly realized we could
> > simply find... a *better* animal.
> >
> > What is the most appropriate symbol of why we all use Org-mode?
> >
> > Yes, procrastination.  Fiddling with Emacs instead of achieving
> > the work we need to achieve.  Trying to convince ourselves that
> > this tiny Org feature will make us more proficient at our jobs,
> > instead of simply working.
> >
> > I asked many Org friends during the last few weeks, and we all
> > agreed that an ostrich might be a good candidate.
> >
> > So here it is -- I just updated the website accordingly:
> >
> >   http://orgmode.org
> >
> > I did spent a lot of time and energy on deciding this, and this
> > is not only me, but also many Org users I've asked, so please do
> > not discuss this change.
> >
> > Hope you'll get used to it!
> >
> > Best,
> >
> > --
> >  Bastien
>
>
> Oh, +1. No, strike that. +4
>
> Best,
>
> Brian vdB
>
>


-- 
Evan Misshula
Doctoral Student (Criminal Justice)
CUNY John Jay
"Let us reform our schools, and we shall find little reform needed in our
prisons."
   John Ruskin, Unto This Last, essay 2 (1862)
   English critic, essayist, & reformer (1819 - 1900)

"Instruction does much, but encouragement does everything." Johann Wolfgang
Von Goethe
www.snrg-nyc.org


Re: [O] New logo

2013-04-01 Thread Evan Misshula
Apologies for any breech of protocol.  EM


On Mon, Apr 1, 2013 at 2:28 PM, Brian van den Broek <
brian.van.den.br...@gmail.com> wrote:

>
> On 1 Apr 2013 14:23, "Evan Misshula"  wrote:
> >
> > > I did spent a lot of time and energy on deciding this, and this
> > > is not only me, but also many Org users I've asked, so please do
> > > not discuss this change.
> >
> > Seems like an April fools joke.  Of course we will discuss. :-P
> >
> >
> > On Mon, Apr 1, 2013 at 2:16 PM, Brian van den Broek <
> brian.van.den.br...@gmail.com> wrote:
>
> 
>
> >> Oh, +1. No, strike that. +4
> >>
> >> Best,
> >>
> >> Brian vdB
>
> That's not in keeping with the spirit of the thing. Knowing allusions (as
> above) are fine, but overtly pointing it? That's not cricket!
>
> Brian vdB
>



-- 
Evan Misshula
Doctoral Student (Criminal Justice)
CUNY John Jay
"Let us reform our schools, and we shall find little reform needed in our
prisons."
   John Ruskin, Unto This Last, essay 2 (1862)
   English critic, essayist, & reformer (1819 - 1900)

"Instruction does much, but encouragement does everything." Johann Wolfgang
Von Goethe
www.snrg-nyc.org


[O] Preview LaTeX fragment not working (for me)

2013-09-10 Thread Evan Misshula
I am trying to Preview LaTeX fragment (11.7.4).  I have the preview
working in Preview LaTeX but when I (C-c C-x C-l) org-mode shows empty
boxes.

The org mode file is:
#+OPTIONS: tex:dvipng
#+OPTIONS: toc:nil

#+LATEX_HEADER: \usepackage{tikz}
#+LATEX_HEADER: \usepackage{attrib}
#+LATEX_HEADER: \usepackage{amsmath}
#+LATEX_HEADER:
\usepackage{/home/evan/Documents/chicago/learning/Causality/bug.sty}
#+LATEX_HEADER: \let\iint\undefined
#+LATEX_HEADER: \let\iiint\undefined
#+LATEX_HEADER: \usepackage{dsfont}
#+LATEX_HEADER: \usepackage[retainorgcmds]{IEEEtrantools}

* Model :export:

\( e^{i\pi}=-1 \).
\alpha
 Let us start with a nested theoretical model:

\begin{equation*}
\begin{array}{rcl}
y & = & [1, x_1, x_2]
\begin{bmatrix}
\beta_0  \\
\beta_1  \\
\beta_2  \end{bmatrix}
  + \epsilon_w \\
x_1 & = & \mathds{1}_{[-1 + \beta_4 \cdot x_4 + \beta_5 \cdot x_5 +
\epsilon_j]}
\end{array}
\end{equation*}

The exported LaTeX buffer generates the appropriate formula images.
When I tried to modify org-format-latex-options using M-x
org-format-latex-options, there was no such variable.  The version of
org-mode I have was compiled from the git repo.

Thank you very much for any help.

Best,
Evan

Emacs  : GNU Emacs 24.3.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.4)
 of 2013-09-05 on evan-U47A
Package: Org-mode version 8.1.1 (release_8.1.1-7-gaecdf5 @
/usr/local/share/emacs/24.3/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-confirm-shell-link-function 'yes-or-no-p
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-from-is-user-regexp "\\"
 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-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-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 )


-- 
Evan Misshula
Doctoral Student (Criminal Justice)
CUNY John Jay
"Let us reform our schools, and we shall find little reform needed in our
prisons."
   John Ruskin, Unto This Last, essay 2 (1862)
   English critic, essayist, & reformer (1819 - 1900)

"Instruction does much, but encouragement does everything." Johann Wolfgang
Von Goethe
www.snrg-nyc.org


Re: [O] org-mode in teaching

2014-12-20 Thread Evan Misshula
I am going to try this semester also.  Thanks for paving the way.

:-)

On Sat, Dec 20, 2014 at 5:48 PM, John Kitchin 
wrote:

> All of the code is here:
> https://github.com/jkitchin/jmax/tree/master/techela
>
> and there is some documentation in the README.
>
> I am not sure how much work it would take to try it yourself though. You
> need to setup a gitolite server (that is described in the README), and
> more importantly figure out how to get this in your student's hands. For
> windows users, they can just clone jmax, and it should run out of the
> box (it has an emacs in it).
>
> "Marvin M. Doyley"  writes:
>
> > Very cool indeed.
> > I would love to try this for a small course that I will be teaching in
> the spring semester.
> > Is your code available?
> > Cheers,
> > M
> > Sent from my iPad
> >
>
> --
> ---
> John Kitchin
> Professor
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> http://kitchingroup.cheme.cmu.edu
>
>


-- 
Evan Misshula
Doctoral Student (Criminal Justice)
City University of New York

"The purpose of computing is insight, not numbers" ~ John Hamming

"Instruction does much, but encouragement does everything." Johann Von
Goethe

EvanMisshula.github.io


<http://EvanMisshula.github.io>