---
exports this valid mdframed code to LaTeX:
\begin{mdframed}[foo]
Contents of box go here.
\end{mdframed}
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
Aloha all,
The attached patch recognizes all six possible :noweb header arguments.
All the best,
Tom
>From 3106e37ba1cfd7fa8e7c1a792a7c69cf76aa5343 Mon Sep 17 00:00:00 2001
From: tsdye
Date: Sun, 22 Feb 2015 07:20:34 -1000
Subject: [PATCH] Revise noweb header argument
---
doc/org.texi | 4 ++-
ix this is to have babel run with python, not IPython,
> but then pre-load all the packages that make IPython great.
>
> To be specific, how can I executed "import numpy as np" each time I "C-c
> C-c" on a "+#BEGIN_SRC python" code block?
>
> Thanks,
>
> -k.
>
>
>
--
Thomas S. Dye
http://www.tsdye.com
eal find.
Thanks,
Tom
--
Thomas S. Dye
http://www.tsdye.com
m to scholars in the larger community.
At any rate, I'm just reacting to "desperately needs" and "rigorous,
standard".
I think Samuel's ideas on extensible syntax are compatible with
reproducible scientific writing.
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
Thanks for your patience as I digested your proposals. Let me know if
you think I can help in some way.
All the best,
Tom
Richard Lawrence writes:
> Hi Tom,
>
> t...@tsdye.com (Thomas S. Dye) writes:
>
>> I want a syntax that recognizes arbitrary citation commands because I
>
ed.
Also, biber is required for some biblatex features that bibtex doesn't
support. I haven't followed this development and am not sure what they
are, though.
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
pler syntax, as Stefan suggests, would it be possible
for the various ox-* files to indicate for the input helper which
commands are supported? Then, the author could specify the output
targets somewhere in the header and the input helper could serve up the
intersection of supported commands, yielding a document portable across
the indicated backends and with the richest possible set of citation
commands.
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
e official
citation syntax. I'm able to achieve my goals fully in Org mode without
it.
All the best,
Tom
Richard Lawrence writes:
> Hi Tom,
>
> t...@tsdye.com (Thomas S. Dye) writes:
>
>> 0
>>
>> A syntax that relegates citation commands to an extension that
e adopted), 0, or -1 (meaning you'd prefer not to
> see this syntax or anything similar to it adopted).
0
A syntax that relegates citation commands to an extension that might not
export properly in future versions of Org mode isn't useful in my work.
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
ichiliocosm" or
"chiliocosm."
It's eye opening to see Org mode at work so deep in the humanities.
All the best,
Tom
Vaidheeswaran C writes:
> On Thursday 12 February 2015 12:49 PM, Thomas S. Dye wrote:
>> Aloha Vaidheeswaran,
>>
>> This is an odd examp
the ODT exporter, suggests that the
> '[fn:2]' occurring in '[fn:1]' is treated as site of first
> reference. We would like to make '[fn:2]' occurring next to 'text2' be
> treated as the site of first reference. If we do that, everything
> will be just right.
>
>
>
>
>
--
Thomas S. Dye
http://www.tsdye.com
Richard Lawrence writes:
> Hi Tom and all,
>
> t...@tsdye.com (Thomas S. Dye) writes:
>
>> Richard Lawrence writes:
>>
>>> Conceptually, something like `@key:year' isn't a citation, but merely
>>> indirection, because it doesn't actual
er of `citation' types that the syntax should
> support if we distinguish citations from indirection like this.
I don't think this concept holds in the LaTeX world. I'm fairly certain
that citation commands like \citeauthor and \citeyear create an entry in
the bibliograph
Nicolas Goaziou writes:
> t...@tsdye.com (Thomas S. Dye) writes:
>
>> Yes, I typically use what I call a multicite to get multiple citations
>> with biblatex. It just inserts {key}. I precede two or more of these
>> with a placeholder--π for parencites, † for textcite
t;1. For the
popularity of pork in eighteenth century England see Foo 1923, Bar 1946,
and references therein; animal husbandry in Oceania is discussed at
length by Baz 1963."
I don't know what word-processing (document preparation) software is
prevalent in history or the humanities generally, though my guess is
Word, not LaTeX.
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
in biblatex, IMO. Note
that CSL doesn't yet support multiple citations.
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
rt. Something like this seems right to me.
I don't think the citation command should be thought of as LaTeX
specific, but rather as one of the four pieces of information required
to create arbitrarily complex citations in the output. IIUC, it should
be possible to generate the required infor
(plist-get plist :pre)
> (plist-get plist :post)
> head
> #+END_SRC
>
>
>
> Exports to:
>
> #+BEGIN_EXAMPLE
> \cite[See for example][page 47]{kitchin-2010}
> #+END_EXAMPLE
>
>
>
>
>>
>> All the best,
>> Tom
>
> --
> Professor John Kitchin
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu
>
>
--
Thomas S. Dye
http://www.tsdye.com
Hi John,
John Kitchin writes:
>> Now, I agree with you that Org mode links are not ideal for citations.
>> Parsing the description is humbug and error-prone, and the descriptions
>> look ungainly in the Org mode document. I never remember to click
>> citation links in the "right" place! There
ould it be feasible to generalize Org mode's link syntax, or make it
extensible, so the overlap of link with citation is complete?
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
t a list of values
for the :colnames header argument?
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
; | 1.3 | 7 |
> | 1.4 | 13 |
> | 1.5 | 13 |
>
> while I was expecting:
>
> | Lg | Nb |
> |-+|
> | 1 | 1 |
> | 1.1 | 1 |
> | 1.2 | 2 |
> | 1.3 | 7 |
> | 1.4 | 13 |
> | 1.5 | 13 |
>
> Am I missing something?
>
> Best regards,
> Seb
--
Thomas S. Dye
http://www.tsdye.com
.
Does INFO refer to the output of texinfo? If so, then there is already a
path from ORG to INFO. Jonathan Leech-Pepin has contributed a really
nice texinfo exporter to the Org mode core, ox-texinfo.el.
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
Babel interprets the single-cell table as a scalar.
#+begin_src R :results value
ret <- data.frame("scalar")
#+end_src
#+results:
: scalar
#+begin_src R :results value table
ret <- data.frame("table")
#+end_src
#+results:
| table |
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
and then return them in a table - or
> use :results output and "draw" the table.
>
> But as it stands, these two header arguments do not go together.
Which two header arguments? :results table file is contradictory, but
:colnames yes :results file is not, or should not be, IMHO.
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
e do what you want?
#+CALL: org-figure-to-slide() :results raw
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
png :width 1000 :height 1000
> #+BEGIN_SRC R :session *R* :exports both :results output graphics
> layout(matrix(1:4,nc=2,byrow=TRUE))
> par(cex=2)
> plot(c(1,4),c(0,100),type="n",xlim=c(0.5,4.5),ylim=c(0,100),
> xlab="User category",ylab="",main="Fraction of text")
> with(efficiency,
> sapply(1:4,
> function(k) points(runif(10,k-0.2,k+0.2),
> PROZENT3[Kenntnisse==k],
> pch = paste(0:9
>
> with(efficiency,
> plot(c(1,4),c(0,100),type="n",xlim=c(0.5,4.5),
>ylim=range(FEHLERSFOR),xlab="User category",ylab="",
>main="Formatting errors and typos"))
> with(efficiency,
> sapply(1:4,
> function(k) points(runif(10,k-0.2,k+0.2),
> FEHLERSFOR[Kenntnisse==k],
> pch = paste(0:9
>
> with(efficiency,
> plot(c(1,4),c(0,100),type="n",xlim=c(0.5,4.5),ylim=range(FEHLEROFOR),
>xlab="User category",ylab="",
>main="Orthographic and grammatical mistakes"))
> with(efficiency,
> sapply(1:4,
> function(k) points(runif(10,k-0.2,k+0.2),
> FEHLEROFOR[Kenntnisse==k],
> pch = paste(0:9
>
> with(efficiency,
> plot(c(1,4),c(0,100),type="n",xlim=c(0.5,4.5),
>ylim=range(FEHLENDFOR),xlab="User category",ylab="",
>main="Missing words and signs"))
> with(efficiency,
> sapply(1:4,
> function(k) points(runif(10,k-0.2,k+0.2),
> FEHLENDFOR[Kenntnisse==k],
> pch = paste(0:9
> #+END_SRC
--
Thomas S. Dye
http://www.tsdye.com
ume
> Org would trump LaTeX, but would Org -> ODT or Org -> X -> DOCX (via
> pandoc) beat straight Word?
>
> -k.
>
>
>
--
Thomas S. Dye
http://www.tsdye.com
to receive
> for the intended addressee, you are hereby notified that you may not
> use, copy, disclose or distribute to anyone the message or any
> information contained in the message. If you have received this
> message in error, please immediately advise the sender by reply email
> and delete the message. Thank you.
--
Thomas S. Dye
http://www.tsdye.com
hat I may be missing?
I think this came up on the list a few days ago. IIRC, the
\begin{equation} has to be on its own line. The \label{} should move
down to the next line. Does that work?
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
formula for "Total Lines" would be exactly the same, but with the
> $2s all switched to $3. I can handle adding up the amounts!
>
> Is it possible to iterate over all the rows in another table like this?
> Is there a better way I could be arranging my tables?
>
> Thanks for any tips!
>
> Eric
>
>
>
--
Thomas S. Dye
http://www.tsdye.com
ocess - search the list for more.
| #+END_myitalics
`------------
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
to use internal links if I use
> separate files. Another thought is compilation time if I use one file
> and must always run pdflatex over the entire document. I'm sure there
> are pitfalls either way that I'm not yet aware of.
>
> Any input or advice you can provide would be greatly appreciated.
>
> Regards,
> Jake
>
--
Thomas S. Dye
http://www.tsdye.com
Aloha Nicolas,
Nicolas Goaziou writes:
> Hello,
>
> t...@tsdye.com (Thomas S. Dye) writes:
>
>> A document I've been working on for several weeks broke recently without
>> changes on my part. However, I've been tracking the master git branch
>> every once
jenia.iv...@gmail.com (jenia.ivlev) writes:
> t...@tsdye.com (Thomas S. Dye) writes:
>
>> Aloha,
>>
>> jenia.iv...@gmail.com (jenia.ivlev) writes:
>>
>>> Also, what if I want to import the actual function defintion into
>>> another src block:
>&g
finitions
>
> Is that possible?
Yes, see section 14.10 Noweb reference syntax in the manual.
You'll have something that looks like this:
#+header: :noweb yes
#+begin_src scheme
<>
(+ (previous-function 3 4) 1)
#+end_src
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
error("Undefined Org macro: %s; aborting." "ad")
org-macro-replace-all((("author" . #("Thomas S. Dye" 0 13 (:parent (#("Thomas
S. Dye" 0 13 (:parent #4)) ("date" . "\\today") ("email" .
"t...@tsdye.com"
Aloha Nicolas,
Nicolas Goaziou writes:
> Hello,
>
> t...@tsdye.com (Thomas S. Dye) writes:
>
>> With the following org file, exporting the subtree to html gives this:
>>
>> ,--
>> |
mage. One way is to set a smaller size for the image, and another
is to ensure that [p] is one of the letters in the placement
attribute--this lets a float appear on its own page.
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
Aloha all,
With the following org file, exporting the subtree to html gives this:
,--
| org-html-footnote-reference: Format specifier doesn't match argument type
`--
nda-span 21)
> '(org-agenda-include-diary t)
> '(org-agenda-insert-diary-extract-time t)
> '(org-agenda-insert-diary-strategy (quote top-level))
#+BEGIN_SRC emacs-lisp
(setq org-agenda-span 21)
#+END_SRC
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
>
> When you use these functions
> http://orgmode.org/manual/Key-bindings-and-useful-functions.html#Key-bindings-and-useful-functions
> the addition of these "hidden" blocks hav almost zero cost and give me
> what I want.
>
>
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
so my dream should not replace the current LaTeX
>> exporter, only constitute a variant!), but instead we gain a
>> beautiful, configurable pdf rendering of Org buffers.
>
> Thomas S. Dye tried it back in the days. It was called org-article¹.
> I'm sure he will share his
; Or, is there a "better" way? ;-)
If you want to achieve what you do using LaTeX without Org mode, then
this should work:
#+LATEX_HEADER: \setlength{\textheight}{9.25in}
#+LATEX_HEADER: \setlength{\textwidth}{6.75in}
...
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
t to "letter"?
>
> I tried a few things, but they don't seem to be changing anything!
I think this will do what you want:
#+LATEX_CLASS_OPTIONS: [letterpaper]
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
'm just pointing it out.
When I grep "graphics" in the Org mode lisp directory I see that
:results graphics is recognized by ob-core.el, but that the only
language that uses it is R. I think this might be the reason :results
graphics is described with the R documentation and not in the main
manual.
> Working with R code blocks in Org is great.
+1
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
Louis writes:
> On Thu, 9 Oct 2014, Thomas S. Dye wrote:
>
>> Aloha Louis,
>>
>> Louis writes:
>>
>>> Hi all,
>>>
>>> I've been using org-mode for a variety of purposes for a few years. I
>>> find that it suffers from th
r drawers. Has any of
> you done something like this, or done something similar that I've not
> considered?
>
>
> Thanks in advance,
>
> Your rapidly graying, Louis
Perhaps org-index in contrib would help?
http://orgmode.org/worg/org-contrib/org-index.html
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
gt; (defun foo (x) (+ x 2))
> #+END_SRC
>
> #+results: foo
> : foo
> #+BEGIN_SRC emacs-lisp :var fun=foo
> (funcall (intern fun) 3)
> #+END_SRC
>
> #+results:
> : 5
Or, perhaps use the noweb syntax.
#+NAME: foo
#+BEGIN_SRC emacs-lisp
(defun foo (x) (+ x 2))
#+END_SRC
#+results: foo
: foo
#+begin_src emacs-lisp :noweb yes
<>
(foo 3)
#+end_src
#+results:
: 5
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
gt; #+BEGIN_EXAMPLE
>
> I could wrap them in
>
> #+BEGIN_SOURCE conf-unix
>
> And get highlighting a la conf-unix-mode.
>
> It's not quite a babel "language", since evaluation wouldn't do
> anything, but is there a way to just get the highlighting?
>
> Thanks!
> Eric
>
>
>
--
Thomas S. Dye
http://www.tsdye.com
ormula (which I don't use).
Shouldn't this function be documented in the manual?
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
commands to missfont.log.
> )
> !pdfTeX error: pdflatex (file ecbx1200): Font ecbx1200 at 600 not found
> ==> Fatal error occurred, no output PDF file produced!
>
> *
>
> It took a while to get to this point, and I had to install a number of
> font packages from the pkgsrc tex-* collection. I do have tex-ec-1.0
> and tex-eco-1.3 installed. But it seems like the problem is more with
> metafont, which is completely beyond me.
>
> Any help would be greatly appreciated!
>
> —Andreas
>
>
>
--
Thomas S. Dye
http://www.tsdye.com
happy with its performance.
I have a busy week ahead and two looming deadlines, but I'll get to it
as soon as I find time.
Thanks for taking on this difficult project.
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
file that looks like it
is the output from "track changes" in Word, then the latexdiff utility
might work for you.
You pass it the old .tex file and the new .tex file and it creates a
third .tex file that tracks the changes.
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
|
||
| #+MACRO: name replacement text $1, $2 are arguments |
||
| which can be referenced {{{name(arg1, arg2)}}}.|
\============/
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
hard times since the summer and I need
> to focus on securing a basic environment for my daily life.
>
> I hope I can sort this out soon enough.
>
> I'm thankful to everyone who actively contribute with bug
> fixes, questions and answers. It's great to see this.
>
> All best,
--
Thomas S. Dye
http://www.tsdye.com
me more things that happened
One solution is to use a capture template for TODO items and then refile
them. I picked this up from Bernt Hansen and like it a lot:
http://doc.norang.ca/org-mode.html#Capture
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
I want in green}.
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
th the legacy bibtex file
and the article bibtex file and copy from one to the other, which ebib
makes very convenient. Then I autogenerate the reference key in ebib by
pressing 'K'.
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
mode developers and power-users,
Macros, links, derived back-ends -- so many ways to achieve what you
want. Here is another:
@@html:@@bold text@@html:@@
#+HTML: Literal HTML code for export
#+BEGIN_HTML
All lines between these markers are exported literally
#+END_HTML
For pdf export via LaTeX there are @@latex, #+LATEX, and #+BEGIN_LATEX
... #+END_LATEX.
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
Aloha all,
>> AFAICT, the arguments to code blocks may not be defined and set in the
>> `name' line anymore: this must be done on the `begin_src' line.
or, on a separate #+header: line.
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
irement. If not,
then the rest of us can enjoy the benefits of Aaron's labor (hopefully
on master and not as a series of patches, which are a real pain for us
non-programmer types to maintain).
My $0.02.
Tom
--
Thomas S. Dye
http://www.tsdye.com
Charles Berry writes:
> Nick Dokos gmail.com> writes:
>
>>
>> tsd tsdye.com (Thomas S. Dye) writes:
>>
>> > Aloha Jenia,
>> >
>> > jenia.ivlev gmail.com (jenia.ivlev) writes:
>> >
>> >> Hello.
>
>
FWIW, this code doesn't work for me, either, using a recent Org-mode from
git.
For others able to help, the "org-mode tutorial on its official page"
that Jenia refers to is
http://orgmode.org/worg/org-contrib/babel/intro.html#spreadsheet
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
tch off linum-mode for that file, which may stop "file-rot" that I
> have observed in the past. This can, at present, only be resolved by
> shutting down emacs for half an hour or so, and then restarting it,
> and normal functionality will have been restored.
Is this a question ab
Steven Rémot writes:
> This is my only contribution to Emacs code, and it changes only 12
> lines that impact a very tiny fragment of org, so I though I could
> send it without signing papers. If I was wrong, I don't mind signing
> papers at all.
Either way should work.
If you'd like to contrib
ver, this patch looks straightforward and
good to me.
Have you signed FSF papers? If so, the maintainer can accept (or
reject) your patch. If not, then you'll need to identify it as a tiny
change (see http://orgmode.org/worg/org-contribute.html).
Thanks for this contribution t
"Charles C. Berry" writes:
> As for stopping on error, I think that anything that changes current
> behavior at this late date ought to be configurable.
+1, e.g., silent, message, stop.
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
Aloha Rasmus,
Rasmus writes:
> Thomas,
>
> t...@tsdye.com (Thomas S. Dye) writes:
>
>> Rasmus writes:
>>
>>> Alan L Tyree writes:
>>>
>>>> I'm sure this has been asked before, but I can't seem to find it. Is
>>>> th
set
of tags (and options) that "just work." Do you (and others) think the
"tag and filter" approach can achieve this? Or, are there too many
moving parts to make it feasible?
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
gt;>> Subject: [PATCH] ox-bibtex.el: Extend to use bibtex files not in current
>>> working directory
>>>
>>> * contrib/lisp/ox-bibtex.el (org-bibtex-process-bib-files): Process
>>> bibtexfilename so that it does not have to be in the same directory.
>>
>> Applied. Thank you.
>>
>>
>> Regards,
>>
>
>
--
Thomas S. Dye
http://www.tsdye.com
s prepare a container to be
filled, and your functions (which I find handy, too, thanks!) take
extant text and convert it to a source block or list.
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
scribed.
>>
>> Here is my try at an ECM:
>
> [...]
>
> This should be fixed. Thank you for reporting it.
Yes, it works here. Thanks for looking into this.
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
Aloha all,
A piece of reproducible research and a compendium developed with Org
mode were just published:
http://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0102431
Many thanks to all the patient, gentle souls on this ML, without whose
generous advice and assistance the research
oblem.
Once that line is gone, I get expected results with and without (setq
org-entities-user nil) in the source code block.
The curious thing (to me) is that the problem is restricted to
captions. The user entities work fine outside of captions regardless of
the org-entities-user: nil line in Local Variables.
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
Nicolas Goaziou writes:
> I cannot reproduce it. Do you have an ECM? Are you setting
> `org-entities-user' in a special way (i.e, not globally through `setq'
> or customize)?
In the process of putting together an ECM (which hopefully doesn't
reflect my setup!), I think I found what triggers it.
Aloha all,
Recently, entities in org-entities-user haven't made it through LaTeX
export when they are in a caption.
This Org mode snippet:
Test \umacron \ocirc \umacron \amacron.
#+caption: Test \umacron \ocirc \umacron \amacron.
Yields this output:
Test \={u} \^{o} \={u} \={a}.
\cap
on"
> #+end_example
>
> ╭
> │ (format "%S" (org-version))
> ╰
>
> #+NAME:
> #+begin_example
> "8.2.7a"
> #+end_example
>
> Kind regards,
>
> gcr
>
>
> [org-scraps]
> https://raw.githubusercontent.com/eschulte/org-scraps/master/scraps.org
--
Thomas S. Dye
http://www.tsdye.com
g-latex-minted-options’ variables, which see.
#+ATTR_LATEX: :options commentstyle=\bfseries
#+BEGIN_SRC emacs-lisp
(defun Fib (n) ; Count rabbits.
(if (< n 2) n (+ (Fib (- n 1)) (Fib (- n 2)
#+END_SRC
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
Hi Manfred,
Manfred Lotz writes:
> Hi Tom,
>
> On Mon, 21 Jul 2014 09:53:41 -1000
> t...@tsdye.com (Thomas S. Dye) wrote:
>
>> Aloha Manfred,
>>
>> You should be able to use attr_latex (untested).
>>
>> Manfred Lotz writes:
>>
Aloha Manfred,
You should be able to use attr_latex (untested).
Manfred Lotz writes:
#+ATTR_LATEX: :options linenos=true frame=single
> #+BEGIN_SRC perl
> #! /usr/bin/perl
>
> use strict;
> use warnings;
> use 5.010;
>
> say 'hey';
> #+END_
age
> :newpage:
> newline before *here*
> * heading with clearpage:clearpage:
> clearpage before *here*
> * ignored heading with newpage
> :newpage:tag2:
> newline before *here*. =tag2= is lost.
> * ignore heading with clearpage
> :ignoreheading:clearpage:
> clearpage before *here*
>
> —Rasmus
Thanks very much for your help. The new filter does just what I want.
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
org-contrib/babel/languages.html
There are instructions for developing support for other languages:
http://orgmode.org/worg/org-contrib/babel/languages.html#develop
You'll want to "tangle" the .pl source code file and "export" the
documentation.
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
Aloha all,
Inspired by discussions and code on the mailing list, I managed to
cobble together the headline filter below. It "works" in that the
pdf output from LaTeX export is exactly what I want. I'm thrilled!
It has one unwanted side effect. In the tex file, a headline tagged
with either :ne
Aloha Nicolas,
Nicolas Goaziou writes:
> Hello,
>
> t...@tsdye.com (Thomas S. Dye) writes:
>
>> With a recent Org from git and this source:
>>
>> #+attr_latex: :width 0.8\textwidth :placement [htb]
>> #+name: fig:harris-errors
>> #+capti
Aloha all,
With a recent Org from git and this source:
#+attr_latex: :width 0.8\textwidth :placement [htb]
#+name: fig:harris-errors
#+caption[Structural effects of false transitives]: Structural effects of
false transitives with the stratigraphic section in Figure [[fig:fig12-open]]:
#+
t; Julien.
I use (setq org-latex-title-command "").
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
Ken Mankoff writes:
> * On 2014-07-10 at 17:08, Thomas S. Dye wrote:
>> Aloha Ken,
>>
>> Ken Mankoff writes:
>>
>>> When exporting to LaTeX, fourth-level headings become \enumerate. In
>>> LaTeX, the item below \subsubsection is \paragraph,
y setting the variable org-export-headline-levels, or
on a per-file basis with a line
#+OPTIONS: H:4
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
(xml "XML")
> | (tex "TeX")
> | (latex "[LaTeX]TeX")
> | (shell-script "bash")
> | (gnuplot "Gnuplot")
> | (ocaml "Caml")
> | (caml "Caml")
> | (sql "SQL")
> | (sqlite "sql")
> | (makefile "make")))
> `
>
> Works perfectly.
Nice!
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
Thorsten Jolitz writes:
>> If you give the source code block a name, it should work as expected.
>
> Not over here - does it work for you?
No. Sorry for the noise.
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
4
> | 4
> `
>
> Independent from argument order, 'replace' (which should be default
> anyway) is ignored.
If you give the source code block a name, it should work as expected.
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
equal to 'make'?
You can configure the listings package with the commands
\lstnewenvironment and \lstset. There is a worked example here:
http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-12-4
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
Aloha John,
John Hendy writes:
> On Mon, Jun 30, 2014 at 11:00 PM, Thomas S. Dye wrote:
>> Aloha York,
>>
>> York Zhao writes:
>>
>>> Thanks Thomas. This works but is not an ideal approach because in a complex
>>> file
>>> it may
Aloha York,
York Zhao writes:
>> * Latex New Page :ignoreheading:
>> #+latex: \newpage
>
> This should work, but didn't, I will figure out why when I have some time.
>
>> Also, see the LaTeX commands \pagebreak and \clearpage, which do generally
>> the
>> same thing but in slightly different wa
mmands \pagebreak and \clearpage, which do
generally the same thing but in slightly different ways.
hth,
Tom
>
> On Mon, Jun 30, 2014 at 8:49 PM, Thomas S. Dye wrote:
>> Aloha York,
>>
>> York Zhao writes:
>>
>&
ne2
> * Headline3 :export:
>
> Question is: how do I force Headline3 to be on a new page while exporting to
> LaTeX?
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
M-S-left with point on the Level2 heading?
Tom
York Zhao writes:
>> You could promote the Level2 subtree.
>
> I had thought about this, but I don't think this will be trivial.
>
> On Mon, Jun 30, 2014 at 3:37 PM, Thomas S. Dye wrote:
>> Aloha York,
>>
&
. . . . . . . . . . . . . . . . . . . . . . .
> 1.1 Level3 . . . . . . . . . . . . . . . . . . . . . . . . . . .
>
> Can anyone please tell me how I could achieve this?
You could promote the Level2 subtree.
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com
501 - 600 of 1836 matches
Mail list logo