Search found 60 matches

by bwofficer
Mon Jul 22, 2024 4:06 am
Forum: Flare's General Discussion
Topic: Problem setting OL start number using List Actions button
Replies: 3
Views: 2410

Re: Problem setting OL start number using List Actions button

I think I've sussed how to override the OL list start number mc-auto-number on a list by list basis.

Using the XML structure bar, I selected the first LI in the OL for which I want to override the start number.

Then switched to the Local Style Properties tab of the Formatting panel, set it to Show ...
by bwofficer
Mon Jul 22, 2024 3:19 am
Forum: Flare's General Discussion
Topic: Problem setting OL start number using List Actions button
Replies: 3
Views: 2410

Re: Problem setting OL start number using List Actions button

Thanks.

I don't want to continue the numbering from a previous list, though. I want to set the list to start at an arbitrary number, defined on a list by list basis. Is there a way to do that, without having to lose the custom formatting of the list item numbers?
by bwofficer
Mon Jul 22, 2024 1:23 am
Forum: Flare's General Discussion
Topic: Problem setting OL start number using List Actions button
Replies: 3
Views: 2410

Problem setting OL start number using List Actions button

I can't manage to set the start number for my ordered list using the List Actions button on the Flare ribbon.

I've tried selecting the OL element in the xml structure bar on the left of the document editor, then doing List Actions > List Start Number. This brings up the Set List Item Value Dialog ...
by bwofficer
Tue Feb 14, 2023 8:23 am
Forum: Web-based Outputs
Topic: Getting HTML5 side nav to open without browser controls
Replies: 5
Views: 2777

Re: Getting HTML5 side nav to open without browser controls

Thanks! That helped a lot.

A lot depends on how your users will open your help site.

If it's opened from an app, then you need to write code in your app that controls how the help site is opened and displayed. For example, if the help is for a Windows app, then your app can display your help site ...
by bwofficer
Tue Feb 14, 2023 7:35 am
Forum: Web-based Outputs
Topic: Getting HTML5 side nav to open without browser controls
Replies: 5
Views: 2777

Getting HTML5 side nav to open without browser controls

How do I make it so that the HTML5 side nav help site opens in a minimal-functionality browser window i.e. a window without the usual URL entry bar, forward and back buttons, favourites, and all the toolbar stuff that normally comes at the top of a browser window?

My aims are to to make it so that ...
by bwofficer
Tue Oct 25, 2022 7:49 am
Forum: Styles, Stylesheets and XML
Topic: Stylesheet reverts after publishing locally
Replies: 2
Views: 1196

Re: Stylesheet reverts after publishing locally

I modified the existing (primary) stylesheet and the changes are there when I build the target in Flare, but when I tried to publish locally, the stylesheet reverts back to before I made the changes. What could be causing it to behave this way?

Is your project set up to import the stylesheet from ...
by bwofficer
Wed Oct 19, 2022 1:45 am
Forum: Styles, Stylesheets and XML
Topic: mc-conditions: am I understanding their purpose correctly?
Replies: 11
Views: 3844

Re: mc-conditions: am I understanding their purpose correctl

A short while after creating this thread, I stumbled upon the MadCap-specific parameter data-mc-conditions , which looks like it might help me do what I want.

I could tag the specific instances of the topic which I want to style differently by applying a condition tag on their TOC entries. The ...
by bwofficer
Wed Oct 19, 2022 1:40 am
Forum: Styles, Stylesheets and XML
Topic: mc-conditions: am I understanding their purpose correctly?
Replies: 11
Views: 3844

Re: mc-conditions: am I understanding their purpose correctl

Target mediums (the mediums you select in the target settings) are a pretty basic way to include additional CSS to a specific target/output.

The way Flare's target mediums work is quite basic. During the build process, Flare essentially copies and pastes what's in the medium to the end of your ...
by bwofficer
Tue Oct 18, 2022 7:17 am
Forum: Styles, Stylesheets and XML
Topic: mc-conditions: am I understanding their purpose correctly?
Replies: 11
Views: 3844

Re: mc-conditions: am I understanding their purpose correctl

In my own practice, I reserve the print medium for styling content that is printed from a browser. I create a PDF medium exclusively for the PDF output. It does not inherit from the print medium.

Thanks, Nita.

I didn't even realise that you could create your own mediums until a few posts ago ...
by bwofficer
Tue Oct 18, 2022 7:03 am
Forum: Styles, Stylesheets and XML
Topic: mc-conditions: am I understanding their purpose correctly?
Replies: 11
Views: 3844

Re: mc-conditions: am I understanding their purpose correctl

That's actually quite tricky. If you're using the exact same topic in multiple places, then it's going to be exactly the same in each place. I can't think of a way to make each instance of the topic appear 'different', whether that's using conditions or anything else.

A short while after creating ...
by bwofficer
Tue Oct 18, 2022 2:46 am
Forum: Styles, Stylesheets and XML
Topic: mc-conditions: am I understanding their purpose correctly?
Replies: 11
Views: 3844

Re: mc-conditions: am I understanding their purpose correctl

Yes, you've got the gist of it.

Great. Thanks for confirming.

I suggest that you look at using MEDIUMs, as that might allow you to get where you want to go.

I'm working inside the @media print medium. I only want to change 2 or 3 styles. Any new medium would need to inherit everything else ...
by bwofficer
Fri Oct 14, 2022 4:17 am
Forum: Styles, Stylesheets and XML
Topic: mc-conditions: am I understanding their purpose correctly?
Replies: 11
Views: 3844

Re: mc-conditions: am I understanding their purpose correctl

P.S. if I really want to do the latter (alter style parameters such as text size or colour if a specific condition has been applied at the file level) then am I right in thinking it's the use of data-mc-conditions inside square brackets [ ] that I need to be exploring instead?
by bwofficer
Fri Oct 14, 2022 4:09 am
Forum: Styles, Stylesheets and XML
Topic: mc-conditions: am I understanding their purpose correctly?
Replies: 11
Views: 3844

mc-conditions: am I understanding their purpose correctly?

An article I was reading this morning mentioned mc-conditions. The feature sounded useful, just going by its name alone, so I Googled a bit and read the Flare help.

I think I understand what mc-conditions is for, but I'm not completely sure. Just as a sanity check, can somebody confirm if I've got ...
by bwofficer
Tue Oct 11, 2022 8:01 am
Forum: Flare's General Discussion
Topic: Setting word hyphenation on specific columns of a table
Replies: 8
Views: 7863

Re: Setting word hyphenation on specific columns of a table

Hmm, on re-read my suggestion is best for the entire table, but probably can't be narrowed down to specific columns - they're not really proper items with descendants in the HTML.

I'm experimenting putting a rule like the one below into my regular stylesheet. Assuming that hyphenation has been ...
by bwofficer
Mon Oct 10, 2022 7:48 am
Forum: Printed Documentation Targets
Topic: Auto-numbering and Appendices
Replies: 15
Views: 26542

Re: Auto-numbering and Appendices

You'll need only to set up one heading style, for the h1, using the {chapnum} autonumber. Here's what mine looks like:
h1.Appendix
{
mc-auto-number-format: 'Appendix {chapnum}. ';
}


Then, for the TOC item for the first appendix, on the (TOC) Properties window's Auto-numbers tab under Chapter ...
by bwofficer
Mon Oct 10, 2022 4:34 am
Forum: Printed Documentation Targets
Topic: Different auto-numbering schemes in vols or sections of PDF?
Replies: 3
Views: 3895

Re: Different auto-numbering schemes in vols or sections of

P.S. my question here came out the same frustration that prompted my other post here: viewtopic.php?f=10&t=33987. They should maybe be merged. They started as separate threads only because I was looking at the same basic problem in two different ways.
by bwofficer
Mon Oct 10, 2022 4:31 am
Forum: Printed Documentation Targets
Topic: Different auto-numbering schemes in vols or sections of PDF?
Replies: 3
Views: 3895

Re: Different auto-numbering schemes in vols or sections of

Yep, say you have a h1.chapter style that's used in topics on the first page of a new chapter/appendix, to add numbering to the heading.
h1.chapter
{
mc-auto-number-format: '{chapnum}. ';
}
As the autonumber format is {chapnum}, it'll display the chapter value that you've set in the TOC.

So ...
by bwofficer
Mon Oct 10, 2022 1:59 am
Forum: Flare's General Discussion
Topic: Setting word hyphenation on specific columns of a table
Replies: 8
Views: 7863

Re: Setting word hyphenation on specific columns of a table

If your tables with narrow columns have a specific style class, you can specify that you want any paragraphs (of any type) within that table to use hyphens. You do this using the descendant advanced selector. The CSS would look like this:

table.narrow p
{
mc-hyphenate: auto
}


This essentially ...
by bwofficer
Mon Oct 10, 2022 1:45 am
Forum: Flare's General Discussion
Topic: Setting word hyphenation on specific columns of a table
Replies: 8
Views: 7863

Re: Setting word hyphenation on specific columns of a table

Thank you, ChoccieMuffin. Lots of useful tips in there.

If you want to go down that route, I'd instead create a GENERIC style (.Hyphens-On) and apply that to assorted paragraphs where you want the text to hyphenate. If that paragraph already HAS a style applied, e.g. p.WARNING, in the Text Editor ...
by bwofficer
Thu Oct 06, 2022 8:27 am
Forum: Printed Documentation Targets
Topic: Different auto-numbering schemes in vols or sections of PDF?
Replies: 3
Views: 3895

Different auto-numbering schemes in vols or sections of PDF?

Can I change the heading autonumbering scheme at volume or section breaks? Can I number the h1 headings of my top level topics 1, 2, 3, etc. in one volume or section but A, B, C,etc. in another volume or section? What I'm trying to do is have a 1, 2, 3 numbering in the main part of the PDF but ...
by bwofficer
Thu Oct 06, 2022 8:06 am
Forum: Printed Documentation Targets
Topic: How do I group TOC entries without counting as a level?
Replies: 1
Views: 2154

How do I group TOC entries without counting as a level?

I've enabled the Use TOC depth for heading levels feature in my PDF target so that I can use my TOC to organise my topics hierarchically. It's the first time I've tried this. It works OK to begin with: the first heading in a topic placed underneath a top level topic has its title heading demoted ...
by bwofficer
Thu Oct 06, 2022 4:19 am
Forum: Flare's General Discussion
Topic: Setting word hyphenation on specific columns of a table
Replies: 8
Views: 7863

Setting word hyphenation on specific columns of a table

I don't like having words automatically break and hyphenate at the end of lines. I have therefore turned hyphenation off (mc-hyphenate: never) in my p style.

The problem is that I have a few instances of tables with narrow columns where I do want to accept last-word-of-line hyphenation. If I don't ...
by bwofficer
Fri Jul 08, 2022 4:05 am
Forum: MadCap Lingo General Discussion
Topic: Lingo failing to import TBX termbase with Chinese terms
Replies: 0
Views: 7569

Lingo failing to import TBX termbase with Chinese terms

I am trying to import a multilingual termbase into Lingo. The termbase was originally created using RWS (ex-SDL) MultiTerm. I have managed to convert it into TBX-Basic, but Lingo won't import it. From the import message log I could see that some concept entries imported OK but others didn't, and I ...
by bwofficer
Tue Jun 28, 2022 1:15 am
Forum: Styles, Stylesheets and XML
Topic: What is a div for and how does it differ from a span?
Replies: 6
Views: 5848

Re: What is a div for and how does it differ from a span?

We used to use divs for notes, tips, and cautions. However one thing I discovered several years ago about divs in Flare was that in PDF outputs, the rules about where page breaks belong (mainly widows and orphans rules) went out the window inside divs. We ended up with a bunch of pages containing ...
by bwofficer
Tue Jun 28, 2022 1:12 am
Forum: Styles, Stylesheets and XML
Topic: Use span.myStyle or .myStyle for text formatting?
Replies: 4
Views: 1618

Re: Use span.myStyle or .myStyle for text formatting?

The selector that is just the "dot" selector is a generic selector, meaning you can apply it to lists, tables, divs, paragraphs, spans -- anything. But that might not yield the result you expect univerally. If you are trying to define a selector that you'll only ever apply to inline characters ...