Copy link to clipboard
Copied
2nd try... the original message I posted was marked as spam for some reason. If you see this message twice I apologize.
RH14.0.9
I'm trying to create a pdf output that looks something like the first reply to this post.
I'm running into the following problems:
I could generate to Word to solve many of these problems, but then the numbered section references (see 12.3) would still need to be added manually afterwards, I think? Which is just not an option.
Any post scripting that could solve this, or any other solutions (or pointers to them) very much appreciated.
Finally your post has appeared on the forum and with a Reply box that works. I am sorry you have had so much trouble, the reasons are being looked into.
The first thing I would say is forget any ideas of doing this direct to PDF, there just isn't enough control.
Although not essential to the outcome, if your content folders are broadly similar to the outputs, I would prefix the folders and maybe the topics with numbers. That way the Contents panel will be sorted into the same order as the ou
...Hi Erwin,
as for the chapter name reference in the header: you could create a masterpage for your PDF output and use the variable "Title" in the header part. Then, in your PDF, the header shows the title of the current chapter (topic title).
Regarding your other issues, just an idea more based on my experience with previous RH versions: as Peter already said, I would recommend to use the Word output, because it offers a lot more control. In Word, you could then add the chapter numbering, create a
...Copy link to clipboard
Copied
Copy link to clipboard
Copied
Finally your post has appeared on the forum and with a Reply box that works. I am sorry you have had so much trouble, the reasons are being looked into.
The first thing I would say is forget any ideas of doing this direct to PDF, there just isn't enough control.
Although not essential to the outcome, if your content folders are broadly similar to the outputs, I would prefix the folders and maybe the topics with numbers. That way the Contents panel will be sorted into the same order as the outputs, just makes life easier.
You can set up a CSS to apply numbering within a topic but not running across other topics without a little intervention. You add something to each topic that forces the first number in that topic to be what you want and then other instances of that style will flow from the number you set. It's described in a sample project I have attached. See the Method topic. That would also allow you to have numbers for print but not online if that is a requirement.
There is a relatively easy way to get your chapter numbering. Create a separate TOC for your print presets, it can be a duplicate of an existing TOC to avoid having to create it again or you could auto-create it. Just go to each book and prefix it with a manually entered chapter number. Topics will still show their Topic Title (Not topic heading) so they will not have numbering. The order of them would be what you set in the Print preset so would it be an issue they are not numbered within the chapter?
You also wanted cross references to include the numbering. I don't have a ready solution for that but I do if page numbers would be acceptable and I am thinking that would be better anyway. For anyone online, it doesn't matter as the link would take them so the section or page is not needed. For print users accessing hard copy page numbers are more specific. On my site is a Word macro adds the page number to the links in the Word output.
There is one other idea that might be worth a try. Map you print output to a Word template where the styles have numbering set up already. Not sure how that would work across topics but I have a hunch it might.
Copy link to clipboard
Copied
Hi Erwin,
as for the chapter name reference in the header: you could create a masterpage for your PDF output and use the variable "Title" in the header part. Then, in your PDF, the header shows the title of the current chapter (topic title).
Regarding your other issues, just an idea more based on my experience with previous RH versions: as Peter already said, I would recommend to use the Word output, because it offers a lot more control. In Word, you could then add the chapter numbering, create a styled TOC, use paragraph control to not have headers or images alone on a page etc. Depending on your wishes, this is quite a lot of work every time, but you could use the Dev tools in Word to record a macro with all the adjustments you are making. Then, after you have done your adjustments once, you will only have to run the macro and check the result.
Regards
Karin
Copy link to clipboard
Copied
Exporting to Word probably works, I have used that some years ago with RH 10, where I mapped RH styles to Word styles, which worked perfectly at the time.
Currently I have some problems with exporting to Word, for one each style that isn't already in the Word template but is copied from RH gets a font size of 10x the original size, so I ended up with 110-pt fonts and 5,000-page documents 🙂
Also, I would like to get everything I can out of the direct-to-pdf output before switching to Word, because it's just so much easier to hit Generate and be done with it. So I've accepted the limitations of direct pointers in print for now.
But When I do switch to Word (and I will at some point, if nothing else just for the fun of it), I will certainly be trying out the macro that generates page numbers. I will let you know how that goes.
Copy link to clipboard
Copied
Each style that isn't already in the Word template but is copied from RH gets a font size of 10x the original size, so I ended up with 110-pt fonts and 5,000-page documents
I haven't encountered that or seen anyone else report it. Can you recreate that in a new project with just one or two topics? If you can, then see the Contact page on my site and send the project as instructed there. Do make sure you include a link to this thread and please do not email the project direct.
Copy link to clipboard
Copied
Regarding the font size issue: Erwin, are you using German Locale settings on your computer? Then check your css for any font sizes like 24.0pt and change the . (dot) into , (comma) or simply remove it. Or, on your computer. go to
System control – Region/Locales – Further settings
There, change the Decimal separator to ‘.’ (it should be , in your case) and change the symbol for number grouping to ‘,’ (should be . in your case)
This should resolve the issue.
Copy link to clipboard
Copied
Karin
Has that been reported or is it a general Windows issue?
Copy link to clipboard
Copied
My css does contain dots, and my system does use commas as decimal points, so I'll give that a try. However, the dots in my CSS transfer to my browser and the pdf generator just fine, so these don't seem to be affected by the locale setting, just the Word output.
Copy link to clipboard
Copied
Peter, I have not reported this as a bug. I can, though.
Erwin, I can confirm that the dots in the css do not affect PDF output, only Word and Libre Office. I don't know what the difference in processing is.
Copy link to clipboard
Copied
Karin, changing the locale decimal separator from comma to point indeed did the trick. I also tried replacing the dots in my CSS file to commas to see what that did. I can give you one advice for that route though: don't 🙂
The reason why it doesn't work with Word might be because Word uses the local decimal separator in the font settings (and any other dialog) as well. So it wanted me to enter 11,5 points instead of 11.5 points. Could be that RH just puts the dot in the font setting as-is and Word then ignores the dot completely.
Copy link to clipboard
Copied
Hi Peter,
I had the same question as Erwin wrt Chapter and Section numbering. You mentioned in this thread you had a sample project attached. I don't see the sample project in this thread. Can you please resend the attachment. Here is a screenshot of what I'm trying to achieve. I am able to get Heading Level 1. but in Heading level 2, I'm seeing either 1.1 or A.A etc. How do I get a heading level A.1?
Copy link to clipboard
Copied
For some reason my screenshot failed to appear in my post. Attaching it here once again.
Copy link to clipboard
Copied
You will need to email me for that. See the Contact page on my site.
Copy link to clipboard
Copied
I have the same problem with new 2020 RH. If I understand correctly RH can not work with multilevel header numbering correctly...
Copy link to clipboard
Copied
@Andrei5FCB Absolutely wrong. I suggest you start a new thread and state specifically the issue you are having. Include your version as shown in the help menu.
________________________________________________________
See www.grainge.org for free Authoring and RoboHelp Information
Copy link to clipboard
Copied
Actually, I have already had one. https://community.adobe.com/t5/robohelp/multilevel-header-numbering/m-p/11939300#M137199
I just would like to create a document with automatic header numbering. This task takes about 5 minutes in Word, but I would like to have the whole process in RH.
Copy link to clipboard
Copied
@Andrei5FCB I have hopefully answered your question in the other thread.
________________________________________________________
See www.grainge.org for free Authoring and RoboHelp Information