How to combine the "lang"-Option with the "babel"-package #3844
Replies: 4 comments 9 replies
-
I'm not sure how to determine when hyphenation is working properly for your document, but have you tried setting
This might get things working for you (complete YAMl below):
|
Beta Was this translation helpful? Give feedback.
-
@cderv I'll try to. After you copied that to RStudio in a new .qmd-file, you just need to remove the "#" in lines 1, 30, 66 and 69. I disabled the (Sorry for the many packages, this is just what I gut at the beginning all my documents because these are the packages I usually use for my work ;)) The two options this is all about are in lines 36 & 37. At least that's what Ive tried so far. I hope that's reproducable. Let me know if I can do anything to help you. Thank you!
|
Beta Was this translation helpful? Give feedback.
-
I had the same problem with hyphenation, presented here in detail #5821 (comment) There is something wrong with tinytex, using the tex from my system package mangaer solved it. Mabye that can help you futher |
Beta Was this translation helpful? Give feedback.
-
I fixed the problem by adding |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I‘m working on a research paper with R markdown using Quarto. I need both the
lang: de
option for the German textual output and my references and the\usepackage[ngerman]{babel}
-option for automatic hyphenation to meet the requirements of my supervisor. Both options work separated, but not together. Using both creates an „Option clash for package babel“.I was told by @mcanouil to modify a partial of the template, but as I am a beginner in R-Markdown and in Quarto (just decided to switch from word), I don't really know where to start.
So I decided to post my code here, maybe someone can help me.
In this version, without using
lang: de
, the automatic hyphenation works perfectly, but the textual output as well as some parts of my refernces are in English:In this version, it's the other way around: The textual output works (including the refernces), but the hyphenation doesn't:
Sadly, I really need both of them working together, but I simply don't know what to do.
I'd be very happy if someone could help me.
Thank you!
Update: Just discovered that I don't even need the babel-option. Just need a way to keep hyphenation while using
lang: de
.Beta Was this translation helpful? Give feedback.
All reactions