on the Curl Web Content Markup Language

on the Curl Web Content Markup and Programming Language from www.curl.com and www.curlap.com

Wednesday, July 31, 2013

style for TocDocument left pane

Here is a snapshot of a TocDocument applet which uses an {install-stylesheet haikuStyles} procedure to set the font-size and font-family for the left index pane and the TreeControl within its ScrollBox :


Wednesday, July 24, 2013

Curl markup of haiku by Shiki


Here is a screenshot of the spring kigo haiku of 1897 by Masaoka Shiki. The Curl browser applet has indexed, selectable and searchable utf-8 text instead of SH-JIS. There are over 300 haiku
in this set.



Saturday, July 20, 2013

Minimalist haiku markup


Here is a screen shot of thousands of Masaoka Shiki haiku through 2895 in a utf-8 web browser applet with selectable and searchable text :

The input text had headers prefixed with one back-quote character and annotations prefixed with tilde. The present light weight markup is using default Curl macros such as {heading }, {text } and {paragraph } with a document style of TocDocument ( Table of Contents style.)




Monday, July 8, 2013

npm express install fails with ERR and WARN


If an npm install fails with an error such as
npm ERR! install couldn't read dependencies
and IFF that error immediately follows warnings such as
WARN ... [YOUR_SERVER_NAME]@0,0,1 No repository field.
WARN ... [YOUR_SERVERR_NAME]@0,0,1 No readme data.
where YOUR_SERVER_NAME is the name in that package.json file

THEN

you may notice the perhaps not obvious typo of 0,0,1 for 0.0.1 with commas and not '.', i.e., full-stop, dot, period as the version delimiter.

mea culpa

Now to get back to my nunjucks templating for Curl web content ( Curl, as in www.curl.com and curl-aca in /opt/curl/surge/9/bin

Reminder : do not use a sudo for npm install.  Set the minimum privileges so that your, e.g., maintenance www group user, can run npm. without resorting to root privileges especially if the install is global.