<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: arcpy bold, italic, underline stand alone script in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-bold-italic-underline-stand-alone-script/m-p/403506#M31778</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Got it.&amp;nbsp; Simple typos always get me.&amp;nbsp; Thank you for your help and knowledge.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jan 2012 09:57:09 GMT</pubDate>
    <dc:creator>deleted-user-MS0lE1F_0-sy</dc:creator>
    <dc:date>2012-01-04T09:57:09Z</dc:date>
    <item>
      <title>arcpy bold, italic, underline stand alone script</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-bold-italic-underline-stand-alone-script/m-p/403502#M31774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How would I Bold a portion of my text element?&amp;nbsp; This script loses its next line functionality if I use &amp;lt;BOL&amp;gt;&amp;lt;/BOL&amp;gt;.&amp;nbsp; How do I correct this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;finaltext = ("&amp;lt;BOL&amp;gt;Result1:&amp;lt;/BOL&amp;gt;" + '\n' + textValue1 + '\n' + " " + '\n' + "&amp;lt;BOL&amp;gt;Result2:&amp;lt;/BOL&amp;gt;" + '\n' + textValue2 + '\n' + " " + '\n' + "&amp;lt;BOL&amp;gt;Result3:&amp;lt;/BOL&amp;gt;" + '\n' + textValue3 + '\n' + " ")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;el1to3.text = finaltext&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This script will Bold the Result1 but all the rest of it is jumbled on one line on top of each other.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like it to look like this-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Result1:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;c&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Result2:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;c&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2012 17:19:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-bold-italic-underline-stand-alone-script/m-p/403502#M31774</guid>
      <dc:creator>deleted-user-MS0lE1F_0-sy</dc:creator>
      <dc:date>2012-01-03T17:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy bold, italic, underline stand alone script</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-bold-italic-underline-stand-alone-script/m-p/403503#M31775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Use \r\n instead of \n&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2012 17:29:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-bold-italic-underline-stand-alone-script/m-p/403503#M31775</guid>
      <dc:creator>JasonScheirer</dc:creator>
      <dc:date>2012-01-03T17:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy bold, italic, underline stand alone script</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-bold-italic-underline-stand-alone-script/m-p/403504#M31776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This works great when I use it for one of them:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;finaltext = ("&amp;lt;BOL&amp;gt;Result1:&amp;lt;/BOL&amp;gt;" + '\r\n' + textValue1 + '\n' + " " + '\n' + "Result2:" + '\n' + textValue2 + '\n' + " " + '\n' + "Result3:" + '\n' + textValue3)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;el1to3.text = finaltext&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Result1:&lt;/STRONG&gt;&lt;SPAN&gt; is bold&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However when I switch to it doesnt Bold them:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;finaltext = ("&amp;lt;BOL&amp;gt;Result1:&amp;lt;/BOL&amp;gt;" + '\r\n' + textValue1 + '\n' + " " + '\n' + "&amp;lt;BOL&amp;gt;Result2:&amp;lt;\BOL&amp;gt;" + '\r\n' + textValue2 + '\n' + " " + '\n' + "&amp;lt;BOL&amp;gt;Result3:&amp;lt;\BOL&amp;gt;" + '\r\n' + textValue3)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;el1to3.text = finaltext&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the results are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;BOL&amp;gt;Result1:&amp;lt;/BOL&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;BOL&amp;gt;Result2:&amp;lt;/BOL&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;BOL&amp;gt;Result3:&amp;lt;/BOL&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So it seems like I can only use the &amp;lt;BOL&amp;gt;&amp;lt;/BOL&amp;gt; once?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe you can tell me or point to some literature on when and how to use \r\n versus \n.&amp;nbsp; I must be searching for the wrong thing.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I appreciate the help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2012 19:01:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-bold-italic-underline-stand-alone-script/m-p/403504#M31776</guid>
      <dc:creator>deleted-user-MS0lE1F_0-sy</dc:creator>
      <dc:date>2012-01-03T19:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy bold, italic, underline stand alone script</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-bold-italic-underline-stand-alone-script/m-p/403505#M31777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Replace ALL \ns with \r\n and you'll need to use &amp;lt;/BOL&amp;gt;, not &amp;lt;\BOL&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;\r\n is the convention for Windows line breaks, \n is for Unix-like systems. In some places in Windows it's forgiving and lets you use \n, but not in text elements.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2012 19:58:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-bold-italic-underline-stand-alone-script/m-p/403505#M31777</guid>
      <dc:creator>JasonScheirer</dc:creator>
      <dc:date>2012-01-03T19:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: arcpy bold, italic, underline stand alone script</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-bold-italic-underline-stand-alone-script/m-p/403506#M31778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Got it.&amp;nbsp; Simple typos always get me.&amp;nbsp; Thank you for your help and knowledge.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 09:57:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-bold-italic-underline-stand-alone-script/m-p/403506#M31778</guid>
      <dc:creator>deleted-user-MS0lE1F_0-sy</dc:creator>
      <dc:date>2012-01-04T09:57:09Z</dc:date>
    </item>
  </channel>
</rss>

