• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Graphic Element Boardno Attribute

Community Beginner ,
Oct 09, 2015 Oct 09, 2015

Copy link to clipboard

Copied

FM2015 / SGML

In my EDDs, I have been setting up the Graphic element as seen below:

Element (Graphic): Graphic

   Initial graphic element format

      If context is: Figure [Imported = “Yes”]

         Insert imported graphic file.

      Else

         Insert anchored frame.

Now I have a customer DTD which defines the Graphic element as a Container and uses the Boardno attribute to identify the graphic to be displayed. This is probably something people do all the time but I haven't run into it. Can anyone point me to information that would help me educate myself. I assume it involves some kind of reference but I've looked around and I'm not finding the information I need for some reason.

TOPICS
Structured

Views

538

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 23, 2016 Jun 23, 2016

Copy link to clipboard

Copied

LATEST

Add:

element "graphic" {

  is fm graphic element;

    attribute "boardno" {is fm property entity;}

}

to your read/write rules.

The top of your FM XML files will look something like this:

<!DOCTYPE div SYSTEM "http://demo.eglootech.com/library/tekreader/1/tekreader-fm.dtd" [

<!-- Begin Document Specific Declarations -->

<!NOTATION png     PUBLIC "">

<!ENTITY graphic1  SYSTEM "graphics/elementCatalog_TABLE.png" NDATA png>

<!ENTITY graphic2  SYSTEM "graphics/windowInsertTable.png" NDATA png>

<!ENTITY graphic3  SYSTEM "graphics/tableInserted.png" NDATA png>

<!ENTITY graphic4  SYSTEM "graphics/tableAddContent.png" NDATA png>

<!ENTITY graphic5  SYSTEM "graphics/structureViewTable.png" NDATA png>

<!ENTITY graphic6  SYSTEM "graphics/attributesWindow_TABLE.png" NDATA png>

<!ENTITY graphic7  SYSTEM "graphics/elementTable.png" NDATA png>

<!ENTITY graphic8  SYSTEM "graphics/elementCatalog_STRONG.png" NDATA png>

<!ENTITY graphic9  SYSTEM "graphics/unwrap.png" NDATA png>

<!ENTITY graphic10 SYSTEM "graphics/elementStrong.png" NDATA png>

<!ENTITY graphic11 SYSTEM "graphics/elementEm.png" NDATA png>

<!ENTITY graphic12 SYSTEM "graphics/elementU.png" NDATA png>

<!ENTITY graphic13 SYSTEM "graphics/elementSub.png" NDATA png>

<!ENTITY graphic14 SYSTEM "graphics/elementSup.png" NDATA png>

<!ENTITY graphic15 SYSTEM "graphics/elementSpan.png" NDATA png>

<!-- End Document Specific Declarations -->

]>

And example markup in same FM XML file something like this:

<figure id = "part09tr2E103E10D76211E4415809173F13E4C5">

<graphic boardno = "graphic1" reprodep = "2.895in" reprowid = "6.693in"

    hplace = "center" scale = "0.984in 2.712in" render = "thumbnail"

    type = "img"/>

</figure>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines