Hi Loris,
I don't know beamer enough to propose an elegant solution. Nonetheless I
have ideas what might go wrong here.
Am 29.11.18 um 08:17 schrieb Loris Bennett:
>> #+latex_header:
>> \makeatletter\let\mytextheight\beamer@frametexheight\makeatother
>> #+attr_latex: :height 0.75\mytextheight
F
Am 29.11.18 um 09:13 schrieb Julius Dittmar:
> Am 29.11.18 um 08:17 schrieb Loris Bennett:
>>> #+latex_header:
>>> \makeatletter\let\mytextheight\beamer@frametexheight\makeatother
>>> #+attr_latex: :height 0.75\mytextheight
Oh, or perhaps just a typo is involved: is it really
\beamer@frametexheig
Hi Bill,
William Denton writes:
> Is there a way, exporting as a book, to make Org skip "part" and make a
> top-level Org headline turn into a chapter? Is there a built-in way, or do I
> need to make my own class in org-latex-classes that has the structure I want?
Another simple solution tha
On Thursday, 29 Nov 2018 at 09:38, Julius Dittmar wrote:
> Am 29.11.18 um 09:13 schrieb Julius Dittmar:
>> Am 29.11.18 um 08:17 schrieb Loris Bennett:
#+latex_header:
\makeatletter\let\mytextheight\beamer@frametexheight\makeatother
#+attr_latex: :height 0.75\mytextheight
>
> Oh, or
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen. You don't know how to make a good report? See
https://orgmode.org/manual/Feedback.html#Feedback
Your bug report will be posted to the Org mailing list.
Hi
I have the following org file
#+BEGIN_SRC matlab :tangle test.m :padline no :results none
function [ll x]=mitest(A0,x0)
% initialization
format long
epsi=1.e-3;
nit=0;
nmaxit=200;
Delta=10;
A=A0;
while Delta>epsi & nit
On Thursday, 29 Nov 2018 at 12:38, Uwe Brauer wrote:
> Now org-babel-tangle works nicely, but when I try to export the org
> file to latex via org-export-dispatch
I think the default is
:exports results
so you what you want is either
:exports both
or
:exports code
--
Eric S Fraga via Emacs 27.0.
Eric S Fraga writes:
> On Thursday, 29 Nov 2018 at 09:38, Julius Dittmar wrote:
>> Am 29.11.18 um 09:13 schrieb Julius Dittmar:
>>> Am 29.11.18 um 08:17 schrieb Loris Bennett:
> #+latex_header:
> \makeatletter\let\mytextheight\beamer@frametexheight\makeatother
> #+attr_latex: :height
Are there any ways to selectively tangle blocks?
By that I mean suppose there are a dozen src blocks in a file, but I want
to selectively tangle only a few of them, selecting them by a tag, for
example, or some other property. These might have mixed languages, e.g. a
config files, a python script,
>>> "Eric" == Eric S Fraga writes:
> On Thursday, 29 Nov 2018 at 12:38, Uwe Brauer wrote:
>> Now org-babel-tangle works nicely, but when I try to export the org
>> file to latex via org-export-dispatch
> I think the default is
> :exports results
> so you what you want is either
Louis,
a hunch, which might work.
It seems that, if you try to set the length in your preamble,
`\beamer@frametextheight` is not yet defined.
So, you might try the hook `\AtBeginDocument` to see if the definition
comes at a better timing.
#+LATEX_HEADER:
\newlength\mytextheight\AtBeginDo
On Thu, Nov 29 2018, Gustavo Barros wrote:
Louis,
a hunch, which might work.
It seems that, if you try to set the length in your preamble,
`\beamer@frametextheight` is not yet defined.
So, you might try the hook `\AtBeginDocument` to see if the
definition comes at
a better timing.
#+LATEX_
Maybe you need :exports and not :export.
John
---
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
On Thu, Nov 29, 2018 at 8:2
Am 29.11.18 um 14:07 schrieb Loris Bennett:
> Eric S Fraga writes:
>
>> On Thursday, 29 Nov 2018 at 09:38, Julius Dittmar wrote:
>>> Am 29.11.18 um 09:13 schrieb Julius Dittmar:
Am 29.11.18 um 08:17 schrieb Loris Bennett:
>> #+latex_header:
>> \makeatletter\let\mytextheight\beamer@f
Hello. When performing copy/paste (even with org-copy-visible) from
org buffers with org-indent-mode turned on to buffers running, e.g.,
fundamental or text modes, leading stars of the headlines are still
invisible (until the file is saved and visited again).
Insertions within this invisible r
Hello,
Helge Stenström writes:
> I try to export org file to html, using C-c C-e h o
>
> I get: defconst: Symbol's value as variable is void: css-mode-syntax-table
This variable is not used in Org base. The problem may come from
a configuration of yours.
Regards,
--
Nicolas Goaziou
Hello,
emanuel.charpent...@gmail.com writes:
> AFAICT, polyglossia is to be preferred to babel for use with xelatex or
> lualatex. I'll see if this can be accomodated.
What I mean is that you can also add compiler dependant packages in
`org-latex-packages-alist'. No need to change the default pa
Hello,
David Masterson writes:
> Good try, but I think you got it backwards. I pulled down a daily
> development snapshot tarball from yesterday (not good with git yet) and
> tried it again. This time, it broke M-return by adding an extra blank
> line after the header (ie. two blank lines), bu
Joost Kremers writes:
> On Thu, Nov 29 2018, Gustavo Barros wrote:
>> Louis,
>>
>> a hunch, which might work.
>> It seems that, if you try to set the length in your preamble,
>> `\beamer@frametextheight` is not yet defined.
>> So, you might try the hook `\AtBeginDocument` to see if the definition
>>> "John" == John Kitchin writes:
> Maybe you need :exports and not :export.
> John
I tried
#+begin_src matlab :tangle test.m :exports code :padline no
function [ll x]=mitest(A0,x0)
% initialization
format long
epsi=1.e-3;
nit=0;
nmaxit=200;
Delta=10;
A=A0;
while Delta>epsi & nit
sm
>>> "John" == John Kitchin writes:
> Maybe you need :exports and not :export.
> John
I also see
Code block produced no output.
org-babel-exp process matlab at position 250...
smime.p7s
Description: S/MIME cryptographic signature
>>> "John" == John Kitchin writes:
> Maybe you need :exports and not :export.
> John
I tried also lisp
#+begin_src elisp :tangle test.el :exports code :padline no
(require 'ob-ipython)
(setq org-confirm-babel-evaluate t) ;don't prompt me to confirm everytime I
want to evaluate a blo
I cannot reproduce your export issue with org 9.1.14.
You need to provide more details.
Perhaps you have a header-arg set that you have not told us about?
What does C-c C-v C-i report when point is in each of your source blocks? I get
Lang: matlab
Properties:
:header-argsnil
> On Nov 29, 2018, at 5:10 AM, John Kitchin wrote:
>
> Are there any ways to selectively tangle blocks?
>
> By that I mean suppose there are a dozen src blocks in a file, but I want to
> selectively tangle only a few of them, selecting them by a tag, for example,
> or some other property. T
Nicolas Goaziou writes:
> David Masterson writes:
>
>> Good try, but I think you got it backwards. I pulled down a daily
>> development snapshot tarball from yesterday (not good with git yet) and
>> tried it again. This time, it broke M-return by adding an extra blank
>> line after the header
>>> "Berry," == Berry, Charles writes:
> I cannot reproduce your export issue with org 9.1.14.
> You need to provide more details.
Ok, I searched already my custom settings.
> Perhaps you have a header-arg set that you have not told us about?
> What does C-c C-v C-i report when poin
I tried something like this already, for example this does what I want:
#+BEGIN_SRC ipython :tangle (if (eq tangle-tag 'one) "one.py" "no")
print('hello')
#+END_SRC
#+BEGIN_SRC text :tangle (if (eq tangle-tag 'one) "one.dat" "no")
print('hello')
#+END_SRC
#+BEGIN_SRC ipython :tangle (if (eq tan
Have you tried this with an emacs -q? Your examples work as expected in
emacs -q for me.
John
---
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingr
Dear Nicolas,
Thanks a lot for bearing with my nitpicking. A couple remarks below
Le jeudi 29 novembre 2018 à 15:07 +0100, Nicolas Goaziou a écrit :
> Hello,
>
> emanuel.charpent...@gmail.com writes:
>
> > AFAICT, polyglossia is to be preferred to babel for use with
> > xelatex or
> > lualatex.
>>> "Berry," == Berry, Charles writes:
> I cannot reproduce your export issue with org 9.1.14.
> You need to provide more details.
Sorry for the noise. I just realised that a very very long time ago I
installed a function remove-src-blk-export, which, uhh, removes source
blocks.
I remov
On Thursday, 29 Nov 2018 at 16:12, Loris Bennett wrote:
> So I went with \paperheight instead, which works fine.
:-) sometimes we get caught up with complex solutions (and fail) when
easy solutions exist!
Glad you got it sorted in any case.
--
Eric S Fraga via Emacs 27.0.50, Org release_9.1.13-89
Emmanuel Charpentier writes:
> This is *not* *documented* (not even in the `org-latex-packages-alist''s
> docstring).
I know. I fixed `org-latex-packages-alist''s docstring two days ago.
> Also agreed, with the reservation that "invasive" didn't mean the same
> thing in the 1980s (when the core
Hello,
alain.coch...@unistra.fr writes:
> Hello. When performing copy/paste (even with org-copy-visible) from
> org buffers with org-indent-mode turned on to buffers running, e.g.,
> fundamental or text modes, leading stars of the headlines are still
> invisible (until the file is saved and visi
> You may want to add `face' to `yank-excluded-properties'.
Great. Thanks a lot.
--
EOST (École et Observatoire des Sciences de la Terre)
IPG (Institut de Physique du Globe) | alain.coch...@unistra.fr
5 rue René Descartes [bureau 106] | Phone: +33 (0)3 68 85 50 44
F-67084 Strasbourg Cedex
On Thursday, 29 Nov 2018 at 08:10, John Kitchin wrote:
> Are there any ways to selectively tangle blocks?
I cannot help but wanted to thank you for this little bit of magic:
> I usually put a :var a=(org-babel-tangle) header in the sh block,
> which makes sure the files are tangled, and then runs
On 11/28/18, Eric S Fraga wrote:
> The output (or more generally the results) of one src block is passed
> directly as input to another using the :post argument.
that helps.
i'm not familiar with many languages. shell and lisp work best for
me, but in this case saying that clarifies.
not sure
it still feels like variables to me. if you did a shell example with
1000 lines, would those be piped in? or would the variable contain
1000 lines? i don't understandt he difference between post and just a
variable.
onte: i am only telling you this to improve documentation if you feel
like it.
Uwe Brauer writes:
"Berry," == Berry, Charles writes:
>
>> I cannot reproduce your export issue with org 9.1.14.
>> You need to provide more details.
>
> Sorry for the noise. I just realised that a very very long time ago I
> installed a function remove-src-blk-export, which, uhh,
On Thursday, 29 Nov 2018 at 15:16, Samuel Wales wrote:
> On 11/28/18, Eric S Fraga wrote:
>> The output (or more generally the results) of one src block is passed
>> directly as input to another using the :post argument.
>
> that helps.
>
> i'm not familiar with many languages. shell and lisp wor
On Thursday, 29 Nov 2018 at 15:18, Samuel Wales wrote:
> it still feels like variables to me.
I agree. It's not the *same* as a pipe but does meet some of the requirements
for some use cases... I think expecting behaviour like pipes is possibly too
much given the single threaded nature of mu
Julius Müller writes:
> Am 29.11.18 um 14:07 schrieb Loris Bennett:
[snip (33 lines)]
>> After that I tried adding the definition on the slide itself
>>
>> #+BEGIN_SRC latex
>>
>> \newlength\mytextheight\makeatletter\setlength\mytextheight{\beamer@frametextheight}\makeatother
>> #+END_
41 matches
Mail list logo