Discussion:
Styleruns
Kim Kohen
2007-01-07 11:21:04 UTC
Permalink
Hi all,

I'm interested in being able to 'tag' styled text from an styled
editfield for use later in InDesign or Quark. The LR examples simply
don't make sense to me (they lose me when they get into memoryblocks)
so I'm looking for some guidance on where to start.

I'm hoping for some direction on how I would enclose a bold word
(within some text) with some HTML style tags eg: plaintext
here<b>bold text here</b> plain text. Hopefully if I can get that far
I can work the rest out for myself.


cheers and thanks

kim
RBNUBE
2007-01-07 19:51:10 UTC
Permalink
If you want to only import text into Quark or InDesign, I think all you
would have to do is use the Rich Text (rtf) format. I think that, by
default, StyledText is saved as RTF when using the Windows IDE. On Mac, you
might have to use a plugin or other 3rd party product.

You might try the following--

WordGuise
http://homepage.mac.com/vanhoek/

StyledTextToRTF:
http://www.cosmicsoft.net/RB/StyledTextToRTF.html

Or search for RTF on www.rbgarage.com

I don't think InDesign or Quark import HTML files, but they should import
RTF.

HTH
Kim Kohen
2007-01-07 20:42:30 UTC
Permalink
G'day RBNUBE,
Post by RBNUBE
If you want to only import text into Quark or InDesign, I think all you
would have to do is use the Rich Text (rtf) format.
••••
It's a bit deeper than that - the import into Quark and ID is done
programmatically with lots of other stuff happening at the same time.
Post by RBNUBE
I don't think InDesign or Quark import HTML files, but they should import
RTF.
••••
The HTML tags are essentially placeholders for what will come later -
and a convenient way to store in the DB which will have web access.

cheers and thanks

kim
RBNUBE
2007-01-07 20:57:04 UTC
Permalink
So essentially you want to convert StyledText to HTML?

You might try:
http://cosmicsoft.net/RB/StyledTextToHTML.html

Seems a little slow, but might work for you.


If this isn't what you're looking for, explain in more detail. This sounds
interesting and this list has been pretty dead lately. I also deal a little
with DTP software, though I haven't tried integrating anything I've written
in RB with Quark or InDesign.
Kim Kohen
2007-01-23 03:22:32 UTC
Permalink
Hi RBNUBE,
Post by RBNUBE
So essentially you want to convert StyledText to HTML?
If this isn't what you're looking for, explain in more detail.
This sounds
interesting and this list has been pretty dead lately. I also deal a little
with DTP software, though I haven't tried integrating anything I've written
in RB with Quark or InDesign.
••••
I just realised I'd never responded to this so here goes.

I'm replacing our aging FMP based editorial system with a Valentina/
RB system. In the OS9 days, I had a special OSAX written which would
detect styles in FMP and convert them to Quark tags. Once OSX came
along, I didn't want to have to pay for the OSAX to be updated so I
started using visible tags in FMP - the tags literally surrounded the
text - looks bloody horrible but works well enough. In the meantime
we moved to InDesign which uses an entirely different (and far more
complex) tagging model so...

we wrote a system of converting simple tags into complex tags. Having
done this, I know I can get simple tags (like basic HTML) and convert
them for Quark or InDesign later. Now I want to get back to the tags
being invisible which is where I run into the Stylerun problem. I
should point out that our stories (we're newspaper publishers) also
go on the web so if we start with basic HTML tags the web is already
looked after.

Which leads to my original question of styleruns - I just don't 'get'
them and the LR examples are a bit short in detail.


cheers

//k
RBNUBE
2007-01-23 05:12:01 UTC
Permalink
Post by Kim Kohen
we wrote a system of converting simple tags into complex
tags. Having done this, I know I can get simple tags (like
basic HTML) and convert them for Quark or InDesign later.
Does the StyledTextToHTML module do this much for you? Too slow?

In this module, the following characters are accounted for:
&,√,‘,’,“,”,<,>,Ä,Å,Á,Ç,É,Ñ,Ö,Ü,á,à,â,À,ã,Ã¥,ç,é,Ú,ê,ë,í,ì,î,ï,ñ,ó,ò,ÃŽ,ö,õ,ú,ù,û,ÃŒ,†,°,¢,£,§,•,¶,ß,®,©,™,ÂŽ,š,<>,Æ,Ø,±,<=,>=,Â¥,µ,ª,º,Ê,Þ,¿,¡,¬,«,»,..., ,À,Ã,Õ,Œ,œ,–,—,',',÷,ÿ,Åž,?Ñ,fi,fl,·,Â,Ë,È,Ê,Í,Î,Ï,Ì,Ó,Ô,Ò,Ú,Û,Ù,ƒ,‡,‰,¯,

The following tags are accounted for:
Italic, bold, underline, font and font size.

I think it might be fairly easy to add more...

What is the workflow?

Is the text being exported as Adobe InDesign Tagged Text?


Since I'm sure I still don't have the whole picture, I should probably stop there.
Kim Kohen
2007-01-23 08:27:57 UTC
Permalink
G'day RBNUBE
Post by RBNUBE
Post by Kim Kohen
we wrote a system of converting simple tags into complex
tags. Having done this, I know I can get simple tags (like
basic HTML) and convert them for Quark or InDesign later.
Does the StyledTextToHTML module do this much for you? Too slow?
Italic, bold, underline, font and font size.
I think it might be fairly easy to add more...
••••
Actually it does too much - I don't want to support font or size -
these are handled elsewhere in the app by way of a 'section' column.

It's been a while since I looked at StyledTextToHTML so I might take
another look and see if could easily be changed - I was even more raw
when I first looked at it, maybe now it will make more sense.

And can someone please unsub Gordon.

cheers

//k
Kim Kohen
2007-01-23 09:19:07 UTC
Permalink
G'day RBNUBE,
Post by Kim Kohen
It's been a while since I looked at StyledTextToHTML so I might
take another look and see if could easily be changed - I was even
more raw when I first looked at it, maybe now it will make more sense.
••••
just took another look and it was straightforward to drop the font
stuff - I'm on my way now I think...

cheers

//k
Kirt Cathey
2007-01-23 10:27:04 UTC
Permalink
Andy Dent's styledtext to xml got me going on something similar just days
ago.
blazing fast, simple, easily modified, yada, yada, yada.....

http://www.oofile.com.au/downloads.html#DownloadREALbasic
Post by Kim Kohen
G'day RBNUBE,
Post by Kim Kohen
It's been a while since I looked at StyledTextToHTML so I might
take another look and see if could easily be changed - I was even
more raw when I first looked at it, maybe now it will make more sense.
••••
just took another look and it was straightforward to drop the font
stuff - I'm on my way now I think...
cheers
//k
_______________________________________________
<http://www.realsoftware.com/support/listmanager/>
<http://support.realsoftware.com/listarchives/lists.html>
--
Kirt Cathey
WorkPapers Development
Loading...