Search found 271 matches

by robdocsmith
Mon Aug 15, 2022 6:20 pm
Forum: Tips and Tricks
Topic: Sync Navigation elements not working
Replies: 2
Views: 6574

Re: Sync Navigation elements not working

Where a topic is included in the TOC more than once, Flare can't know which item to highlight in the output TOC so the first instance is highlighted. The only way I know around this is to put the shared content in a snippet, then embed that snippet into separate topic files. You get the benefit of ...
by robdocsmith
Thu Jul 21, 2022 5:14 pm
Forum: Printed Documentation Targets
Topic: Index—sort order—"See also" references
Replies: 6
Views: 2298

Re: Index—sort order—"See also" references

Yes those were the results I saw too. The \A sequence is the equivalent of adding a <br /> to the line making it:

<p>Main term <br />
See also reference</p>

A <br /> makes the next line have the same indent as the containing <p> tag and I couldn't figure a way of adding a spacer to the start. It's ...
by robdocsmith
Wed Jul 20, 2022 6:45 pm
Forum: Printed Documentation Targets
Topic: Index—sort order—"See also" references
Replies: 6
Views: 2298

Re: Index—sort order—"See also" references

I do love a challenge... The closest I could get is to use the ::before pseudo element to add in a line break before the "See also" span. Being a line break, it normally has the same indent as the element containing it, in this case the p.index1 tag. So you have to fudge some whitespace in there too ...
by robdocsmith
Wed Jul 20, 2022 5:44 pm
Forum: Printed Documentation Targets
Topic: Index—sort order—"See also" references
Replies: 6
Views: 2298

Re: Index—sort order—"See also" references

I can't figure out a way to do what you want either. The closest I can get is to add "display:block;" to the span.SeeAlsoIndex element. This puts the "See also" text on a new line, but also means that the term you are linking to is on its own separate line. These spans (SeeAlsoIndex and ...
by robdocsmith
Tue Jul 19, 2022 2:43 pm
Forum: MadCap Lingo General Discussion
Topic: Lingo Lessons Learned? Tips?
Replies: 1
Views: 9146

Re: Lingo Lessons Learned? Tips?

All my Lingo issues stem from my company using an agency who were not familiar with Flare, let alone Lingo. They couldn't seem to understand the concept of XML and made the reimportation of translated segments a major problem. After going back and forth several times and getting no better response ...
by robdocsmith
Tue Jul 05, 2022 2:59 pm
Forum: Flare's General Discussion
Topic: Advise on scripting
Replies: 4
Views: 1619

Re: Advise on scripting

I've not tried this and this post is from 2014 so the issues reported may no longer apply, but the below post talks about addressing an image using a madcap variable instead of a direct src link.
https://forums.madcapsoftware.com/viewtopic.php?f=75&t=26687
At the time it didn't show properly in the ...
by robdocsmith
Thu May 26, 2022 4:44 pm
Forum: Printed Documentation Targets
Topic: Where is the DEFAULT value for mc-toc-depth stored?
Replies: 2
Views: 1127

Re: Where is the DEFAULT value for mc-toc-depth stored?

I'm guessing it's in the Madcap install folder. A quick search of files in C:\Program Files\MadCap Software\MadCap Flare 17\Flare.app\Resources\Schemas on my machine for mc-toc-depth finds a definition of 3 for mc-toc-depth. So unless otherwise overwritten in your CSS, that's what it's going to try ...
by robdocsmith
Wed May 25, 2022 2:47 pm
Forum: Flare's General Discussion
Topic: How to indent a block of text *without* using <p> tags?
Replies: 5
Views: 1931

Re: How to indent a block of text *without* using <p> tags?

Have you tried using the code snippet tool to highlight code? Insert -> Code Snippet and select the appropriate language. SQL is one of those. It will box your code example and handle the colour coding and preservation of indentation. See https://www.madcapsoftware.com/blog/madcap-flare-2020-new ...
by robdocsmith
Tue May 24, 2022 8:34 pm
Forum: Flare's General Discussion
Topic: How to indent a block of text *without* using <p> tags?
Replies: 5
Views: 1931

Re: How to indent a block of text *without* using <p> tags?

So... you'd like something like:

1. Do something
2. Do something else:
CASE[Select a Date Level]
WHEN 'Year' THEN DATENAME('year', [Order Date])
WHEN 'Quarter' THEN DATENAME('quarter', [Order Date])
WHEN 'Month' THEN DATENAME('month', [Order Date])
END
3. Then go make a cup of tea.

My code ...
by robdocsmith
Tue May 24, 2022 6:29 pm
Forum: Flare's General Discussion
Topic: How to indent a block of text *without* using <p> tags?
Replies: 5
Views: 1931

Re: How to indent a block of text *without* using <p> tags?

Hard to tell from the info you've given. There are many ways to format code examples.
What are defined in the classes of DIV and SPAN you've listed? I'm not sure about your reference to LI tags. Is this example nested inside a bulleted list?

A PRE tag will use a fixed width font and preserve spaces ...
by robdocsmith
Wed May 04, 2022 2:48 pm
Forum: Flare's General Discussion
Topic: Moving the Primary Page Lout
Replies: 2
Views: 917

Re: Moving the Primary Page Lout

The drag and drop in Flare works well I've found, fixing links as it goes. The worst that would happen is when a target gets built you'd get an error stating the page layout was missing. If you get that, update the target to point to the right one and you're golden.

Cheers,

Rob
by robdocsmith
Mon May 02, 2022 10:13 pm
Forum: Flare's General Discussion
Topic: Speed issues - should I upgrade
Replies: 10
Views: 3150

Re: Speed issues - should I upgrade

Just wondering if you are working on a network drive? I used to find slow performance whenever Flare had to build because of the network speed and the framework Flare uses. I changed to working from a local copy and that resolved my speed issues. I don't think network issues are as bad as they used ...
by robdocsmith
Mon Apr 25, 2022 3:19 pm
Forum: Styles, Stylesheets and XML
Topic: DIV style font color
Replies: 5
Views: 3631

Re: DIV style font color

Without seeing what's in your code and css it can be hard to diagnose.

As an alternative (and CSS/Flare is usually full of alternatives), could you change your "example" class to be generic and then be able to apply it either to a paragraph singly or the div as a group? So:
.example {
font colour ...
by robdocsmith
Tue Apr 19, 2022 3:45 pm
Forum: Styles, Stylesheets and XML
Topic: Every heading starts a new page in PDF output
Replies: 1
Views: 1184

Re: Every heading starts a new page in PDF output

Without knowing more about your project, it's hard to pinpoint what might cause it... Here's some things off the top of my head:

If your content is split into separate htm files split by heading, there could be page breaks in the FLTOC file. Check the properties on each TOC entry and in the ...
by robdocsmith
Tue Apr 19, 2022 3:31 pm
Forum: Printed Documentation Targets
Topic: Cross-refs not behaving in print
Replies: 2
Views: 1021

Re: Cross-refs not behaving in print

Hi,

What is in the MadCap|xref style in your stylesheet for your print media?

I have two set up as follows:
MadCap|xref
{
mc-format: '{para} on page {page}';
}
MadCap|xref.ParaOnly
{
mc-format: '{para}';
}

And then to use them I just make sure the appropriate class is applied to the xref:
<p ...
by robdocsmith
Tue Apr 19, 2022 2:37 pm
Forum: Printed Documentation Targets
Topic: Don't want heading in TOC but have to apply heading level
Replies: 2
Views: 962

Re: Don't want heading in TOC but have to apply heading leve

Can you link your cross reference to a bookmark on a page instead of a heading? That way the bookmark will be collected by the cross reference and no extra TOC headings. I do that when I want a link to point to something further down a page than the very top.

Cheers,
Rob
by robdocsmith
Mon Apr 04, 2022 10:58 pm
Forum: Web-based Outputs
Topic: Change version dropdown on each topic
Replies: 1
Views: 860

Re: Change version dropdown on each topic

I don't think there's a native solution in Flare.

However, that's a neat little Javascript on the Python site. If you look at the source for the page you can see a reference at the bottom of the source to the script https://docs.python.org/3.10/_static/switchers.js. I'd be borrowing the idea and ...
by robdocsmith
Mon Apr 04, 2022 7:33 pm
Forum: Styles, Stylesheets and XML
Topic: Applying Bullet style produces strange HTML
Replies: 2
Views: 1524

Re: Applying Bullet style produces strange HTML

Well... Setting aside the obvious question as to why you'd use a paragraph to represent a bullet in such a convoluted way...

The autonum declaration is trying to put the following before your link:
<span style="color: Black;" class="mcFormatColor"> <span style="font-family: 'Wingdings';" class ...
by robdocsmith
Thu Mar 24, 2022 3:11 pm
Forum: Printed Documentation Targets
Topic: Sequential Multi-level Chapter Numbers in hanging indents
Replies: 2
Views: 1619

Re: Sequential Multi-level Chapter Numbers in hanging indent

I'm not sure I understand why you're using OL and LI elements to produce headings. I can see it would create issues because by default lists are nested inside each other and the indents will be as you've demonstrated. Each sub list will be more indented than the parent. You can change that with ...
by robdocsmith
Sun Mar 20, 2022 2:42 pm
Forum: Styles, Stylesheets and XML
Topic: Images in Table does not work
Replies: 2
Views: 974

Re: Images in Table does not work

If that ruler on the top of the page is in cm, the image is appearing to be 80mm width. The column seems to be only just less than 60mm wide so can't display it within the column.
As to why the column isn't 80mm... check the rest of the table column definitions. If a table hasn't all columns with ...
by robdocsmith
Thu Mar 17, 2022 2:40 pm
Forum: Flare's General Discussion
Topic: How are tab characters displayed in Flare?
Replies: 4
Views: 2001

Re: How are tab characters displayed in Flare?

Well you learn a new thing every day! Thanks Dave. I may have to reassess how I do some of my styling now :D

Rob
by robdocsmith
Wed Mar 16, 2022 2:36 pm
Forum: Flare's General Discussion
Topic: How are tab characters displayed in Flare?
Replies: 4
Views: 2001

Re: How are tab characters displayed in Flare?

You're right in that the HTML/XML that Flare uses for topics doesn't support tab stops.

What do you need to do with tabs?

I've always been able to find alternate ways to simulate tabs and indents. Either using margins or padding, floats, or in cases of producing a form for a PDF, a table with no ...
by robdocsmith
Mon Mar 14, 2022 6:21 pm
Forum: Web-based Outputs
Topic: Help with proxies and organising content on my master page
Replies: 2
Views: 953

Re: Help with proxies and organising content on my master pa

I suspect it's something to do with the width of your survey content. I find the same whenever I have a div or table that attempts to use 100% width on a page with a menu proxy sidebar floated to the right, the content is placed below the bottom edge of the sidebar. By default block elements will be ...
by robdocsmith
Mon Mar 14, 2022 3:28 pm
Forum: Styles, Stylesheets and XML
Topic: Problems styling the first p of first li of a ul
Replies: 3
Views: 2026

Re: Problems styling the first p of first li of a ul

To highlight the first para of the first list item in an unordered list:

ul li:nth-child(1) p:nth-child(1) { YOUR CODE }

Replacing both nth-child(1) references to first-child didn't work for me.

To highlight all paras of the first list item in an unordered list:

ul li:first-child { YOUR CODE ...
by robdocsmith
Sun Mar 13, 2022 2:50 pm
Forum: MadCap Lingo General Discussion
Topic: Segmentation Rules to isolate bold text?
Replies: 3
Views: 25405

Re: Segmentation Rules to isolate bold text?

Don't know if this is the 'right' way to do it, but I mark all my UI terms in a span with the class "UIElement". Then advise the TX team to not translate text in those spans. In my CSS they are defined as bold text (making it easy if I decide to change from bold to a colour or something else).

Rob