Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Jengo

macrumors newbie
Original poster
Sep 3, 2003
18
0
I have set up a style sheet and I want it to also apply a Foot Mark at the end of it.

I have a line of text that has an apstrophe at the end of it.

Example: Him., 8/27: Me, 15; You 1-2’

I want it so that when I apply my style sheet that it changes that to a foot mark.

Is this possible to do? If so how?

:confused:
 
do you mean automatically substituting one character for another? do a search-and-replace; there's no way to do that with a style sheet.
 
I had a feeling that there wasn't.
I had taken a look in my quickstart book and it mentioned that you can set up bullets within stylesheet but did not tell you how to go about it. I thought if you can do that, that it might be possible to do what i want to do.
 
Originally posted by Jengo
it mentioned that you can set up bullets within stylesheet but did not tell you how to go about it.

quark's online tech notes suggest this method.

alternately, you set up a paragraph with an opening tab just wide enough for one bullet (or one bullet and a space) and set the fill character to one bullet (or, likewise, a bullet and a space.) you can apply the style sheet, hit tab, and presto: bullet point.

however, that won't work in your case, unless all of your lines are of equal length. assuming they're not, if you set a tab with a prime(foot-mark) fill character and an exceptionally short line ends, say, an inch before the tab stop, you'll get an inch of primes filling out the tab.

so... long story (read: unhelpful typographic digression) short, you'll have to use search & replace. but Quark features a pretty comprehensive S&R function, so it's not all bad news.
 
I must admit I have never used S&R in Quark before.
I think S&R would make it much easier, but since the # changes in the example that I gave, and just doing a S&R just for ' I think it would replace all of them in my doc and not just for the specific lines i want.

Therefore I dont think that it will help me much, although it was a good idea.
 
ok, how about this: go ahead and create a style sheet for those apostrophied lines, even if that style sheet doesn't do anything to change the text formatting. you're just going to use the style sheet as a label. apply it to the lines in question.

then, in quark's find/change dialog, uncheck the "ignore attributes" box. this will expand the window to show more search options.

in the "find what" column, enter your text (in this case, the apostrophe) and select the style sheet you created. then, in the "change to" column, enter the prime mark.

this will tell quark to search only those passages that are styled appropriately, leaving the rest of your document unchanged. (remember, Quark's S&R is sometimes persnickety; place the cursor at the beginning of the document's firstmost text box to make sure the search starts from the beginning.) when you're all done, you can delete your dummy style sheet if you're not going to use it for actual text formatting.

granted, it's a bit of a process, and if you're going to go through every instance and apply a style sheet you might as well just change the punctation while you're there... but this way you know you won't miss any.

hope it helps!
 
Sounds like a much better idea then change each indivdual apostrophe like I have been I will try it out and see how it works.

Thanks for all your help.

:)
 
alright -- i REFUSE to lose this one to quark! the problem has to be with quark's "smart quotes" feature. they're seeing your primes as "uneducated" quotes and treating them as the same character--thus turning them into curly single quotes.

the following works on my copy of quark 4.11 on the mac. so if this doesn't help, i don't know what to tell you:

start where we left off, with your document with a dummy style-sheet applied to the lines in which you're going to swap characters.

SELECT and COPY a single curly quote/apostrophe from the end of one of those lines.

under Edit/Preferences/Application... UNCHECK the "smart quotes" option.

under Find/Change, PASTE the apostrophe into the "Find what..." box. make sure that box is checked, the "style" box is checked, and that the appropriate style sheet is selected.

under "Change to..." type in the prime-mark character (command-apostrophe) and click "Change all."

this SHOULD change all the apostrophes under your dummy style to non-curly prime marks/single quotes.

now return to Preferences and re-check "smart quotes." now you can enter normal copy and be typographically correct.

and that's it. there may be a much simpler way to do this, but that's my solution. good luck...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.