• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Quark Style Sheets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quark Style Sheets


  • Subject: Re: Quark Style Sheets
  • From: garbanzito <email@hidden>
  • Date: Wed, 23 Jan 2002 01:19:49 -0700

at 2002 01 22, 22:06 -0600, they whom i call Kevin Gogerty wrote:
Well... what I am looking to do is build an Facespan app that will build a QXP template with a set of style sheets that are generated with Facespan/Applescript.

Since they broke the Style Sheet scripting part of Quark 4.x it seems like it can't be done... so I am using PreFab Player to emulate the users actions.

that's essentially what i use XTags for. my task is
completely automated document construction, using database
entries to define the layout and style characteristics of
the document. i think doing it with PreFab would be much
more work, and far slower.

my scripts are in Frontier, but could be AppleScript. i
build a template layout and color specs via script, then a
script generates XTags text to create the style sheets,
after that the script generates more XTags text to spell out
an XData "prototype" which uses those colors and styles. as
a final step, the script tells XTags to import the tagged
text into the layout, and all the styles are built and used.
then the document is ready to apply data to the prototype
via XData.

Xtags/XPress Tags are good for things all ready created... WITH font style and leading attributes already in place.

maybe i wasn't clear. XTags can create the style sheets from
scratch. for example following are XTags instructions to
generate some style sheets (the first of around 200 in my
typical workflow). these are mostly character styles because
i define them before i define paragraph styles. note that
they refer to color specs (such as "in_column_box_text") --
my script has to define those in the XPress document before
importing the XTags text, since XTags can't create colors.

the key to getting power out of tools like these is to
create layers of macros. each layer gives you more leverage.
Frontier is a great help in the layering, but AppleScript can
do it too.

example XTags style definitions (some of these lines will
probably wrap, they shoud all start with @):

@.master_char=[S"","","",""]<P><s100><t0><h100><z10><k0><b0><c"Blue"><f"Courier">
@.master_para=[S"",".master_para",".master_char"]<*L *p(0.028",,0.028") *t(2.8395", 2, "2. ")>
@.xdata_char=[S"","","",""]<P><s100><t0><h100><z6><k0><b0><c"Blue"><f"Courier">
@.xdata=[S".master_para",".xdata",".xdata_char"]<*p(,,,7pt)>
@.comment_char=[S"","","",""]<P><s85><t0><h100><z7><k0><b0><cK><f"I Times Italic">
@.comment=[S".master_para",".comment",".comment_char"]<*p(,,,8pt)>
@.comment2_char=[S"","","",".comment_char"]<f"Times"><z6>
@.comment2=[S".comment",".comment2",".comment2_char"]<*p(,,,8pt)>
@.note_char=[S"","","",""]<P><s100><t0><h100><z12><k0><b0><c"Black"><f"Courier">
@.note=[S".master_para",".xdata",".note_char"]<*p(,,,13pt)>
@1HS_char_master=[S"","","",".master_char"]<c"in_column_box_text"><f"Humnst777 BlkCn BT"><z9.0>
@2HS_char_master=[S"","","",".master_char"]<c"in_column_box_text"><f"Humnst777 BlkCn BT"><z9.0>
@3HS_char_master=[S"","","",".master_char"]<c"in_column_box_text"><f"Humnst777 BlkCn BT"><z9.0>
@4HS_char_master=[S"","","",".master_char"]<c"in_column_box_text"><f"Humnst777 BlkCn BT"><z9.0>
@5HS_char_master=[S"","","",".master_char"]<c"in_column_box_text"><f"Humnst777 BlkCn BT"><z9.0>
@6HS_char_master=[S"","","",".master_char"]<c"in_column_box_text"><f"Humnst777 BlkCn BT"><z9.0>
@AL_char_master=[S"","","",".master_char"]<c"Black"><f"Helvetica Condensed"><z8.0>
@AL_char_a1=[S"","","","AL_char_master"]<z7.0>
@AL_char_a2=[S"","","","AL_char_master"]<z7.0>
@AL_char_p1=[S"","","","AL_char_master"]<z8.0>
@AL_char_ptab=[S"","","","AL_char_master"]<z4.5>

--
steve harley email@hidden


  • Prev by Date: FMP Container
  • Next by Date: Re: FMP Container
  • Previous by thread: RE: Quark Style Sheets
  • Next by thread: Re: applescript-users digest, Vol 3 #41 - 16 msgs
  • Index(es):
    • Date
    • Thread