Quantcast
Channel: Escaping quotes when writing to a file - TeX - LaTeX Stack Exchange
Browsing latest articles
Browse All 2 View Live

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 Article



Escaping 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
Browsing latest articles
Browse All 2 View Live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>