QCAD Pro 3.19.2 on Linux
I'm reading / working through the QCAD book and tried some text sequences. When I insert them with the property editor or dimension dialog fields, they work. However, if I try to put them in a text block or add them to a dimension after the fact, they're treated literally. For example:
I thought I might have the syntax wrong, so I copied the examples on the left from the QCAD PDF (pasted into a text editor first, then recopied to verify no hidden characters were captured). The dimensions on the right were done in property editor fields and they work, but based on a previous attempt if I were to remove the tolerances and enter them as S\<superscript\<subscript>;, they'll show up literally as on the left.
I created the text entities and pasted the escape sequences directly into the source window of the text editor:
So what am I missing or doing worng?
Thanks.
Text escape sequences not working - What am I missing?
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Re: Text escape sequences not working - What am I missing?
This has indeed changed at one point (for compatibility reasons). The sequences should be:
I've also adjusted this in the book for the next release of the e-book / printed book. Thanks.
Code: Select all
100m\S2^;
X\S^1;
10\S+0.10^-0.25;
Σ\S6^k=2;(k\S2^;)