Indexing terms being used in cross-referencing The 2019 Stack Overflow Developer Survey Results Are InCross-referencing numeric values and text from later section to executive summary of a latex document

Unitary representations of finite groups over finite fields

Are there any other methods to apply to solving simultaneous equations?

Geography at the pixel level

What do hard-Brexiteers want with respect to the Irish border?

Pokemon Turn Based battle (Python)

How do PCB vias affect signal quality?

Did any laptop computers have a built-in 5 1/4 inch floppy drive?

Output the Arecibo Message

Getting crown tickets for Statue of Liberty

What is the motivation for a law requiring 2 parties to consent for recording a conversation

How do you keep chess fun when your opponent constantly beats you?

Likelihood that a superbug or lethal virus could come from a landfill

Why not take a picture of a closer black hole?

Why didn't the Event Horizon Telescope team mention Sagittarius A*?

Why does the nucleus not repel itself?

Can I have a signal generator on while it's not connected?

Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?

Does adding complexity mean a more secure cipher?

Match Roman Numerals

Why are there uneven bright areas in this photo of black hole?

Why is the maximum length of OpenWrt’s root password 8 characters?

How come people say “Would of”?

Did Scotland spend $250,000 for the slogan "Welcome to Scotland"?

The phrase "to the numbers born"?



Indexing terms being used in cross-referencing



The 2019 Stack Overflow Developer Survey Results Are InCross-referencing numeric values and text from later section to executive summary of a latex document










0















This is a follow-up question of my previous one:
Cross-referencing numeric values and text from later section to executive summary of a latex document



I have finished making my report and now my boss asks to insert an index into the document.I have made a sample as below (the tex file is created using Rmarkdown and pandoc, so it may have some code not needed but incorporated)



documentclass[]article
usepackagelmodern
usepackageamssymb,amsmath
usepackageifxetex,ifluatex
usepackagefixltx2e % provides textsubscript
ifnum 0ifxetex 1fiifluatex 1fi=0 % if pdftex
usepackage[T1]fontenc
usepackage[utf8]inputenc
else % if luatex or xelatex
ifxetex
usepackagemathspec
else
usepackagefontspec
fi
defaultfontfeaturesLigatures=TeX,Scale=MatchLowercase
fi
% use upquote if available, for straight quotes in verbatim environments
IfFileExistsupquote.styusepackageupquote
% use microtype if available
IfFileExistsmicrotype.sty%
usepackagemicrotype
UseMicrotypeSet[protrusion]basicmath % disable protrusion for tt fonts

usepackage[margin=1in]geometry
usepackagehyperref
hypersetupunicode=true,
pdftitle=Testing,
pdfborder=0 0 0,
breaklinks=true
urlstylesame % don't use monospace font for urls
usepackagegraphicx,grffile
makeatletter
defmaxwidthifdimGin@nat@width>linewidthlinewidthelseGin@nat@widthfi
defmaxheightifdimGin@nat@height>textheighttextheightelseGin@nat@heightfi
makeatother
% Scale images if necessary, so that they will not overflow the page
% margins by default, and it is still possible to overwrite the defaults
% using explicit options in includegraphics[width, height, ...]
setkeysGinwidth=maxwidth,height=maxheight,keepaspectratio
IfFileExistsparskip.sty%
usepackageparskip
% else
setlengthparindent0pt
setlengthparskip6pt plus 2pt minus 1pt

setlengthemergencystretch3em % prevent overfull lines
providecommandtightlist%
setlengthitemsep0ptsetlengthparskip0pt
setcountersecnumdepth0
% Redefines (sub)paragraphs to behave more like sections
ifxparagraphundefinedelse
letoldparagraphparagraph
renewcommandparagraph[1]oldparagraph#1mbox
fi
ifxsubparagraphundefinedelse
letoldsubparagraphsubparagraph
renewcommandsubparagraph[1]oldsubparagraph#1mbox
fi

%%% Use protect on footnotes to avoid problems with footnotes in titles
letrmarkdownfootnotefootnote%
deffootnoteprotectrmarkdownfootnote

%%% Change title format to be more compact
usepackagetitling

% Create subtitle command for use in maketitle
newcommandsubtitle[1]
posttitle
begincenterlarge#1endcenter



setlengthdroptitle-2em

titleTesting
pretitlevspacedroptitlecenteringhuge
posttitlepar
author
preauthorpostauthor
date
predatepostdate

usepackageimakeidx
usepackagemfirstuc
makeindex[intoc,columns=1]
makeatletter
newcommandstorehide[2]def@currentlabel#1label#2

begindocument
maketitle

setosaindexFlower!setosa

newcommandabidx[1]#1indexFlower!capitalisewords#1

abidxsetosa

abidxsetosa, abidxversicolor, abidxvirginica

beginenumerate
deflabelenumiarabicenumi.
item
This is a ref*label01
item
Types of flowers: ref*label02
item
Types of flowers: ref*label03
endenumerate

storehidetestlabel01

storehideSETOSA, VERSICOLOR AND VIRGINICAlabel02

storehideabidxsetosa, abidxversicolor, abidxvirginicalabel03

newpage
printindex


enddocument


I create a list of terms and cross-referenced them in other part of the document, what I want to the index each and every one of the terms so that they can be listed in the index part (i.e. cross-referencing label03), but it is not working.



What have I done wrong? Thanks!









share


























    0















    This is a follow-up question of my previous one:
    Cross-referencing numeric values and text from later section to executive summary of a latex document



    I have finished making my report and now my boss asks to insert an index into the document.I have made a sample as below (the tex file is created using Rmarkdown and pandoc, so it may have some code not needed but incorporated)



    documentclass[]article
    usepackagelmodern
    usepackageamssymb,amsmath
    usepackageifxetex,ifluatex
    usepackagefixltx2e % provides textsubscript
    ifnum 0ifxetex 1fiifluatex 1fi=0 % if pdftex
    usepackage[T1]fontenc
    usepackage[utf8]inputenc
    else % if luatex or xelatex
    ifxetex
    usepackagemathspec
    else
    usepackagefontspec
    fi
    defaultfontfeaturesLigatures=TeX,Scale=MatchLowercase
    fi
    % use upquote if available, for straight quotes in verbatim environments
    IfFileExistsupquote.styusepackageupquote
    % use microtype if available
    IfFileExistsmicrotype.sty%
    usepackagemicrotype
    UseMicrotypeSet[protrusion]basicmath % disable protrusion for tt fonts

    usepackage[margin=1in]geometry
    usepackagehyperref
    hypersetupunicode=true,
    pdftitle=Testing,
    pdfborder=0 0 0,
    breaklinks=true
    urlstylesame % don't use monospace font for urls
    usepackagegraphicx,grffile
    makeatletter
    defmaxwidthifdimGin@nat@width>linewidthlinewidthelseGin@nat@widthfi
    defmaxheightifdimGin@nat@height>textheighttextheightelseGin@nat@heightfi
    makeatother
    % Scale images if necessary, so that they will not overflow the page
    % margins by default, and it is still possible to overwrite the defaults
    % using explicit options in includegraphics[width, height, ...]
    setkeysGinwidth=maxwidth,height=maxheight,keepaspectratio
    IfFileExistsparskip.sty%
    usepackageparskip
    % else
    setlengthparindent0pt
    setlengthparskip6pt plus 2pt minus 1pt

    setlengthemergencystretch3em % prevent overfull lines
    providecommandtightlist%
    setlengthitemsep0ptsetlengthparskip0pt
    setcountersecnumdepth0
    % Redefines (sub)paragraphs to behave more like sections
    ifxparagraphundefinedelse
    letoldparagraphparagraph
    renewcommandparagraph[1]oldparagraph#1mbox
    fi
    ifxsubparagraphundefinedelse
    letoldsubparagraphsubparagraph
    renewcommandsubparagraph[1]oldsubparagraph#1mbox
    fi

    %%% Use protect on footnotes to avoid problems with footnotes in titles
    letrmarkdownfootnotefootnote%
    deffootnoteprotectrmarkdownfootnote

    %%% Change title format to be more compact
    usepackagetitling

    % Create subtitle command for use in maketitle
    newcommandsubtitle[1]
    posttitle
    begincenterlarge#1endcenter



    setlengthdroptitle-2em

    titleTesting
    pretitlevspacedroptitlecenteringhuge
    posttitlepar
    author
    preauthorpostauthor
    date
    predatepostdate

    usepackageimakeidx
    usepackagemfirstuc
    makeindex[intoc,columns=1]
    makeatletter
    newcommandstorehide[2]def@currentlabel#1label#2

    begindocument
    maketitle

    setosaindexFlower!setosa

    newcommandabidx[1]#1indexFlower!capitalisewords#1

    abidxsetosa

    abidxsetosa, abidxversicolor, abidxvirginica

    beginenumerate
    deflabelenumiarabicenumi.
    item
    This is a ref*label01
    item
    Types of flowers: ref*label02
    item
    Types of flowers: ref*label03
    endenumerate

    storehidetestlabel01

    storehideSETOSA, VERSICOLOR AND VIRGINICAlabel02

    storehideabidxsetosa, abidxversicolor, abidxvirginicalabel03

    newpage
    printindex


    enddocument


    I create a list of terms and cross-referenced them in other part of the document, what I want to the index each and every one of the terms so that they can be listed in the index part (i.e. cross-referencing label03), but it is not working.



    What have I done wrong? Thanks!









    share
























      0












      0








      0








      This is a follow-up question of my previous one:
      Cross-referencing numeric values and text from later section to executive summary of a latex document



      I have finished making my report and now my boss asks to insert an index into the document.I have made a sample as below (the tex file is created using Rmarkdown and pandoc, so it may have some code not needed but incorporated)



      documentclass[]article
      usepackagelmodern
      usepackageamssymb,amsmath
      usepackageifxetex,ifluatex
      usepackagefixltx2e % provides textsubscript
      ifnum 0ifxetex 1fiifluatex 1fi=0 % if pdftex
      usepackage[T1]fontenc
      usepackage[utf8]inputenc
      else % if luatex or xelatex
      ifxetex
      usepackagemathspec
      else
      usepackagefontspec
      fi
      defaultfontfeaturesLigatures=TeX,Scale=MatchLowercase
      fi
      % use upquote if available, for straight quotes in verbatim environments
      IfFileExistsupquote.styusepackageupquote
      % use microtype if available
      IfFileExistsmicrotype.sty%
      usepackagemicrotype
      UseMicrotypeSet[protrusion]basicmath % disable protrusion for tt fonts

      usepackage[margin=1in]geometry
      usepackagehyperref
      hypersetupunicode=true,
      pdftitle=Testing,
      pdfborder=0 0 0,
      breaklinks=true
      urlstylesame % don't use monospace font for urls
      usepackagegraphicx,grffile
      makeatletter
      defmaxwidthifdimGin@nat@width>linewidthlinewidthelseGin@nat@widthfi
      defmaxheightifdimGin@nat@height>textheighttextheightelseGin@nat@heightfi
      makeatother
      % Scale images if necessary, so that they will not overflow the page
      % margins by default, and it is still possible to overwrite the defaults
      % using explicit options in includegraphics[width, height, ...]
      setkeysGinwidth=maxwidth,height=maxheight,keepaspectratio
      IfFileExistsparskip.sty%
      usepackageparskip
      % else
      setlengthparindent0pt
      setlengthparskip6pt plus 2pt minus 1pt

      setlengthemergencystretch3em % prevent overfull lines
      providecommandtightlist%
      setlengthitemsep0ptsetlengthparskip0pt
      setcountersecnumdepth0
      % Redefines (sub)paragraphs to behave more like sections
      ifxparagraphundefinedelse
      letoldparagraphparagraph
      renewcommandparagraph[1]oldparagraph#1mbox
      fi
      ifxsubparagraphundefinedelse
      letoldsubparagraphsubparagraph
      renewcommandsubparagraph[1]oldsubparagraph#1mbox
      fi

      %%% Use protect on footnotes to avoid problems with footnotes in titles
      letrmarkdownfootnotefootnote%
      deffootnoteprotectrmarkdownfootnote

      %%% Change title format to be more compact
      usepackagetitling

      % Create subtitle command for use in maketitle
      newcommandsubtitle[1]
      posttitle
      begincenterlarge#1endcenter



      setlengthdroptitle-2em

      titleTesting
      pretitlevspacedroptitlecenteringhuge
      posttitlepar
      author
      preauthorpostauthor
      date
      predatepostdate

      usepackageimakeidx
      usepackagemfirstuc
      makeindex[intoc,columns=1]
      makeatletter
      newcommandstorehide[2]def@currentlabel#1label#2

      begindocument
      maketitle

      setosaindexFlower!setosa

      newcommandabidx[1]#1indexFlower!capitalisewords#1

      abidxsetosa

      abidxsetosa, abidxversicolor, abidxvirginica

      beginenumerate
      deflabelenumiarabicenumi.
      item
      This is a ref*label01
      item
      Types of flowers: ref*label02
      item
      Types of flowers: ref*label03
      endenumerate

      storehidetestlabel01

      storehideSETOSA, VERSICOLOR AND VIRGINICAlabel02

      storehideabidxsetosa, abidxversicolor, abidxvirginicalabel03

      newpage
      printindex


      enddocument


      I create a list of terms and cross-referenced them in other part of the document, what I want to the index each and every one of the terms so that they can be listed in the index part (i.e. cross-referencing label03), but it is not working.



      What have I done wrong? Thanks!









      share














      This is a follow-up question of my previous one:
      Cross-referencing numeric values and text from later section to executive summary of a latex document



      I have finished making my report and now my boss asks to insert an index into the document.I have made a sample as below (the tex file is created using Rmarkdown and pandoc, so it may have some code not needed but incorporated)



      documentclass[]article
      usepackagelmodern
      usepackageamssymb,amsmath
      usepackageifxetex,ifluatex
      usepackagefixltx2e % provides textsubscript
      ifnum 0ifxetex 1fiifluatex 1fi=0 % if pdftex
      usepackage[T1]fontenc
      usepackage[utf8]inputenc
      else % if luatex or xelatex
      ifxetex
      usepackagemathspec
      else
      usepackagefontspec
      fi
      defaultfontfeaturesLigatures=TeX,Scale=MatchLowercase
      fi
      % use upquote if available, for straight quotes in verbatim environments
      IfFileExistsupquote.styusepackageupquote
      % use microtype if available
      IfFileExistsmicrotype.sty%
      usepackagemicrotype
      UseMicrotypeSet[protrusion]basicmath % disable protrusion for tt fonts

      usepackage[margin=1in]geometry
      usepackagehyperref
      hypersetupunicode=true,
      pdftitle=Testing,
      pdfborder=0 0 0,
      breaklinks=true
      urlstylesame % don't use monospace font for urls
      usepackagegraphicx,grffile
      makeatletter
      defmaxwidthifdimGin@nat@width>linewidthlinewidthelseGin@nat@widthfi
      defmaxheightifdimGin@nat@height>textheighttextheightelseGin@nat@heightfi
      makeatother
      % Scale images if necessary, so that they will not overflow the page
      % margins by default, and it is still possible to overwrite the defaults
      % using explicit options in includegraphics[width, height, ...]
      setkeysGinwidth=maxwidth,height=maxheight,keepaspectratio
      IfFileExistsparskip.sty%
      usepackageparskip
      % else
      setlengthparindent0pt
      setlengthparskip6pt plus 2pt minus 1pt

      setlengthemergencystretch3em % prevent overfull lines
      providecommandtightlist%
      setlengthitemsep0ptsetlengthparskip0pt
      setcountersecnumdepth0
      % Redefines (sub)paragraphs to behave more like sections
      ifxparagraphundefinedelse
      letoldparagraphparagraph
      renewcommandparagraph[1]oldparagraph#1mbox
      fi
      ifxsubparagraphundefinedelse
      letoldsubparagraphsubparagraph
      renewcommandsubparagraph[1]oldsubparagraph#1mbox
      fi

      %%% Use protect on footnotes to avoid problems with footnotes in titles
      letrmarkdownfootnotefootnote%
      deffootnoteprotectrmarkdownfootnote

      %%% Change title format to be more compact
      usepackagetitling

      % Create subtitle command for use in maketitle
      newcommandsubtitle[1]
      posttitle
      begincenterlarge#1endcenter



      setlengthdroptitle-2em

      titleTesting
      pretitlevspacedroptitlecenteringhuge
      posttitlepar
      author
      preauthorpostauthor
      date
      predatepostdate

      usepackageimakeidx
      usepackagemfirstuc
      makeindex[intoc,columns=1]
      makeatletter
      newcommandstorehide[2]def@currentlabel#1label#2

      begindocument
      maketitle

      setosaindexFlower!setosa

      newcommandabidx[1]#1indexFlower!capitalisewords#1

      abidxsetosa

      abidxsetosa, abidxversicolor, abidxvirginica

      beginenumerate
      deflabelenumiarabicenumi.
      item
      This is a ref*label01
      item
      Types of flowers: ref*label02
      item
      Types of flowers: ref*label03
      endenumerate

      storehidetestlabel01

      storehideSETOSA, VERSICOLOR AND VIRGINICAlabel02

      storehideabidxsetosa, abidxversicolor, abidxvirginicalabel03

      newpage
      printindex


      enddocument


      I create a list of terms and cross-referenced them in other part of the document, what I want to the index each and every one of the terms so that they can be listed in the index part (i.e. cross-referencing label03), but it is not working.



      What have I done wrong? Thanks!







      cross-referencing indexing r markdown





      share












      share










      share



      share










      asked 29 secs ago









      lokheartlokheart

      1355




      1355




















          0






          active

          oldest

          votes












          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%2f484433%2findexing-terms-being-used-in-cross-referencing%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          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%2f484433%2findexing-terms-being-used-in-cross-referencing%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

          Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

          Lioubotyn Sommaire Géographie | Histoire | Population | Notes et références | Liens externes | Menu de navigationlubotin.kharkov.uamodifier« Recensements et estimations de la population depuis 1897 »« Office des statistiques d'Ukraine : population au 1er janvier 2010, 2011 et 2012 »« Office des statistiques d'Ukraine : population au 1er janvier 2011, 2012 et 2013 »Informations officiellesCartes topographiquesCarte routièrem

          Mpande kaSenzangakhona Biographie | Références | Menu de navigationmodifierMpande kaSenzangakhonavoir la liste des auteursm