Quantcast
Channel: Adobe Community : Popular Discussions - FrameMaker Structured
Viewing all 66580 articles
Browse latest View live

Conversion Table with P tags to Body

$
0
0

I am converting from unstructured to structured XML in DITA.

 

In my conversion table, I have multiple paragraphs tagged with p, like this:

 

P     p[otherprops="ProcTitle"]     ProcTitle

P     p[otherprops="Paragaph"]     Paragraph

 

I apply my Conversion Table to my Unstructured doc, then save as XML using the Dita1.2 application. The conversion to structured completes fine. The save as xml has errors, but i expected that at this point.

 

I now want to edit the Dita EDD to use my formatting. When I apply the Dita EDD, all the "p" paragraphs convert to Body.

 

How to I configure the EDD to see the difference among the types of p paragraphs? I tried the following command in the EDD, but it was frankly just a guess based on similar configuration I saw in the EDD:

 

Under Body Element

 

Text format rules

       if context is [otherprops !="ProcTitle"]

          Use paragraph format: ProcTitle

     Else,

          Use paragraph format: Paragraph 

 

As I'm sure is no surprise for those of you in the know, this did not work. .

 

How can I do this?

 

Thanks in advance for any help you can give


FM delete sometimes spacers and sometimes not

$
0
0

 

DATA


  1. I write<p><ph>This is a sentence. </ph><ph>This is a sentence. </ph><p>
  2. I save and close the file
  3. When I open it at new, I remark :
    • the first <ph> still have a spacer after the point
    • the second <ph> have no spacer after the point


QUESTION

Do you know where we can set in FrameMaker11 to not delete spacers ?


Other solution can be put a WHITESPACE between the elements <ph>, but it seems this causes problems while publishing.

How does one organize elements in the EDD?

$
0
0

Seems to me that EDD is a huge document to find anything in. Does one just add elements in alphabetical order so they can be rediscovered? Any tips or tricks about organizing this?

 

I'm in the analysis/design phase of going through my unstructured document to see how to build an EDD. Does one do the analysis using a spreadsheet?

 

Thanks for ideas.

FrameMaker SDK Question: How to read an XML file

$
0
0

Hi,

I am using FDK 12.0 on Windows (using Visual Studio 2012) to make some changes in a FrameMaker document programmatically. I have never used this or any other Adobe API before and am somewhat struggling with the concepts. Primarily I am using the sample programs, coming along with the FDK to guide me.

 

Now, I want to open and parse an XML file, whose content I will use later to manipulate the texts in a FrameMaker document. In .NET framework there are several classes (XMLReader, XMLTextReader etc.) to read and parse XML files easily. However, it seems I cannot use these Common Language Runtime classes because, apparently, a FDK plug-in needs to be a) C program and b) should not use CLR. In view that, can anyone please indicate if there are any suitable set of functions in FDK itself for parsing an XML file. Otherwise, is there any pure C based XML parser I can use? Some actual sample will be very helpful.

 

Thanks in advance,

Joydeep

 

[Discussion moved by moderator]

I cannot update my re-installed FM 11 on my new computer

$
0
0

My computer was just updated. I now have Win 7 on a 64 bit system. Tech. Comm. Suite 4 was installed on it. My apps run fine, but I cannot update FM11. When I use the Product Updates from the splash screen, the extracted .exe file opens a blank dialog and does nothing. When I use Help > Updates, the Application Manager runs until I finally use Task Manager to shut it off, usually after 10 minutes. My co-workers computer updates in next-to-no-time.

On a side-note, I now cannot generate a book with FM components from a ditamap. It generates the files, but the TOC and Index are empty, and it won't create the book file.

HELP!

OTF Fonts Thai

$
0
0

Hello,

 

we are working with structured FM 8 and do translate in pretty much all languages except for Arabic. So far, there were no complaints for the Asian languages. But now, we receive the feedback that the characters for Thai (Arial Unicode) are correct but that there are spaces between some characters making it difficult to read the text. We have done various tests and recognized that all True-Type fonts are causing these problems. Now, I installed an OTF-Font for Thai and the problems stay the same. Therefor, my question if the Thai font is upported at all?

 

Thank you very much in advance,

Sandra Ullrich

Can't save ]]> in document text to XML

$
0
0

Dear colleagues,

 

I am currently evaluating a Save-as-XML problem with FrameMaker 9.0p255. The content of the document shows some XML examples which contains CDATA sections, like

 

<environment>  <var name="service"><![CDATA[Inhalt]]></var></environment>

 

Reminder: This is in the text of the FrameMaker document.

 

When I save as XML, the XML parser complains: »Error at line 140, char 77, Message: The sequence ']]>' is not allowed in character data«

 

When I open the XML file in a XML editor I see that all < are correctly escaped as &lt; and all > are left as is. The built-in Xerxes parser also reports: »The character sequence "]]>" must not appear in content unless used to mark the end of a CDATA section.«

And the XML Recommendation says:

The right angle bracket (>) may be represented using the string " &gt; ", and must, for compatibility, be escaped using either " &gt; " or a character reference when it appears in the string "]]> " in content, when that string is not marking the end of a CDATA section.

 

It seems to me FrameMaker should either write all > as &gt; to avoid the possibility that it might be used after ]].

 

Can you reproduce this issue (I can using the UserGuide structured application, by just putting ]]> in any element)?

 

Have you found a way to workaround this, maybe with a special R/W rule?

 

Thanks,

 

- Michael

converting Framemaker files into PDF progaramatically using publishing server

$
0
0

Hi All

 

Background:
We are going for upgrade of  Frame maker 8 which is on unix system  to FM 10 or 11. We are using Framemaker mainly for renditions, i.e to convert the fm documents to PDF. To convert fm document to PDF we are using the below mentioned command line utility available in FM 8.(on unix). /opt/app/frame8.0/bin/fmprint -i -p Sample.fm.fmtpl Sample.fm Currently the the fm file which need to converted to PDF and the FM 8(installed) are available on the same unix system ,so we were able to initiate/use the command line utility of FM 8. The rendition of the FM to PDF is On -Demand.( We are not running any batch activities/ bulk renditions).We are rendering the document as soon as the document  is available.

Requirement:
As we are going to  upgrade the FM to newer versions which would be installed on the Windows machine as Frame maker 10 or 11 will not support unix plat form, so can you please let us know which option is better to use i.e we want to convert fm file to PDF using java program without any manual intevention using publishing server/client version.
can any one help us as it is very urgent for us.
please let us know the ways to do and links for helpful documents .

thank you very much for your help in advance!!\

 

Best reagrds

Ramesh babu


No master pages applied because MasterPageMaps table contains no mapping information

$
0
0
I use FM8 and DITA files to create my books. I have tired in the past to apply masters automatically but have not been able to. Now that I create books from xml, it is even more important to automate this process. I use structured FM and have deleted and re-created the StructMasterPageMaps in my file. I created a book that has my one test file so I can experiment quickly. In that file I have a Master page defined as Chapter_cover which I can apply manually no problem. In the StructMasterPageMap, I refer to the paragraph tag title.0 and the right-hand MasterPage Chapter_cover and set the range to Single.

When I then select the book and try to update the master pages (Update book->Master Pages->update), I get the error "No master pages applied because the MasterPageMaps table contains no mapping information.

I have searched the forum and the archive and found an instance similar to mine (Jun19/07), but no clear resolution was found. I have tried the suggestions made therein such as re-creating the MasterPages reference page, which I have done. And I am sure that I have typed them correctly (case sensitive etc).

What could be my problem? I could send the book since it consists of only one 2-page fm file.

Thanks in advance for any help,
Kevin

FrameMaker 9 plug-in for DITA Open Toolkit/ RoboHelp 8

$
0
0

Hi -

 

Does anyone know where to download the FM9 plug-in for DITA-OT?

 

Also, do you have to have the FM9 DITA-OT plug-in installed in order to import a Ditamap into RoboHelp 8? I am working in a Windows 7 Premium/64 bit enviroment... RoboHelp 8 crashes/stalls whenever I try to import a Ditamap.

 

Thank you for any help/suggestions -

Rebecca

FrameMaker 12 Publish Crash

$
0
0

Using Framemaker 12.0.1.331 all publish operations crash if the document contains a UserString of 1 or more characters in a table element.  We use UserStrings in this way to hold metadata about tables such as database keys and effective dates.

 

The Mif looks like this:  [We would normally have an xml fragment here but this is enough to produce a crash]

 

<Tbl

  <TblID 10>

<UserString `A'>

  <TblTag `Format A'>

  <TblFormat

 

 

Incidently a zero length UserString doesn't result in a crash.

 

Looks like a bug to me.

 

regards,

 

    Colin

Managing EDD, DTD, and templates in Framemaker 11 and DITA 1.2

$
0
0

I'm in the process of upgrading from FM9 with DITA to Framemaker 11 with DITA 1.2 I'm using the ditabase template, EDD, and DTD. I've made some paragraph format changes in the template and will need to make changes to the EDD as well. Once all the changes are made, I will need to distribute the changes to other writers. I'm wondering what is the best way to go about making the changes so the distribution process is as simple as possible?

 

In FM 9, the EDD was a single file so we only had to update 2 files (the template and the EDD). In FM11 with DITA 1.2, there are multiple EDDmod files. Do I need to distribute all of these files to apply the changes?

 

Also, I haven't actually been able to apply the changes to the EDD to my documents and I'm not sure what I'm doing wrong. This is what I did to change the prefix text applied to the postreq element:

 

1. Open the task.eddmod.fm file. Find the postreq element and change the prefix text. (Note that this is the only change I made to the document) Save the document.

2. Open the ditabase.edd.fm file. Find the text inset to the task.edd,mod. fm file. Update the text inset. Save the document.

3. Open the dtiabase.template.fm file. Import the Element Definitions from ditabase.edd.fm file.

Expected results: the element definitions are imported with no errors.

 

Actual result: I get the following error messages:

Format rule specification (| bookmeta) is invalid.

Elements that are defined but not referenced.

steps-informal

Elements that re reference but not defined.

bookmeta

topicmeta

 

I didn't make any changes to these elements so I don't understand why they are now invalid. Did I miss a step or do something incorrectly that would affect these elements?

 

Note that I'm making the changes to the original documents that are referenced in the structured document, the template, and so on. I have saved backups of all the original files before I make changes to them.

 

Thanks for you help,

 

Sharon

Frame cross-references to DITA

$
0
0

FrameMaker 11

Vasont CMS

Arbortext editor

 

In order to comply with our parent company, we are converting all of our FM docs to DITA. We check before conversion to ensure all cross-refs are working.  When the cross-reference comes in to DITA from FM, it looks like this:

xref format=”dita” href=”MSC_c_Introduction.dita” scope=”local” type=”concept”

But these do not work.

 

When the cross-ref is created in either the CMS or in Arbortext, it looks like this:

xref href=”MSC_c_Introduction#MSC_c_Introduction/MSC_c_Intro” outputclass=”fm:HeadingOnly”

These work properly.

 

Is there a way to get the cross-refs from FM to have the correct syntax? Or is this not a syntax issue?

 

We would much rather use FM than Arbortext.

 

TIA,

 

Marsha

couldn't open file because it uses unavailable fonts

$
0
0

I am using framemaker 7.1 and windows 7. I am very familiar with this error. Every time I have gotten it save as with the same file name has always taken care of the problem. I just reloaded framemaker and now the save as does not work. Any suggestions?

Docbook DTD chapter element woes

$
0
0

Hi all,

 

We have Frame 11 and a doc set based on xDocbook 4.2 -- I know that's way back, but that's not our question.  :-)

 

We are adding support for a <refentry> element to our docs.  This exists in Docbook and appears in various parent elements, including a <chapter> element.  We need to insert it anywhere in a chapter.

 

Our Chapter General Rule has been quite simple: Title, Section+

 

Now we just want the ability to add a RefEntry anywhere that we can add a Section.  I tried this, which seems logical:

 

Title, (Section | RefEntry)+

 

With this, we can insert one or more RefEntry elements as the first elements, but if we try to put one after a Section element, we get parsing errors that RefEntry is not allowed in a chapter.  I've tried editing the EDD in numerous ways and have not been able to support a RefEntry to appear anywhere.

 

I believe -- from what I have read and from looking at the DTD -- that the Docbook DTD should support a RefEntry at any location. I have not tried to customize the chapter element in the DTD regarding the refentry element, although we did add a <textinset> element some years ago, so that the primary content of a chapter in the DTD now looks like this:

 

<!ENTITY % bookcomponent.content

          "((%divcomponent.mix;)+,

          (sect1*|(%refentry.class;)*|simplesect*|textinset*|section*))

          | (sect1+|(%refentry.class;)+|simplesect+|section+)">


And the chapter element itself is this (default Docbook):

<!ENTITY % chapter.element "INCLUDE">

<![%chapter.element;[

<!ELEMENT chapter (chapterinfo?,

                    (%bookcomponent.title.content;),

                    (%nav.class;)*,

                    tocchap?,

                    (%bookcomponent.content;),

                    (%nav.class;)*)>

 

One thing that I don't understand is that the refentry element is always in parens, unlike all the others.

 

In case anyone can help with this, I think I need to paste the error (sorry, this is an eyeful, but it reveals the details of the entire chapter element):

-----------------

Element 'refentry' is not valid for content model '(chapterinfo?,title,subtitle?,titleabbrev?,((toc|lot|index|glossary|bibliography))*,tocc hap?,((((textinset|calloutlist|glosslist|itemizedlist|orderedlist|segmentedlist|simplelist |codeannotlist|variablelist|caution|important|note|tip|warning|literallayout|line|programl isting|programlistingco|screen|screenco|screenshot|synopsis|cmdsynopsis|funcsynopsis|class synopsis|fieldsynopsis|constructorsynopsis|destructorsynopsis|methodsynopsis|formalpara|pa ra|simpara|address|blockquote|graphic|graphicco|mediaobject|mediaobjectco|informalequation |syntax|informalfigure|informaltable|equation|example|figure|table|msgset|procedure|sideba r|qandaset|anchor|bridgehead|remark|editorialnote|highlights|abstract|authorblurb|epigraph |indexterm|beginpage|tocchap|refentry))+,(sect1*|refentry*|simplesect*|textinset*|section* ))|sect1+|refentry+|simplesect+|section+),((toc|lot|index|glossary|bibliography))*)'

----------------

 

Thanks in advance for any help, I appreciate it.

 

- Shelley

Shelley Hoose

RogueWave Software


Control table row or cell formatting via EDD context rules?

$
0
0

Hi...

 

I think I know the answer to this, but is it possible to control table row or cell properties (like shading, padding, borders, etc) through context rules in an EDD? I'm not aware of any way to do this, but thought I'd toss it out there to be sure.

 

Would love to hear that I'm wrong.

 

Cheers,

 

...scott

FrameMaker 11: Internal Error 11004, 17075188, 14420806, 14421392

$
0
0

To whom it may concern,

 

Recently I keep having a problem with FrameMaker 11 and the application would crush and close. The error message I got is like this:  error message.PNG

Here is the txt file FrameMaker generated: txt file1.PNGtxt file2.PNG

 

I searched in your website and could not find an answer. Please help me solving this problem,

 

Thank you so much,

 

Lisa

FrameMaker 11 and Windows 8.1 - Compatible?

$
0
0

I am a relative newcomer and am not sure if this question belongs here.  If not, please let me know.

 

I am about to upgrade to Windows 8.1 (won't go into why) and of course I need to make sure FrameMaker 11 works there.  Does it?

 

Thanks ALOT in advance.

 

Herry

Conversion from word problems with images

$
0
0

Hi ,

I managed to make a conversion table to structure the documents of out company.I am having a proble with images.I am importing the word file to our template with a custom EDD document.When the import finishes I am having all images at almost correct places.The issue is when i apply the custom conversion table all the images at anchored at insertion point.The correct position would be at below current line.I am stuck and I can not find a solution to this.

My EDD is as follows:

 

EDD Version is 12.0

Structured Application: ReportPlain

F:\FramemakerBooks\Part B -Section 3.fm

April 14, 2014

Element (Container): Author

General rule:          <TEXT>

Text format rules

In all contexts.

Use paragraph format: ReportAuthor

Element (Container): Emphasis

General rule:          <TEXTONLY>

Text format rules

In all contexts.

Text range.

Use character format: Emphasis

Element (Equation): Equation

 

 

Element (Container): EquationPara

General rule:          Equation

Text format rules

Element paragraph format: Equation

Element (Container): Extract

General rule:          (<TEXT> | Emphasis | Term | Superscript | Subscript | XRef)*

Attribute list

Name: ID           Unique ID           Optional

Text format rules

In all contexts.

Use paragraph format: Extract

Element (Container): Figure

General rule:          (<TEXT> | Frame)*

Attribute list

Name: ID           Unique ID           Optional

Name: XRefLabel           String           Optional

Default:          Figure

Name: Imported           Choice           Optional

Choices:          Yes, No

Default:          No

Text format rules

In all contexts.

Use paragraph format: Figure

Element (Footnote): Footnote

General rule:          <TEXT>

Text format rules

In all contexts.

Use paragraph format: Footnote

If context is: * < Table

Use paragraph format: TableFootnote

Element (Graphic): GRAPHIC

Initial graphic element format

In all contexts.

Insert anchored frame.

Anchored Frame Object Style:FiguredCentered

Element (Graphic): Frame

Initial graphic element format

If context is: Figure[Imported = "Yes"]

Insert imported graphic file.

Else

Insert anchored frame.

Element (Container): Head

General rule:          <TEXT>

Text format rules

Count ancestors named:          Section

If level is: 1

Context label: H1

Use paragraph format: Heading1

Else, if level is: 2

Context label: H2

Use paragraph format: Heading2

Else, if level is: 3

Context label: H3

Use paragraph format: Heading3

Else, if level is: 4

Context label: H4

Use paragraph format: Heading4

Else, if level is: 5

Context label: H5

Use paragraph format: HeadingRunIn

Else

Numbering properties

Autonumber format:

If context is: {first} < Report

Use paragraph format: ReportTitle

Else, if context is: HeadingRunIn

Use paragraph format: HeadingRunIn

Element (Container): HeadingRunIn

General rule:          Head, Para+

Element (Container): Item

General rule:          (<TEXT> | Emphasis | Term | Superscript | Subscript | XRef | Para)*

Format rules for first paragraph in element

If context is: List[Type = "Plain"]

No additional formatting.

Else, if context is: List[Type = "Bulleted"]

Use paragraph format: Bulleted clean

Else, if context is: {first}

Use paragraph format: Numbered1

Else

Use paragraph format: Numbered

Element (Container): List

General rule:          Item+

Attribute list

Name: ID           Unique ID           Optional

Name: Type           Choice           Optional

Choices:          Plain, Bulleted, Numbered

Default:          Bulleted

Automatic insertions

Automatically insert child:          Item

Element (Container): Para

General rule:          (<TEXT> | Emphasis | Term | Superscript | Subscript | XRef | Footnote | Table )*

Attribute list

Name: ID           Unique ID           Optional

Text format rules

If context is: {after Head }

Use paragraph format: Body

Else, if context is: {after List}

Use paragraph format: BodyAfterHead

Else

Use paragraph format: Body

Element (Container): Part

Valid as the highest-level element.

General rule:          (Para | Footnote | Table | Section )*

Attribute list

Name: ID           Unique ID           Optional

Control flags: Read-only

Automatic insertions

Automatically insert child:          Head

Text format rules

Element paragraph format: Body

Element (Container): Purpose

General rule:          <TEXT>

Text format rules

Element paragraph format: ReportPurpose

Element (Container): Section

General rule:          (Section,Head |Section | Para | List  | Table | Figure  | HeadingRunIn )*

Attribute list

Name: ID           Unique ID           Optional

Name: XRefLabel           String           Optional

Default:          Section

Automatic insertions

Automatically insert child:          Head

Element (Container): Subscript

General rule:          <TEXTONLY>

Text format rules

In all contexts.

Text range.

Font properties

Superscript/Subscript: Subscript

Element (Container): Superscript

General rule:          <TEXTONLY>

Text format rules

In all contexts.

Text range.

Font properties

Superscript/Subscript: Superscript

Element (Table): Table

General rule:          TableTitle?, TableHead?, TableBody

Attribute list

Name: ID           Unique ID           Optional

Control flags: Read-only

Name: XRefLabel           String           Optional

Default:          Table

Control flags: Read-only

Initial table format

In all contexts.

Table format: Format A

Element (Table Body): TableBody

General rule:          TableRow+

Element (Table Cell): TableCell

General rule:          (<TEXT> | Emphasis | Term | Superscript | Subscript | XRef | Frame| Para)*

Text format rules

Element paragraph format: Bodycell

Element (Table Heading): TableHead

General rule:          TableHeadRow+

Element (Table Cell): TableHeadCell

General rule:          <TEXT>

Element (Table Row): TableHeadRow

General rule:          TableHeadCell+

Element (Table Row): TableRow

General rule:          TableCell+

Element (Table Title): TableTitle

General rule:          <TEXT>

Text format rules

Element paragraph format: TableTitle

Element (Container): Term

General rule:          <TEXTONLY>

Text format rules

In all contexts.

Text range.

Use character format: Emphasis

Element (CrossReference): XRef

Attribute list

Name: IDRef           ID Reference           Required

Control flags: Read-only

Limit values for format change list properties

First indent

Maximum: 39.0"

Minimum: 0.0"

Left indent

Maximum: 39.0"

Minimum: 0.0"

Right indent

Maximum: 39.0"

Minimum: 0.0"

Space above

Maximum: 32767.0 pt

Minimum: -32767.0 pt

Space below

Maximum: 32767.0 pt

Minimum: -32767.0 pt

Line spacing

Maximum: 32767.0 pt

Minimum: -32767.0 pt

Tab stop position

Maximum: 39.0"

Minimum: 0.0"

Font size

Maximum: 400.0 pt

Minimum: 2.0 pt

Spread

Maximum: 1000.0%

Minimum: -1000.0%

Stretch

Maximum: 1000.0%

Minimum: 10.0%

Cell margins

Top

Maximum: 32767.0 pt

Minimum: 0.0 pt

Bottom

Maximum: 32767.0 pt

Minimum: 0.0 pt

Left

Maximum: 32767.0 pt

Minimum: 0.0 pt

Right

Maximum: 32767.0 pt

Minimum: 0.0 pt

 

And my conversion table is:

 

 

Wrap this object or objects          In this element          With this qualifier

TC:          TableCell

P:Body          Para

P:Normal          Para

P:Heading 5          Head          head5

E:Head[head5],(Para | Frame | List | Table )*          Section          section5

P:Heading 4          Head          head4

E:Head[head4],(Para | Frame | List | Table |  [section5])*          Section          section4

P:Heading 3          Head          head3

Head[head3],(Para | List | Frame | Table | [section4])*          Section          section3

P:Heading 2          Head          head2

Head[head2],(Para | List | Frame | Table | [section3])*          Section          section2

P:Heading 1          Head          head1

Head[head1],(Para | List | Frame | Table | [section2])*          Section          section

T:Table          Table (promote)

TT:          TableTitle

TH:          TableHead

TB:          TableBody

TF:          FOOTING

TR:          TableRow

RE:RootElement          Part

 

P:List Paragraph          Item

Item+          List

G:          GRAPHIC(promote)

 

 

RE:RootElement          Part

 

 

 

I am almost done with the template"Application"I just need to place the pictures in the correct position.Can anyone point me to the right direction?

 

Thanks a lot in advance

Creating new task in DITA, how do I choose Strict or General?

$
0
0

I'm using DITA 1.2 with FrameMaker 12.

 

I've seen how I can create a new task with DITA > New DTIA File > New task... But the 1.2 DITA standard is supposed to support two types of task, strict or general. How can I specify that I want a general task rather than a strict one?

 

Thanks,

 

Archaeopteryx

Viewing all 66580 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>