brentgordon146
2020-2-27 17:16:17

how can i escape a string while using string-append?


soegaard2
2020-2-27 17:17:05

(string-append "foo\nbar" "baz")


soegaard2
2020-2-27 17:18:30

The escaping belongs to the syntax of string literals. So strictly speaking string-append has nothing to do with escaping.


plragde
2020-2-27 18:25:19

Is there an obvious way in Scribble to make counters that know about section numbering? For example, in section 1.3, a counter for theorems that runs 1.3.1, 1.3.2, and so on. If it’s not obvious, any pointers as to how to go about it? I’m using scribble/manual and rendering to HTML. Thanks.


samth
2020-2-27 18:57:47

@plragde I don’t think so, but that level of question is more likely to get a helpful answer in #general


plragde
2020-2-27 18:58:26

Okay, I’ll repost, thanks.


sorawee
2020-2-27 22:41:36

@sorawee has joined the channel