Archive for the ‘LTM – Linear Topic Map Notation’ Category

LTM — Cheat-Sheet 0.4

Thursday, November 15th, 2012

LTM — Cheat-Sheet 0.4

Despite earlier proofing, I ran into an ambiguity in my LTM — Cheat-Sheet today.

The correction is from:

Encoding @”encoding”

to:

Encoding

@”encoding”

Hopefully to make it clear that “Encoding” is just a header and not part of the syntax. (Changed the coloring on “Encoding” from red to black as well.)

Unicode Escape Sequences – LTM & Omnigator

Thursday, November 15th, 2012

While writing a short topic map today I created the topic:

[ru1-1-2-2 : morph = “YM\u0022Y03”;
“ru1:1,2.2”
@”http://www.grovescenter.org/GC/hb/ru1-1-2-2″]

The basename is based on:

YM”Y03

in a standard Hebrew transliteration system.

I substituted the \u0022 Unicode escape sequence for double-quote mark.

Which displayed:

YM”Y03

So far, so good.

But I also had:

[ru1-1-13-2 : morph = “&:D\u002274Y”;
“ru1:1,13.2”
@”http://www.grovescenter.org/GC/hb/ru1-1-13-2″]

The basename being derived from:

&:D”74Y

Can you guess the character that was displayed without looking?

In case you are wondering, I tried to introduce a space between the escape sequence and “74” (an accent reference) to see if it made any difference:

&:D\u0022 74Y

Same result.

(spoiler space)

The result:

Failed Escape Sequence

Not exactly what I was hoping for.

The real answer is to obtain an UTF-8 version of the file in Hebrew, so I don’t have to worry with ASCII transliteration.

Still, you may encounter a case where you need to use Unicode escape characters.

Take this as a cautionary tale.

LTM — Cheat-Sheet Update (One update begats another)

Saturday, November 3rd, 2012

LTM — Cheat-Sheet 0.3

Post-publicaton proofing is more accurate than pre-publication proofing.

Thoughts on why that is the case? 😉

I forgot to update the revision number in 0.2 and minor though it may be, wanted to correct that.

So, LTM Cheat-Sheet 0.3 is now available.

I will go back to the earlier posts so they point to the latest version.


Update: 15 November 2012. Latest version is LTM — Cheat-Sheet 0.4.

LTM — Cheat-Sheet Update

Friday, November 2nd, 2012

LTM — Cheat-Sheet 0.2

I caught a couple of typos in version 0.1 and have posted version 0.2 of the LTM — Cheat-Sheet.

Changes as follows:

to signal its missing -> to signal it’s missing

followed (bold)by(/bold) -> followed by

[and] -> and

[optional] -> [opt] 2X


Update: 15 November 2012. Latest version is LTM — Cheat-Sheet 0.4.

Update: 3 November 2012. Latest version is LTM — Cheat-Sheet 0.3. Post announcing it: LTM — Cheat-Sheet Update (One update begats another).

LTM – Cheat-Sheet

Sunday, October 28th, 2012

LTM – Cheat-Sheet

I had someone ask for Linear Topic Map (LTM) syntax instead of XTM.

My marketing staff advised: “The customer is always right.” 😉

I created this LTM cheat-sheet, based on “The Linear Topic Map Notation, version 1.3, by Lars Marius Garshol.

Thought it might be of interest.

Comments, suggestions, corrections welcome!


Update: 15 November 2012. Latest version is LTM — Cheat-Sheet 0.4.

Update: 3 November 2012. Latest version is LTM — Cheat-Sheet 0.3. Post announcing it: LTM — Cheat-Sheet Update (One update begats another).