On 29-Jan-19 12:15 PM, Jürgen Spitzmüller wrote:
Am Mo., 28. Jan. 2019 um 19:51 Uhr schrieb Baris Erkus
<[email protected]<mailto:[email protected]>>:
Thanks Jürgen. This one I understand. However, this requirement does not call
for loading babel+biblatex right before the \begin{document}; they can still be
placed right after other packages loaded after \documentclass. The examples on
BibLaTeX, I sqw SE or other web pages loads BibLaTeX in the block after
\documentclass, but late.
The loading order of packages is tricky. Some packages need to be loaded after
the user preamble, and babel needs to be loaded after that, and biblatex after
babel. Just because this works in your case in the different order does not
mean it works generally.
Exactly. However, I am not sure if they have to be placed right before the
\begin{document}.
The only way around that would be a second user preamble:
https://www.lyx.org/trac/ticket/5366
+1
It does compiling, but the replacement did not work.
I think, the \AtBeginDocument{...} macro places the contents right after the
\begin{document}, but not in the preamble.
No, it is part of the preamble:
http://joshua.smcvt.edu/latex2e/_005cAtBeginDocument.html
I couldn't confirm this. See for example this SE
answer<https://tex.stackexchange.com/questions/177397/why-does-it-matter-when-atbegindocument-is-run>.
Anyhow, this may be an issue related to the macro as you have said.
[cid:[email protected]]
Try instead:
\usepackage{etoolbox}
\AtEndPreamble{%
...
}
This worked! This is what I need.
Adding a new localization is quite straightforward and not too much work. If
you feel like contributing that, it would be a good way to "give back" to the
community:
https://github.com/plk/biblatex/wiki/Checklist-for-submitting-a-new-localisation-file-(.lbx)
Actually, I have spent couple of hours working on a Turkish lbx file yesterday.
Indeed, it does not look complicated. Still it requires attention from people
with expertise in Turkish publishing rules.
I will start a GitHub project on this, and see if I can get help ldx. I will
fix the parts that I need in the mean time.
Thanks for the help!
--
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
Please bottom-post. Start your reply here: