I have some text (contained within multiple table cells) that consist of bold text followed by a line break (shift-return), then italic text:
FirstLineText
SecondLineText
For some reason, the bold attribute often persists in the italicized text–but only in the preview pane or browser preview, not in the layout pane. Thus, it’ll look like this:
FirstLineText
SecondLineText
But in the layout pane, it always looks like the first example.
I’ve tried reformatting (removing and returning formatting of different lines) but it doesn’t seem to help–or, if it can, I haven’t found the trick in just how to do it.
Additional frustration: the problem occurs in the majority, but not all, of the mixed format cells.
Going through the text on the site, there were a LOT of styles stuck on with names like “.style32”
A lot of styles. How does that happen? That is, why would text in various cells of different tables have quite a number of different styles even though the text otherwise looks alike? (besides being plain, bold, and italicized)
Going through the text on the site, there were a LOT of styles stuck on with names like “.style32”
A of styles. How does that happen?
This happens whenever you set a text style via the Style menu or through the style options in the Inspector Pallet. The only way to avoid this is to create your styles in the Style Editor and only use these styles for every piece of text.
The text was imported from a .docx document that I’d been emailed, and I basically kept that formatting, fixing it when needed. I didn’t use the style menu or the style options in the Inspector palette at all (until I went back to fix all the weirdness and saw the large number of styles applied).
Freeway is constantly turning any styling intent you create (either by importing styled text, or by applying the local styling options within the Inspector) into named “temporary” styles. These styles can be re-applied to other instances of text by selecting the text and clicking on the style name. Freeway does a fair job of policing these styles for duplication, but it’s not as good at it as a human might be.
As others on this thread have mentioned, the only way to keep this from happening is to create your styles before the text, and be methodical about applying them to unstyled text.
Anything you receive in Word or other “rich” format should be imported as plain text by means of copying the text from within Word, clicking into your HTML box where you want the text to appear, and choosing Edit / Paste and Match Style from the main menu to paste only the plain text form of the content. Then go back and re-apply the formatting using named styles. This is pretty much the same workflow you would use in any desktop-publishing environment, because the Word way (or more precisely, the way that most people use Word to lay out text) is completely antithetical to proper typesetting practice.
Thanks; I didn’t create the Word doc and have no idea what funkiness the person might have added to it (though, I suppose, I should have imported it as plain text in any case).
Is it possible to have FWP “clean up” unused styles–that is, remove those from the list of available (temporary) styles that aren’t actually in use in the current document?
Well, that is the definition of a temporary style (or color for that matter). If it is not applied to anything it should go away on its own.
Once I have decided on the look of a site’s typography I will open the style editor and pair down the temp styles into permanent styles by either deleting them and assigning to another style, or keeping it (renaming and making permanent).
One thing that still confuses me is the default header styles… and why assigning one to a paragraph in my document ALWAYS seems to create a new temporary style.
One thing that still confuses me is the default header styles… and why assigning one to a paragraph in my document ALWAYS seems to create a new temporary style.
Unless you have selected the entire paragraph (triple-click in the line), and have removed any existing style from the text in your selection, applying one of the H styles will create a compound style that includes the H level plus whatever local style information was already in the text.
If you apply one of the H styles to an entire paragraph of completely unstyled text, then you should get what you are looking for.
Thanks; I didn’t create the Word doc and have no idea what
funkiness the person might have added to it (though, I suppose, I
should have imported it as plain text in any case).
Definitely. It’s good practice never to import from any word
processor without doing so as plain text. Particularly Word.
On 2 Jun 2008, 2:46 pm, waltd wrote:
Unless you have selected the entire paragraph (triple-click in the line), and have removed any existing style from the text in your selection, applying one of the H styles will create a compound style that includes the H level plus whatever local style information was already in the text.
If you apply one of the H styles to an entire paragraph of completely unstyled text, then you should get what you are looking for.
Hi Walter,
My feeling is that there is no such thing as completely unstyled text in Freeway as it applies
tags to unstyled text. Took me a while to get my head around that and the odd behavior and error dialogs associated with this.
I have always understood tags to define paragraph level attributes so I am confused what the difference would be in Freeway between applying these styles within a paragraph versus applying them to a selection.
There’s actually a bug here as far as I can see. I need to update to
the latest version and test again.
Create a paragraph style and apply it to some text.
Select a portion of that text and apply the H1 style to it.
Entire line appears to become the H1 style, but is actually
still a P tag in H1 clothing.
Contrast that with the expected behavior:
Create a line of text, and style it using a non-paragraph style
(or inline styling).
Select a portion of that text and apply the H1 style to it.
Entire line becomes an H1 with additional class or phrase
styling used to modify it to appear as above.
Walter
On Jun 2, 2008, at 11:36 AM, Solutions Etcetera wrote:
I have always understood tags to define paragraph level
attributes so I am confused what the difference would be in Freeway
between applying these styles within a paragraph versus applying
them to a selection.
Typo in my last msg “understood tags” = “understood H tags”
With that out of the way, I do think the behavior is unexpected but have learned to live with it.
In 5.1.1, I see no difference in applying H1 to a selection within a paragraph, a fully selected paragraph, or simply an insertion point within a paragraph. The entire paragraph is tagged
, provided this text does not have any styles with paragraph level attributes assigned (span only).
Once text has a style with a paragraph level attribute (alignment for example) assigned, applying the H1 style does not tag the text
but rather
.
However if you apply the H1 style BEFORE you apply the other paragraph level style the text is tagged
. IMHO the order these styles are applied should not result in whether the H tag is applied.
Another thing that brings a smile to my face is that default
style. Draw out a container and type some text into it. Select the container and assign the
style:
Beep! This style can ONLY be applied to text.
So select some text in the container and assign the
Well, that is the definition of a temporary style (or color for that matter). If it is not applied to anything it should go away on its own.
Once I have decided on the look of a site’s typography I will open the style editor and pair down the temp styles into permanent styles by either deleting them and assigning to another style, or keeping it (renaming and making permanent).
Is there any way to find instances of a style? The site document in question is showing quite a large number of temporary styles and I have no idea what they may be applied to.
One way to do it would be to publish the site, and use a text editor to search the folder for each site instance. But of course you would have to go back to Freeway to edit the pages.
If you have a bunch of them that came from an imported document you might just want to have a look at them in the style editor, keep the ones you want, and delete the rest (remapping them to frequently used styles).
Not without going through each page and checking the text. The ability to see what page(s) styles are used on is something that I submitted as a feature request some time ago. As others have stated, the best way to avoid this problem is to be methodical about how you create styles but even so it would definitely be a useful feature to know where styles are used. If this is something you want then add your voice by asking SP for it. We may not get it but at least they’ll know it’s been properly requested by others as well.
Todd
On Jun 2, 2008, at 1:19 PM, Scott wrote:
Is there any way to find instances of a style? The site document in question is showing quite a large number of temporary styles and I have no idea what they may be applied to.
The “Poor Man’s” Style Search & Replace could be this: Edit the temporary style you’re not sure about, changing the color to Red (or some other stand-out color). Then peruse your document looking for all instances of text that color. Once you find your errant style, delete it and choose the proper replacement.
Or if you find the unknown style is fine with you, then edit the color back to the original setting.
On Mon, Jun 2, 2008 at 11:57 AM, Brian Steere wrote:
However we can at least delete a style and then be offered a choice of
replacement.
I was going to suggest the drastic option of deleting all the temporary styles from the Styles Editor…but i’m guessing you haven’t set up new styles to use instead.