Questions tagged [devanagari]
{devanagari} is about questions regarding typesetting in Devanagari, a left-to-right abugida used in the northern Indian subcontinent.
26
questions
1
vote
1
answer
22
views
Unable to activate Sanskrit hyphenation using polyglossia
test code:
\documentclass[12pt]{memoir}
\usepackage[
a5paper,
margin=1.5cm
]{geometry}
\usepackage{fontspec}
\defaultfontfeatures{Mapping=tex-text}
\setmainfont[]{Brill}
\newfontfamily{\latinfont}{...
4
votes
2
answers
469
views
Latex: Want to Use marathi font and English font
I want to use Marathi font and English font in the same template but I don't want to specify Marathi or English in between. means I will write some random text which has Marathi or English both text ...
0
votes
0
answers
73
views
Pre-processing for Devanagari typesetting
I started using Wikner's Sanskrit package lately, and I find it to be extremely useful. In particular, it provides unmatched capabilities in typesetting Vedic Sanskrit, through flexibility in samyoga, ...
2
votes
0
answers
76
views
Fontspec mapping tex-text AND devanagarinumerals
I am unable to figure out the correct way to tell fontspec to adhere to both Mapping=tex-text and Mapping=devanagarinumerals. Here's an MWE:
% !TeX program = XeLateX
\documentclass{article}
\...
1
vote
1
answer
69
views
tikz calendar with foreign digits
I´d like to have the day numbers in devanagari digits with polyglossia. The latter provides \devanagaridigits{} to convert digits but simply doing \devanagaridigits{\tikzdaytext} in \pgfkeys{/tikz/day ...
-1
votes
1
answer
42
views
day and year counters in foreign digits
I'm trying to get the day and year numerals in foreign digits. So far I've been able to get the month names with a \newcommand \date<lang>. The language is sanskrit and the script is devanagari.
...
2
votes
1
answer
36
views
Strange tex4ht behaviour with Devanagari text
I'm currently writing some text citing a lot of international literature, which I like to quote genuinely i.e., without using latin approximations. This in general works well using polyglossia, but ...
1
vote
1
answer
331
views
Bold and italic Hindi Lohit Devanagri fonts in latex with Polyglossia
I am trying to typeset in Hindi using Lulalatex/Polyglossia with Lohit Devanagari fonts in Overleaf. There are no default bold and italics font for Lohit Devanagari. Hence I am using Fakebold and ...
0
votes
1
answer
56
views
How to use Devanagari in Latex-Example-typesetting packages
I want to create a LaTeX file to show how the LaTeX-code works. So I want to show the LaTeX-code as well as the output after running the code. In example of the code I want to use some Devanagari text....
3
votes
1
answer
117
views
Unable to compile XeLaTeX after upgrading to TeXLive 2022
I am on Debian Bookworm with TeXLive version Version 3.141592653-2.6-0.999994 (TeX Live 2022/Debian) (preloaded format=xelatex 2023.6.21)
I was able to compile an MWE with TeX Live 2021. But the same ...
1
vote
0
answers
88
views
Devanagari not rendering properly in Overleaf with pdflatex
I am trying to render the Om mani padme hum in Overleaf, and because of other conflicts I'm restricted to using the pdflatex compiler. From what I can find online, the following should render it ...
0
votes
1
answer
55
views
Devanagari and Latin fonts in the same file with Lualatex in Spacemacs
I switched my Texteditor from TexMaker to Spacemacs, but am not anymore able to compile my Sanskrit Translations with mixed Language into a pdf with LuaLatex. In TexMaker it was possible. In Spacemacs ...
0
votes
1
answer
119
views
How to add a Devanagari character in a math equation?
I was wondering if it is possible to write a devanangari letter in equation. I tried by using devanagari package but no luck. even setting up Noto Sans Devanagari my main font didn't help.
used all ...
1
vote
1
answer
177
views
Biblatex warning is about hyphenation patterns
I am facing with issue which is also described in babel manual 1.1 Monolingual documents.
I have multi-language document and laualatex complies that for example france and german hyphenation is not ...
0
votes
3
answers
144
views
Composition of mapping? | Converting (roman) Velthuis encoding to IAST transliteration
My question is a follow-up of this question asked a decade ago: Transliteration in Devanagari.
I want to convert roman text (in Velthuis encoding) into both
sanskrit text (in devanagari script), and
...
6
votes
1
answer
146
views
Discretionary hyphens work in LuaLaTeX in Hindi but not in Sanskrit even though script and font are same
I am typesetting a book with main language as English and second language as Sanskrit. I am using LuaLaTeX (LuaHBTeX, Version 1.15.1) on MiKTeX (22.10) For long compounds in Sanskrit, I want to ...
0
votes
1
answer
180
views
How to bold face Devanagari font when using LuaLaTeX? [closed]
When using LuaLaTeX with the following config for the Polyglossia package, the bold face of fonts doesn't render when using \textbf{}.
\usepackage{polyglossia}
\setdefaultlanguage{hindi}
\...
0
votes
0
answers
58
views
input Chandra Bindu in XeLaTeX
I am trying to get a Chandra Bindu in Devanagari in XeLaTeX using the RomDev mapping technique (https://github.com/somadeva/RomDev).
But I don't know what is the equivalent Roman letter to achieve ...
0
votes
1
answer
66
views
ucharclasses no longer does automatic Devanagari transitions in TeXLive 2021
I have recently updated to Fedora 35 and TeXLive 2021. I notice that the package ucharclasses no longer does automatic Devanagari transitions and I have to switch font manually. A MWE:
\documentclass{...
0
votes
2
answers
461
views
How to write Nepali and English on the same page in Overleaf
\documentclass{report}
\usepackage{polyglossia}
\setdefaultlanguage{english}
\setotherlanguage{Nepali}
\usepackage{fontspec}
\setmainfont{Times New Roman}
\newfontfamily\devanagarifont[Script=...
1
vote
0
answers
61
views
lualatex with devanagari script crashes with a particulal string
I made a document to print the word "बालिका" but lualatex crashes. Actually, it works until "बालि". The addition of "क" is enough to make it crash. It looks like a bug.
\...
3
votes
1
answer
1k
views
How to use Devanagari variable font in Latex
I have found a new variable font family for indic languages here https://github.com/EkType/Anek/. I want to use it for Devanagari text in LaTeX. Generally I use marathi package for using Devanagari ...
0
votes
1
answer
91
views
adding Devanagari numerals in `verse' environment
Having the verses numbered
In the above link, @joharr explains about how we can get the verses numbered within the verse environment.
My Question: How can we get Devanagari numbers (instead of Roman ...
1
vote
0
answers
42
views
Uneven line spacing in tocloft for Devanagari
I have the following code. I am using LuaLaTex compiler with TeXLive version 2020.
\documentclass[twoside]{book}
\usepackage{babel}
\usepackage{fontspec}
\babelprovide[mapdigits,main]{hindi}
\...
0
votes
2
answers
138
views
Switching between three scripts using `ucharclasses` does not seem to work
I wish to switch between three scripts, using ucharclasses. My MWE is:
\documentclass{article}
\usepackage{fontspec}
\usepackage[Latin,Tamil,Devanagari]{ucharclasses}
\setmainfont[Script=Latin]{Noto ...
2
votes
2
answers
106
views
Problem with fancyhead/rhead using Devanagari
There seems to be some problem with fancyhead/rhead when I use a Devanagari font. My code is the following:
\documentclass[letterpaper,12pt]{article}
\usepackage{fancyhdr}
\usepackage{footnpag}
\...