Skip to content

Export notebook to latex with citations fail #39

@danielcoral

Description

@danielcoral

Hi,

Extremely useful extension, thanks for the hard work. I have an issue with numeric styles (e.g. Vancouver). It all looks fine within JupyterLab, but when I tried exporting the notebook to latex then the first citation is exported correctly, while the rest are not:

In JupyterLab:

Mbatchou J, Barnard L, Backman J, Marcketta A, Kosmicki JA, Ziyatdinov A, et al. Computationally efficient whole-genome regression for quantitative and binary traits. Nat Genet [Internet]. 2021 Jul [cited 2021 Nov 24];53(7):1097–103. Available from: https://www.nature.com/articles/s41588-021-00870-7
2.
Galinsky KJ, Bhatia G, Loh P-R, Georgiev S, Mukherjee S, Patterson NJ, et al. Fast Principal-Component Analysis Reveals Convergent Evolution of ADH1B in Europe and East Asia. The American Journal of Human Genetics [Internet]. 2016 Mar 3 [cited 2021 Nov 24];98(3):456–72. Available from: https://www.sciencedirect.com/science/article/pii/S0002929716000033
3.
Yengo L, Sidorenko J, Kemper KE, Zheng Z, Wood AR, Weedon MN, et al. Meta-analysis of genome-wide association studies for height and body mass index in ∼700000 individuals of European ancestry. Human Molecular Genetics [Internet]. 2018 Oct 15 [cited 2021 Nov 24];27(20):3641–9. Available from: https://doi.org/10.1093/hmg/ddy271

In the latex file:

    \begin{enumerate}
\def\labelenumi{\arabic{enumi}.}
\item
  Mbatchou J, Barnard L, Backman J, Marcketta A, Kosmicki JA, Ziyatdinov
  A, et al. Computationally efficient whole-genome regression for
  quantitative and binary traits. Nat Genet {[}Internet{]}. 2021 Jul
  {[}cited 2021 Nov 24{]};53(7):1097--103. Available from:
  https://www.nature.com/articles/s41588-021-00870-7
\end{enumerate}

\begin{verbatim}
<div class="csl-left-margin">2. </div><div class="csl-right-inline">Galinsky KJ, Bhatia G, Loh P-R, Georgiev S, Mukherjee S, Patterson NJ, et al. Fast Principal-Component Analysis Reveals Convergent Evolution of ADH1B in Europe and East Asia. The American Journal of Human Genetics [Internet]. 2016 Mar 3 [cited 2021 Nov 24];98(3):456–72. Available from: https://www.sciencedirect.com/science/article/pii/S0002929716000033</div>
\end{verbatim}

\begin{verbatim}
<div class="csl-left-margin">3. </div><div class="csl-right-inline">Yengo L, Sidorenko J, Kemper KE, Zheng Z, Wood AR, Weedon MN, et al. Meta-analysis of genome-wide association studies for height and body mass index in ∼700000 individuals of European ancestry. Human Molecular Genetics [Internet]. 2018 Oct 15 [cited 2021 Nov 24];27(20):3641–9. Available from: https://doi.org/10.1093/hmg/ddy271</div>
\end{verbatim}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions