emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-ref-clean-bibtex-entry and UTF-8
@ 2016-01-13 13:38 Julian Burgos
  2016-01-13 14:31 ` John Kitchin
  0 siblings, 1 reply; 2+ messages in thread
From: Julian Burgos @ 2016-01-13 13:38 UTC (permalink / raw)
  To: emacs-orgmode

Dear list,

I am using org-ref-clean-bibtex-entry to clean up my biblatex file.  Among
other things, this function detects if there are non-ASCII characters in
each bibtex/biblatex entry.  My file has many non-ASCII characters that
are exported via Latex to pdf with no problems because my setup is in
UTF-8.  Do you know if it is possible to "turn-off" this option in
org-ref-clean-bibtex-entry, so I do not get warnings about non-ascii
characters?

Many thanks,

Julian

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

* Re: org-ref-clean-bibtex-entry and UTF-8
  2016-01-13 13:38 org-ref-clean-bibtex-entry and UTF-8 Julian Burgos
@ 2016-01-13 14:31 ` John Kitchin
  0 siblings, 0 replies; 2+ messages in thread
From: John Kitchin @ 2016-01-13 14:31 UTC (permalink / raw)
  To: Julian Burgos; +Cc: emacs-orgmode

If you have a pretty recent org-ref, You can set a list of functions for org-ref-clean-bibtex-entry:

https://github.com/jkitchin/org-ref/blob/master/org-ref.el#L302

Use this in an init file, and remove the functions you don't want to
run.

(setq org-ref-clean-bibtex-entry-hook
  '(orcb-key-comma
    orcb-key
    orcb-&
    orcb-clean-doi
    orcb-clean-year
    orcb-clean-pages
    org-ref-sort-bibtex-entry
    org-ref-title-case-article
    org-ref-replace-nonascii))

Julian Burgos writes:

> Dear list,
>
> I am using org-ref-clean-bibtex-entry to clean up my biblatex file.  Among
> other things, this function detects if there are non-ASCII characters in
> each bibtex/biblatex entry.  My file has many non-ASCII characters that
> are exported via Latex to pdf with no problems because my setup is in
> UTF-8.  Do you know if it is possible to "turn-off" this option in
> org-ref-clean-bibtex-entry, so I do not get warnings about non-ascii
> characters?
>
> Many thanks,
>
> Julian

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

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

end of thread, other threads:[~2016-01-13 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-13 13:38 org-ref-clean-bibtex-entry and UTF-8 Julian Burgos
2016-01-13 14:31 ` John Kitchin

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