[tw] Re: Help converting a couple of tiddlers from TWC to TW5

2015-05-18 Thread Andy Arnold
Thanks for the help.  

Eric's first idea (@@.loco26 nbsp;C.loco18 APON@@) worked right off.  

I worked on the ::first-letter solution for a couple of hours and couldn't 
get it to work.  I'll come back to that because I think it's a more elegant 
solution.

--Andy

On Sunday, May 17, 2015 at 10:27:20 AM UTC-4, Andy Arnold wrote:

 Good Morning,

 I've spent 40+ years writing code and converting files  databases.  This 
 problem should be easy, but it has me stumped.

 I have a TWC tiddler (StyleSheetCustom) that defines some new css style 
 names.  The new css defines fore/background color combinations as single 
 words.  It also combines several font family terms into a single term 
 (loco26). Here's a few lines...
 .backYellow{color: #000; background:yellow;}
 .backGainsboro{color: #000; background: #DCDCDC;}
 .backYellow30{color: #8B3A3A; background: yellow; font-size:30px;}

 and I have another tiddler (Motive Power Paint) that uses the new css...
 * {{backYellow30{{{loco26{nbsp;C}}}{{loco18{APON 
 }}}{{loco26{V}}}{{loco18{ALLEY}}}{{loco26{ R}}}{{loco18{AILROADnbsp;}}} }}}

 The idea is to show 'CAPON VALLEY RAILROAD' in a common type face and a 
 common fore/background color pair with the C V R in a larger font-size than 
 the rest of the phrase.

 I only want to do this for a few tiddlers; so I'm not looking for a 
 theme-level solution.  

 Can someone please send me to some links, etc. that have example 
 solutions?  

 Thanks

 --Andy


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/739c4845-f330-4bb2-8158-092ed394d78e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Help converting a couple of tiddlers from TWC to TW5

2015-05-17 Thread Andy Arnold
Good Morning,

I've spent 40+ years writing code and converting files  databases.  This 
problem should be easy, but it has me stumped.

I have a TWC tiddler (StyleSheetCustom) that defines some new css style 
names.  The new css defines fore/background color combinations as single 
words.  It also combines several font family terms into a single term 
(loco26). Here's a few lines...
.backYellow{color: #000; background:yellow;}
.backGainsboro{color: #000; background: #DCDCDC;}
.backYellow30{color: #8B3A3A; background: yellow; font-size:30px;}

and I have another tiddler (Motive Power Paint) that uses the new css...
* {{backYellow30{{{loco26{nbsp;C}}}{{loco18{APON 
}}}{{loco26{V}}}{{loco18{ALLEY}}}{{loco26{ R}}}{{loco18{AILROADnbsp;}}} }}}

The idea is to show 'CAPON VALLEY RAILROAD' in a common type face and a 
common fore/background color pair with the C V R in a larger font-size than 
the rest of the phrase.

I only want to do this for a few tiddlers; so I'm not looking for a 
theme-level solution.  

Can someone please send me to some links, etc. that have example 
solutions?  

Thanks

--Andy

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d68be28e-b83e-4795-bfea-aa71eda80e15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.