summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoost Kremers <joostkremers@fastmail.fm>2022-09-17 00:12:20 +0200
committerJoost Kremers <joostkremers@fastmail.fm>2022-09-17 00:12:20 +0200
commitdb69b09751d40fe055a96123e6eaa1525c2853d8 (patch)
tree9efdd30e67835b2c7c23d53f56b1c3773fdca7dd
parenteabfb0d1cc4f9707b36c3f053f65f1bbbbd5a54c (diff)
Update README.md on `parsebib-TeX-markup-replacement-alist`.
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 1dcba84..646967d 100644
--- a/README.md
+++ b/README.md
@@ -103,12 +103,12 @@ If the arguments `entries` and `strings` are present, they should be hash tables
The argument `expand-strings` functions as the same-name argument in `parsebib-collect-strings`, and the arguments `inheritance` and `fields` function as the same-name arguments in `parsebib-collect-bib-entries`.
-If `replace-TeX` in set, (La)TeX markup in field values is replaced with text that is more suitable for display. The variable `parsebib-TeX-markup-replace-alist` determines what exactly is replaced. (Note: its definition in `parsebib.el` is more informative than its actual value; see also the relevant tests in `parsebib-test.el` for examples of its use.) No clean-up is applied to fields listed in `parsebib-clean-TeX-markup-exclude-fields`.
+If `replace-TeX` in set, (La)TeX markup in field values is replaced with text that is more suitable for display. The variable `parsebib-TeX-markup-replace-alist` determines what exactly is replaced. This variable can be `let`-bound around calls to the parsing functions, but note that its value is construed on the basis of the variables `parsebib-TeX-command-relacement-alist`, `parsebib-TeX-accent-replacement-alist` or `parsebib-TeX-literal-replacement-alist`, so you may want to customise those instead. See their doc strings and the doc string of `parsebib-TeX-markup-replacement-alist` for details.
Note that `parsebib-parse-bib-buffer` only makes one pass through the buffer. It is therefore a bit faster than calling all the `parsebib-collect-*` functions above in a row, since that would require making four passes through the buffer.
-#### parsebib-clean-TeX-markup-exclude-fields ####
+#### `parsebib-clean-TeX-markup-exclude-fields` ####
This variable is set to a list of fields in which no clean-up of TeX markup should take place when parsing a buffer. To customise this list, you can `let`-bind it around a call to `parsebib-parse-bib-buffer`.