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, <[email protected]> wrote:

> Send libredwg mailing list submissions to
>         [email protected]
>
> 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
>         [email protected]
>
> You can reach the person managing the list at
>         [email protected]
>
> 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 <[email protected]>
> To: "General discussion and developer's list for LibreDWG"
>         <[email protected]>
> Subject: Re: [libredwg] Guru's script suite
> Message-ID:
>         <CAPKRyKOgGxvxFem4o+KrxNyotCo=
> [email protected]>
> Content-Type: text/plain; charset=UTF-8
>
> On Sat, May 24, 2014 at 1:41 AM, Neil Simmonds <[email protected]> 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" <[email protected]>
> To: General discussion and developer's list for LibreDWG
>         <[email protected]>
> Subject: Re: [libredwg] Guru's script suite
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="windows-1252"
>
>
>
>
> On May 26, 2014, at 3:54 PM, Piyush Parkash <[email protected]>
> wrote:
>
> > On Sat, May 24, 2014 at 1:41 AM, Neil Simmonds <[email protected]> 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 <[email protected]>
> To: "General discussion and developer's list for LibreDWG"
>         <[email protected]>
> Subject: Re: [libredwg] GSoC coding period started
> Message-ID:
>         <
> capkrykonmgqb3b-dck0o_acohbof-dfa2qbhxzbxsokjdyr...@mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Fri, May 23, 2014 at 9:40 PM, .Org.Com <[email protected]> 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 <[email protected]>
> To: "General discussion and developer's list for LibreDWG"
>         <[email protected]>
> Subject: Re: [libredwg] Guru's script suite
> Message-ID:
>         <
> caban-srgp4vyw-e3wc_nu2fa_ebeakmzyydhrydrogjmp_b...@mail.gmail.com>
> 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 <[email protected]> wrote:
>
> >
> >
> >
> > On May 26, 2014, at 3:54 PM, Piyush Parkash <[email protected]>
> > wrote:
> >
> > On Sat, May 24, 2014 at 1:41 AM, Neil Simmonds <[email protected]> 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
> [email protected]
> https://lists.gnu.org/mailman/listinfo/libredwg
>
>
> End of libredwg Digest, Vol 50, Issue 11
> ****************************************
>

Reply via email to