LaTeX: index entry changed by makeindex without warningMakeindex warningHow to index without tagging every...

How can bays and straits be determined in a procedurally generated map?

Why don't electromagnetic waves interact with each other?

Today is the Center

If I cast Expeditious Retreat, can I Dash as a bonus action on the same turn?

Basic combinations logic doubt in probability

The iconography of Laddu Gopal's soles

Suffering in Meditation Versus in Daily Life

Using theabspage from the 'perpage' package

Writing rule which states that two causes for the same superpower is bad writing

Email Account under attack (really) - anything I can do?

How is it possible to have an ability score that is less than 3?

What are these boxed doors outside store fronts in New York?

GPS Rollover on Android Smartphones

The use of multiple foreign keys on same column in SQL Server

Why can't I see bouncing of a switch on an oscilloscope?

Infinite past with a beginning?

Mains transformer blew up amplifier, incorrect description in wiring instructions?

I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine

How do we improve the relationship with a client software team that performs poorly and is becoming less collaborative?

A function which translates a sentence to title-case

What do you call a Matrix-like slowdown and camera movement effect?

Is it tax fraud for an individual to declare non-taxable revenue as taxable income? (US tax laws)

What defenses are there against being summoned by the Gate spell?

Approximately how much travel time was saved by the opening of the Suez Canal in 1869?



LaTeX: index entry changed by makeindex without warning


Makeindex warningHow to index without tagging every entryIndex - Main entry without page numberMy Abbreviation list is gone?Makeindex, different kinds of references and collation in the indexReplacing en-dash for hyphen in the index (makeindex)Makeindex cannot generate index entriesDisable sorting in texindyPrinting an index without running makeindexReverse-ordered index with makeindex













0















I'm having a problem with makeindex -g, quoting, and using Y':



I create two index entries like this:



index{Y'@$Y'$|see{Luma}}
index{Farbmodell!Y'CBCR@$Y'C_BC_R'$|main}


(with newcommand{main}[1]{textbf{#1}})



This generates these .idx entries:



indexentry{Y'@$Y'$|see{Luma}}{43}
indexentry{Farbmodell!$'CBCR@$Y'C_BC_R'$|main}{43}


To use -g (I also use -r), I've set up an index style using quote ''' (and some more formatting). This seems to mess with having ' in the index entries, while makeindex (version 2.15 [TeX Live 2017] (kpathsea + Thai support)) does not print an error related to it.



The output in .ind is:



  item Farbmodell
subitem $YC_BC_R$hspace{1em}dotfillhspace{1em}main{43}
item Y@$Y$hspace{1em}dotfillhspace{1em}see{Luma}{43}


So the ' got lost in the first output, and Y@ is being displayed for the second. Unfortunately I have no idea how to fix it (the set of usable quote characters seems quite limited).



I case this matters, here's my document preamble:



documentclass[a4paper,twoside]{report}
usepackage{german}
usepackage[latin1]{inputenc}
usepackage{a4}
usepackage{makeidx}
usepackage{showidx}
usepackage{amsmath}
usepackage{url}
usepackage{graphicx}
usepackage{ifthen}
input{styledefs}
makeindex
begin{document}









share|improve this question


















  • 2





    Off-topic: packages german and a4 are outdated! Do not use them! Please make your code snippet compilable. Please see: we do not have your inputed file styledefs.tex ...

    – Kurt
    17 hours ago













  • @Kurt: Yes, I've heard about babel, but when talking about what not to use, you might add what to use instead, also.

    – U. Windl
    17 hours ago






  • 3





    I can't because your code is not compilable and I do not want to have to guess what you are doing. Please complete your code snippet ...

    – Kurt
    17 hours ago
















0















I'm having a problem with makeindex -g, quoting, and using Y':



I create two index entries like this:



index{Y'@$Y'$|see{Luma}}
index{Farbmodell!Y'CBCR@$Y'C_BC_R'$|main}


(with newcommand{main}[1]{textbf{#1}})



This generates these .idx entries:



indexentry{Y'@$Y'$|see{Luma}}{43}
indexentry{Farbmodell!$'CBCR@$Y'C_BC_R'$|main}{43}


To use -g (I also use -r), I've set up an index style using quote ''' (and some more formatting). This seems to mess with having ' in the index entries, while makeindex (version 2.15 [TeX Live 2017] (kpathsea + Thai support)) does not print an error related to it.



The output in .ind is:



  item Farbmodell
subitem $YC_BC_R$hspace{1em}dotfillhspace{1em}main{43}
item Y@$Y$hspace{1em}dotfillhspace{1em}see{Luma}{43}


So the ' got lost in the first output, and Y@ is being displayed for the second. Unfortunately I have no idea how to fix it (the set of usable quote characters seems quite limited).



I case this matters, here's my document preamble:



documentclass[a4paper,twoside]{report}
usepackage{german}
usepackage[latin1]{inputenc}
usepackage{a4}
usepackage{makeidx}
usepackage{showidx}
usepackage{amsmath}
usepackage{url}
usepackage{graphicx}
usepackage{ifthen}
input{styledefs}
makeindex
begin{document}









share|improve this question


















  • 2





    Off-topic: packages german and a4 are outdated! Do not use them! Please make your code snippet compilable. Please see: we do not have your inputed file styledefs.tex ...

    – Kurt
    17 hours ago













  • @Kurt: Yes, I've heard about babel, but when talking about what not to use, you might add what to use instead, also.

    – U. Windl
    17 hours ago






  • 3





    I can't because your code is not compilable and I do not want to have to guess what you are doing. Please complete your code snippet ...

    – Kurt
    17 hours ago














0












0








0








I'm having a problem with makeindex -g, quoting, and using Y':



I create two index entries like this:



index{Y'@$Y'$|see{Luma}}
index{Farbmodell!Y'CBCR@$Y'C_BC_R'$|main}


(with newcommand{main}[1]{textbf{#1}})



This generates these .idx entries:



indexentry{Y'@$Y'$|see{Luma}}{43}
indexentry{Farbmodell!$'CBCR@$Y'C_BC_R'$|main}{43}


To use -g (I also use -r), I've set up an index style using quote ''' (and some more formatting). This seems to mess with having ' in the index entries, while makeindex (version 2.15 [TeX Live 2017] (kpathsea + Thai support)) does not print an error related to it.



The output in .ind is:



  item Farbmodell
subitem $YC_BC_R$hspace{1em}dotfillhspace{1em}main{43}
item Y@$Y$hspace{1em}dotfillhspace{1em}see{Luma}{43}


So the ' got lost in the first output, and Y@ is being displayed for the second. Unfortunately I have no idea how to fix it (the set of usable quote characters seems quite limited).



I case this matters, here's my document preamble:



documentclass[a4paper,twoside]{report}
usepackage{german}
usepackage[latin1]{inputenc}
usepackage{a4}
usepackage{makeidx}
usepackage{showidx}
usepackage{amsmath}
usepackage{url}
usepackage{graphicx}
usepackage{ifthen}
input{styledefs}
makeindex
begin{document}









share|improve this question














I'm having a problem with makeindex -g, quoting, and using Y':



I create two index entries like this:



index{Y'@$Y'$|see{Luma}}
index{Farbmodell!Y'CBCR@$Y'C_BC_R'$|main}


(with newcommand{main}[1]{textbf{#1}})



This generates these .idx entries:



indexentry{Y'@$Y'$|see{Luma}}{43}
indexentry{Farbmodell!$'CBCR@$Y'C_BC_R'$|main}{43}


To use -g (I also use -r), I've set up an index style using quote ''' (and some more formatting). This seems to mess with having ' in the index entries, while makeindex (version 2.15 [TeX Live 2017] (kpathsea + Thai support)) does not print an error related to it.



The output in .ind is:



  item Farbmodell
subitem $YC_BC_R$hspace{1em}dotfillhspace{1em}main{43}
item Y@$Y$hspace{1em}dotfillhspace{1em}see{Luma}{43}


So the ' got lost in the first output, and Y@ is being displayed for the second. Unfortunately I have no idea how to fix it (the set of usable quote characters seems quite limited).



I case this matters, here's my document preamble:



documentclass[a4paper,twoside]{report}
usepackage{german}
usepackage[latin1]{inputenc}
usepackage{a4}
usepackage{makeidx}
usepackage{showidx}
usepackage{amsmath}
usepackage{url}
usepackage{graphicx}
usepackage{ifthen}
input{styledefs}
makeindex
begin{document}






indexing makeindex






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 17 hours ago









U. WindlU. Windl

1698




1698








  • 2





    Off-topic: packages german and a4 are outdated! Do not use them! Please make your code snippet compilable. Please see: we do not have your inputed file styledefs.tex ...

    – Kurt
    17 hours ago













  • @Kurt: Yes, I've heard about babel, but when talking about what not to use, you might add what to use instead, also.

    – U. Windl
    17 hours ago






  • 3





    I can't because your code is not compilable and I do not want to have to guess what you are doing. Please complete your code snippet ...

    – Kurt
    17 hours ago














  • 2





    Off-topic: packages german and a4 are outdated! Do not use them! Please make your code snippet compilable. Please see: we do not have your inputed file styledefs.tex ...

    – Kurt
    17 hours ago













  • @Kurt: Yes, I've heard about babel, but when talking about what not to use, you might add what to use instead, also.

    – U. Windl
    17 hours ago






  • 3





    I can't because your code is not compilable and I do not want to have to guess what you are doing. Please complete your code snippet ...

    – Kurt
    17 hours ago








2




2





Off-topic: packages german and a4 are outdated! Do not use them! Please make your code snippet compilable. Please see: we do not have your inputed file styledefs.tex ...

– Kurt
17 hours ago







Off-topic: packages german and a4 are outdated! Do not use them! Please make your code snippet compilable. Please see: we do not have your inputed file styledefs.tex ...

– Kurt
17 hours ago















@Kurt: Yes, I've heard about babel, but when talking about what not to use, you might add what to use instead, also.

– U. Windl
17 hours ago





@Kurt: Yes, I've heard about babel, but when talking about what not to use, you might add what to use instead, also.

– U. Windl
17 hours ago




3




3





I can't because your code is not compilable and I do not want to have to guess what you are doing. Please complete your code snippet ...

– Kurt
17 hours ago





I can't because your code is not compilable and I do not want to have to guess what you are doing. Please complete your code snippet ...

– Kurt
17 hours ago










1 Answer
1






active

oldest

votes


















2














If you set the quote character to ', then you have to quote it when using it in an index entry.



Here's a schematic solution. The filecontents* environment is just to make the example self-contained. If the current directory contains a file with the same name as the main TeX file and extension .mst, this one will be automatically used by MakeIndex.



File main.tex



begin{filecontents*}{jobname.mst}
quote '''
end{filecontents*}

documentclass{article}

usepackage{makeidx}
makeindex

providecommand{main}[1]{#1} % I don't know what main should do

begin{document}

Some text

index{Y''@$Y''$|see{Luma}}
index{Farbmodell!Y''CBCR@$Y''C_BC_R''$|main}

printindex

end{document}


File main.idx



indexentry{Y''@$Y''$|see{Luma}}{1}
indexentry{Farbmodell!Y''CBCR@$Y''C_BC_R''$|main}{1}


File main.ind (after running MakeIndex)



begin{theindex}

item Farbmodell
subitem $Y'C_BC_R'$, main{1}

indexspace

item $Y'$, see{Luma}{1}

end{theindex}


Output



enter image description here






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%2f483601%2flatex-index-entry-changed-by-makeindex-without-warning%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    If you set the quote character to ', then you have to quote it when using it in an index entry.



    Here's a schematic solution. The filecontents* environment is just to make the example self-contained. If the current directory contains a file with the same name as the main TeX file and extension .mst, this one will be automatically used by MakeIndex.



    File main.tex



    begin{filecontents*}{jobname.mst}
    quote '''
    end{filecontents*}

    documentclass{article}

    usepackage{makeidx}
    makeindex

    providecommand{main}[1]{#1} % I don't know what main should do

    begin{document}

    Some text

    index{Y''@$Y''$|see{Luma}}
    index{Farbmodell!Y''CBCR@$Y''C_BC_R''$|main}

    printindex

    end{document}


    File main.idx



    indexentry{Y''@$Y''$|see{Luma}}{1}
    indexentry{Farbmodell!Y''CBCR@$Y''C_BC_R''$|main}{1}


    File main.ind (after running MakeIndex)



    begin{theindex}

    item Farbmodell
    subitem $Y'C_BC_R'$, main{1}

    indexspace

    item $Y'$, see{Luma}{1}

    end{theindex}


    Output



    enter image description here






    share|improve this answer




























      2














      If you set the quote character to ', then you have to quote it when using it in an index entry.



      Here's a schematic solution. The filecontents* environment is just to make the example self-contained. If the current directory contains a file with the same name as the main TeX file and extension .mst, this one will be automatically used by MakeIndex.



      File main.tex



      begin{filecontents*}{jobname.mst}
      quote '''
      end{filecontents*}

      documentclass{article}

      usepackage{makeidx}
      makeindex

      providecommand{main}[1]{#1} % I don't know what main should do

      begin{document}

      Some text

      index{Y''@$Y''$|see{Luma}}
      index{Farbmodell!Y''CBCR@$Y''C_BC_R''$|main}

      printindex

      end{document}


      File main.idx



      indexentry{Y''@$Y''$|see{Luma}}{1}
      indexentry{Farbmodell!Y''CBCR@$Y''C_BC_R''$|main}{1}


      File main.ind (after running MakeIndex)



      begin{theindex}

      item Farbmodell
      subitem $Y'C_BC_R'$, main{1}

      indexspace

      item $Y'$, see{Luma}{1}

      end{theindex}


      Output



      enter image description here






      share|improve this answer


























        2












        2








        2







        If you set the quote character to ', then you have to quote it when using it in an index entry.



        Here's a schematic solution. The filecontents* environment is just to make the example self-contained. If the current directory contains a file with the same name as the main TeX file and extension .mst, this one will be automatically used by MakeIndex.



        File main.tex



        begin{filecontents*}{jobname.mst}
        quote '''
        end{filecontents*}

        documentclass{article}

        usepackage{makeidx}
        makeindex

        providecommand{main}[1]{#1} % I don't know what main should do

        begin{document}

        Some text

        index{Y''@$Y''$|see{Luma}}
        index{Farbmodell!Y''CBCR@$Y''C_BC_R''$|main}

        printindex

        end{document}


        File main.idx



        indexentry{Y''@$Y''$|see{Luma}}{1}
        indexentry{Farbmodell!Y''CBCR@$Y''C_BC_R''$|main}{1}


        File main.ind (after running MakeIndex)



        begin{theindex}

        item Farbmodell
        subitem $Y'C_BC_R'$, main{1}

        indexspace

        item $Y'$, see{Luma}{1}

        end{theindex}


        Output



        enter image description here






        share|improve this answer













        If you set the quote character to ', then you have to quote it when using it in an index entry.



        Here's a schematic solution. The filecontents* environment is just to make the example self-contained. If the current directory contains a file with the same name as the main TeX file and extension .mst, this one will be automatically used by MakeIndex.



        File main.tex



        begin{filecontents*}{jobname.mst}
        quote '''
        end{filecontents*}

        documentclass{article}

        usepackage{makeidx}
        makeindex

        providecommand{main}[1]{#1} % I don't know what main should do

        begin{document}

        Some text

        index{Y''@$Y''$|see{Luma}}
        index{Farbmodell!Y''CBCR@$Y''C_BC_R''$|main}

        printindex

        end{document}


        File main.idx



        indexentry{Y''@$Y''$|see{Luma}}{1}
        indexentry{Farbmodell!Y''CBCR@$Y''C_BC_R''$|main}{1}


        File main.ind (after running MakeIndex)



        begin{theindex}

        item Farbmodell
        subitem $Y'C_BC_R'$, main{1}

        indexspace

        item $Y'$, see{Luma}{1}

        end{theindex}


        Output



        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 6 hours ago









        egregegreg

        732k8919303253




        732k8919303253






























            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483601%2flatex-index-entry-changed-by-makeindex-without-warning%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

            Can't compile dgruyter and caption packagesLaTeX templates/packages for writing a patent specificationLatex...

            Schneeberg (Smreczany) Bibliografia | Menu...

            Hans Bellmer Spis treści Życiorys | Upamiętnienie | Przypisy | Bibliografia | Linki zewnętrzne |...