Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect bibiography generated with UWE Harvard CSL #208

Open
kamransoomro84 opened this issue Sep 5, 2024 · 0 comments
Open

Incorrect bibiography generated with UWE Harvard CSL #208

kamransoomro84 opened this issue Sep 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kamransoomro84
Copy link

kamransoomro84 commented Sep 5, 2024

Description

I am using the UWE Harvard CSL file to generate a bibliography from the following two citaitons:

@misc{fontanellaBeginnerGuideCustomer2022,
  title = {A {{Beginner}}'s {{Guide}} to {{Customer Behavior Analysis}}},
  author = {Fontanella, Clint},
  year = {2022},
  month = aug,
  urldate = {2024-09-02},
  journal = {HubSpot},
  url = {https://blog.hubspot.com/service/customer-behavior-analysis}
}

@book{geronHandsonMachineLearning2020,
  title = {Hands-on Machine Learning with {{Scikit-Learn}}, {{Keras}}, and {{TensorFlow}}: Concepts, Tools, and Techniques to Build Intelligent Systems},
  shorttitle = {Hands-on Machine Learning with {{Scikit-Learn}}, {{Keras}}, and {{TensorFlow}}},
  author = {G{\'e}ron, Aur{\'e}lien},
  year = {2020},
  edition = {7th Release. Second edition; updated for Tensor Flow2},
  publisher = {O'Reilly},
  address = {Beijing Boston Farnham Sebastopol Tokyo},
  abstract = {Through a series of recent breakthroughs, deep learning has boosted the entire field of machine learning. Now, even programmers who know close to nothing about this technology can use simple, efficient tools to implement programs capable of learning from data. This practical book shows you how. By using concrete examples, minimal theory, and two production-ready Python frameworks--Scikit-Learn and TensorFlow--author Aur{\'e}lien G{\'e}ron helps you gain an intuitive understanding of the concepts and tools for building intelligent systems. You'll learn a range of techniques, starting with simple linear regression and progressing to deep neural networks. With exercises in each chapter to help you apply what you've learned, all you need is programming experience to get started. Explore the machine learning landscape, particularly neural nets Use Scikit-Learn to track an example machine-learning project end-to-end Explore several training models, including support vector machines, decision trees, random forests, and ensemble methods Use the TensorFlow library to build and train neural nets Dive into neural net architectures, including convolutional nets, recurrent nets, and deep reinforcement learning Learn techniques for training and scaling deep neural nets},
  isbn = {978-1-4920-3261-8},
  langid = {english}
}

I get wrongly-formatted citations when I do so:

Fontanella, C. (2022) A Beginner's Guide to Customer Behavior Analysis:director Trans.. August 2022 [online]. Available from: https://blog.hubspot.com/service/customer-behavior- analysis [Accessed 2 September 2024]

Géron, A. (2020) Hands-on Machine Learning with Scikit-Learn, Keras, and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems:director Trans.. 7th Release. Second edition; updated for Tensor Flow2.. Beijing Boston Farnham Sebastopol Tokyo: O'Reilly.

Notice the wired "director Trans.." characters.

I tested the CSL with pandoc using a minimal markdown file and the citations are generated correctly:

Fontanella, C. (2022) A Beginner’s Guide to Customer Behavior Analysis Hub- Spot [online]. Available from: https://blog.hubspot.com/service/customer- behavior-analysis [Accessed 2 September 2024].

Géron, A. (2020) Hands-on machine learning with Scikit-Learn, Keras, and TensorFlow: Concepts, tools, and techniques to build intelligent systems. 7th Release. Second edition; updated for Tensor Flow2. Beijing Boston Farnham
Sebastopol Tokyo: O’Reilly.

It would seem that there's a bug in the way Typst handles CSL files?

Reproduction URL

No response

Operating system

Mac OS

Typst version

typst 0.11.1

@kamransoomro84 kamransoomro84 added the bug Something isn't working label Sep 5, 2024
@laurmaedje laurmaedje transferred this issue from typst/typst Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant