BibLaTeX support

Bug #913102 reported by Stas Verberkt
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
moderncv
In Progress
High
Xavier Danaux

Bug Description

As BibLaTeX is often regarded as the "modern" replacement for BibTeX, I was wondering if BibLaTeX support is feasible.

The two problems with BibLaTeX, when used with ModernCV, that I can see are:
  * Out of the box it uses \section*{Title} headings, which get rendered as \section{*} Title in ModernCV
  * It breaks the indentation used by the ModernCV package. When wrapping the \printbibliography command in \cvline{}{\printbibliography}, the indentation is correct. However, this results in an empty line on top of the bibliography.

Tags: biblatex

Related branches

Stas Verberkt (legolas)
tags: added: biblatex
Xavier Danaux (xdanaux)
Changed in moderncv:
status: New → Fix Released
assignee: nobody → Xavier Danaux (xdanaux)
importance: Undecided → Medium
Revision history for this message
Stas Verberkt (legolas) wrote :

Thanks for the work. I just updated my TeX Live installation and did some tests. The headings now function correctly, however, the indentation does not work yet. Wrapping in a \cvline{}{[...]} command is still not an option, as this would result in double indentation of the heading.

Revision history for this message
Xavier Danaux (xdanaux) wrote :

Yes, indentation is still far from fixed; I don't know (yet) how to redefine the \printbibliography routine.
Maybe some solution is possible through a custom bib style, but I haven't investigated it yet.

Changed in moderncv:
status: Fix Released → In Progress
importance: Medium → Low
Revision history for this message
Stas Verberkt (legolas) wrote :

If it is off any help, here is a stab at a bbx file:

\ProvidesFile{moderncv.bbx}

\RequireBibliographyStyle{authortitle}

\defbibenvironment{bibliography}
  {\list
     {}
     {\setlength{\leftmargin}{6.5em}%
      \setlength{\itemindent}{0pt}%
      \setlength{\itemsep}{\bibitemsep}%
      \setlength{\parsep}{\bibparsep}}}
  {\endlist}
  {\item}

\endinput

And cbx:

\ProvidesFile{moderncv.cbx}

\RequireCitationStyle{authortitle}

\endinput

It is not really my field of programming, so it may be a bit "hacky".

Xavier Danaux (xdanaux)
Changed in moderncv:
importance: Low → High
Revision history for this message
mysticx (mysticx) wrote :

I ran into this problem today as well.
Since the indentation problem still persists, here is an ugly fast hack:

 \section{Publications} % choose your header text
 \vspace*{-2em} % get rid of additional vertical space introduced by section usage and cvline wrapping
 \cvline{}{\printbibliography[heading=none]} % wrap in cvline to use correct indentation for bib entries, but disable heading to work around incorrect indentation of header

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.