Package: bibtex2html
Version: 1.99-2.1
Severity: wishlist
Tags: upstream

Dear Maintainer,

I wish bibtex2html could translate math characters that have accents.

In my .bib collection, I have a few abstracts with math characters
that have accents.  One such document is at
http://arxiv.org/pdf/1508.04874v1.pdf.  Here's a sample .bib entry for
it, with an abridged abstract:

@Misc{           lee-sidford-wong15cutting,
  author = {Yin Tat Lee and Aaron Sidford and Sam Chiu-wai Wong},
  title = {A Faster Cutting Plane Method and its Implications
                  for Combinatorial and Convex Optimization},
  eprinttype =   {arxiv},
  eprint =       {1508.04874v1},
  url =          {http://arxiv.org/pdf/1508.04874v1.pdf},
  month = aug,
  year = 2015,
  abstract =     {We obtain a running time of $\tilde O ( n ( n^2 +
                  m^\omega + S ))$, improving upon the previous best
                  of $\tilde O ( n ( n^\omega + m^\omega + S ))$ for
                  the regime $S$ is small.},
  pdf =           {lee-sidford-wong15cutting.pdf}
}

Unicode can add bars and such over characters, using characters with
combining class "above".  In TeX, the accent macro precedes the base
character, while the Unicode combining character must follow the base
character.  I think these TeX macro definitions should accomplish the
exchange:

\def\overleftarrow#1{#1⃖}  % over left arrow      U+20d6
\def\overrightarrow#1{#1⃗} % over right arrow     U+20d7
\def\bar#1{#1̅}            % overbar accent       U+0305
\def\tilde#1{#1̃}          % tilde accent         U+0303

However none of these actually work because ``bibtex2html does not
handle macros arguments; arguments are simply discarded.''

I think the translations could be done with ocaml, but I'm not even
sure how to spell that.

Please ask the upstream author(s) to consider implementing translations for
accented math characters.

          - Jim Van Zandt


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (700, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bibtex2html depends on:
ii  ocaml-base-nox [ocaml-base-nox-4.05.0]  4.05.0-11
ii  perl                                    5.28.1-4
ii  texlive-base                            2018.20190131-1

bibtex2html recommends no packages.

Versions of packages bibtex2html suggests:
pn  hlins  <none>

-- no debconf information

Reply via email to