emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leo Butler <Leo.Butler@umanitoba.ca>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: ox-beamer/latex questions
Date: Wed, 1 Mar 2023 19:16:20 +0000	[thread overview]
Message-ID: <87mt4w8epo.fsf@t14.reltub.ca> (raw)
In-Reply-To: <875ybk7qg3.fsf@localhost> (Ihor Radchenko's message of "Wed, 01 Mar 2023 09:48:12 +0000")

[-- Attachment #1: Type: text/plain, Size: 1386 bytes --]

On Wed, Mar 01 2023, Ihor Radchenko <yantar92@posteo.net> wrote:

> Leo Butler <Leo.Butler@umanitoba.ca> writes:
>
>> I have a couple questions about TODO items, cookies and export. I am
>> unable to find anything the manual that seems relevant. Please see the
>> attached.
>
>> *** DONE                                                            :B_block:
>> :PROPERTIES:
>> :BEAMER_env: block
>> :END:
>> With =ox-beamer=, =TODO= markers mangle the output. That looks like a bug to me.
>
> This is because
>  *** DONE :B_block:
> is actually parsed as a heading with DONE todo keyword and title
> ":B_block:". Tag is not recognized.
>
> We probably need to fix it, though I am not sure. It is one of the edge
> cases about Org parser.

Ok. I have become addicted to using TODO tags to organize composition of
beamer slides. I often have untitled blocks in the slides, in order to
control the pacing of the presentation.

>
>> I would like to be able to remove the =TODO= cookies, =[1/2]= and =[0/1]=, on export.
>> How can I do that?
>
> For cookies, just use stat:nil in OPTIONS. See "13.2 Export Settings"
> section of the manual.

Thanks for that. I am not sure how I missed it.

Anyhow, it does not work correctly for subtree export (or I am not
understanding something). The title still includes the cookie. See the
attached.

TIA,
Leo


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: ox-beamer-q.org --]
[-- Type: text/x-org; name="ox-beamer-q.org", Size: 1015 bytes --]

#+TITLE: ox-beamer/latex questions
#+AUTHOR: Leo Butler
#+OPTIONS: H:2 toc:t num:t tags:nil todo:nil stat:nil
#+LATEX_CLASS: beamer
#+LATEX_CLASS_OPTIONS: [presentation]
#+LATEX_COMPILER: lualatex
#+STARTUP: beamer

* TODO [1/2] ox-beamer/latex questions
** DONE [1/2] Outline
*** DONE Slide 1                                                    :B_block:
:PROPERTIES:
:BEAMER_env: block
:END:
The =DONE= tag and =[1/2]= cookie should be filtered out by
=stat:nil=. Thanks, Ihor.

*** TODO Slide 2                                                    :B_block:
:PROPERTIES:
:BEAMER_env: block
:END:
However, the title is still mangled when exporting just this heading using =C-c C-e C-s l P= on the heading.

* TODO A second question
** TODO [1/1] Questions
*** DONE                                                            :B_block:
:PROPERTIES:
:BEAMER_env: block
:END:
With =ox-beamer=, =TODO= markers mangle the output. That looks like a bug to me.
Ihor says this is an edge case.

[-- Attachment #3: ox-beamer-q.pdf --]
[-- Type: application/pdf, Size: 17572 bytes --]

  reply	other threads:[~2023-03-01 19:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-28 21:37 ox-beamer/latex questions Leo Butler
2023-03-01  9:48 ` Ihor Radchenko
2023-03-01 19:16   ` Leo Butler [this message]
2023-03-01 21:11     ` Leo Butler
2023-03-03 15:38     ` Ihor Radchenko
2023-03-03 17:46       ` Leo Butler
2023-03-22 15:09       ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mt4w8epo.fsf@t14.reltub.ca \
    --to=leo.butler@umanitoba.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).