Quantcast
Channel: PTC Community : Discussion List - Arbortext
Viewing all 1555 articles
Browse latest View live

Reg macro

$
0
0

Hai Friends,

 

We have one .Dwg file its contains english language text, I want to translate english to riussian . There is any macro macro available for translation in isodraw please let me know.


Attribute Content Right Align

$
0
0

Could anyone give pointers on how to Right Align attribute content?

 

My client in legal publishing is using manual numbering because there is no logic to their numbering e.g. (ii) may be followed by (v)

The number is captured with label attribute in xml as follows:

<subPara hangIndent="yes" indent="lowerroman 4 character" label="(ii)">

<body>in which the testator was, at the time of the execution of the

will or at the time of his death, domiciled or habitually resident;

or</body>

</subPara>

 

To output the number, Gentext for the subPara is captured as follows:

<_gte:AttributeContent occur="1" scope="subPara" attr="label"/>

 

The challenge is aligning the Gentext (AttributeContent) Right as illustrated below:

   (ii)

  (iii)

   (v)

(iixi)

 

Any ideas would be greatly appreciated.

Foldout issue

$
0
0

When we place a topic with a foldout in the chapter coloum it publishes my folout with a blank page after the foldout page. If I move my topic one level it does not do it any more. Just wondering where I need to look to fix this issue. I look in styler and see there is a foldout element and in the fold out element there is a lastpage with a blank page following the element, So I take it this is why it prints correctly on the chapter level. One question is how do you know how many levels an element is styled for?

 

Thanks

 

Bryon

Converting Photos to line drawings?

$
0
0
Is it at all possible to convert a digital photograph into a line drawing within IsoDraw -- or is there a tool out there that can be used with IsoDraw to generate a line drawing from a digital photograph? My company is wondering if the only option is photo tracing - which is very time consuming for our illustrator. Thanks for any advice.

Suppressing warnings for keyref attributes on elements with content

$
0
0

Hello,

I wonder if someone has found a way to suppress this new warning.  We understand how the keyrefs function and that this is likely by design, but it should be obvious that if the element contains content, use the content, otherwise use the keyref content.  At least that's how the OASIS standard reads.

For example:

Key reference "nobracket" on "uicontrol" element in "ks_operation_mode.dita" will not derive its content from the referenced key definition because the element is not empty.

 

We may have hundreds of these, and it makes it very difficult to filter for the "real" warnings.

 

I have perused the DCF files for keybase and ditabase, but no obvious solution was found. 

 

Thanks for your time.

Bill

Oasis table cellpadding

$
0
0

I have set the cellpadding of my Oasis tables to 4px, but it does not show when i do a html file output or pdft. Can someone please help ? and is it possible for me to set the cellpadding for my tables via the style sheet ?

Can Arbortext insert relative paths in hrefs?

$
0
0

Is there a way to configure Arbortext 6.0 M070 to insert relative paths in hrefs?  Currently, it inserts full absolute paths with drive letters.  This is killing our publications pipeline.

 

We have a large team of globally dispersed authors using SVN to share and maintain content. Their file structure is consistent within maintained content, but it's impossible for us to know what drive/folder they check out content into. 

Anyone tackled PE and UTF-8?

$
0
0

I'm sending UTF8 encoded strings across http to the PE server but they're getting mangled into unusable strings.

 

For example:

<!-- 中,您将学如何使用 -->

 

becomes a garbled string, either:

<!-- 中 xEFxBC?XE6?XA8XE5XB0学习xE5xA6xBD?Xa* -->

 

or

<!-- ????????????? -->

 

depending on how I write to code on the server.

 

The internet/Java sites suggest a variety of fixes, none are working.

 

Some suggest adding enctyle or <meta> to my html form:

 

<form method="POST" action="http://132.253.204.201:8080/e3/servlet/e3" enctype="application/x-www-form-urlencoded; charset=utf-8">

<meta http-equiv="Content-type" content="text/html; charset=utf-8" />

 

These don't help.

 

Some suggest different combinations of ways to read the object at the server, like:

 

new FileOutputStream("D:\\UTF8Output_2.txt"), "UTF-8");

 

or

 

BufferedWriter bufferedWriter = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(request_XML_filename),"UTF8"));

 

or

 

BufferedWriter bufferedWriter = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(request_XML_filename),"UTF-8"));

 

None of these work.

 

Has anyone tacked this yet?


How to add a filter on a data table in ACL Language

$
0
0

Hi,

With ACL language, I have created a function which displays a data table in a customized dialog. How to add a filter on the data table?

Kind regards

David G

How do I eliminate unwanted lines in IsoDraw?

$
0
0

Hello,

 

I am importing STEP files into IsoDraw and getting random extra lines in areas that are actually smooth, flat surfaces. To clarify further, these are not the types of lines left over from cuts, corners or curvy shapes. They should not be there at all, and I have found no way to successfully delete them in 2D.

 

The lines tend to fuse with ellipses. I tried deleting the points of the lines, but that distorts the ellipses that are fused with the lines. I find no "break curve apart" type function that would disconnect the unwanted lines from the ellipses.

 

I am hoping there is something I can do to resolve this in 3D mode or upon import. The CAD experts I talked to at my company suspect it is a "format translation" issue with IsoDraw. I would like to avoid bringing the 2D graphics into another drawing program just to fix this because it might disrupt the metadata, and it's important that we keep that intact in our CGMs. Not to mention, this creates a bunch of extra work. The lines really should not be there in the first place.

 

Does anyone know why this is happening?

Any help would be greatly appreciated.

 

Thanks,

-Renee

 

P.S.: Anyone have success with adding multiple tags? It says to "use communities to separate multiple tags." I think this is an error.

In ACL language, how to create a button in a customized toolbar and how to attach a function to the button ?

$
0
0

I have created a toolbar with a button using XUI dialog boxes. The button and the toolbar are displayed successfully but the command associated with the button doesn't work? Can you help me ?

 

code fragments:

function _init1(win = current_window())
{
if (window_state(win) < 0) {
  response("Invalid window $win")
  return
}

local doc = window_doc(win)
if (!doc_valid(doc)) {
  response("Invalid document")
  return
}

local dirPath=dirname(doc_path(doc));
dirPath=$dirPath . "dialogs\\toolbar_InsertRevisionTags.xml"
dirPath=absolute_file_name($dirPath);

 

append_dialogs_path(dirPath, 1);

 

if (!dlgitem_exists(win, 'toolbar_InsertRevisionTags')) {
  window_load_component_file(win, 'toolbar_InsertRevisionTags.xml')
}

 

ret=dlgitem_add_callback(win ,'button_InsertRevisionTags', 'attach_callback');

}

 

#function 'attach_callback'

function attach_callback(win, dlgitem, event, data, appdata)

      response("ok")

}

Error in Arbortext styler xhtml-lat1.ent

$
0
0

Hello,

I am working on my stylesheet with Arbortext Styler and it displays the following error message:

C:\Program Files\PTC\Arbortext Editor\doctypes\xhtml\xhtml.dtd

ERREUR Line: 30 Column: 11 Could not open file: http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent

I tried to get the file linked and I managed to download it without trouble... I do not understand what is not working, could someone give me a hand please?

Segment Violation Errors

$
0
0

Hi Folks,

 

We have been using Arbortext as a publishing tool for almost a year now. So far we have not had too many issues we haven't been able to overcome. Typically our documents are between 50 - 200 rendered pages and contain images, lists, cross references, and often many tables.

 

From time to time, I get complaints from users indicating that after rendering documents multiple times, they get segment violations and Arbortext closes. The work around is to restart and keep going.

 

It seems that the more complex the tables get (cell spanning) the more likely we have issues. For fun, I took a document and copied the content many times over to see what would happen when we have a larger document - the result is Arbortext will just crash about 330 pages or so into rendering. From a system perspective, I can see memory usage climb (x32 version here) to just over 1.1 GB before the crash. The error I commonly see is editor.exe: segment violation (signal 11).

 

My question is this, how do others handle these issues and are there other settings under the covers that will allow Arbortext more memory or to process larger files? I am a bit nervous that someday soon we may run into a 600 page document that cannot be handled.

 

I looked into some of the stylesheet profiling tools - but again with the error message I am seeing - it doesn't tell me what is really happeneing. For reference we are using the APP engine and have a custom schema/stylesheet.

 

Any advise is welcome.

Thanks,

Rob.

Write Recovery File Location

$
0
0

I have my Preferences to Recover every 60 seconds. We just had a power failure. I went to the Checkout Folder to capture all my data I just lost in the power outage and it didn't save anything I had been working on for the past 30 minutes. So does the Write Recovery File save option actually save somewhere else or what. Why didn't my work save up unto that last minute?

IsoDraw: deafult number of templates at 10

$
0
0

When you go to File -> New it shows a list of templates that are available in the users directory under the folder Isodraw/program/templates I believe

 

but it only shows the first 10 files in the Templates directory

 

Is there some envrionment variable or some parameter I can set somewhere to show more than 10 templates?


Tag templates in custom application

$
0
0

Hi there,

 

I'm using Arbortext 5.4 M080.

 

I have a custom application and have created some .tpl tag templates files in my custom/tagtemplates folder.

 

In the editor when I use Tools -> Tag Templates... to insert my newly added templates I can insert them into my document and all is well. However, when I go and insert the relevant element directly in my document the template is not inserted - just the element as normal.

 

Does anyone know if I am missing something. Is there some additional configuration I need to do to make this work?

 

Many Thanks for your help :-)

 

Johanna

Problem with using mouseclick in macro to select callouts on illustration

$
0
0

I'm trying to get a macro to select callouts but get errors

 

This is a little macro that illustrates my problem

 

macro test_me

  define me as MouseEvent

  define el as element

  me = Wait MouseClick

  Select at me.ptmm.x me.ptmm.y Direct

  el = ActiveDoc.FirstSelectedElement

  MESSAGE el.type

end macro

 

When run this macro just displays the selected element type - "Line" or "Bezier" etc.

 

But if you click on a callout it gives the following error message:

 

Macro: Error in expression syntax.

"MESSAGE el.type"

 

Anyone have any advice?

Moving Isodraw to new machine

$
0
0

I need to change my IsoDraw 7.1 to a new machine. I can't find the online facility to request a license change. Can someone please let me know how to go about it.

How is "placeholder" text created in a style?

$
0
0

If you open a new document in Arbortext and select "Arbortext XML DocBook V4.0", the empty document presents several "placeholder" texts for title, pubdate, corpauthor, street, and so forth (see image)

 

 

Placeholder Text.PNG

How can this placeholder text be generated in styler?  Whenever I style an element and it's empty, there is nothing displayed on the editor.

Can Arbortext insert relative paths in hrefs?

$
0
0

Is there a way to configure Arbortext 6.0 M070 to insert relative paths in hrefs?  Currently, it inserts full absolute paths with drive letters.  This is killing our publications pipeline.

 

We have a large team of globally dispersed authors using SVN to share and maintain content. Their file structure is consistent within maintained content, but it's impossible for us to know what drive/folder they check out content into. 

Viewing all 1555 articles
Browse latest View live


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