Answer by Alan Xiang for Escaping quotes when writing to a file
If you are using LuaTeX, you can use the bundled \luaescapestring function. Otherwise, you can try the \myescapestring function implemented with...
View ArticleEscaping quotes when writing to a file
When using quotes as part of strings one often needs to escape the quotes. I now have a string My nice title stored in \mytitle and I want to write, from LaTeX, a JSON file which reads {title: "My nice...
View Article
More Pages to Explore .....