Search found 329 matches
- Sun Dec 03, 2017 4:57 pm
- Forum: Flare's General Discussion
- Topic: header file from js?
- Replies: 2
- Views: 1379
Re: header file from js?
The h file is pretty basic, with #define, space, text identifier, space then numeric/hex value. I imagine Flare only knows this format when adding an existing file, so you'll need to manipulate the .js file (perhaps using regex in a text editor like Notepad++) to the proper header format before addi...
- Sun Dec 03, 2017 4:48 pm
- Forum: Flare's General Discussion
- Topic: CSH call from C++ # = %23
- Replies: 2
- Views: 1720
Re: CSH call from C++ # = %23
Have a look at this post:
https://stackoverflow.com/questions/263 ... -file-urls
https://stackoverflow.com/questions/263 ... -file-urls
- Mon Oct 16, 2017 4:19 pm
- Forum: Styles, Stylesheets and XML
- Topic: Change table body row to table header row?
- Replies: 6
- Views: 3587
Re: Change table body row to table header row?
In addition to <td> becoming <th>, the row <tr> also needs to appear in a separate <thead> (hopefully that makes sense!) Something like: <thead> <tr> <th>Heading</th> <th>Heading</th> <th>Heading</th> </tr> </thead> <tbody> <tr> <td>Body</td> <td>Body</td> <td>Body</td> </tr>... Unfortunately the on...
- Tue Oct 03, 2017 5:24 pm
- Forum: Flare's General Discussion
- Topic: How to publish "new and changed" pages list?
- Replies: 2
- Views: 1445
Re: How to publish "new and changed" pages list?
I don't believe Flare has any feature like this. Are you using source control? If so then you could do a report of all commits since a certain date/revision, focusing on *.htm files changed or added. Note that Flare can make a change to the XML under the hood so a commit may not be an actual content...
- Mon Sep 25, 2017 12:08 pm
- Forum: Source Control
- Topic: Source control for Resources/Images
- Replies: 2
- Views: 2181
Re: Source control for Resources/Images
They have a reasonable point, Git is not made for storing binaries. From what I understand each time a change is made to an image then it is pretty much duplicated in the repository rather than just the differences as with text-based files. In saying that the images are an important part of the soft...
- Tue Aug 22, 2017 2:04 pm
- Forum: Web-based Outputs
- Topic: Canonical Tag
- Replies: 7
- Views: 4963
Re: Canonical Tag
Nice solution. An alternative to search on replace via SSH on the server is to run a post build command in Flare that calls a Powershell script that does the search and replace. This means it will happen automatically on build, and is available to check locally before upload.
- Tue Jul 18, 2017 2:25 pm
- Forum: Flare's General Discussion
- Topic: Changing the CSS used in the XML Editor
- Replies: 4
- Views: 2260
Re: Changing the CSS used in the XML Editor
Are you looking at Layout(Print Layout) in the XML editor? This should show how it will look in the PDF and may make it look better. If there is a big discrepancy between how that looks and the final PDF, then I think you have a CSS problem (perhaps using complex selectors or other fancy CSS tricker...
- Mon Jul 17, 2017 7:54 pm
- Forum: Flare's General Discussion
- Topic: Adding hyperlinks to glossary items
- Replies: 4
- Views: 2720
Re: Adding hyperlinks to glossary items
If you want rich text in glossary items (including links) and other fancy things like images, then you can use a topic as the glossary definition and then link to it in your glossary file. The end result is not much different - they still appear as popups when clicked. From memory they appear as a l...
- Wed Jul 12, 2017 9:41 pm
- Forum: Flare's General Discussion
- Topic: Bulk update for topic titles?
- Replies: 6
- Views: 2800
Re: Bulk update for topic titles?
If you use H1 to H6 in the topic, and are happy to use that for the topic title, then use Search and Replace / Find in source code / Regular Expressions to remove all topics titles for your project.
Flare will then use the heading in the topic to auto-populate the title in the generated help.
Flare will then use the heading in the topic to auto-populate the title in the generated help.
- Wed Jul 12, 2017 7:41 pm
- Forum: Flare's General Discussion
- Topic: Find and Replace in Source Code - Wildcards
- Replies: 5
- Views: 2596
Re: Find and Replace in Source Code - Wildcards
Note the above removes the width, if you want to put a different width in there, replace becomes something like:
Code: Select all
<table\1width:100%;\2>
- Wed Jul 12, 2017 7:33 pm
- Forum: Flare's General Discussion
- Topic: Find and Replace in Source Code - Wildcards
- Replies: 5
- Views: 2596
Re: Find and Replace in Source Code - Wildcards
If the above doesn't work, the following wildcard search should do it:
Search:
Replace:
Make sure you backup your files before replacing all.
Search:
Code: Select all
<table(.*?)width:[ 0-9]+px;(.*?)>
Code: Select all
<table\1\2>
- Wed Jul 05, 2017 2:50 pm
- Forum: Getting Started and Installation Issues
- Topic: Flare, store Knowledge Base articles in an SQL Database
- Replies: 6
- Views: 6592
Re: Flare, store Knowledge Base articles in an SQL Database
It may be best to look at a plugin within the Flare editor that saves/copies/synchronizes the XHTML from a topic to your SQL database and/or back again? Or some kind of integration between source control supported in Flare like GIT or SVN and the database. That way the Flare output is separate and c...
- Thu Jun 29, 2017 4:08 pm
- Forum: Flare's General Discussion
- Topic: Need help creating a post-build command
- Replies: 6
- Views: 4850
Re: Need help creating a post-build command
You are right about needing the initial quotes, sorry about that. I am guessing one or more PHP files has a reserved character in the filepath. Try using -literalPath param( [string]$filePath ) $filePath $phpFiles = (Get-ChildItem $filePath -Filter *.php) for ($i=0; $i -lt $phpFiles.Count; $i++) { (...
- Thu Jun 29, 2017 3:04 pm
- Forum: Flare's General Discussion
- Topic: Need help creating a post-build command
- Replies: 6
- Views: 4850
Re: Need help creating a post-build command
Probably easiest using Powershell. This is similar to the approach we use and should loop through PHP files searching and replacing the text you want. post_publish_script.cmd and post_publish_script.ps1 are in the high level directory next to your project file. Build Command in Flare: $(ProjectDirec...
- Mon Jun 19, 2017 2:53 pm
- Forum: Web-based Outputs
- Topic: Integrated site and project search
- Replies: 2
- Views: 2204
Re: Integrated site and project search
The easiest solution is a search box in the app that captures the text input and sends it to the help system's search page in a new tab. Perhaps by default the search box searches the site, and there is an adjacent checkbox that says "Search Help" or similar. This won't be integrated with ...
- Sun Jun 18, 2017 9:07 pm
- Forum: Flare's General Discussion
- Topic: File Name In Post Build Events?
- Replies: 2
- Views: 1853
Re: File Name In Post Build Events?
Pass the output directory to your script in the build event in Flare, e.g. "post_publish_script.bat" "$(OutputDirectory)" Then use %1 in your .bat file to grab the name of the file, e.g if it's a PDF: for %%F in ("%1\*.pdf") do ( set "NAME=%%~nF" ) echo %name%...
- Sun Jun 18, 2017 8:46 pm
- Forum: Microsoft CHM Help
- Topic: Togglers - Expand and Collapse controls
- Replies: 3
- Views: 3066
Re: Togglers - Expand and Collapse controls
I assume you're using a topic toolbar in HTML help? Go to the skin (e.g. Default.flskn). Using the 'Styles' accordion, navigate to Toolbar Item . Find the entries for Expand All and Collapse All . Set the three ...Icon properties to None. Enter the text you want in Label . Save and rebuild.
- Tue Jun 13, 2017 6:00 pm
- Forum: Flare's General Discussion
- Topic: How to format a TOC in an online topic - HELP?
- Replies: 5
- Views: 3231
Re: How to format a TOC in an online topic - HELP?
I just replied to another similar post. You should be able to control you TOC styles using
td.GenTOCText1
td.GenTOCText2
td.GenTOCText3
td.GenTOCText1
td.GenTOCText2
td.GenTOCText3
- Tue Jun 13, 2017 5:57 pm
- Forum: Printed Documentation Targets
- Topic: Printed Mini-TOC - Bulleted List
- Replies: 2
- Views: 1755
Re: Printed Mini-TOC - Bulleted List
I believe you are looking for the class td.GenTOCText3
However applying your styles to that may push your page numbers to the next line. I think you are better off with something like this:
However applying your styles to that may push your page numbers to the next line. I think you are better off with something like this:
Code: Select all
td.GenTOCText3:before {
content:"• ";
}
- Tue Jun 13, 2017 5:06 pm
- Forum: Web-based Outputs
- Topic: Creating Context Sensitive Help?
- Replies: 1
- Views: 1249
Re: Creating Context Sensitive Help?
Add an Alias and header file in Flare (Project Advanced). Add a new identifier to the Alias file. Give it the Identifier you currently use, e.g. MySettingsEditPreferences, let Flare assign the Value, and assign the topic you want to link it to. The developer then uses JavaScript or a URL to open the...
- Tue Jun 13, 2017 4:44 pm
- Forum: Styles, Stylesheets and XML
- Topic: advice for working with a web designer
- Replies: 8
- Views: 4607
Re: advice for working with a web designer
Great question - I guess it depends on what the UI designer is tasked with. If it just the styles within topics then you can probably hand over the stylesheet and have them work with that. They won't be familiar with the propriety MadCap styles though (e.g. xrefs, miniTOC, breadcrumbs, popups, auton...
- Sun Jun 11, 2017 4:19 pm
- Forum: Flare's General Discussion
- Topic: Queue order for Batch Targets
- Replies: 2
- Views: 1890
Re: Queue order for Batch Targets
I was wondering if anyone know how the queue is ordered when you use a batch target? I suspect it is the order within the file itself (which may not reflect the UI). Try right clicking the batch target | Open With | Internal text editor. Then cut and paste the entire <target ... > tag to the end. (...
- Tue Jun 06, 2017 3:46 pm
- Forum: Styles, Stylesheets and XML
- Topic: Cross Reference in Table
- Replies: 3
- Views: 2015
Re: Cross Reference in Table
Cross references are in your stylesheet under MadCap|xref or MadCap|xref.[name] My guess is either you have padding or margins set in there - or you have padding or margin set on another style that is not cascading down to the xref style. Either way, tweaking the xref style should fix it: MadCap|xre...
- Wed May 31, 2017 4:01 pm
- Forum: Web-based Outputs
- Topic: Identifier question
- Replies: 4
- Views: 2528
Re: Identifier question
Not when viewing topics in the output via search or navigation, the URL will reference the topic name plus some other things (e.g. TOC identifier or search highlight info).
The ID is used (and can become part of the URL) when calling a topic. E.g.
http://yourserver/Help/Default_CSH.htm#6414
The ID is used (and can become part of the URL) when calling a topic. E.g.
http://yourserver/Help/Default_CSH.htm#6414
- Mon May 29, 2017 4:24 pm
- Forum: Importing
- Topic: Handling of cross-references when importing from Word
- Replies: 2
- Views: 2010
Re: Handling of cross-references when importing from Word
Unfortunately that's how xrefs work, if they include {paratext} then it will have the entire heading (or paragraph) text. You have a few options, but this will require fixing in Word pre-import or in Flare afterwards (search and replace may help) Use hyperlinks - where you can define the text as you...