Search found 86 matches

by nielsf
Thu Jan 26, 2017 1:37 am
Forum: Flare's General Discussion
Topic: Styling equations in Flare 12
Replies: 6
Views: 4139

Re: Styling equations in Flare 12

Are you using MathML or LaTeX?
by nielsf
Tue Jan 10, 2017 4:13 am
Forum: Tips and Tricks
Topic: How to add conditions to scripts in masterpages
Replies: 7
Views: 7972

Re: How to add conditions to scripts in masterpages

So here's how I solved this old problem. We use Piwik, but it might as well be Google Analytics.
We want to get statistics from three sites. Each site needs a separate Piwik code.
So I created three snippets, each with a complete Piwik script in it, but with different Piwik codes.
I tagged the ...
by nielsf
Thu Jan 05, 2017 6:04 am
Forum: Flare's General Discussion
Topic: Auto Suggestion for variables doesn't work
Replies: 3
Views: 2669

Re: Auto Suggestion for variables doesn't work

Hi,
In my case, variable insertion does not work when I use the word "the" before the variable. That is because Flare autosuggests a snippet starting with "The" (which quite often happens). So when I want to write "You can use the [Productname] to...", then the "the" blocks Flare from suggestion the ...
by nielsf
Wed Dec 28, 2016 6:59 am
Forum: Flare's General Discussion
Topic: How do I show a favicon in browser tab of help output?
Replies: 3
Views: 2920

Re: How do I show a favicon in browser tab of help output?

This is set in the master page. Add something like this:

Code: Select all

<link rel="shortcut icon" href="../Images/favicon.png" type="image/png" />
in the <head> section of the master page(s), add the image to the specified folder, and publish. It should work...
-Niels
by nielsf
Wed Dec 28, 2016 6:53 am
Forum: Flare's General Discussion
Topic: Post build event not copying file
Replies: 2
Views: 2376

Re: Post build event not copying file

You shouldn't have to rename the source folder. I had a similar issue:
copy $(ProjectDirectory)Content\A_Introduction_Topics\Not_available.htm $(OutputDirectory)\Content\A_Introduction_Topics
didn't work for me until I added quotes:
copy "$(ProjectDirectory)Content\A_Introduction_Topics\Not ...
by nielsf
Thu Dec 08, 2016 4:32 am
Forum: Styles, Stylesheets and XML
Topic: p.Bullet style inside (nested?) a p.Tip style
Replies: 4
Views: 2551

Re: p.Bullet style inside (nested?) a p.Tip style

Thanks, Nita, for this!
I personally strongly dislike this new behavior in part for the exact reason you state, all those extra empty paragraphs.
I will give in a "feature request" (if you can call it that) to remove that unfortunate side effect.
The problem is accentuated by Flare adding the ...
by nielsf
Wed Dec 07, 2016 5:41 am
Forum: Styles, Stylesheets and XML
Topic: p.Bullet style inside (nested?) a p.Tip style
Replies: 4
Views: 2551

Re: p.Bullet style inside (nested?) a p.Tip style

@Nita: You wrote:
If you use Flare 12 and output to Word, Flare will turn the div into a one-celled table that has the background and border.
I just discovered that. That is not very nice of Flare. I've got a lot of constructs like this one:
<div class="rnote">
<p><i>TEXT:</i> TEXT</p>
<p ...
by nielsf
Fri Oct 21, 2016 1:23 am
Forum: Web-based Outputs
Topic: Search Input Failing Expectations
Replies: 2
Views: 1417

Re: Search Input Failing Expectations

For completion - if you want to use the original placeholder instead of a fixed text:
<script>
var s = $( ".search-field" );
var p = s.attr("placeholder");
s.focus(function() {
s.attr("placeholder", "");
});

s.blur(function() {
s.attr("placeholder", p);
});
</script>
The "p" variable ...
by nielsf
Fri Oct 21, 2016 1:18 am
Forum: Web-based Outputs
Topic: Search Input Failing Expectations
Replies: 2
Views: 1417

Re: Search Input Failing Expectations

It's a matter of taste. Different web sites do this differently. Some retain the "Search" text or icon until users start typing - I suppose as a service to those who might forget what the field is for between the time they click it and start typing... Others clear the box immediately. So the easy ...
by nielsf
Tue Oct 04, 2016 3:55 am
Forum: Flare's General Discussion
Topic: No width optional break?
Replies: 5
Views: 2272

Re: No width optional break?

Doesn't work for me:

This is in a table cell:
Udbetalingssystem.Summer.Kørsler .BehandlingAfStatsafgiftsindberetningssvar
Note the space in front of ".Behandling..." - that's the zero space. Then why does it not wrap there..?
I copied the text above from the generated PDF. In actual fact, the PDF ...
by nielsf
Tue Jun 14, 2016 3:47 am
Forum: Flare's General Discussion
Topic: Conditions yet again
Replies: 1
Views: 1108

Conditions yet again

So I've got this scenario:
Two condition tags: "Print only" and "Intro-Exclude".
For one target, I want to publish both conditions.
For another target, I want to exclude the Intro-Exclude condition.
However, a text may be marked with both conditions:
<p MadCap:conditions="General.Print only ...
by nielsf
Tue May 10, 2016 1:30 am
Forum: Flare's General Discussion
Topic: Make Search result jump to list entry
Replies: 5
Views: 2502

Re: Make Search result jump to list entry

I've made our list of error codes into a "shrinking table" with its own search field with a bit of javascript- the table shrinks as you type stuff into the search field.
Turned out pretty nice, actually.
Feel free to contact me if you want to go that way.

-Niels
by nielsf
Tue May 10, 2016 1:24 am
Forum: Flare's General Discussion
Topic: Bibliography
Replies: 2
Views: 1995

Bibliography

Hi,
Does any of you have any clever ideas for creating a bibliography - a project-wide list of textual references?
Something tells me "Gloassary" - but has anyone used a glossary in this way?
Thanks,
Niels
by nielsf
Mon Mar 21, 2016 7:16 am
Forum: Mimic's General Discussion
Topic: Running Mimic 7 on Windows 10
Replies: 4
Views: 28879

Re: Running Mimic 7 on Windows 10

Erm, now running Mimic 8 on Windows 10.

I upgraded to Windows 10. Repairing the installation of "Windows Media Encoder 9 Series" from Programs & Features seems to have done the trick.
by nielsf
Thu Mar 10, 2016 7:24 am
Forum: Flare's General Discussion
Topic: Is there a way to filter a table by table headers
Replies: 8
Views: 6852

Re: Is there a way to filter a table by table headers

Very nice indeed!
I never got it to Datatables work due to conflicts with require.js and whatnot, so I wrote my own javascript table filter (sorting was not required). I found it easier to write my own than to work out how to get around require.js. :roll:
-Niels
by nielsf
Thu Jan 28, 2016 3:27 am
Forum: Printed Documentation Targets
Topic: Is Javascript executed when pubilshing to PDF?
Replies: 10
Views: 7536

Re: Is Javascript executed when pubilshing to PDF?

@Lilshieste: I'll talk to my boos and the developer, and get back to you! :)

-Niels
by nielsf
Wed Jan 20, 2016 2:17 am
Forum: Flare's General Discussion
Topic: Adding Bookmark Links at the Top of a Glossary Page
Replies: 3
Views: 1246

Re: Adding Bookmark Links at the Top of a Glossary Page

Hi,

If you're talking about Web output, you can do something similar to this (which was made for the index):
viewtopic.php?f=9&t=21421

-Niels
by nielsf
Wed Dec 09, 2015 4:22 am
Forum: Web-based Outputs
Topic: Mouse over changes colour of text
Replies: 6
Views: 3495

Re: Mouse over changes colour of text

Thanks for the solution. Adding
@namespace MadCap url('localhost');
to the style sheet did it for me. However, my Flare editing space, which uses the same style sheet, is now broken because Flare barfs on the @namespace command. :x
And I can't include it in an imported style sheet because that ...
by nielsf
Tue Nov 17, 2015 5:25 am
Forum: Flare's General Discussion
Topic: Is there a way to disable the CSS parser?
Replies: 5
Views: 2010

Re: Is there a way to disable the CSS parser?

Just to add one important thing:
Seems that the browser, after encountering the invalid text string in the CSS, actually skips the FIRST otherwise valid CSS after that.
So I have now added
html {}
on the first line after the text string mentioned. The browser (at least IE and Chrome) skips that ...
by nielsf
Tue Nov 17, 2015 2:22 am
Forum: Flare's General Discussion
Topic: Is there a way to disable the CSS parser?
Replies: 5
Views: 2010

Re: Is there a way to disable the CSS parser?

Hi,
I've found a way to keep Flare from messing up my stylesheets. My problem was not just with error messages, but Flare actually mangled my css. For instance,
.rnum tr:not(.pdftype) td:nth-child(2) {
font-weight: 600;
}
-became
.rnum tr:not(\00002Epdftype) td:nth-child(2)
{
font-weight: 600 ...
by nielsf
Tue Nov 03, 2015 4:52 am
Forum: Web-based Outputs
Topic: ApplicationHelp.js causing conflict with AngularJS
Replies: 7
Views: 4493

Re: ApplicationHelp.js causing conflict with AngularJS

Fabulous! Can't wait to try it out! (Tomorrow I'm going to a Frame conference, MadUsers, just north of Copenhagen, so I'll have to wait til Thursday...).

I'll post my results here.
Thanks!
by nielsf
Tue Nov 03, 2015 1:54 am
Forum: Web-based Outputs
Topic: ApplicationHelp.js causing conflict with AngularJS
Replies: 7
Views: 4493

Re: ApplicationHelp.js causing conflict with AngularJS

Dave, I am having trouble with exactly that - getting datatables to Work in Frame 11, top nav.
Actually, my problem with Require.js came when I tried to implement list.js.
Anyway, I am very, very interested in learning how you got datatables to work, and how you configure Require.js!

Thanks!

(I ...
by nielsf
Wed Oct 14, 2015 3:36 am
Forum: Flare's General Discussion
Topic: How Can I Output Changed Paragraphs In A Flare Project?
Replies: 3
Views: 1423

Re: How Can I Output Changed Paragraphs In A Flare Project?

As I understand it, your question is, "Can I exclude un-conditional text from my output?"
I'm afraid the answer to that is no! :(
Perhaps you can do some post-processing with a Word macro that removes everything that is NOT styled in a certain way.
by nielsf
Wed Oct 14, 2015 3:27 am
Forum: Flare's General Discussion
Topic: Text Boxes and Check Boxes
Replies: 1
Views: 909

Re: Text Boxes and Check Boxes

Hi,
The Insert Text Box function just lists the divs in your stylesheet, and lets you insert them and format them further.
It does not insert an <input type='text'> kind of text box. Sorry!
-Niels
by nielsf
Tue Oct 13, 2015 1:45 am
Forum: Web-based Outputs
Topic: Simple solution to annoying problem
Replies: 1
Views: 993

Re: Simple solution to annoying problem

Better still: Use

Code: Select all

	display: table-cell;
	display: -webkit-box;
-then IE will pick up table-cell, and the others will pick up -webkit-box (which is better). Table-cell adapts to the width of the content, looking "funny" when the content is short; -webkit-box spreads as far as it can.