libredwg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libredwg] libredwg Digest, Vol 50, Issue 11


From: Rawles Roberts III
Subject: Re: [libredwg] libredwg Digest, Vol 50, Issue 11
Date: Tue, 27 May 2014 17:51:10 -0500

In AutoCAD 2012-2013, in TEXT or MTEXT entities, all special characters are delimited ("&amp", etc) when viewed in the Properties box. I hope this helps.


On Tue, May 27, 2014 at 11:00 AM, <address@hidden> wrote:
Send libredwg mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.gnu.org/mailman/listinfo/libredwg
or, via email, send a message with subject or body 'help' to
        address@hidden

You can reach the person managing the list at
        address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of libredwg digest..."


Today's Topics:

   1. Re: Guru's script suite (Piyush Parkash)
   2. Re: Guru's script suite (R. van Twisk)
   3. Re: GSoC coding period started (Piyush Parkash)
   4. Re: Guru's script suite (Neil Simmonds)


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

Message: 1
Date: Tue, 27 May 2014 02:24:25 +0530
From: Piyush Parkash <address@hidden>
To: "General discussion and developer's list for LibreDWG"
        <address@hidden>
Subject: Re: [libredwg] Guru's script suite
Message-ID:
        <CAPKRyKOgGxvxFem4o+KrxNyotCo=address@hidden>
Content-Type: text/plain; charset=UTF-8

On Sat, May 24, 2014 at 1:41 AM, Neil Simmonds <address@hidden> wrote:

<snip>
> 1) I have to move the first line date comment after the ?xml version

Yes the date causes problem. I will probably remove it from the xml file.

>
> 2) I'm getting an error with MTEXT object that has an '&' in it....

<snip>

>
> Any ideas ?

Right Now, None. I am still working on it. I will look into it and
inform you. :)



--
Piyush Parkash
piyushparkash.wordpress.com



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

Message: 2
Date: Mon, 26 May 2014 16:05:57 -0500
From: "R. van Twisk" <address@hidden>
To: General discussion and developer's list for LibreDWG
        <address@hidden>
Subject: Re: [libredwg] Guru's script suite
Message-ID: <address@hidden>
Content-Type: text/plain; charset="windows-1252"




On May 26, 2014, at 3:54 PM, Piyush Parkash <address@hidden> wrote:

> On Sat, May 24, 2014 at 1:41 AM, Neil Simmonds <address@hidden> wrote:
>
> <snip>
>> 1) I have to move the first line date comment after the ?xml version
>
> Yes the date causes problem. I will probably remove it from the xml file.
>
>>
>> 2) I'm getting an error with MTEXT object that has an '&' in it....
>
> <snip>

You might need to wrap your text with CDATA like so:


<DwgEntity  type="IAcadMText"><![CDATA[{\\This is fine & without the ampersand}]]></DwgEntity>

This assuming you are not using a XML generator. If you cannot use CDATA then use &amp; instead of CDATA.
This is also true for some of the reserved character?s in XML.
If it?s human written, I would suggest to use CDATA.

>
>>
>> Any ideas ?
>
> Right Now, None. I am still working on it. I will look into it and
> inform you. :)
>
>
>
> --
> Piyush Parkash
> piyushparkash.wordpress.com
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gnu.org/archive/html/libredwg/attachments/20140526/540981ac/attachment.html>

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

Message: 3
Date: Tue, 27 May 2014 02:36:27 +0530
From: Piyush Parkash <address@hidden>
To: "General discussion and developer's list for LibreDWG"
        <address@hidden>
Subject: Re: [libredwg] GSoC coding period started
Message-ID:
        <address@hidden>
Content-Type: text/plain; charset=UTF-8

On Fri, May 23, 2014 at 9:40 PM, .Org.Com <address@hidden> wrote:
> As you proceed, consider updating wiki page:


Ok Sir.

I have generated the Image, Txt, and Xml output of all the DWG files.
Here is the link to it. Please do have a look. The size of the
repository is a little big. It is because of bmp files. I will convert
it into Jpeg files so as to decrease the size. I wasn't aware of
AutoCAD's jpgout command. Now I am.

https://github.com/piyushparkash/DWG-Files

I have started working on prototype of testsuite.c. I will inform as
soon as I complete a little prototype.

--
Piyush Parkash
piyushparkash.wordpress.com



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

Message: 4
Date: Mon, 26 May 2014 23:01:27 +0100
From: Neil Simmonds <address@hidden>
To: "General discussion and developer's list for LibreDWG"
        <address@hidden>
Subject: Re: [libredwg] Guru's script suite
Message-ID:
        <address@hidden>
Content-Type: text/plain; charset="utf-8"

Yes, I just modified txttoxml.py for now....

...
def processData(strTemp):
strTemp=strTemp.replace(";","")
strTemp=strTemp.replace("&","&amp;")
strTemp=strTemp.strip()

....

Thanks


On 26 May 2014 22:05, R. van Twisk <address@hidden> wrote:

>
>
>
> On May 26, 2014, at 3:54 PM, Piyush Parkash <address@hidden>
> wrote:
>
> On Sat, May 24, 2014 at 1:41 AM, Neil Simmonds <address@hidden> wrote:
>
> <snip>
>
> 1) I have to move the first line date comment after the ?xml version
>
>
> Yes the date causes problem. I will probably remove it from the xml file.
>
>
> 2) I'm getting an error with MTEXT object that has an '&' in it....
>
>
> <snip>
>
>
> You might need to wrap your text with CDATA like so:
>
>
> <DwgEntity  type="IAcadMText"><![CDATA[{\\This is fine & without the
> ampersand}]]></DwgEntity>
>
> This assuming you are not using a XML generator. If you cannot use CDATA
> then use &amp; instead of CDATA.
> This is also true for some of the reserved character?s in XML.
> If it?s human written, I would suggest to use CDATA.
>
>
>
> Any ideas ?
>
>
> Right Now, None. I am still working on it. I will look into it and
> inform you. :)
>
>
>
> --
> Piyush Parkash
> piyushparkash.wordpress.com
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gnu.org/archive/html/libredwg/attachments/20140526/fdc1d72a/attachment.html>

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

_______________________________________________
libredwg mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/libredwg


End of libredwg Digest, Vol 50, Issue 11
****************************************


reply via email to

[Prev in Thread] Current Thread [Next in Thread]