LaTeX sanskrit package under new maintainership

108 views
Skip to first unread message

Sumukh Prasad

unread,
Jul 13, 2025, 1:04:57 AMJul 13
to samskrita
Hi all,

Maintainership of the "sanskrit" package for LaTeX (located at ctan.org/pkg/sanskrit), originally developed by Charles Wikner in 1996 and maintained by Václav Haisman until recently, has been passed on to me.

This package is probably familiar to many of you, it provides a Velthuis preprocessor that  provides transliteration from Velthuis to both Devanagari and Roman scripts, and still works remarkably well for high-quality typesetting. Though aging, I still feel it holds a lot of value for transliterated workflows and academic use.

I shall start  by addressing some long-standing issues with line-breaking and macro conflicts, though in the long term I should like to explore unicode support, amongst other things.

Feedback, suggestions, or feature requests are super welcome — please feel free to let me know. Although I must point out that I am somewhat busy and will not be able to devote the entirety of my time to this project.

Some links:
New remote repository: https://github.com/sumukhprasad/package-sanskrit
Old remote repository: https://github.com/wilx/sanskrit



Regards,
Sumukh Prasad,

Message has been deleted

Ecneics

unread,
Jul 17, 2025, 8:53:45 AMJul 17
to sams...@googlegroups.com
Can you tell me how to make this work in overleaf?

--
You received this message because you are subscribed to the Google Groups "samskrita" group.
To unsubscribe from this group and stop receiving emails from it, send an email to samskrita+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/samskrita/02b41660-ae74-4c49-9886-ddcb19ea81b5n%40googlegroups.com.

Manish Modi

unread,
Jul 18, 2025, 6:15:31 PMJul 18
to samskrita
Dear Sumukh,
Namo namah 

LaTeX seems devilishly difficult to use! We used it to typeset a book in English, THE JAINA PATH OF PURIFICATION by Padmanabh S. Jaini. The page setting was reasonably simple and the results are quite stunning! But we got stuck when it came to indexing! It took me over two and a half years to locate someone who could create the index! 

Do you know people in India who would typset in Latex and most importantly, create an index in Latex? If so, please do let me know. We publish books in Sanskrit, Hindi, Prakrit and English. So we do reqire pagesetters, typists and someone who can create an index. 

Thank you. 

Best regards,

Manish Yashodhar Modi


हिन्दी ग्रन्थ कार्यालय

१९१२ से राष्ट्र की सेवा में

HINDI GRANTH KARYALAY

Serving the nation since 1912

9 Hirabaug   Nath Madhav Lane

Kasturba Gandhi Chowk

Mumbai 400004

भारत


Telephone

+91 98208 96128


Email

manis...@gmail.com


LinkedIn

https://www.linkedin.com/company/hindi-granth-karyalay/


🙏🏻🇮🇳 

Karthik

unread,
Jul 24, 2025, 6:01:01 PMJul 24
to samskrita
I use typst (https://github.com/typst/typst) to generate pdfs.

Far simpler syntax compared to LaTeX. You are effectively writing markdown and adding behavior to specific parts of the document.

I have attached a sample document (some stories from the Sanskrit Chandamama of August 2012) for anyone who wants to check out how simple it is.

It has a default Cover, TOC and Index. It uses the following packages/templates:
Polishing/Beautifying it, obviously, depends on how much effort you want to put into it.

Put this in a `test.typ` file and compile using `typst compile test.typ` to generate a pdf

```
#import "@preview/in-dexter:0.7.2": *
#import "@preview/min-book:1.1.0": book

#set page(
  paper: "a5",
  margin: (inside: 2.0cm, outside: 1.25cm, y: 1.25cm)
)

#set text(
  font: "Noto Sans Devanagari",
  size: 11pt,
)

#show: book.with(
  title: "संस्कृत चन्दमामा",
  subtitle: "अगस्त २०१२",
  authors: "Various",
  date: (2012, 08, 01),
  dedication: [],
  part: "Section",
  chapter: none,
)

= Very Short Stories

== अद्भुतः विजयः

शिवदुर्गस्य राजा समययापनस्य विचारेण स्वस्य राज्यस्य पश्चिमदिशि विद्यमाने महेन्द्रदुर्गे आक्रमणं कृतवान्। 

[...]

यथा शत्रुसेना दुर्गस्य द्वारसमीपं प्राप्ता तथा#index[तथा] शक्तिसिंहः उच्चरवेण घोषणां कृतवान्।

[...]

== मुग्धा स्नुषा

एका नववधूः प्रथमेव श्वशुरगृहम् आगच्छत्।

[...]

== अनुरुपः वरः
*जे. मर्टिन् फिन्ले*

[...]

तदनन्तरं चन्द्रहासः उक्तवान्, “किन्तु यदि त्वम् अजयं वृणोषि तदा तु आरम्भतः एव तव जीवनं कष्टमयं भवेत् किल?” इति। “न, तथा#index[तथा]  नास्ति तात।

[...]

= Short Stories

== अनन्तस्य औद्धत्यम्
*ए. हेमवती*

बेलसोण्डा नामके नगरे एकः अनन्तनामा धनिकः कृषकः वसति स्म। 

[...]


= Index
#columns(3)[
  #make-index(title: none)
]
```
cm201208_test.pdf

Venkat SASTRY

unread,
Sep 7, 2025, 12:24:03 PMSep 7
to sams...@googlegroups.com, kar...@ksml.org

Dear Karthik,

Thank you for introducing me to TYPST. It is amazing indeed! Your example of cut-and-paste worked first time!

I am using Visual Studio Code[Here are the details 
Version: 1.103.2 (user setup)
Commit: 6f17636121051a53c88d3e605c491d22af2ba755
Date: 2025-08-20T16:45:34.255Z
Electron: 37.2.3
ElectronBuildId: 12035395
Chromium: 138.0.7204.100
Node.js: 22.17.0
V8: 13.8.500258-electron.0
OS: Windows_NT x64 10.0.19045]

However, I have a naive/beginners question.   How do I enter Sanskrit text into the editor?

Kind Regards,
Venkat.

--
You received this message because you are subscribed to the Google Groups "samskrita" group.
To unsubscribe from this group and stop receiving emails from it, send an email to samskrita+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages