Hyphenation with Babel and Polyglossia












2














I've more or less the same content, compiled with babel and polyglossia:



documentclass{article}
usepackage{fontspec}
usepackage[italian]{babel}
babelfont{rm}[Ligatures=TeX,Numbers=OldStyle]{Garamond Premier Pro}

begin{document}
textbf{Babel}

avvedutezza avanti l'articolo away ayo l'abaco l'accidente l'acerrimo adirato aedo
un'affranta afisico afoso l'agone ahhhh l'aiuto ajta alternativa ambedue ancora
annichilire aorta appurare acqua Aristarco artistica L'albero l'alternativa
l'enfasi l'eccezionalità l'altra l'ircocervo l'Illiria l'omeopatia astrattismo atroce
automobile avere avicola awak ayno l'azalea l'uguaglianza l'umanità l'abecedario
accoliti l'acqua l'addomesticare l'aereoplano affidare l'agone l'aiuto aja l'assurdo l'abaco
l'elemento l'eccezionalità l'inedia l'inutilità l'occasione l'Occitania allampanato
un'ampolla annoso un'aorta l'artatamente l'astrologia l'attenzione autore avanti avventure
away ayo azzardo L'Australia L'Europa l'uguaglianza l'umanità
end{document}


and



documentclass{article}
usepackage{fontspec}
setmainfont[Ligatures=TeX,Numbers=OldStyle]{Garamond Premier Pro}
usepackage{polyglossia}
setmainlanguage[babelshorthands=true]{italian}

begin{document}
textbf{Polyglossia}

l'avvedutezza avanti l'articolo away ayo abaco l'accidente acerrimo l'adirato aedo
un'affranta afisico afoso l'agone ahhhh l'aiuto ajta alternativa ambedue ancora
annichilire l'aorta l'appurare acqua Aristarco artistica L'albero l'alternativa
l'enfasi l'eccezionalità l'altra l'ircocervo l'Illiria l'omeopatia l'astrattismo atroce
un'automobile avere avicola awak ayno l'azalea l'uguaglianza un'umanità l'abecedario
accolito un'acqua l'addomesticare l'aereoplano affidare l'agone l'aiuto l'assurdo l'abaco
un elemento un'eccezionalità un'inedia un'aorta un'occasione l'Occitania l'allampanato
ampolla annoso l'inutilità l'artatamente l'astrologia l'attenzione autore avanti avventure
away ayo azzardo L'Australia L'Europa l'uguaglianza l'umanità
end{document}


The result is the following one:



enter image description here



It's evident that the presence of the apostrophe inhibits hyphenation with babel.



Is there anything wrong or lacking in my code?
And how to solve? Thank you










share|improve this question



























    2














    I've more or less the same content, compiled with babel and polyglossia:



    documentclass{article}
    usepackage{fontspec}
    usepackage[italian]{babel}
    babelfont{rm}[Ligatures=TeX,Numbers=OldStyle]{Garamond Premier Pro}

    begin{document}
    textbf{Babel}

    avvedutezza avanti l'articolo away ayo l'abaco l'accidente l'acerrimo adirato aedo
    un'affranta afisico afoso l'agone ahhhh l'aiuto ajta alternativa ambedue ancora
    annichilire aorta appurare acqua Aristarco artistica L'albero l'alternativa
    l'enfasi l'eccezionalità l'altra l'ircocervo l'Illiria l'omeopatia astrattismo atroce
    automobile avere avicola awak ayno l'azalea l'uguaglianza l'umanità l'abecedario
    accoliti l'acqua l'addomesticare l'aereoplano affidare l'agone l'aiuto aja l'assurdo l'abaco
    l'elemento l'eccezionalità l'inedia l'inutilità l'occasione l'Occitania allampanato
    un'ampolla annoso un'aorta l'artatamente l'astrologia l'attenzione autore avanti avventure
    away ayo azzardo L'Australia L'Europa l'uguaglianza l'umanità
    end{document}


    and



    documentclass{article}
    usepackage{fontspec}
    setmainfont[Ligatures=TeX,Numbers=OldStyle]{Garamond Premier Pro}
    usepackage{polyglossia}
    setmainlanguage[babelshorthands=true]{italian}

    begin{document}
    textbf{Polyglossia}

    l'avvedutezza avanti l'articolo away ayo abaco l'accidente acerrimo l'adirato aedo
    un'affranta afisico afoso l'agone ahhhh l'aiuto ajta alternativa ambedue ancora
    annichilire l'aorta l'appurare acqua Aristarco artistica L'albero l'alternativa
    l'enfasi l'eccezionalità l'altra l'ircocervo l'Illiria l'omeopatia l'astrattismo atroce
    un'automobile avere avicola awak ayno l'azalea l'uguaglianza un'umanità l'abecedario
    accolito un'acqua l'addomesticare l'aereoplano affidare l'agone l'aiuto l'assurdo l'abaco
    un elemento un'eccezionalità un'inedia un'aorta un'occasione l'Occitania l'allampanato
    ampolla annoso l'inutilità l'artatamente l'astrologia l'attenzione autore avanti avventure
    away ayo azzardo L'Australia L'Europa l'uguaglianza l'umanità
    end{document}


    The result is the following one:



    enter image description here



    It's evident that the presence of the apostrophe inhibits hyphenation with babel.



    Is there anything wrong or lacking in my code?
    And how to solve? Thank you










    share|improve this question

























      2












      2








      2







      I've more or less the same content, compiled with babel and polyglossia:



      documentclass{article}
      usepackage{fontspec}
      usepackage[italian]{babel}
      babelfont{rm}[Ligatures=TeX,Numbers=OldStyle]{Garamond Premier Pro}

      begin{document}
      textbf{Babel}

      avvedutezza avanti l'articolo away ayo l'abaco l'accidente l'acerrimo adirato aedo
      un'affranta afisico afoso l'agone ahhhh l'aiuto ajta alternativa ambedue ancora
      annichilire aorta appurare acqua Aristarco artistica L'albero l'alternativa
      l'enfasi l'eccezionalità l'altra l'ircocervo l'Illiria l'omeopatia astrattismo atroce
      automobile avere avicola awak ayno l'azalea l'uguaglianza l'umanità l'abecedario
      accoliti l'acqua l'addomesticare l'aereoplano affidare l'agone l'aiuto aja l'assurdo l'abaco
      l'elemento l'eccezionalità l'inedia l'inutilità l'occasione l'Occitania allampanato
      un'ampolla annoso un'aorta l'artatamente l'astrologia l'attenzione autore avanti avventure
      away ayo azzardo L'Australia L'Europa l'uguaglianza l'umanità
      end{document}


      and



      documentclass{article}
      usepackage{fontspec}
      setmainfont[Ligatures=TeX,Numbers=OldStyle]{Garamond Premier Pro}
      usepackage{polyglossia}
      setmainlanguage[babelshorthands=true]{italian}

      begin{document}
      textbf{Polyglossia}

      l'avvedutezza avanti l'articolo away ayo abaco l'accidente acerrimo l'adirato aedo
      un'affranta afisico afoso l'agone ahhhh l'aiuto ajta alternativa ambedue ancora
      annichilire l'aorta l'appurare acqua Aristarco artistica L'albero l'alternativa
      l'enfasi l'eccezionalità l'altra l'ircocervo l'Illiria l'omeopatia l'astrattismo atroce
      un'automobile avere avicola awak ayno l'azalea l'uguaglianza un'umanità l'abecedario
      accolito un'acqua l'addomesticare l'aereoplano affidare l'agone l'aiuto l'assurdo l'abaco
      un elemento un'eccezionalità un'inedia un'aorta un'occasione l'Occitania l'allampanato
      ampolla annoso l'inutilità l'artatamente l'astrologia l'attenzione autore avanti avventure
      away ayo azzardo L'Australia L'Europa l'uguaglianza l'umanità
      end{document}


      The result is the following one:



      enter image description here



      It's evident that the presence of the apostrophe inhibits hyphenation with babel.



      Is there anything wrong or lacking in my code?
      And how to solve? Thank you










      share|improve this question













      I've more or less the same content, compiled with babel and polyglossia:



      documentclass{article}
      usepackage{fontspec}
      usepackage[italian]{babel}
      babelfont{rm}[Ligatures=TeX,Numbers=OldStyle]{Garamond Premier Pro}

      begin{document}
      textbf{Babel}

      avvedutezza avanti l'articolo away ayo l'abaco l'accidente l'acerrimo adirato aedo
      un'affranta afisico afoso l'agone ahhhh l'aiuto ajta alternativa ambedue ancora
      annichilire aorta appurare acqua Aristarco artistica L'albero l'alternativa
      l'enfasi l'eccezionalità l'altra l'ircocervo l'Illiria l'omeopatia astrattismo atroce
      automobile avere avicola awak ayno l'azalea l'uguaglianza l'umanità l'abecedario
      accoliti l'acqua l'addomesticare l'aereoplano affidare l'agone l'aiuto aja l'assurdo l'abaco
      l'elemento l'eccezionalità l'inedia l'inutilità l'occasione l'Occitania allampanato
      un'ampolla annoso un'aorta l'artatamente l'astrologia l'attenzione autore avanti avventure
      away ayo azzardo L'Australia L'Europa l'uguaglianza l'umanità
      end{document}


      and



      documentclass{article}
      usepackage{fontspec}
      setmainfont[Ligatures=TeX,Numbers=OldStyle]{Garamond Premier Pro}
      usepackage{polyglossia}
      setmainlanguage[babelshorthands=true]{italian}

      begin{document}
      textbf{Polyglossia}

      l'avvedutezza avanti l'articolo away ayo abaco l'accidente acerrimo l'adirato aedo
      un'affranta afisico afoso l'agone ahhhh l'aiuto ajta alternativa ambedue ancora
      annichilire l'aorta l'appurare acqua Aristarco artistica L'albero l'alternativa
      l'enfasi l'eccezionalità l'altra l'ircocervo l'Illiria l'omeopatia l'astrattismo atroce
      un'automobile avere avicola awak ayno l'azalea l'uguaglianza un'umanità l'abecedario
      accolito un'acqua l'addomesticare l'aereoplano affidare l'agone l'aiuto l'assurdo l'abaco
      un elemento un'eccezionalità un'inedia un'aorta un'occasione l'Occitania l'allampanato
      ampolla annoso l'inutilità l'artatamente l'astrologia l'attenzione autore avanti avventure
      away ayo azzardo L'Australia L'Europa l'uguaglianza l'umanità
      end{document}


      The result is the following one:



      enter image description here



      It's evident that the presence of the apostrophe inhibits hyphenation with babel.



      Is there anything wrong or lacking in my code?
      And how to solve? Thank you







      babel hyphenation polyglossia






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 2 hours ago









      user41063

      7151511




      7151511






















          2 Answers
          2






          active

          oldest

          votes


















          2














          The babel module for Italian should indeed set the lccode for the apostrophe U+2019.



          documentclass{article}
          usepackage{fontspec}
          usepackage[italian]{babel}
          babelfont{rm}[Ligatures=TeX,Numbers=OldStyle]{EB Garamond}

          addtoextrasitalian{lccode"2019="2019 }
          addtonoextrasitalian{lccode"2019=0 }

          begin{document}

          parbox{0pt}{
          hspace{0pt}%
          avvedutezza avanti l'articolo away ayo l'abaco
          %l'accidente l'acerrimo adirato aedo
          %un'affranta afisico afoso l'agone ahhhh l'aiuto ajta alternativa ambedue ancora
          %annichilire aorta appurare acqua Aristarco artistica L'albero l'alternativa
          %l'enfasi l'eccezionalità l'altra l'ircocervo l'Illiria l'omeopatia astrattismo atroce
          %automobile avere avicola awak ayno l'azalea l'uguaglianza l'umanità l'abecedario
          %accoliti l'acqua l'addomesticare l'aereoplano affidare l'agone l'aiuto aja l'assurdo l'abaco
          %l'elemento l'eccezionalità l'inedia l'inutilità l'occasione l'Occitania allampanato
          %un'ampolla annoso un'aorta l'artatamente l'astrologia l'attenzione autore avanti avventure
          %away ayo azzardo L'Australia L'Europa l'uguaglianza l'umanità
          }

          end{document}


          enter image description here






          share|improve this answer





















          • For generally this applies to both Italian and French (calt for quoteright is localized just for these two langages in many fonts), is there a way to apply your code to both languages?
            – user41063
            38 mins ago



















          1














          Better searching, I found this solution:



          lccode"2019="2019



          The Unicode right-single-quote (or apostrophe) character U+2019 has not been given a non-zero lccode, and therefore it is considered a nonletter by the hyphenation routine.



          I read too:




          Duplicating patterns is doable (if you tell me that I should do it, I
          will implement it), but seems like yet another ugly hack to me. One
          thing that I still consider clean is replacing all the "27 with "2019
          in patterns themselves and properly read the input in 8bit engines.
          But that's not the final answer since people might just as well
          complain that "27 doesn't hyphenate properly in XeTeX.



          I would much more prefer explaining to hyphenating engine that "2019
          should be treated identical to "27 if that was possible.




          However, I do not understand what in concrete should be done in order to avoid incurring the "ugly solution of duplicating patterns".



          But have we to consider this one a babel bug?






          share|improve this answer























          • Yes, also babel should do this.
            – egreg
            2 hours ago










          • you should probably report this to the maintainer of babel-italian. The address is in italian.ldf.
            – Ulrike Fischer
            2 hours ago










          • inside that file I find only JLBraams@cistron.nl (Johannes Braams, not Brahms :) ). I'll write to him
            – user41063
            2 hours ago










          • then your version is very old. The current maintainer is imho Claudio Beccari.
            – Ulrike Fischer
            1 hour ago










          • Yes, find Cbeccari!. I'll write stright to him
            – user41063
            42 mins ago











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "85"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f468148%2fhyphenation-with-babel-and-polyglossia%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          The babel module for Italian should indeed set the lccode for the apostrophe U+2019.



          documentclass{article}
          usepackage{fontspec}
          usepackage[italian]{babel}
          babelfont{rm}[Ligatures=TeX,Numbers=OldStyle]{EB Garamond}

          addtoextrasitalian{lccode"2019="2019 }
          addtonoextrasitalian{lccode"2019=0 }

          begin{document}

          parbox{0pt}{
          hspace{0pt}%
          avvedutezza avanti l'articolo away ayo l'abaco
          %l'accidente l'acerrimo adirato aedo
          %un'affranta afisico afoso l'agone ahhhh l'aiuto ajta alternativa ambedue ancora
          %annichilire aorta appurare acqua Aristarco artistica L'albero l'alternativa
          %l'enfasi l'eccezionalità l'altra l'ircocervo l'Illiria l'omeopatia astrattismo atroce
          %automobile avere avicola awak ayno l'azalea l'uguaglianza l'umanità l'abecedario
          %accoliti l'acqua l'addomesticare l'aereoplano affidare l'agone l'aiuto aja l'assurdo l'abaco
          %l'elemento l'eccezionalità l'inedia l'inutilità l'occasione l'Occitania allampanato
          %un'ampolla annoso un'aorta l'artatamente l'astrologia l'attenzione autore avanti avventure
          %away ayo azzardo L'Australia L'Europa l'uguaglianza l'umanità
          }

          end{document}


          enter image description here






          share|improve this answer





















          • For generally this applies to both Italian and French (calt for quoteright is localized just for these two langages in many fonts), is there a way to apply your code to both languages?
            – user41063
            38 mins ago
















          2














          The babel module for Italian should indeed set the lccode for the apostrophe U+2019.



          documentclass{article}
          usepackage{fontspec}
          usepackage[italian]{babel}
          babelfont{rm}[Ligatures=TeX,Numbers=OldStyle]{EB Garamond}

          addtoextrasitalian{lccode"2019="2019 }
          addtonoextrasitalian{lccode"2019=0 }

          begin{document}

          parbox{0pt}{
          hspace{0pt}%
          avvedutezza avanti l'articolo away ayo l'abaco
          %l'accidente l'acerrimo adirato aedo
          %un'affranta afisico afoso l'agone ahhhh l'aiuto ajta alternativa ambedue ancora
          %annichilire aorta appurare acqua Aristarco artistica L'albero l'alternativa
          %l'enfasi l'eccezionalità l'altra l'ircocervo l'Illiria l'omeopatia astrattismo atroce
          %automobile avere avicola awak ayno l'azalea l'uguaglianza l'umanità l'abecedario
          %accoliti l'acqua l'addomesticare l'aereoplano affidare l'agone l'aiuto aja l'assurdo l'abaco
          %l'elemento l'eccezionalità l'inedia l'inutilità l'occasione l'Occitania allampanato
          %un'ampolla annoso un'aorta l'artatamente l'astrologia l'attenzione autore avanti avventure
          %away ayo azzardo L'Australia L'Europa l'uguaglianza l'umanità
          }

          end{document}


          enter image description here






          share|improve this answer





















          • For generally this applies to both Italian and French (calt for quoteright is localized just for these two langages in many fonts), is there a way to apply your code to both languages?
            – user41063
            38 mins ago














          2












          2








          2






          The babel module for Italian should indeed set the lccode for the apostrophe U+2019.



          documentclass{article}
          usepackage{fontspec}
          usepackage[italian]{babel}
          babelfont{rm}[Ligatures=TeX,Numbers=OldStyle]{EB Garamond}

          addtoextrasitalian{lccode"2019="2019 }
          addtonoextrasitalian{lccode"2019=0 }

          begin{document}

          parbox{0pt}{
          hspace{0pt}%
          avvedutezza avanti l'articolo away ayo l'abaco
          %l'accidente l'acerrimo adirato aedo
          %un'affranta afisico afoso l'agone ahhhh l'aiuto ajta alternativa ambedue ancora
          %annichilire aorta appurare acqua Aristarco artistica L'albero l'alternativa
          %l'enfasi l'eccezionalità l'altra l'ircocervo l'Illiria l'omeopatia astrattismo atroce
          %automobile avere avicola awak ayno l'azalea l'uguaglianza l'umanità l'abecedario
          %accoliti l'acqua l'addomesticare l'aereoplano affidare l'agone l'aiuto aja l'assurdo l'abaco
          %l'elemento l'eccezionalità l'inedia l'inutilità l'occasione l'Occitania allampanato
          %un'ampolla annoso un'aorta l'artatamente l'astrologia l'attenzione autore avanti avventure
          %away ayo azzardo L'Australia L'Europa l'uguaglianza l'umanità
          }

          end{document}


          enter image description here






          share|improve this answer












          The babel module for Italian should indeed set the lccode for the apostrophe U+2019.



          documentclass{article}
          usepackage{fontspec}
          usepackage[italian]{babel}
          babelfont{rm}[Ligatures=TeX,Numbers=OldStyle]{EB Garamond}

          addtoextrasitalian{lccode"2019="2019 }
          addtonoextrasitalian{lccode"2019=0 }

          begin{document}

          parbox{0pt}{
          hspace{0pt}%
          avvedutezza avanti l'articolo away ayo l'abaco
          %l'accidente l'acerrimo adirato aedo
          %un'affranta afisico afoso l'agone ahhhh l'aiuto ajta alternativa ambedue ancora
          %annichilire aorta appurare acqua Aristarco artistica L'albero l'alternativa
          %l'enfasi l'eccezionalità l'altra l'ircocervo l'Illiria l'omeopatia astrattismo atroce
          %automobile avere avicola awak ayno l'azalea l'uguaglianza l'umanità l'abecedario
          %accoliti l'acqua l'addomesticare l'aereoplano affidare l'agone l'aiuto aja l'assurdo l'abaco
          %l'elemento l'eccezionalità l'inedia l'inutilità l'occasione l'Occitania allampanato
          %un'ampolla annoso un'aorta l'artatamente l'astrologia l'attenzione autore avanti avventure
          %away ayo azzardo L'Australia L'Europa l'uguaglianza l'umanità
          }

          end{document}


          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 1 hour ago









          egreg

          709k8618823165




          709k8618823165












          • For generally this applies to both Italian and French (calt for quoteright is localized just for these two langages in many fonts), is there a way to apply your code to both languages?
            – user41063
            38 mins ago


















          • For generally this applies to both Italian and French (calt for quoteright is localized just for these two langages in many fonts), is there a way to apply your code to both languages?
            – user41063
            38 mins ago
















          For generally this applies to both Italian and French (calt for quoteright is localized just for these two langages in many fonts), is there a way to apply your code to both languages?
          – user41063
          38 mins ago




          For generally this applies to both Italian and French (calt for quoteright is localized just for these two langages in many fonts), is there a way to apply your code to both languages?
          – user41063
          38 mins ago











          1














          Better searching, I found this solution:



          lccode"2019="2019



          The Unicode right-single-quote (or apostrophe) character U+2019 has not been given a non-zero lccode, and therefore it is considered a nonletter by the hyphenation routine.



          I read too:




          Duplicating patterns is doable (if you tell me that I should do it, I
          will implement it), but seems like yet another ugly hack to me. One
          thing that I still consider clean is replacing all the "27 with "2019
          in patterns themselves and properly read the input in 8bit engines.
          But that's not the final answer since people might just as well
          complain that "27 doesn't hyphenate properly in XeTeX.



          I would much more prefer explaining to hyphenating engine that "2019
          should be treated identical to "27 if that was possible.




          However, I do not understand what in concrete should be done in order to avoid incurring the "ugly solution of duplicating patterns".



          But have we to consider this one a babel bug?






          share|improve this answer























          • Yes, also babel should do this.
            – egreg
            2 hours ago










          • you should probably report this to the maintainer of babel-italian. The address is in italian.ldf.
            – Ulrike Fischer
            2 hours ago










          • inside that file I find only JLBraams@cistron.nl (Johannes Braams, not Brahms :) ). I'll write to him
            – user41063
            2 hours ago










          • then your version is very old. The current maintainer is imho Claudio Beccari.
            – Ulrike Fischer
            1 hour ago










          • Yes, find Cbeccari!. I'll write stright to him
            – user41063
            42 mins ago
















          1














          Better searching, I found this solution:



          lccode"2019="2019



          The Unicode right-single-quote (or apostrophe) character U+2019 has not been given a non-zero lccode, and therefore it is considered a nonletter by the hyphenation routine.



          I read too:




          Duplicating patterns is doable (if you tell me that I should do it, I
          will implement it), but seems like yet another ugly hack to me. One
          thing that I still consider clean is replacing all the "27 with "2019
          in patterns themselves and properly read the input in 8bit engines.
          But that's not the final answer since people might just as well
          complain that "27 doesn't hyphenate properly in XeTeX.



          I would much more prefer explaining to hyphenating engine that "2019
          should be treated identical to "27 if that was possible.




          However, I do not understand what in concrete should be done in order to avoid incurring the "ugly solution of duplicating patterns".



          But have we to consider this one a babel bug?






          share|improve this answer























          • Yes, also babel should do this.
            – egreg
            2 hours ago










          • you should probably report this to the maintainer of babel-italian. The address is in italian.ldf.
            – Ulrike Fischer
            2 hours ago










          • inside that file I find only JLBraams@cistron.nl (Johannes Braams, not Brahms :) ). I'll write to him
            – user41063
            2 hours ago










          • then your version is very old. The current maintainer is imho Claudio Beccari.
            – Ulrike Fischer
            1 hour ago










          • Yes, find Cbeccari!. I'll write stright to him
            – user41063
            42 mins ago














          1












          1








          1






          Better searching, I found this solution:



          lccode"2019="2019



          The Unicode right-single-quote (or apostrophe) character U+2019 has not been given a non-zero lccode, and therefore it is considered a nonletter by the hyphenation routine.



          I read too:




          Duplicating patterns is doable (if you tell me that I should do it, I
          will implement it), but seems like yet another ugly hack to me. One
          thing that I still consider clean is replacing all the "27 with "2019
          in patterns themselves and properly read the input in 8bit engines.
          But that's not the final answer since people might just as well
          complain that "27 doesn't hyphenate properly in XeTeX.



          I would much more prefer explaining to hyphenating engine that "2019
          should be treated identical to "27 if that was possible.




          However, I do not understand what in concrete should be done in order to avoid incurring the "ugly solution of duplicating patterns".



          But have we to consider this one a babel bug?






          share|improve this answer














          Better searching, I found this solution:



          lccode"2019="2019



          The Unicode right-single-quote (or apostrophe) character U+2019 has not been given a non-zero lccode, and therefore it is considered a nonletter by the hyphenation routine.



          I read too:




          Duplicating patterns is doable (if you tell me that I should do it, I
          will implement it), but seems like yet another ugly hack to me. One
          thing that I still consider clean is replacing all the "27 with "2019
          in patterns themselves and properly read the input in 8bit engines.
          But that's not the final answer since people might just as well
          complain that "27 doesn't hyphenate properly in XeTeX.



          I would much more prefer explaining to hyphenating engine that "2019
          should be treated identical to "27 if that was possible.




          However, I do not understand what in concrete should be done in order to avoid incurring the "ugly solution of duplicating patterns".



          But have we to consider this one a babel bug?







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 2 hours ago

























          answered 2 hours ago









          user41063

          7151511




          7151511












          • Yes, also babel should do this.
            – egreg
            2 hours ago










          • you should probably report this to the maintainer of babel-italian. The address is in italian.ldf.
            – Ulrike Fischer
            2 hours ago










          • inside that file I find only JLBraams@cistron.nl (Johannes Braams, not Brahms :) ). I'll write to him
            – user41063
            2 hours ago










          • then your version is very old. The current maintainer is imho Claudio Beccari.
            – Ulrike Fischer
            1 hour ago










          • Yes, find Cbeccari!. I'll write stright to him
            – user41063
            42 mins ago


















          • Yes, also babel should do this.
            – egreg
            2 hours ago










          • you should probably report this to the maintainer of babel-italian. The address is in italian.ldf.
            – Ulrike Fischer
            2 hours ago










          • inside that file I find only JLBraams@cistron.nl (Johannes Braams, not Brahms :) ). I'll write to him
            – user41063
            2 hours ago










          • then your version is very old. The current maintainer is imho Claudio Beccari.
            – Ulrike Fischer
            1 hour ago










          • Yes, find Cbeccari!. I'll write stright to him
            – user41063
            42 mins ago
















          Yes, also babel should do this.
          – egreg
          2 hours ago




          Yes, also babel should do this.
          – egreg
          2 hours ago












          you should probably report this to the maintainer of babel-italian. The address is in italian.ldf.
          – Ulrike Fischer
          2 hours ago




          you should probably report this to the maintainer of babel-italian. The address is in italian.ldf.
          – Ulrike Fischer
          2 hours ago












          inside that file I find only JLBraams@cistron.nl (Johannes Braams, not Brahms :) ). I'll write to him
          – user41063
          2 hours ago




          inside that file I find only JLBraams@cistron.nl (Johannes Braams, not Brahms :) ). I'll write to him
          – user41063
          2 hours ago












          then your version is very old. The current maintainer is imho Claudio Beccari.
          – Ulrike Fischer
          1 hour ago




          then your version is very old. The current maintainer is imho Claudio Beccari.
          – Ulrike Fischer
          1 hour ago












          Yes, find Cbeccari!. I'll write stright to him
          – user41063
          42 mins ago




          Yes, find Cbeccari!. I'll write stright to him
          – user41063
          42 mins ago


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f468148%2fhyphenation-with-babel-and-polyglossia%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Understanding the information contained in the Deep Space Network XML data?

          Ross-on-Wye

          Eastern Orthodox Church