Print, Non-Print, and Default Stylesheets

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
ccardimon
Propellus Maximus
Posts: 1571
Joined: Fri Jan 11, 2008 1:30 pm
Location: Horsham, Pennsylvania

Print, Non-Print, and Default Stylesheets

Post by ccardimon »

I plugged in the name of the stylesheet I wanted to use for my project.

My project seems to aim for the Default stylesheet. I don't think I set this anywhere, or even if it can be set.

Is there a way to configure the project for a specific stylesheet medium, such as print or non-print?
Craig

Lost in Disturbia
Msquared
Propellus Maximus
Posts: 848
Joined: Mon Aug 06, 2012 10:19 am
Location: Southampton, UK

Re: Print, Non-Print, and Default Stylesheets

Post by Msquared »

You set the medium on the target, on the Advanced tab. Your project "default" medium will be the medium of your primary target, so that's the medium that will be used for the styles shown in Flare's XML editor.
Marjorie

My goal in life is to be as good a person as my dogs already think I am.
ccardimon
Propellus Maximus
Posts: 1571
Joined: Fri Jan 11, 2008 1:30 pm
Location: Horsham, Pennsylvania

Re: Print, Non-Print, and Default Stylesheets

Post by ccardimon »

I totally missed that! Thanks Marjorie!
Craig

Lost in Disturbia
Licoricespice
Jr. Propeller Head
Posts: 2
Joined: Fri Oct 10, 2014 7:24 am

Re: Print, Non-Print, and Default Stylesheets

Post by Licoricespice »

Hi all,
I started learning Flare about a week ago, so I'm not surprised I'm having trouble, but Im stillsad.
I edited my styles on the default style sheet, and it didn't trickle over to the print style sheet. Fine. When I'm generating a word output, I went to the advanced tab in the target menu, and changed the medium to "default". I still get the "print" medium in my output.
Am I just going to have to manually change the all the "print" styles to match the "default" styles?
Any advice would be appreciated!
SteveS
Senior Propellus Maximus
Posts: 2090
Joined: Tue Mar 07, 2006 5:06 pm
Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).
Contact:

Re: Print, Non-Print, and Default Stylesheets

Post by SteveS »

Hi Licoricespice, welcome to the forums!

The print medium is intended for printing from a 'web' site.

For most work, particularly when starting out, make your changes to the default medium. That will affect both electronic and print output (provided you have selected that particular stylesheet).

I'm a fan of the print version looking as close to the electronic version as possible (I'm a bit old fashioned in that respect) so this workflow works for me. If I need a specific style for either type of output I'll create it in the default stylesheet and use conditions on the topic to control which piece of styled text is used in each output.

I'd suggest you make a backup of your stylesheets before making any changes. You can also edit the stylesheet in a text editor, so all the changes you've made under the print media can be cut and paste into the default section...

HTH
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
ChoccieMuffin
Senior Propellus Maximus
Posts: 2650
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Print, Non-Print, and Default Stylesheets

Post by ChoccieMuffin »

A note of caution: if you are editing your stylesheet in a text editor, it is possible to break it without realising, and it can take ages to trace and fix a problem (I once broke mine just by leaving off a semi-colon.)
Started as a newbie with Flare 6.1, now using Flare 2024r2.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
SteveS
Senior Propellus Maximus
Posts: 2090
Joined: Tue Mar 07, 2006 5:06 pm
Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).
Contact:

Re: Print, Non-Print, and Default Stylesheets

Post by SteveS »

ChoccieMuffin wrote:A note of caution: if you are editing your stylesheet in a text editor, it is possible to break it without realising, and it can take ages to trace and fix a problem (I once broke mine just by leaving off a semi-colon.)
'swhy I recommend making a backup :wink:

If you use a text editor with a coding plugin (such as notepad++) they quite often include syntax checking which can identify missing operands.

It's also good practice in a cascading style sheet to add the semi colon to all lines in a style. Although it is optional for a single line dec, if you add another line later you will need to go back to the frist line and make sure it ends in a semicolon. I've been caught that way in the past, so I add it as a matter of course now.

HTH
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
Licoricespice
Jr. Propeller Head
Posts: 2
Joined: Fri Oct 10, 2014 7:24 am

Re: Print, Non-Print, and Default Stylesheets

Post by Licoricespice »

SteveS and Choccie Muffin, thanks for your help! I can finally print out a proof without tearing my hair out!
Post Reply