{"id":1432,"date":"2005-01-17T18:10:27","date_gmt":"2005-01-17T22:10:27","guid":{"rendered":"http:\/\/www.thewormbook.com\/hlog\/?p=1432"},"modified":"2005-01-17T18:10:27","modified_gmt":"2005-01-17T22:10:27","slug":"semantic-styles","status":"publish","type":"post","link":"http:\/\/www.thewormbook.com\/hlog\/?p=1432","title":{"rendered":"semantic styles"},"content":{"rendered":"<p>As usual when work presses, I bubble over with brilliant procrastination. Here&#8217;s a bit. Now that OOo has an invisible attribute for text, an MS Word style outliner is just a bunch of macros away. The only hard bit would be making the toolbar to list the levels you want shown or hidden.<\/p>\n\n<p>But in the mean time there is already the opportunity to do semantic highlighting. There is an icon on the main toolbar which paints selected text with a highlight colour by changing the background colour. Instead of that, just make a set of character styles which have these colours, but informative names: the example that occurs to me is when you have a bunch of quotes on different subjects that you want to pull out of an interview transcript. They could be colour-coded by subject (or, from a different sort of transcript, by speaker). So the coloured styles are named for the meaning they convey. Then a macro goes through and extracts all the quotes of a particular colour into another file, or, if you&#8217;re me, ecco.<\/p>\n\n<p>I already have, and use for<br \/>\nanalysis, a system where bookmarked sections are highlighted and pulled out like this. But at the moment they are organised by bookmark names. Colours and style names are quicker and clearer.<\/p>","protected":false},"excerpt":{"rendered":"<p>As usual when work presses, I bubble over with brilliant procrastination. Here&#8217;s a bit. Now that OOo has an invisible attribute for text, an MS Word style outliner is just a bunch of macros away. The only hard bit would &hellip; <a href=\"http:\/\/www.thewormbook.com\/hlog\/?p=1432\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a> <a href=\"http:\/\/www.thewormbook.com\/hlog\/?p=1432\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"_links":{"self":[{"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=\/wp\/v2\/posts\/1432"}],"collection":[{"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1432"}],"version-history":[{"count":0,"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=\/wp\/v2\/posts\/1432\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1432"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1432"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}