<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>3373</bug_id>
          
          <creation_ts>2003-12-15 14:19:35 +0300</creation_ts>
          <short_desc>textcase.sty: \MakeTextUpper(Lower)case and not needed space</short_desc>
          <delta_ts>2009-09-01 12:18:09 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>tetex-latex</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Denis G. Samsonenko">d.g.samsonenko</reporter>
          <assigned_to name="Alexander Bokovoy">ab</assigned_to>
          <cc>d.g.samsonenko</cc>
    
    <cc>kirill</cc>
    
    <cc>ldv</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>10910</commentid>
    <comment_count>0</comment_count>
    <who name="Denis G. Samsonenko">d.g.samsonenko</who>
    <bug_when>2003-12-15 14:19:35 +0300</bug_when>
    <thetext>В файле textcase.sty следует вставить знак комментария (%) после строки       
\def\NoCaseChange##1{\noexpand\NoCaseChange{\noexpand##1}}, т.е. должно быть 
так:
\def\NoCaseChange##1{\noexpand\NoCaseChange{\noexpand##1}}%

Иначе при спользовании этого пакета макросы \MakeTextUppercase и \MakeLowercase 
вставляют пробел впереди текста, который обрабатывают, т.е. строка

bla-bla-bla-\MakeUppercase{bla-bla-bla-}bla-bla-bla

даст в результате

bla-bla-bla- BLA-BLA-BLA-bla-bla-bla

вместо 

bla-bla-bla-BLA-BLA-BLA-bla-bla-bla</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10930</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2003-12-16 18:40:10 +0300</bug_when>
    <thetext>Reassigned to package maintainer. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10932</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2003-12-16 18:40:56 +0300</bug_when>
    <thetext>*** Bug 3374 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19384</commentid>
    <comment_count>3</comment_count>
    <who name="Denis G. Samsonenko">d.g.samsonenko</who>
    <bug_when>2004-10-23 21:01:03 +0400</bug_when>
    <thetext>Таже ситуация наблюдается в tetex-latex-2.0-alt2. Поправьте, пожалуйста. Надо
всего-то: 

--- textcase.sty.orig   2002-05-22 01:20:50 +0700                              
     
+++ textcase.sty        2004-10-18 21:16:16 +0700                              
     
@@ -17,7 +17,7 @@                                                              
     
 \def\@uclcnotmath#1#2#3#4{\begingroup                                         
     
       #1%                                                                     
     
       \def\({$}\let\)\(%                                                      
     
-      \def\NoCaseChange##1{\noexpand\NoCaseChange{\noexpand##1}}              
     
+      \def\NoCaseChange##1{\noexpand\NoCaseChange{\noexpand##1}}%             
     
       \@nonchangecase\label                                                   
     
       \@nonchangecase\ref                                                     
     
       \@nonchangecase\ensuremath                                              
     
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71866</commentid>
    <comment_count>4</comment_count>
    <who name="Mikhail Gusarov">dottedmag</who>
    <bug_when>2008-06-13 13:00:39 +0400</bug_when>
    <thetext></thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97798</commentid>
    <comment_count>5</comment_count>
    <who name="Denis G. Samsonenko">d.g.samsonenko</who>
    <bug_when>2009-09-01 12:17:17 +0400</bug_when>
    <thetext>На сколько я понял, в апстриме исправлено где-то в 2004-м году. В связи с переходом на texlive в новых дистрибутивах данная ошибка уже не актуальна. Я посмотрел, в texlive-publishers-2008.0-alt0.14 в файле textcase.sty вроде теперь написано, как я указывал, так что ошибки возникать не должно. Так что закрываю.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>