emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Colin Baxter <m43cap@yandex.com>
To: emacs-orgmode@gnu.org
Subject: Re: bibtex and babel support
Date: Wed, 16 Dec 2020 11:59:48 +0000	[thread overview]
Message-ID: <87y2hyj70r.fsf@yandex.com> (raw)
In-Reply-To: <87sg869j8j.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Wed, 16 Dec 2020 09:46:04 +0000")

Dear Eric,

Thanks for the reply.

>>>>> Eric S Fraga <e.fraga@ucl.ac.uk> writes:

    > On Wednesday, 16 Dec 2020 at 08:19, Colin Baxter wrote:
    >> However, tangling bibtex src blocks works without an explicit
    >> (bibtex . t).

    > Good.  As it should.

    >> Indeed if I do insert such a line in my emacs init file, I get an
    >> error with "(require ob-bibtex) not found".

    > But there is no need for such a line as bibtex src blocks cannot
    > be evaluated.  org babel makes no sense in this case.

Yes, I thought that at the time. I think I was thrown by the initial
error message, which prompted me to think that a file called
"ob-bibtex.el" existed or had existed, and this would add some sort of
functionality that I had yet to understand.

    >> Although the tangle of bibtex src blocks works well, the block
    >> itself often seem to have fontlock issues and sometimes it seems
    >> not to accept the standard bibtex comment, which begins with @
    >> followed by a space and then text.

    > This will be a bibtex-mode issue, not an org issue?  Does it font
    > lock correctly if you edit the src block in bibtex mode?

This turns out to be a red herring. I find I can edit the source blocks
and insert appropriate comment lines using C-c '. I forgot about this
and was editing the source blocks directly in the org file.😱

    > Just to say that I use bibtex src blocks a lot but I also use the
    > functionality found in ol-bibtex.el for creating bib files from
    > org properties.

Yes ol-bibtex.el is good but doesn't fit my purpose. I use non-standard
bib fields - such as "illustrations", "binding", "condition", etc. -
that are not in available properties of ol-bibtex.el.

Thanks again for your help - I feel I understand things a little better.

Colin.




Colin Baxter
URL: http://www.Colin-Baxter.com
---------------------------------------------------------------------
GnuPG fingerprint: 68A8 799C 0230 16E7 BF68  2A27 BBFA 2492 91F5 41C8
---------------------------------------------------------------------
Since mathematicians have invaded the theory of relativity, I do not
understand it myself. A. Einstein


      reply	other threads:[~2020-12-16 12:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-16  8:19 Colin Baxter
2020-12-16  9:46 ` Eric S Fraga
2020-12-16 11:59   ` Colin Baxter [this message]

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=87y2hyj70r.fsf@yandex.com \
    --to=m43cap@yandex.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: bibtex and babel support' \
    /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

Code repositories for project(s) associated with this 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).