Recently active
As I slowly start thinking about 'retiring' (and I'll think VERY SLOWLY onthat), I think I'll pass on some of the little scripts I've put togetherover the years. This one I did a couple of months ago before I delivered a large (1,400page) document. It will go through and tell you if there are any elementsthat normally would have content but are empty. There are two functions inthis package. One will allow you to select a specific element to see ifthere are any empty tags, the other will check all the elements in thedocument. I documented the first function and only those changes in the secondfunction that differ from the first. How I chose to implement this is shown after the script. package empty_elements;function empty_element(){};function empty_element1(){};function empty_element(){o=oid_first(); #sets the 'o' variable to the first oid in the filecl=oid_caret() #identifies the current location of the cursor in thedocumentcount=0; #This will count the number of elements that are empt
Is there a way to set how many characters are left in a row. I have found in the help center widow-control but it does not say much. There must be setting that controls this.Bryon
There are more, but are so specific as not to be useful or so close to oneI've already shared as to be redundant. Hope you enjoy them! Would love tosee other people's stuff like that.-- Paul Nagai
This was to make a field index that sorted on the document order of anarticle. The sort key was complex, it was actually built up of Section Division ArticleWhere some sections did not have Divisions, the articles were directly inthe Section. In other cases, the Articles were inside of Divisions insideof Sections, so the ultimate sort-key was: SSSS.DDDD.AAAAA "real" one would probably look like: 0002.0004.0012Or, Section 2, Division 4, Article 12.Anyhow, this is the bit that padded the article number. Next comes the FOSIfragment calling this function. Finally, the FOSI fragment where the entrywas added to the index.function get_article_num_sort_key(win, oid) { return reverse(substr(reverse('0000' .oid_xpath_string($oid,'count(preceding-sibling::article)')),1,4));}<att><fillval attname="my_fosi::get_article_num_sort_key" attloc="system-func"&lt;br"/>fillcat="savetext" fillchar="conrule"><charsubset><savetext textid="article_num-sortkey.txt"></charsubset
Sometimes you want to do one thing if an element is empty and another if itis not. Here are a couple of tests of empty we have used. I'm not sure ifboth are still in use in different places, they may be. One looks for andignores XML comments and our <remarks> tags which have no output other thanon-screen.function is_element_empty(win, oid) { empty = 'yes'; children = oid_children($oid); for (i = 1; i <= $children; i++) { if (oid_name(oid_child($oid,$i)) != 'remarks' &&oid_name(oid_child($oid,$i)) != '_comment') { empty = 'no'; } } return $empty}<e-i-c gi="svalue" context="product_name"><charlist inherit="1"><savetext textid="product_name-value.txt" conrule="\\"></charlist><att><charsubset><suppress sup="1"></charsubset></att><att><specval attname="my_fosi::is_element_empty" attloc="system-func"&lt;br"/>attval="no"><charsubset><savetext textid="product_name-value.txt" conrule="#CONTENT">
I do not honestly fully remember why we need this / how it works. Theuse-case has to do with an element with two parts each of which are alwaysoutput on facing pages ... verso then recto. (Not sure if that'stechnically a "spread" or not, but you get the idea.) Something like adiagram on verso and a parts list on recto. (We don't do parts lists, butthat's a classic example, I think.)Anyhow, we need to one thing if another element follow vs. if we are thelast element in a chapter, say. So we test nextsib() and if = "self" thenwe do one thing. If it is null or a section or something, we do somethingdifferent. Trailing blank footer text? Like I said ... can't rememberexactly.function nextsib(win,oid) { return oid_name(oid_next($oid));}function previoussib(win,oid) { return oid_name(oid_prev($oid));}<att><specval attname="my_fosi::nextsib" attloc="system-func"&lt;br"/>attval="#EQ#\my_description\"><fillval attname="my_fosi::nextsib" attloc="system-func" fillcat="savete
We no longer use this specific test anymore (we stopped supporting A4 so wealways know we're US Letter), but we used this in conjunction withprofiling to determine which page format to use.I have always wanted a way to test the composition requests' profilingdirectly from the stylesheet. It's not possible or at least it is far fromeasy. What we do now is modify the DTD to permit things like:<us_letter region="US"/">where "region" is a profiling attribute. Now the following let's us do thisfor US and that for A4.We still use the same DTD/profiling trick against: <version_1 release="version_1"/"> <version_2 release="version_2"/"> <version_3 release="version_3"/">and other similar values. That said, because we modified the DTD andcurrently constructed the document using "profiling elements" we don't needto use a system-func for this anymore.ANYhow, you can test for the presence of an element using:function us_letter_exists(win,oid) { local exists = "no"; if (oid_xp
function in_touchup(win,oid) { local exists = "no"; for (oid = oid_parent(oid); oid_valid(oid); oid = oid_parent(oid)) { if (oid_name(oid) == "_touchup") { exists = "yes"; } }# This stopped working at some upgrade somewhen. PIs got moreinvisible.# if (oid_xpath_boolean($oid,'ancestor::_touchup')) {# exists = "yes";# } return exists;}Screen FOSI (in print, we use change bars for the "outer" _touchup, andyellow background for the inner _touchup):<att><specval attname="my_fosi::in_touchup" attloc="system-func" attval="no"><charsubset><highlt fontclr="violet"></charsubset></att><att><specval attname="my_fosi::in_touchup" attloc="system-func" attval="yes"><charsubset><highlt bckclr="FFFF00" fontclr="black"></charsubset></att><att>-- Paul Nagai
Sorry David,I just passed on what I was told by Arbortext tech support. I had a case about a PDF problem and they wanted me to try PDF Direct instead of Acrobat. When I couldn't make it work, the tech delved into what I had licensed. He told me that PDF Direct was only built into Styler and I would need to buy a Styler license (or a PE server) to use it.I thought I was passing a fact, but now it sounds like something changed since the PDF case was worked (by the way, my case was caused by some missing registry entries for Acrobat).I guarantee that if I remove acrobat distiller that the Compose-->PDF selection will be greyed out even though I have a print composer license installed. On June 12th 2014, the company issued a new laptop for me, but didn't transfer the Acrobat software from the old one and I couldn't composer PDFs. It may be because I use version 5.3m040, but the Arbortext tech didn't mention versions as a factor; just whether there was a Styler (or server) license or not
Webtop is migrated from 6.7 sp1 to webtop 6.7 sp2.Arbortext version used is 6.0 M020 in both.In webtop 6.7 sp1,opened a xml document in Arbortext Editor.Connected to Documentum via AE and could insert components.Whereas in 6.7 sp2,even after connecting to Documentum through AE,while hitting enter to insert a component,it is asking for the documentum connection again.Why it is asking for the connection again,when it is already connected.What is the solution to this behaviour?
Hello,There seems to be a problem with the document map window when inserting an element using the Quicktag menu.Using just the sample 28001C.sgm document from the Arbortext distribution with the following snippet of structure:<para0><title>Definition of terms</title><subpara1 id="attname.def"><title>Attribute name</title><para>Thename of an attribute as assigned in the attribute definition listdeclaration of a DTD.</para></subpara1><subpara1 id="border.def"><title>Border</title><para>Graphic thatappears along page boundaries. </para></subpara1><subpara1 id="charfill.def"><title>Character fill</title><para>Therepeated use of a character (possibly the space character), or stringof characters, to occupy space within running text, for example, leaderdots.</para></subpara1></para0> In the Docmap, if I right click after the last </subpara1> before </pa
I ask because this configuration is not officially supported by PTC. Just wondering if anyone has done it and if you had any trouble since that is the configuration we are wanting to run this year before we transition to 6.1 next year.
Hello,I'm new to PTC, though I've worked as a content management professional on similar platforms. For a customer requirement I need to activate a feature on Arbortext editor.Here is my question:How can I upload Arbortext outputs that are authored from an ootb dita template as "Dynamic Document" to windchill server? I need this functions for reusable/ referable manners of Arbortext Editor. Can you show me the simpliest/ basic way to activate this feature?I use Arbortext 6.1 M20 and Winchill 10.2 M20.Thanks,Andaç
I have an XSLT script which will convert our XML into a PE ready version. It converts into a , which has, in the past/for years, allowed the composition to honor that to be the preferred word breaking point. At some point this stopped working, however, but I'm not sure when.Is this the preferred method to get discretionary hyphens to output using PE?<xsl:template match="processing-instruction('Pub')[.='_hyphen-point']"> <xsl:text></xsl:text></xsl:template>Kristian Van TassellLMD ToolsSiemens Industry SectorSiemens Product Lifecycle Management Software Inc.5939 Rice Creek ParkwayShoreview, MN 55126 United StatesTel. :+1 (651) 855-6194Fax :+1 (651) 855-6280- <-%20>www.siemens.com/plm
Thanks, Ed. We are using the FOSI. I've attached the code for the chapter. This is the code that is working fine in 5.4 but not in 6.1.
After I drag the CP folder into the Arbortext Editor application folder, I see the "Change" Menu as well as Change Page Help menus in Arbortext. However when I go to "create basic document" in the Change menu I receive an error message. Do I need to run a license manager? Do I drag some license info somewhere?
Did anyone have an issue with PDF Bookmarks being truncated? It seems to max out around 63 characters or so. (FOSI, AE version 5.4)
HEADS UP! Mail Headers have been changed! I do not think they are back tothe way they were before (but I could be wrong). I replied to Caroline'semail yesterday, but did not pay attention to the headers and accidentallysent the reply JUST to her.Now the default reply-to is the sender, not the list. Frankly, I prefer thereply-to, on mailing lists, to be to the list, although I do like to beable to discern and reply-to the original sender only/instead becausesometimes should just be off-list. By defaulting to reply-to originalsender, we are going to see a lot of helpful information not shared withthe group until we all remember to change the reply-to to be to or at leastinclude the list.So, if you get a reply off-list that would benefit the group (immediatelyor in the future), take the time to reply-to the entire list (unless youthink maybe the sender intended it to be private) sharing helpfulinformation.On the other hand, we are less likely to see the accidental note to thelist that a r
Just noticed that messages arriving under the [adepters] label now originate from -'.This started last Thursday, July 10.DavidDavid S. TaylorProject Manager, Production and MarketingBuilding Regulations | NRC ConstructionNational Research Council CanadaBuilding M-23A, Room 114 | 1200 Montreal Road | Ottawa, ON | K1A 0R6Telephone: +1.613.990.2731 | Fax: +1.613.952.4040David.S.Taylor@nrc-cnrc.gc.ca<">mailtoavid.S.Taylor@nrc-cnrc.gc.ca>
We are currently using Editor 5.4 M170 and are testing Editor 6.1 M010. We're seeing problems with vertical alignment in nearly all footers of our document DTD/FOSIs. Does anyone know of any setting or option in 6.1 that might be causing this? Or better yet, a method of fixing it that would be better than having to tinker with every page layout. Any help would be much appreciated. Below are screen shots from 5.4 and 6.1 of the same document's Recto/Verso footers. Editor 5.4 Recto Page Editor 6.1 Recto Page Editor 5.4 Verso Page Editor 6.1 Verso Page
I am trying to add a notation to the CSDB and for some reason once I go through the Entity Options in the CSDB and try to add it, that notation is not showing up. I dont know what I am doing wrong but I really need some help with this if anyone can help out. I am trying to add PNG to the list so we can add those entities to our data modules.Thanks,Jamie Starling
Hi,I've got a customization in one environment that manages bookmarksautomatically. I've cloned this environment serially several times withoutincident. Now, I'm having a problem in the latest clone that I'm thoroughlystumped by. Hopefully in the morning all will be clear to me, however, ifI'm still in a fog, I'm hoping someone has stumbled across this before andcan wake me up.In my slightly older environment that works, I can issue this command withthe cursor in a title:insert_tag "_bookmark"And is inserted. This is the behavior I expect and havebeen getting for oh so long.In my new environment, no processing instruction is inserted and the errorin my subject line is displayed.Anyone see the obvious? I don't.P.S. I used <title> just as an example. The _bookmark won't insertanywhere. For what it's worth, both my last (working) and current (notworking) environment are in 6.0 m090.-- Paul Nagai
Hello Community,I am working on a new revision of a document that has change mark up tags. How do I remove them globally instead of one at a time?
How everybody!There's a way to test whether a page is odd or even? I need to do different actions depending of the page's type.
Hello,I have a three column table built using Arbortext Table Model for it to be displayed to the user in a new window using ACL.I'm assuming the Arbortext Table Model is still supported with recent versions of AE ?ThanksAndy
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.