emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [oc] multiple cite_export keywords for multiple export processors?
@ 2022-05-10 22:45 Bruce D'Arcus
  2022-05-11 13:22 ` Ihor Radchenko
  0 siblings, 1 reply; 6+ messages in thread
From: Bruce D'Arcus @ 2022-05-10 22:45 UTC (permalink / raw)
  To: org-mode-email

I just saw a post on reddit that reminded me of this issue.

User wants to use the oc-biblatex export processor for latex export,
but otherwise use oc-csl.

They want to specify styles for each.

This isn't possible currently; one has to modify the org source file
for each export target.

Is there a relatively easy way to fix this?

Bruce


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [oc] multiple cite_export keywords for multiple export processors?
  2022-05-10 22:45 [oc] multiple cite_export keywords for multiple export processors? Bruce D'Arcus
@ 2022-05-11 13:22 ` Ihor Radchenko
  2022-05-11 13:26   ` Bruce D'Arcus
  0 siblings, 1 reply; 6+ messages in thread
From: Ihor Radchenko @ 2022-05-11 13:22 UTC (permalink / raw)
  To: Bruce D'Arcus; +Cc: org-mode-email

"Bruce D'Arcus" <bdarcus@gmail.com> writes:

> I just saw a post on reddit that reminded me of this issue.
>
> User wants to use the oc-biblatex export processor for latex export,
> but otherwise use oc-csl.
>
> They want to specify styles for each.
>
> This isn't possible currently; one has to modify the org source file
> for each export target.
>
> Is there a relatively easy way to fix this?

Emm. org-cite-export-processors?

Best,
Ihor


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [oc] multiple cite_export keywords for multiple export processors?
  2022-05-11 13:22 ` Ihor Radchenko
@ 2022-05-11 13:26   ` Bruce D'Arcus
  2022-05-11 13:55     ` Ihor Radchenko
  0 siblings, 1 reply; 6+ messages in thread
From: Bruce D'Arcus @ 2022-05-11 13:26 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: org-mode-email

On Wed, May 11, 2022 at 9:21 AM Ihor Radchenko <yantar92@gmail.com> wrote:
>
> "Bruce D'Arcus" <bdarcus@gmail.com> writes:
>
> > I just saw a post on reddit that reminded me of this issue.
> >
> > User wants to use the oc-biblatex export processor for latex export,
> > but otherwise use oc-csl.
> >
> > They want to specify styles for each.
> >
> > This isn't possible currently; one has to modify the org source file
> > for each export target.
> >
> > Is there a relatively easy way to fix this?
>
> Emm. org-cite-export-processors?

So I recognize I don't fully understand the org export system, but
that sets global defaults.

What if I want to set a different style on a specific document?

Bruce


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [oc] multiple cite_export keywords for multiple export processors?
  2022-05-11 13:26   ` Bruce D'Arcus
@ 2022-05-11 13:55     ` Ihor Radchenko
  2022-05-11 18:46       ` Bruce D'Arcus
  0 siblings, 1 reply; 6+ messages in thread
From: Ihor Radchenko @ 2022-05-11 13:55 UTC (permalink / raw)
  To: Bruce D'Arcus; +Cc: org-mode-email

"Bruce D'Arcus" <bdarcus@gmail.com> writes:

>> Emm. org-cite-export-processors?
>
> So I recognize I don't fully understand the org export system, but
> that sets global defaults.
>
> What if I want to set a different style on a specific document?

There is also #+cite_export: keyword, but it only sets global processor.
You cannot choose per-export backend options. So, you can use #+bind to
set org-exportprocessors explicitly in buffer.

Best,
Ihor


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [oc] multiple cite_export keywords for multiple export processors?
  2022-05-11 13:55     ` Ihor Radchenko
@ 2022-05-11 18:46       ` Bruce D'Arcus
  2022-05-12 10:08         ` Ihor Radchenko
  0 siblings, 1 reply; 6+ messages in thread
From: Bruce D'Arcus @ 2022-05-11 18:46 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: org-mode-email

On Wed, May 11, 2022 at 9:55 AM Ihor Radchenko <yantar92@gmail.com> wrote:
>
> "Bruce D'Arcus" <bdarcus@gmail.com> writes:
>
> >> Emm. org-cite-export-processors?
> >
> > So I recognize I don't fully understand the org export system, but
> > that sets global defaults.
> >
> > What if I want to set a different style on a specific document?
>
> There is also #+cite_export: keyword, but it only sets global processor.
> You cannot choose per-export backend options. So, you can use #+bind to
> set org-exportprocessors explicitly in buffer.

OIC; that's the part I was missing.

So something like this?

#+bind: org-cite-export-processors ((latex biblatex "verbose"))

It doesn't seem to work though. Is there something wrong with my syntax?

Bruce


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [oc] multiple cite_export keywords for multiple export processors?
  2022-05-11 18:46       ` Bruce D'Arcus
@ 2022-05-12 10:08         ` Ihor Radchenko
  0 siblings, 0 replies; 6+ messages in thread
From: Ihor Radchenko @ 2022-05-12 10:08 UTC (permalink / raw)
  To: Bruce D'Arcus; +Cc: org-mode-email

"Bruce D'Arcus" <bdarcus@gmail.com> writes:

> OIC; that's the part I was missing.
>
> So something like this?
>
> #+bind: org-cite-export-processors ((latex biblatex "verbose"))
>
> It doesn't seem to work though. Is there something wrong with my syntax?

Seems to be alright (except that "verbose" is ignored by oc-biblatex).

Note that you need org-export-allow-bind-keywords to be set to t.
Otherwise, #+bind keywords are ignored.

I tried the following .org file:

#+bind: org-cite-export-processors ((latex biblatex "verbose"))
#+bibliography: /home/yantar92/Git/Books/References.bib

[cite:@brovzek2009soldering]

Best,
Ihor


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-05-12 10:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-10 22:45 [oc] multiple cite_export keywords for multiple export processors? Bruce D'Arcus
2022-05-11 13:22 ` Ihor Radchenko
2022-05-11 13:26   ` Bruce D'Arcus
2022-05-11 13:55     ` Ihor Radchenko
2022-05-11 18:46       ` Bruce D'Arcus
2022-05-12 10:08         ` Ihor Radchenko

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).