Re: Confused about src vs example and LaTeX export

2020-01-05 Thread Fraga, Eric
On Sunday, 5 Jan 2020 at 10:53, Norman Walsh wrote: > In the simple case, both EXAMPLE and SRC export as {verbatim} > environments; that’s fine as a default. In the second case, the > ATTR_LATEX request for the {lstlisting} environment works on EXAMPLE > but appears to be ignored on SRC. Not for

Re: excluding noweb references completely from exports

2020-01-05 Thread Fraga, Eric
On Sunday, 5 Jan 2020 at 06:27, David Bremner wrote: > The attached exports with a blank line after the comment, which I don't > want. The comment is just added to highlight the problem, so normally > the blank line is at the beginning of the exported code block. Oh, I see. One approach would

Re: Inline references in noweb?

2020-01-05 Thread Norman Walsh
John Kitchin writes: > In order to engage the flux capacitor, you must set the > chronometer dial to src_emacs-lisp[:noweb yes :exports > results]{"<>"} > {{{results(=Jan 5\, 2020=)}}}. Ah, thank you. That was one level of indirection further than I got!

Re: Inline references in noweb?

2020-01-05 Thread John Kitchin
I think this is what you need. I am not sure if you can expand noweb outside a src block, so I use an inline src block to get this. #+name: required_date #+BEGIN_SRC text :exports none Jan 5, 2020 #+END_SRC In order to engage the flux capacitor, you must set the chronometer dial to

Re: Long links

2020-01-05 Thread Eduardo Ochs
Hi Steven, On Sun, 5 Jan 2020 at 11:03, Steven Penny wrote: > > So you can understand why I was annoyed when Trey started his off > topic discussion about hard versus soft wrapping. We understand, but now lots of people are annoyed with you. Trey wrote his e-mails very carefully, and even if

Re: Long links

2020-01-05 Thread Steven Penny
On Sun, Jan 5, 2020 at 2:03 AM Fraga, Eric wrote: > Your original post simply said you wished to wrap long lines and you > said "Does Org Mode have some way to deal with this?". Trey gave you > one way: use visual-line-mode (which is also what I use and have done > for years). His response was

Confused about src vs example and LaTeX export

2020-01-05 Thread Norman Walsh
Hello again, I’m confused about the distinction between BEGIN_EXAMPLE and BEGIN_SRC and LaTeX export. I tend to use BEGIN_SRC more often because I’m taking advantage of Babel output. Consider this file: #+TITLE: Test Org File This is an example. * Simple environments #+BEGIN_EXAMPLE

Re: excluding noweb references completely from exports

2020-01-05 Thread David Bremner
"Fraga, Eric" writes: > On Saturday, 4 Jan 2020 at 14:15, David Bremner wrote: >> Any better ideas for how to do this? In case it's not clear, I want >> include files in my tangled output that don't show in the beamer >> export. > > Export and tangling are orthogonal to each other and are

Inline references in noweb?

2020-01-05 Thread Norman Walsh
Hello, I’ve read through most of the docs that turn up with the obvious web searches and I haven’t been able to figure this out. However, it seems like it should be possible… I’m quite pleased with how babel and noweb can be used to write “literate programs” for configuration files and scripts.

Re: excluding noweb references completely from exports

2020-01-05 Thread Fraga, Eric
On Saturday, 4 Jan 2020 at 14:15, David Bremner wrote: > Any better ideas for how to do this? In case it's not clear, I want > include files in my tangled output that don't show in the beamer > export. Export and tangling are orthogonal to each other and are controlled independently by their

Re: Long links

2020-01-05 Thread Fraga, Eric
On Saturday, 4 Jan 2020 at 20:57, Steven Penny wrote: > But as you can imagine, I dont only work with Org Mode files. I also work with > Python files, Go, Dart and a number of other types. And none of these other > types get the wrapping on GitHub. As it may be. But maybe I'm missing the point