Questions tagged [selnolig]
{selnolig} is a LuaLaTeX package which serves to suppress typographic ligatures selectively based on pre-defined search patterns.
21
questions
3
votes
1
answer
86
views
How do you insert a single ligature manually?
We have \/ and other commands to prevent a single ligature manually, e.g.: shelf\/ful. But what is the command to insert a single ligature manually? I am using the \nolig{st}{s|t} command to prevent ...
8
votes
2
answers
240
views
selnolig-package and round s (s:) in fraktur (yfonts)
In a German document I would like to typeset some selected phrases in Fraktur while the rest is written in Linux Libertine. Using the yfonts-package, the round s (the 'modern' one as opposed to the ...
5
votes
1
answer
102
views
selnolig Turns en and em Dashes into Hyphens if polyglossia is loaded Before the Fonts
Consider the following code:
\documentclass{article}
\usepackage{fontspec}
\usepackage{polyglossia}
\setmainfont{Stix Two Text}
\usepackage{selnolig}
\begin{document}
-- ---
\end{document}
Of which ...
4
votes
1
answer
308
views
rule based replacement of s with ſ (long s)
Is there a way in any LaTeX (LuaLaTex, LuaHBTeX, pdfTeX …) to automatically typeset a document written with standard «s» with long s (ſ) instead where appropriate? The rules seem to be mostly language ...
8
votes
2
answers
432
views
Unable to supress ligatures in headings which are set in Caps
I am aware that similar questions have been asked a few times. However, none of the answers solved my problem. This Answer says that it is a bug in luaotfload. But I'm already using a newer version (2....
3
votes
0
answers
151
views
Set global non-ligature kerning with selnolig
Similar to this question I want to use selnolig but I don't like the fact that in words containing fl without ligature these two letters are too close together.
Like in Mico's answer I want to use ...
1
vote
1
answer
372
views
How to use selnolig package together with default lualalatex font?
Edit: Included different variants to show that everything seems to work fine.
I'd like to use selnolig with the default font used by lualatex. The reason is that I write a paper using the Simplified ...
10
votes
1
answer
765
views
Suppress 'ae' and 'oe' ligatures in baskervaldx
I'm using Baskervaldx font with fontspec and LuaLaTeX, but I can't suppress 'ae' and 'oe' ligatures using either
\defaultfontfeatures{Ligatures={NoCommon,NoContextual,NoHistoric,NoDiscretionary}}
...
18
votes
2
answers
571
views
Kerning with selnolig
You can use the selnolig package to break up inappropriate ligatures
automatically. For example, 'leaflet' should arguably not have an fl-ligature,
and this can be prevented with \nolig{leaflet}{leaf|...
3
votes
1
answer
129
views
Suppress hyphenation marking in selnolig
The selnolig package is inserting hyphenation marks at any possible point. How do I suppress this behaviour?
\documentclass{article}
\usepackage{fontspec}
\usepackage[english]{selnolig}
\begin{...
17
votes
1
answer
479
views
Properly breaking up ligatures using selnolig / LuaLaTeX
Currently I use the selnolig package together with LuaLaTeX to automatically break up ligatures. This works quite well regarding the fact that ligatures get broken up at the right places. Note however,...
9
votes
1
answer
156
views
The selnolig package: switching between English and German
Is it possible to load the ligature rules for English and German within the document, rather than by package options? This would be useful for documents containing both languages. (It is possible to ...
2
votes
1
answer
154
views
Disable all ligature patterns in selnolig for ligatures not in latin modern
I would like to disable all patterns of the selnolig package which matches ligatures that are not available in latin modern. Am I correct that latin modern only has ligatures for: ff, fi, fl, ffi, and ...
5
votes
0
answers
306
views
Error when using selnolig and lua-check-hyphen: attempt to index global 'debug' (a boolean value) [closed]
\documentclass{article}
\usepackage{fontspec} % required for selnolig
\usepackage{selnolig}
\usepackage{lua-check-hyphen}
\begin{document}
Foo
\end{document}
Using my two favorite lualatex packages ...
10
votes
1
answer
366
views
How may I use selnolig for a bilingual document?
The great package selnolig offers support for the English or the German language. Maybe I have overseen it, but is there a possibility to change the language-option inside the document?
The best way ...
2
votes
0
answers
2k
views
Issue installing selnolig under MikTeX [closed]
I'm trying to install selnolig in the MiKTeX 2.9 package manager, but I'm getting this problem report:
MiKTeX Problem Report
Message: The operation could not be completed because a required file does ...
19
votes
4
answers
3k
views
How can I separate an fl ligature in Libertine?
I am having trouble to understand the ligatures behaviour of the Linux Libertine font.
I want to use all ligatures that are possible to have (Ligatures={TeX}) but would like to disable single cases. ...
12
votes
4
answers
2k
views
Enabling c_t and longs_t without enabling s_t ligatures
I'm using the Hoefler Text font in xelatex with long s:
\usepackage{fontspec}
\setmainfont[Contextuals=Inner]{Hoefler Text}
But I want to use the ct ligature (it's from the Rare set):
\usepackage{...
27
votes
1
answer
588
views
Bad interaction between fontspec and some lua code that performs string-related search and replace operations
Update 2013/05/28: The selnolig package is now on the CTAN. Comments and critiques always welcome! If you wish to contact me about any aspects of the package, please use the email address that's given ...
19
votes
2
answers
2k
views
Suppression of a ligature in XeLaTeX
I'm trying to reproduce an old book with XeLaTeX, and it has the ct ligature but not the st ligature. The Ligatures=Rare option seems to turn either both on or off. Is there a way to select which ...
32
votes
4
answers
896
views
Any suggestions/requests for features for a new package that allows disabling ligatures for (pre)selected words?
I'm starting to put together a LaTeX package, which I hope to distribute broadly, that
provides lualatex code to disable ligation of character pairs and triplets for selected words (globally within ...