Trouble with special cyrillic extension sign (Ge with middle hook = U+0494)












2














The problem should be clear from the title. I have been trying to type this special character for a while. So far, anything failed. The weird this is: I can find this sign in kile right at "Cyrillic Characters" as cyrghk. It tells me, that I need [koi8-r]inputenc, [T2C]fontenc, mathtext and [russian]{babel}, which is all I need for the standard russian characters.
Actually I can type most russian characters like cyrb and so on. It also works with [utf8]inputenc and without mathtext. I don't know why.
However, I keep getting the following error message:



cyrghk unavailable in encoding T2A. ...cyrghk


So far, I am using "5" as a work-around, which seems to be what Yakut people do as well, when they text on smartphones, etc. Any better ideas? Thanks!










share|improve this question
























  • Are you able to use the fontspec package on either LuaLaTeX or XeLaTeX?
    – Davislor
    Dec 28 '18 at 20:33
















2














The problem should be clear from the title. I have been trying to type this special character for a while. So far, anything failed. The weird this is: I can find this sign in kile right at "Cyrillic Characters" as cyrghk. It tells me, that I need [koi8-r]inputenc, [T2C]fontenc, mathtext and [russian]{babel}, which is all I need for the standard russian characters.
Actually I can type most russian characters like cyrb and so on. It also works with [utf8]inputenc and without mathtext. I don't know why.
However, I keep getting the following error message:



cyrghk unavailable in encoding T2A. ...cyrghk


So far, I am using "5" as a work-around, which seems to be what Yakut people do as well, when they text on smartphones, etc. Any better ideas? Thanks!










share|improve this question
























  • Are you able to use the fontspec package on either LuaLaTeX or XeLaTeX?
    – Davislor
    Dec 28 '18 at 20:33














2












2








2







The problem should be clear from the title. I have been trying to type this special character for a while. So far, anything failed. The weird this is: I can find this sign in kile right at "Cyrillic Characters" as cyrghk. It tells me, that I need [koi8-r]inputenc, [T2C]fontenc, mathtext and [russian]{babel}, which is all I need for the standard russian characters.
Actually I can type most russian characters like cyrb and so on. It also works with [utf8]inputenc and without mathtext. I don't know why.
However, I keep getting the following error message:



cyrghk unavailable in encoding T2A. ...cyrghk


So far, I am using "5" as a work-around, which seems to be what Yakut people do as well, when they text on smartphones, etc. Any better ideas? Thanks!










share|improve this question















The problem should be clear from the title. I have been trying to type this special character for a while. So far, anything failed. The weird this is: I can find this sign in kile right at "Cyrillic Characters" as cyrghk. It tells me, that I need [koi8-r]inputenc, [T2C]fontenc, mathtext and [russian]{babel}, which is all I need for the standard russian characters.
Actually I can type most russian characters like cyrb and so on. It also works with [utf8]inputenc and without mathtext. I don't know why.
However, I keep getting the following error message:



cyrghk unavailable in encoding T2A. ...cyrghk


So far, I am using "5" as a work-around, which seems to be what Yakut people do as well, when they text on smartphones, etc. Any better ideas? Thanks!







input-encodings cyrillic






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 28 '18 at 16:20









sztruks

1,541717




1,541717










asked Dec 28 '18 at 15:45









user178521

111




111












  • Are you able to use the fontspec package on either LuaLaTeX or XeLaTeX?
    – Davislor
    Dec 28 '18 at 20:33


















  • Are you able to use the fontspec package on either LuaLaTeX or XeLaTeX?
    – Davislor
    Dec 28 '18 at 20:33
















Are you able to use the fontspec package on either LuaLaTeX or XeLaTeX?
– Davislor
Dec 28 '18 at 20:33




Are you able to use the fontspec package on either LuaLaTeX or XeLaTeX?
– Davislor
Dec 28 '18 at 20:33










2 Answers
2






active

oldest

votes


















2














You can set the default encoding for the character as T2C:



documentclass{article}
usepackage[T2C,T2A]{fontenc}
usepackage[utf8]{inputenc}
usepackage[russian]{babel}

DeclareTextSymbolDefault{cyrghk}{T2C}

begin{document}

ҕ cyrghk

end{document}


enter image description here



Don't use KOI8-R, UTF-8 is much better.






share|improve this answer





















  • Definitely want to second the recommendation to encode new documents in UTF-8.
    – Davislor
    Dec 28 '18 at 20:32



















1














T2A is not T2C. If you load russian, T2A is the default encoding. You could change to T2C:



documentclass{article}
usepackage[T2C]{fontenc}
defcyrillicencoding{T2C}
usepackage[russian]{babel}
begin{document}
cyrghk
end{document}


or you could locally switch only for the one symbol:



documentclass{article}
usepackage[russian]{babel}
usepackage[T2C,T2A]{fontenc}
begin{document}
{fontencoding{T2C}selectfontcyrghk}
end{document}


or use an unicode engine (lualatex, xelatex):



documentclass{article}
usepackage[russian]{babel}
usepackage{fontspec}
setmainfont{Arial}
begin{document}
ҕ
end{document}





share|improve this answer





















    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%2f467680%2ftrouble-with-special-cyrillic-extension-sign-ge-with-middle-hook-u0494%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














    You can set the default encoding for the character as T2C:



    documentclass{article}
    usepackage[T2C,T2A]{fontenc}
    usepackage[utf8]{inputenc}
    usepackage[russian]{babel}

    DeclareTextSymbolDefault{cyrghk}{T2C}

    begin{document}

    ҕ cyrghk

    end{document}


    enter image description here



    Don't use KOI8-R, UTF-8 is much better.






    share|improve this answer





















    • Definitely want to second the recommendation to encode new documents in UTF-8.
      – Davislor
      Dec 28 '18 at 20:32
















    2














    You can set the default encoding for the character as T2C:



    documentclass{article}
    usepackage[T2C,T2A]{fontenc}
    usepackage[utf8]{inputenc}
    usepackage[russian]{babel}

    DeclareTextSymbolDefault{cyrghk}{T2C}

    begin{document}

    ҕ cyrghk

    end{document}


    enter image description here



    Don't use KOI8-R, UTF-8 is much better.






    share|improve this answer





















    • Definitely want to second the recommendation to encode new documents in UTF-8.
      – Davislor
      Dec 28 '18 at 20:32














    2












    2








    2






    You can set the default encoding for the character as T2C:



    documentclass{article}
    usepackage[T2C,T2A]{fontenc}
    usepackage[utf8]{inputenc}
    usepackage[russian]{babel}

    DeclareTextSymbolDefault{cyrghk}{T2C}

    begin{document}

    ҕ cyrghk

    end{document}


    enter image description here



    Don't use KOI8-R, UTF-8 is much better.






    share|improve this answer












    You can set the default encoding for the character as T2C:



    documentclass{article}
    usepackage[T2C,T2A]{fontenc}
    usepackage[utf8]{inputenc}
    usepackage[russian]{babel}

    DeclareTextSymbolDefault{cyrghk}{T2C}

    begin{document}

    ҕ cyrghk

    end{document}


    enter image description here



    Don't use KOI8-R, UTF-8 is much better.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Dec 28 '18 at 16:08









    egreg

    710k8618853170




    710k8618853170












    • Definitely want to second the recommendation to encode new documents in UTF-8.
      – Davislor
      Dec 28 '18 at 20:32


















    • Definitely want to second the recommendation to encode new documents in UTF-8.
      – Davislor
      Dec 28 '18 at 20:32
















    Definitely want to second the recommendation to encode new documents in UTF-8.
    – Davislor
    Dec 28 '18 at 20:32




    Definitely want to second the recommendation to encode new documents in UTF-8.
    – Davislor
    Dec 28 '18 at 20:32











    1














    T2A is not T2C. If you load russian, T2A is the default encoding. You could change to T2C:



    documentclass{article}
    usepackage[T2C]{fontenc}
    defcyrillicencoding{T2C}
    usepackage[russian]{babel}
    begin{document}
    cyrghk
    end{document}


    or you could locally switch only for the one symbol:



    documentclass{article}
    usepackage[russian]{babel}
    usepackage[T2C,T2A]{fontenc}
    begin{document}
    {fontencoding{T2C}selectfontcyrghk}
    end{document}


    or use an unicode engine (lualatex, xelatex):



    documentclass{article}
    usepackage[russian]{babel}
    usepackage{fontspec}
    setmainfont{Arial}
    begin{document}
    ҕ
    end{document}





    share|improve this answer


























      1














      T2A is not T2C. If you load russian, T2A is the default encoding. You could change to T2C:



      documentclass{article}
      usepackage[T2C]{fontenc}
      defcyrillicencoding{T2C}
      usepackage[russian]{babel}
      begin{document}
      cyrghk
      end{document}


      or you could locally switch only for the one symbol:



      documentclass{article}
      usepackage[russian]{babel}
      usepackage[T2C,T2A]{fontenc}
      begin{document}
      {fontencoding{T2C}selectfontcyrghk}
      end{document}


      or use an unicode engine (lualatex, xelatex):



      documentclass{article}
      usepackage[russian]{babel}
      usepackage{fontspec}
      setmainfont{Arial}
      begin{document}
      ҕ
      end{document}





      share|improve this answer
























        1












        1








        1






        T2A is not T2C. If you load russian, T2A is the default encoding. You could change to T2C:



        documentclass{article}
        usepackage[T2C]{fontenc}
        defcyrillicencoding{T2C}
        usepackage[russian]{babel}
        begin{document}
        cyrghk
        end{document}


        or you could locally switch only for the one symbol:



        documentclass{article}
        usepackage[russian]{babel}
        usepackage[T2C,T2A]{fontenc}
        begin{document}
        {fontencoding{T2C}selectfontcyrghk}
        end{document}


        or use an unicode engine (lualatex, xelatex):



        documentclass{article}
        usepackage[russian]{babel}
        usepackage{fontspec}
        setmainfont{Arial}
        begin{document}
        ҕ
        end{document}





        share|improve this answer












        T2A is not T2C. If you load russian, T2A is the default encoding. You could change to T2C:



        documentclass{article}
        usepackage[T2C]{fontenc}
        defcyrillicencoding{T2C}
        usepackage[russian]{babel}
        begin{document}
        cyrghk
        end{document}


        or you could locally switch only for the one symbol:



        documentclass{article}
        usepackage[russian]{babel}
        usepackage[T2C,T2A]{fontenc}
        begin{document}
        {fontencoding{T2C}selectfontcyrghk}
        end{document}


        or use an unicode engine (lualatex, xelatex):



        documentclass{article}
        usepackage[russian]{babel}
        usepackage{fontspec}
        setmainfont{Arial}
        begin{document}
        ҕ
        end{document}






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 28 '18 at 15:59









        Ulrike Fischer

        187k7291670




        187k7291670






























            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%2f467680%2ftrouble-with-special-cyrillic-extension-sign-ge-with-middle-hook-u0494%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

            How to change which sound is reproduced for terminal bell?

            Can I use Tabulator js library in my java Spring + Thymeleaf project?

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents