all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Raghavendra Nyshadham <raghnysh@gmail.com>
To: Divya <divya@subvertising.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Logos of BibTeX, etc.
Date: Thu, 10 Oct 2024 01:52:25 +0530	[thread overview]
Message-ID: <CAG9HAV1j8Qx_1RWcb-ZW3vvXqLaRcVt7cpUeps4Utz8zPQsr9g@mail.gmail.com> (raw)
In-Reply-To: <A0D3BF4C-E50A-4544-A87C-95932C81852B@subvertising.org>

Hi Divya,

Thanks for pointing that out. So the logos are correctly typeset with
these settings:
----
(add-to-list 'org-latex-packages-alist '("" "hologo" nil))

(defun my-latex-format-logos (text backend info)
  "Typeset \"BibTeX\", \"XeTeX\", etc., as logos in LaTeX export."
  (when (org-export-derived-backend-p backend 'latex)
    (dolist (name '("BibTeX" "LaTeX2e" "LaTeX3" "LuaLaTeX" "LuaTeX"
"XeLaTeX" "XeTeX") text)
      (setq text (string-replace name (format "\\hologo{%s}" name) text)))))

(add-to-list 'org-export-filter-plain-text-
functions #'my-latex-format-logos)
----

I didn't realise that there is no logo for biblatex; it is written
simply as biblatex in its manual.

Cheers,
Raghavendra.

On Wed, Oct 9, 2024 at 8:51 PM Divya <divya@subvertising.org> wrote:
>
> On 9 October 2024 12:08:26 GMT, Raghavendra Nyshadham <raghnysh@gmail.com> wrote:
>>
>> How do I get the logos of BibTeX, BibLaTeX, XeTeX, XeLaTeX, etc., when
>> I export an Org document to LaTeX?
>>
>> At the moment, when I export an Org file with the content
>> ________________________________
>> LaTeX, BibTeX, BibLaTeX, XeTeX, and XeLaTeX are some associates of TeX.
>> ________________________________
>> using the command C-c C-e l p, I get the correct logos for LaTeX and
>> TeX, but BibTeX, BibLaTeX, XeTeX, and XeLaTeX are rendered as they
>> are, i.e., not as logos.
>>
>> I am using the builtin Org mode version 9.6.6 in Emacs version 29.1 on
>> NixOS version 23.05.
>>
>> Thank you.
>>
>> Raghavendra.
>>
>
> Hello Raghavendra,
>
> This is not an Org specific issue, it has to do with what LaTeX class you are using. If you try to render logos for the aforementioned Tex derivatives in vanilla LaTeX with the article/book class then you won't get them rendered.
>
> For a discussion on this, see the following exchanges:
>
> https://tex.stackexchange.com/questions/281333/how-do-i-get-a-bibtex-logo#281337
>
> https://tex.stackexchange.com/questions/11095/how-to-write-latex-with-parentheses-or-any-other-tex-related-logo
>
> Regards,
>
> Divya Ranjan,
> Mathematics, Philosophy and Libre Software


      reply	other threads:[~2024-10-09 20:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-09 12:08 Logos of BibTeX, etc Raghavendra Nyshadham
2024-10-09 15:21 ` Divya
2024-10-09 20:22   ` Raghavendra Nyshadham [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

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

  git send-email \
    --in-reply-to=CAG9HAV1j8Qx_1RWcb-ZW3vvXqLaRcVt7cpUeps4Utz8zPQsr9g@mail.gmail.com \
    --to=raghnysh@gmail.com \
    --cc=divya@subvertising.org \
    --cc=emacs-orgmode@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.