Skip to content

Commit 43d7278

Browse files
committed
fix cite() bibtex output
1 parent 8d6922a commit 43d7278

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased](https://github.com/qutip/QuantumToolbox.jl/tree/main)
99

10+
- Fix `cite()` bibtex output. ([#552])
11+
1012
## [v0.36.0]
1113
Release date: 2025-09-29
1214

@@ -323,3 +325,4 @@ Release date: 2024-11-13
323325
[#539]: https://github.com/qutip/QuantumToolbox.jl/issues/539
324326
[#544]: https://github.com/qutip/QuantumToolbox.jl/issues/544
325327
[#546]: https://github.com/qutip/QuantumToolbox.jl/issues/546
328+
[#552]: https://github.com/qutip/QuantumToolbox.jl/issues/552

src/versioninfo.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function cite(io::IO = stdout)
8989
author = {Mercurio, Alberto and Huang, Yi-Te and Cai, Li-Xun and Chen, Yueh-Nan and Savona, Vincenzo and Nori, Franco},
9090
journal = {{Quantum}},
9191
issn = {2521-327X},
92-
publisher = {{Verein zur F{\"{o}}rderung des Open Access Publizierens in den Quantenwissenschaften}},
92+
publisher = {{Verein zur F{\\"{o}}rderung des Open Access Publizierens in den Quantenwissenschaften}},
9393
volume = {9},
9494
pages = {1866},
9595
month = sep,
@@ -98,5 +98,5 @@ function cite(io::IO = stdout)
9898
url = {https://doi.org/10.22331/q-2025-09-29-1866}
9999
}
100100
"""
101-
return println(io, citation)
101+
return print(io, citation)
102102
end

test/core-test/utilities.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
""" author = {Mercurio, Alberto and Huang, Yi-Te and Cai, Li-Xun and Chen, Yueh-Nan and Savona, Vincenzo and Nori, Franco},\n""" *
1111
""" journal = {{Quantum}},\n""" *
1212
""" issn = {2521-327X},\n""" *
13-
""" publisher = {{Verein zur F{\"{o}}rderung des Open Access Publizierens in den Quantenwissenschaften}},\n""" *
13+
""" publisher = {{Verein zur F{\\"{o}}rderung des Open Access Publizierens in den Quantenwissenschaften}},\n""" *
1414
""" volume = {9},\n""" *
1515
""" pages = {1866},\n""" *
1616
""" month = sep,\n""" *
1717
""" year = {2025},\n""" *
1818
""" doi = {10.22331/q-2025-09-29-1866},\n""" *
1919
""" url = {https://doi.org/10.22331/q-2025-09-29-1866}\n""" *
20-
"""}\n\n"""
20+
"""}\n"""
2121

2222
@testset "n_thermal" begin
2323
ω1 = rand(Float64)

0 commit comments

Comments
 (0)