Difficulty in applying paragraph tags in FM9
Ok, i create a new tag from Heading1 and type some text and go to paragraph catalog and click in the new tag--no problem--text is changed. Now i go down to some other text and using the paragraph catalog and select it and the text does not change . Why not? What's going on? Thanks.
If I understand you correctly, I've seen similar behavior on rare
occasions. Selecting the whole paragraph and clicking on default font in
the character catalog got things working again, so that clicking in the
paragraph catalog would change the paragraph tag. I'm not sure why this
happened. Perhaps there was a character tag accidentally assigned to the
whole paragraph that was acting as an override and kept the new
paragraph tag from working.
Also be sure you have all four FM9 updates installed.
Similar Messages
-
Keyboard shortcut to apply paragraph tag
I'm experienced with FrameMaker 8, but just starting to get used to FrameMaker 9. A keyboard shortcut I use constantly in FrameMaker 8 is Ctrl-9, type the first letter of the paragraph tag and hit Enter. If there is more than one tag starting with the same letter, I just keep hitting that letter until the tag I want appears. For example if there's a Heading1 and a Heading2, I type 'h' two times to get Heading2. With FrameMaker 9, it seems that I have to type the whole word 'Heading2' before hitting Enter.
Frustrating when favorite shortcuts are messed up. Is there any way to get my old shortcut back? Is there a fast way to apply paragraph tags in FrameMaker 9?jay fresno wrote:
I'm experienced with FrameMaker 8, but just starting to get used to FrameMaker 9. A keyboard shortcut I use constantly in FrameMaker 8 is Ctrl-9, type the first letter of the paragraph tag and hit Enter. If there is more than one tag starting with the same letter, I just keep hitting that letter until the tag I want appears. For example if there's a Heading1 and a Heading2, I type 'h' two times to get Heading2. With FrameMaker 9, it seems that I have to type the whole word 'Heading2' before hitting Enter.
Frustrating when favorite shortcuts are messed up. Is there any way to get my old shortcut back? Is there a fast way to apply paragraph tags in FrameMaker 9?
Type Down Arrow after selecting the first of similar format names. For example, Ctrl+9 H DnArrow moves to Heading2, or whatever is the second format that begins with "H".
Consider using format names that have fewer identical leading characters. For example:
1H Heading1
2H Heading2
1N Numbered1
N Numbered
Typing 1 brings up 1H Heading1; DnArrow moves to 1N Numbered1.
Some folks separate the abbreviation from the full name with an underscore instead of a space; i. e., 1H_Heading1, instead of 1H Heading1.
HTH
Regards,
Peter
Peter Gold
KnowHow ProServices -
Is there a bug if FM9 when applying char tags in tables?
When I apply my Bold character tag to a word in a regular paragraph, what happens is what I expect should happen – Namely, Weight=Regular remains unchanged in the Pgf designer and Weight changes to Bold in the char designer (and no override asterisk at the bottom - please read on).
BUT, when I apply my Bold character tag to a word inside a table, Weight also changes to Bold in the Pgf designer, and an override asterisk appears at the bottom of the screen to the left of the Pgf tag displayed.
Is this a bug in FrameMaker, or am I incorrectly understanding how FM is supposed to work, or is there something messed up with my Bold tag? I believe it’s a bug, or at least an inconsistency – IMHO applying a tag to a word inside or outside a table should at least do the same behavior, shouldn't it?
Thanks for any insights!!!
-DaveDave,
If the only content in the paragraph is the word that you are applying the bold tag to or if you manage to include the end of paragraph mark (or end of flow mark in the table cell), then FM applies this property as an override to the entire paratag (as that's what you've effectively done).
To prevent this, make sure that some content in the paragraph (even a trailing space) is left without the character format being applied. -
How to apply paragraph styles to xml tag?
Hi All,
How to apply paragraph style to xml tag?Hi Learner,
Try the below js code.
var myDoc = app.activeDocument;
try{
mySel=app.selection[0];
myDoc.xmlElements[0].xmlElements.add({markupTag:"TEST", xmlContent:mySel});
}catch(e){
alert(e);
var myDocument = app.activeDocument;
app.findGrepPreferences.appliedParagraphStyle = "test";
app.findGrepPreferences.findWhat = ".+(?=\\r)"
var mySearch = myDocument.findGrep(false);
for (a=0; a<mySearch.length; a++){
myDocument.xmlElements[0].xmlElements.add({markupTag:"TEST", xmlContent:mySearch[a]});
thx,
csm_phil -
Paragraph tags not applied correctly
Hi,
I’m importing an FM document into RH (Technical
Communication Suite). I fixed all the paragraph definitions and the
mappings.
After importing, the same paragraph tags are sometimes
applied correctly and sometimes not. Most problematic are the ones
that come right after a paragraph that has a bullet or number
setting. It seems as though the following paragraph sometimes has a
bullet or number even though you can’t see it.
If I reapply the paragraph tag it doesn’t help, but if
I apply a different one and then the original one I wanted –
it works OK.
Is there a workaround? Am I doing something wrong?
Thanks,
RakefetHave you updated lately? I applied RoboHelp patch 7.0.2 and
it fixed may random isses that I was having. Also I would recommend
mapping all numbered and bulleted lists to Normal to have them
appear correctly. Also don't forget to check Convert AutoNumber to
HTML list on the Style Setting window.
Amanda -
FrameMaker Paragraph tags not consistently mapping in RoboHelp
Hello, I have a FrameMaker book, which i have linked to a RoboHelp project. I successfully mapped all the paragraph tags from FM to RH. However, when i compile my help some of my headings do not appear correctly. For example, my Heading 1s have a different appearance from topic to topic. I looked at my FM source files and there are no paragraph or character overrides on any of the affected headings. When I open the topic in RH, i can see that the paragraph symbol at the end of the heading is the correct size, but the text itself is smaller than it should be. I discovered a way to fix this, but it is VERY time consuming. (i.e. In FM, highlight each heading, reapply the paragraph tag, apply the default font character tag) This fix is not a viable option since i have thousands of topics. Any suggestions?
Apparently RH also ignores FM styles that only appear in
tables. Weird. If I add text using the parapgraph styles into the
body of the FM file, the styles are imported by RH (I had to add
text to the pgf for RH to see it). But if the style is not used in
FM anywhere but a table, RH ignores it.
Another show-stopper: Rows in tables are ignored by RH if
multiple conditional tags are applied to the row. For example, a
row is conditionalized with "A' & 'B' and you import the FM
file applying the 'B' condition, the row will not show up in the
table. If the row is only tagged 'B', it will show up. Other
straddled rows that are tagged with a condtion other than the one
used to import into RH will cause misaligned columns in the
table. -
String paragraph tags in cross-ref format
Is there a way to string together Paragraph tags in a cross-reference format?
I have a document with two Paragraph tags: ManualTitle and ManualSubtitle. In another document, I would like to insert a cross-ref to the first document that contains ManualTitle and ManualSubtitle.
This is what I tried to no avail:
See <$paratext[ManualTitle]> <$paratext[ManualSubtitle]> for more information.
Because I have to select a Paragraph format when applying a cross-reference, I am only allowed to select either ManualTitle or ManualSubtitle. So...if I select ManualTitle, it only shows the text applied with ManualTitle (which, incidentally, is a variable). If I select ManualSubtitle, it only shows the text applied with ManualSubtitle (which is also a variable).
Do I have to manually concatenate these two by simply making 1 cross-ref for
See <$paratext[ManualTitle]>
and another for
<$paratext[ManualSubtitle]> for more information. ???
Thanks in advance!
AnneAnne,
In order to reference multiple paratags, you need to first manually
insert a cross-reference marker (and use the titling as the content
for the marker) in the document that contains the Title and Subtitle
tags. The best location for the marker would be at the end of the
sub-title, keeping in mind FM's behaviour of searching backwards from
a specified location to find matches.
Then, in the document that you wish to insert the cross-reference,
make sure that you have the Cross-Reference "Source Type:" set to be
"Cross-Reference Markers". Once you point it to the file with the
titles, the cross-ref dialogue should show you the appropriate marker
target(s). Select that target.
Now you can edit the cross-ref format to include the paragraphs as you
initially tried. FM will now search backwards from the marker location
in the target document to satisfy the criteria of your format request
and find both the ManualSubTitle and ManualTitle paragraphs. -
Unwanted paragraph tag after text inset
9.0p255 on XP ... Just searched the forum for a reminder, as it's not every day I need to work with insets. A couple of posts towards the top of a long thread gave the tip of leaving a special space between the anchor for the inset and the end-of-paragraph marker; "ah, that sounds familiar!" I thought, and tried it. Well, it may sound familiar ... but it doesn't work. Yes, I've already tried a special paragraph style with space above and below set to -2; no luck there either. All the more annoying since I'm fairly sure I did manage to do it in another file-set/on another PC last year. Thanks in advance for any tips!
Niels -
I am stuck in Frame 7.0p577 on Mac (having not yet invested in emulators etc.), so what I say here may not apply to Frame 9 on Windows – but it probably does. I am very familiar with the iceberg of an issue whose tip you have encountered. As I see it, here's what's up:
When Frame imports a text inset, it takes the end-of-flow and turns it into an end-of-paragraph (displayed with ¶ at its end, assuming you have Display Text Symbols turned on in View Options). Provided that the inset is followed by another paragraph, then all is well. However, the creation of this extra paragraph is insidious in cases where the inset lies at the end of a flow.
First, if the inset ends a document, an extra line results; that extra line is troublesome if it pushes over a page boundary. The workaround is to increase the height of the page frame, to make room for the line without spilling onto a new page, but that's messy because the manual height adjustment needs to be adjusted again if subsequent editing changes the placement of the extra line.
Second, it seems that the extra paragraph takes the paragraph tag – and therefore, the paragraph formatting – of the FIRST paragraph in the inset. If the first paragraph of the inset's source flow has an autonumber, then the stray paragraph after the inset will appear with ANOTHER autonumber of that style.
Third, if an inset is placed in a table cell, the extra line causes the height of that cell to increase. In the common case that the cell then exceeds the height of other cells in the row, the height of the entire row will increase, leaving undesired space. Workarounds such as manually limiting row height are a pain.
Fourth, if the inset is placed in a footnote, the extra line causes the footnote height of that cell to increase, leaving unwanted space between footnotes of at the bottom of the page.
Over the years I have adopted the following technique: At the front of flows liable to be used as inset sources, I have an empty paragraph tagged BOF. I set the BOF format in both the source document and the host document to Run-In. Any autonumbering in the first functional paragraph of the source will then be prevented from being carried into the referring document. You might think that a comparable paragraph at the end of the inset source – EOF, maybe – would defeat the insidious behaviour that I describe, but too much of this and things start to fail.
I have one or two additional ideas in case anyone who made it this far wishes to contact me directly. In fact I'd be delighted for anyone who understands any of the above to contact me!
I would be delighted if someone at Adobe would follow-up on this, but honestly don’t expect too much.
- Charles,
www dot Poynton dot com -
[CS3][JS] Apply XML tag for selected text
Hi
I need to apply XML tag to selected text in a tagged content.The XML tag is already applied for paragraph.I need to apply XML Tag for selected text in a paragraph.
I have used following code, it applies tag for entire paragraph,not a selected text in a paragraph.
app.selection[0].associatedXMLElements[0].markupTag=myDoc.xmlTags.item("italic");
Please suggest me.
Regards
kumarThe example script, markup.jsx
//Markup.jsx
//An InDesign CS4 JavaScript
//Shows how to use the markup method.
main();
function main(){
mySetup();
mySnippet();
myTeardown();
function mySetup(){
var myDocument = app.documents.add();
var myPage = app.activeWindow.activePage;
var myRootXMLElement = myDocument.xmlElements.item(0);
var myXMLTag = myDocument.xmlTags.add("xml_element");
var myXMLElementA = myRootXMLElement.xmlElements.add(myXMLTag);
myXMLElementA.contents = "This is a paragraph in an XML story.";
var myTextFrame = myPage.textFrames.add({geometricBounds:myGetBounds(myDocument, myPage)});
myTextFrame.contents = "This is the first paragraph in a text frame.\rThis is the second paragraph in a text frame.\rThis is the third paragraph in a text frame.\rThis is the fourth paragraph in a text frame.\r";
function mySnippet(){
//<fragment>
var myDocument = app.documents.item(0);
var myPage = myDocument.pages.item(0);
myDocument.xmlElements.item(0).xmlElements.item(0).markup(myPage.textFrames.item(0));
//</fragment>
function myTeardown(){
function myGetBounds(myDocument, myPage){
var myPageWidth = myDocument.documentPreferences.pageWidth;
var myPageHeight = myDocument.documentPreferences.pageHeight
if(myPage.side == PageSideOptions.leftHand){
var myX2 = myPage.marginPreferences.left;
var myX1 = myPage.marginPreferences.right;
else{
var myX1 = myPage.marginPreferences.left;
var myX2 = myPage.marginPreferences.right;
var myY1 = myPage.marginPreferences.top;
var myX2 = myPageWidth - myX2;
var myY2 = myPageHeight - myPage.marginPreferences.bottom;
return [myY1, myX1, myY2, myX2];
I think you can use the markup function on the selected item (Text Object have a markup method)
Thomas B. Nielsen
http://www.lund-co.dk -
Changing FM paragraph tags appears to break TOC import to RH
Hi,
I'm using TCS 2 with all the latest updates applied to RH and FM. I had a project with a linked FM book that worked with no problems. I updated the paragraph tag definitions in FM, by deleting the old tags and importing a new set (with the same names), and now I can't import the TOC to RH. The TOC is fine in FM. If I include Heading levels 1 - 3 in the TOC in FM I get a blank TOC in RH, if I include levels 1 - 4 in the TOC in FM I get only Heading level 4 in RH.
If I revert to an lder copy of my FM book with the old paragraph tag definitions everything is fine.
I'd be grateful for any suggestions.
Thanks
DavidHi David.
This sounds like a bug to me. Maybe someone else can confirm this. The fact that the mapping hasn't changed apart from the tag defintions seems to indicate that something more than just the style name is being mapped. Would I be right that if you re-map your styles again that all is OK? If so, I suggest submitting this as a bug.
The RoboColum(n)
@robocolumn
Colum McAndrew -
Global change of paragraph tags
I need to change like a hundred heading2s into heading3s, and heading3s into heading4s. I could do a find for each para tag and manually change it to a different heading tag, but I am hoping there is an easier way. Is there a way to select say 50 pages and globally change paragraph tags?
BillTim1911 wrote:
This works great, but only for a single file.
Is there any way to apply the Global Update Options to every file in a book file (i.e., every chapter in a book)?
Thanks.
* Make a safety backup of all files that you'll work with.
* Change the definitions in a single file, then include that file in a book with all the files that you want to change to the same new definition.
* Save the changed file.
* Use Shift+File > Open All Files in Book; when you do the import below, all open files will be changed as you command, but will not be saved, so you can back out of the changes, if you discover unwanted results, by closing the files without saving.
* Select all the files in the book window.
* Use File > Import > Formats.
* Choose the changed file as the source; turn off all the items except the paragraph formats (and character formats if you want them changed).
* Click Set.
* Inspect the open files for correctness.
* When you're sure all changes are OK, from the book window choose Shift+File > Save All Files In Book.
HTH
Regards,
Peter
Peter Gold
KnowHow ProServices -
Reapplying paragraph tags in Frame 9
How do you reapply a paragraph tag that has an override in FrameMaker 9? In FM7, you simply clicked in the paragraph, then selected the tag from the dropdown list. FM let you know the override was successfully removed by removing the asterisk (*) in the lower left corner. Now that no longer seems to work.
Yes, that's correct with FrameMaker 9 you must find a new way to
reapply a paragraph tag:
Locate the paragraph with paragraph format and asterisk (*)
Open the Paragraph Catalog and reselect the paragraph format.
Result: The paragraph with the local override will be reapply from the catalog format.
If want to get a list of all overrides, take TOOLBOX for® FrameMaker, feature: "List a paragraph overrides",
then there are features to solve it: "Apply paragraph property changes in all open books" ...
www.toolboxforme.com
- Georg -
Deleting paragraph tags that are in use is allowed in FM 9!
Has anyone besides me noticed that FM 9 allows you delete a paragraph tag in a document even though the paragraph tag is in use? I've found that the result of deleting the tag is that text with that tag is unaffected and even still has the deleted tag applied to it. However, the tag is no longer selectable from the paragraph tag list. FM8 would prompt would warn you that its in use before you attempt to delete it.
The above behavior is at least the case for documents that I've used that were originally created in FM 8. Anyway, this lack of warning makes it darn impossible to efficiently remove unused tags from a document.
Thanks.
-Kurt Eulerkdeuler wrote:
Has anyone besides me noticed that FM 9 allows you delete a paragraph tag in a document even though the paragraph tag is in use? I've found that the result of deleting the tag is that text with that tag is unaffected and even still has the deleted tag applied to it. However, the tag is no longer selectable from the paragraph tag list. FM8 would prompt would warn you that its in use before you attempt to delete it.
Kurt,
I'm not sure why you think that FM8 has been different… it isn't. Every version of FM has always allowed to delete paragraph styles, no matter if they are used or not. Paragraphs using the (deleted) format are now shown with an asterisk, like an overidden format, while keeping all attributes.
This is why 3rd party vendors like ITL sell FrameScript scripts, which only delete unused styles and objects from documents.
Bernd -
Make new paragraph tag available in all documents in a book
I'm very new to FM10, so please excuse my ignorance.
All I want to do is make a custom paragraph available in all the chapters
of my book. I created a variation of Heading2 (and gave it the paragraph tag
of H2), in one chapter and use it extensively there.
I checked the "add to catalog" box when I created it, but when I'm working on
the other documents (chapters) in the book, H2 doesn't show up in the
paragraph catalog .
After failing to make "import format" work, I even tried to re-create the same H2
paragraph from scratch in one of the the other chapters.
But to add insult to injury, after typing in all the custom H2 characteristics in that
other chapter, and attempting to put in the catalog (which was not showing
an H2 in that chapter), FM told me that it couldn't do it because there was already
a paragraph tag of that name in the catalog.
At that point I decided to throw myself on the mercy of the forum.
Cheers,
JPJP,
Open the file in which you created the H2 tag. In the book file, select all. Then with the book file selected, select File > Import > Formats. In the dialog, deselect all and then select paragraph formats. From the dropdown at the top, select the open file. Click OK, or whatever. This copies all the paragraph formats from the open file into all the selected files of the book. IF an H2 tag already exists in any of the files in the book, it is overwritten. No tags NOT in the open file are deleted.
After failing to make "import format" work, I even tried to re-create the same H2
paragraph from scratch in one of the the other chapters.
But to add insult to injury, after typing in all the custom H2 characteristics in that
other chapter, and attempting to put in the catalog (which was not showing
an H2 in that chapter), FM told me that it couldn't do it because there was already
a paragraph tag of that name in the catalog.
The second paragraph implies that the import format DID work. What do you mean by failing to make import format work?
Van -
Why does my paragraph tag for images get repositioned AFTER the image?
I have TCS2 and link my FM docs to RH.
I use a paragraph tag in FM called "figure" for my imported images. I noticed there is too much space after the images in RH and discovered the "figure" tag is BELOW the images. So even if I map the tag to a RH style, it won't do any good. Any suggestions?This might fix your problem. Look at how your anchored frame appears in the FrameMaker document. It's probably like this:
┴ ¶
Which is simply the anchored frame marker followed by the paragraph marker.
Now try this. Before the anchored frame marker, add a forced space (CTRL-Space).
|_| ┴ ¶
When RoboHelp interprets this, it appears to place the paragraph before the anchored frame, not after it.
This is assuming you've got the anchoring position set to"Below Current Line," as suggested earlier.
Hope this helps!
Jason
Maybe you are looking for
-
I try to register a web service with mobile studio, (I use my account on studio.oraclemobile.com) so as to generate J2ME stub and run the service in proxy mode. The problem is, whichever URL I put for wsdl files, I get "The URL you entered does not c
-
Hi all, In which table the po-header node text will gets saved. Thanks in advance. Thanks, Asmitha.
-
I live in thailand. I just downloaded firefox 3.6.12. I have uninstalled google chrome. My firefox homepage comes up with a google mark and is in thai language. How do i remove the google link and get english language?
-
Hi All, Is it possible to give access to webdynpro screen after performing authority check in webdynpro. In my case, I have created three tabs in my view. Now is it possible to give authority check to each of these tabs from web dynpro itself. If so,
-
i need to block some tax code at purchase order level.So that the user would not be able to use these codes. i am using TAXINN