cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

glossary problems...

nicole.redmond
1-Newbie

glossary problems...

I am having problems formatting a glossary. I need my glossary to have two columns with space between them.

The 1<sup>st</sup> column should have the acronym and the second column should have the meaning.

My current out put looks like this:

BRBS Be right back soon

LOL Laugh out loud

What I want is this:

BRBS Be right back soon

LOL Laugh out loud

The “Be right back soon, and Laugh out loud. Should be aligned left. I tried quadding with no avail.

glossDiv

title B

glossentry BRBS

glossdef

para Be right back soon.

Does anyone have a suggestion or sample fosi code that might help?

My fosi looks like this:

<e-i-c gi="glossary">

<charlist charsubsetref="block" justified&quot;=">

<textbrk startpg="next" pageid="glossary.page" newpgmdl="global" htmltag="h1">

<savetext textid="chapter-bookmarks.txt"&lt;p">

conrule='!<atidmd:bookmark state="closed">!,preface-title.txt,chapter-sect-bookmarks.txt,!</atidmd:bookmark>!'

placemnt="after" append="1">

<savetext textid="chapter-sect-bookmarks.txt" conrule="\\">

<usetext source="&lt;lof-lot-toc.fmt">,\GLOSSARY (Continued)\,</lof-lot-toc.fmt>" placemnt="before">

<subchars>

<float flidref="rep-title.top" width="page" scope="glossary"></subchars>

</usetext>

</charlist></e-i-c>

<e-i-c gi="glossdef" context="*" glossary&quot;=">

<charlist charsubsetref="endline"></charlist>&revflag;</e-i-c>

<e-i-c gi="glossdef">

<charlist charsubsetref="startline" varglosslist-indent&quot;=">

<leading inherit="1">

<quadding inherit="1"></charlist>&revflag;</e-i-c>

<e-i-c gi="glossentry">

<charlist inherit="1" charsubsetref="block" standard-prespace&quot;=">

</charlist>&revflag;</e-i-c>

<e-i-c gi="glosslist">

<charlist inherit="1"&lt;p">

charsubsetref="block standard-prespace standard-postspace"></charlist>

&revflag;</e-i-c>

<e-i-c gi="glossterm" context="glossentry">

<charlist<p>

charsubsetref="keep-next startline bold hyphen-off left sans-serif">

<usetext source="\" \&quot;=" placemnt="after"></usetext>

</charlist>

<att>

<specval attname="id" attloc="glossentry" attval="#ANY">

<charsubset>

<savetext textid="xref.txt" conrule="&lt;xref.psu">,#CONTENT,</xref.psu>"

xrefidtag="glossentry">

<savetext textid="xref-pg.txt"&lt;p">

conrule="<xref.psu>,page.txt,folio.txt[BO],</xref.psu>"

xrefidtag="glossentry">

<savetext textid="xref-txt.txt" conrule="&lt;xref.psu">,#CONTENT,</xref.psu>"

xrefidtag="glossentry">

<savetext textid="xref-link.txt"&lt;p">

conrule="<linkresolve.psu>,</linkresolve.psu>" xrefidtag="glossentry">

</charsubset>

</att>&revflag;</e-i-c>

<e-i-c gi="glossterm" context="glossentry" *=" glosslist&quot;=">

<charlist<p>

charsubsetref="startline keep-next bold hyphen-off left sans-serif">

<leading inherit="1"></charlist>

<att>

<specval attname="id" attloc="glossentry" attval="#ANY">

<charsubset>

<savetext textid="xref.txt" conrule="&lt;xref.psu">,#CONTENT,</xref.psu>"

xrefidtag="glossentry">

<savetext textid="xref-pg.txt"&lt;p">

conrule="<xref.psu>,page.txt,folio.txt[BO],</xref.psu>"

xrefidtag="glossentry">

<savetext textid="xref-txt.txt" conrule="&lt;xref.psu">,#CONTENT,</xref.psu>"

xrefidtag="glossentry">

<savetext textid="xref-link.txt"&lt;p">

conrule="<linkresolve.psu>,</linkresolve.psu>" xrefidtag="glossentry">

</charsubset>

</att>&revflag;</e-i-c>

<e-i-c gi="glossterm">

<charlist inherit="1" charsubsetref="inline" bold=" sans-serif&quot;="></charlist>

&revflag;</e-i-c>

<e-i-c gi="glosssee" occur="first">

<charlist inherit="1" charsubsetref="inline">

<usetext source="\" see=" \&quot;=" placemnt="before">

<subchars>

</subchars>

</usetext>

</charlist>

<att>

<specval attname="role" attval="text">

<charsubset>

<usetext source="#XREF(otherterm,xref.txt)">

<subchars charsubsetref="bold"></subchars>

</usetext>

</charsubset>

</att>

<att>

<specval attname="role" attval="#NONE">

<charsubset>

<usetext source="#XREF(otherterm,xref.txt)">

<subchars charsubsetref="bold"></subchars>

</usetext></charsubset></att>&revflag;</e-i-c>

<e-i-c gi="para" context="*" glossdef&quot;=">

<charlist inherit="1" charsubsetref="endline"></charlist>&revflag;

</e-i-c>

4 REPLIES 4

Nichole:

Looks like you want an alignment group or a "kernto" setup. If you
really mean two columns you probably need ALGROUP like this sample:

FROM DTD:


FROM FOSI:
<e-i-c gi="glosslist">
<charlist inherit="0">
<textbrk startln="1" endln="1">
</charlist>
</e-i-c>

<e-i-c gi="letter" context="glosslist" occur="all">
<charlist inherit="0">
<quadding quad="center">
<presp minimum="8pt" nominal="10pt" maximum="12pt">
<postsp minimum="6pt" nominal="6pt" maximum="6pt">
<keeps next="1">
<textbrk startln="1" endln="1">
</charlist>
<att>
<specval attname="editor-only" attloc="system-var" attval="#ANY">
<charsubset>
<presp nominal="0.25in" condit="discard" priority="med">
</charsubset>
</att>
</e-i-c>


<e-i-c gi="term" context="glosslist">
<charlist>
<quadding inherit="0" quad="left">
<presp minimum="6pt" nominal="8pt" maximum="10pt" condit="discard"&lt;br"/>priority="high">
<textbrk startln="1" endln="1">
</charlist>
<att>
<specval attname="editor-only" attloc="system-var" attval="#ANY">
<charsubset>
<indent inherit="0" leftind="1pi" firstln="*">
<quadding inherit="0">
<presp nominal="0.25in" condit="keep" priority="force">
</charsubset>
</att>
<att>
<specval attname="print-only" attloc="system-var" attval="#ANY">
<specval attname="numcols" attloc="rear" attval="2">
<charsubset>
<indent inherit="0" leftind="0.0in" rightind="*0.75in" firstln="*">
<textbrk startln="1" endln="1">
<algroup refpoint="first">
</charsubset>
</att>
<att>
<specval attname="print-only" attloc="system-var" attval="#ANY">
<specval attname="numcols" attloc="rear" attval="1">
<charsubset>
<indent inherit="0" leftind="0.0in" rightind="*1.65in" firstln="*">
<textbrk startln="1" endln="1">
<algroup refpoint="first">
</charsubset>
</att>
</e-i-c>


<e-i-c gi="def" context="glosslist">
<charlist>
<presp minimum="8pt" nominal="10pt" maximum="12pt" priority="med">
<textbrk startln="1" endln="1">
</charlist>
<att>
<specval attname="editor-only" attloc="system-var" attval="#ANY">
<charsubset>
<indent leftind="2pi" firstln="*">
</charsubset>
</att>
<att>
<specval attname="print-only" attloc="system-var" attval="#ANY">
<specval attname="numcols" attloc="rear" attval="2">
<charsubset>
<indent inherit="0" leftind="0.85in" rightind="0" firstln="*">
<textbrk startln="1" endln="1">
<algroup refpoint="first">
</charsubset>
</att>
<att>
<specval attname="print-only" attloc="system-var" attval="#ANY">
<specval attname="numcols" attloc="rear" attval="1">
<charsubset>
<indent inherit="0" leftind="1.75in" rightind="0" firstln="*">
<textbrk startln="1" endln="1">
<algroup refpoint="first">
</charsubset>
</att>
</e-i-c>

Input:



Output:



Hope tis helps,
-Andy
\ / Andy Esslinger LM Aero Tech Order Data
_____-/\-_____ (817) 279-0442 Box 748, Mail Zone 4285
\_\/_/ (817) 777 3047 Ft. Worth, TX 76101-0748

If your definitions or "meanings" are short and you don't need the
column text wrapping that algroup formatting provides, you might want to
check into the content and formatting of the <deflist> tag in the
MILSPEC DTD and FOSI in the ...Arbortext/Editor/doctypes folder. I
think it is also in the CALS (38784) DTD. It is in the article and book
DTDs as well, but is slightly different there.


thank you for getting back to me. I am struggling with your example because my dtd is drastically different from the example you sent. my dtd looks like this:

%html-xmlns; CDATA #FIXED %html-namespace;

%common.attrib;

%events;

name CDATA #IMPLIED

value CDATA #IMPLIED

type (button|submit|reset) "submit"

disabled (disabled) #IMPLIED

tabindex CDATA #IMPLIED

accesskey CDATA #IMPLIED

onfocus CDATA #IMPLIED

onblur CDATA #IMPLIED

>

And you sample looks a lot different. Not sure how to make them converge.

And you sample looks a lot different. Not sure how to make them converge.

and your sample looks a lot different

Nichole,

Sorry. I have no clue and there is not enough information here. The
parameter entity that this posting contains doesn't look like a glossary
to me.

Maybe it makes sense to someone that does XSL, but I'm just a FOSI guy.

-Andy
\ / Andy Esslinger LM Aero Tech Order Data
_____-/\-_____ (817) 279-0442 Box 748, Mail Zone 4285
\_\/_/ (817) 777 3047 Ft. Worth, TX 76101-0748


Top Tags