In biblatex (and fnpct) the feature of moving around punctuation breaks if using color commands over it ...

ArcGIS Pro Python arcpy.CreatePersonalGDB_management

How would a mousetrap for use in space work?

How to react to hostile behavior from a senior developer?

Why weren't discrete x86 CPUs ever used in game hardware?

Why wasn't DOSKEY integrated with COMMAND.COM?

Can the Great Weapon Master feat's damage bonus and accuracy penalty apply to attacks from the Spiritual Weapon spell?

How does the secondary effect of the Heat Metal spell interact with a creature resistant/immune to fire damage?

When a candle burns, why does the top of wick glow if bottom of flame is hottest?

Morning, Afternoon, Night Kanji

Effects on objects due to a brief relocation of massive amounts of mass

A term for a woman complaining about things/begging in a cute/childish way

How does the math work when buying airline miles?

An adverb for when you're not exaggerating

Can anything be seen from the center of the Boötes void? How dark would it be?

Is it a good idea to use CNN to classify 1D signal?

Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?

How come Sam didn't become Lord of Horn Hill?

Do I really need to have a message in a novel to appeal to readers?

What initially awakened the Balrog?

Why should I vote and accept answers?

Time to Settle Down!

How could we fake a moon landing now?

Is it fair for a professor to grade us on the possession of past papers?

Converted a Scalar function to a TVF function for parallel execution-Still running in Serial mode



In biblatex (and fnpct) the feature of moving around punctuation breaks if using color commands over it



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)biblatex, hyperref and punctuation issueAutomatically formatting punctuation using biblatex field formatEnd quotes and punctuation when using biblatexDefine a no-op color name which is always the current colorBiblatex authoryear in brackets and with parenthesis around the yearBibliography using biblatex, XeTeX and bidi creating wrong punctuationMake footnote and fnpct compatible with color package?biblatex, punctuation, and empty fieldProblem with begrelateddelim, punctuation tracker, and parentheses in biblatexRecolor text, such that floats and footnotes are affected correctly












0















Biblatex by default (autopunct = true) moves punctuations around for superscript citation. However, changing the color of the superscript by textcolor or by color (need extra grouping) breaks this feature.
I noticed this even happens also with fnpct.
As can be seen in the MWE all attempts to have a colored superscript after punctuation failed (lines 2 to 4).
Any idea how to solve this?




documentclass{article}
usepackage{xparse}
usepackage{xcolor}
usepackage[
%autopunct = true, %that is the default setting
autocite = superscript,
hyperref=true
]{biblatex}
addbibresource{biblatex-examples.bib}


NewDocumentCommandtestA{m}{%
begingroupcolor{blue}autocite{#1}endgroup%
}%

NewDocumentCommandtestB{m}{%
color{blue}autocite{#1}%
}%


begin{document}

This is a normal test autocite{loh}. Things after.

This is an inline with color test textcolor{blue}{autocite{loh}}. Things after.

This is a macro test testA{loh}. Things after.

This is a macro test testB{loh}. Things after.


end{document}



enter image description here









share



























    0















    Biblatex by default (autopunct = true) moves punctuations around for superscript citation. However, changing the color of the superscript by textcolor or by color (need extra grouping) breaks this feature.
    I noticed this even happens also with fnpct.
    As can be seen in the MWE all attempts to have a colored superscript after punctuation failed (lines 2 to 4).
    Any idea how to solve this?




    documentclass{article}
    usepackage{xparse}
    usepackage{xcolor}
    usepackage[
    %autopunct = true, %that is the default setting
    autocite = superscript,
    hyperref=true
    ]{biblatex}
    addbibresource{biblatex-examples.bib}


    NewDocumentCommandtestA{m}{%
    begingroupcolor{blue}autocite{#1}endgroup%
    }%

    NewDocumentCommandtestB{m}{%
    color{blue}autocite{#1}%
    }%


    begin{document}

    This is a normal test autocite{loh}. Things after.

    This is an inline with color test textcolor{blue}{autocite{loh}}. Things after.

    This is a macro test testA{loh}. Things after.

    This is a macro test testB{loh}. Things after.


    end{document}



    enter image description here









    share

























      0












      0








      0








      Biblatex by default (autopunct = true) moves punctuations around for superscript citation. However, changing the color of the superscript by textcolor or by color (need extra grouping) breaks this feature.
      I noticed this even happens also with fnpct.
      As can be seen in the MWE all attempts to have a colored superscript after punctuation failed (lines 2 to 4).
      Any idea how to solve this?




      documentclass{article}
      usepackage{xparse}
      usepackage{xcolor}
      usepackage[
      %autopunct = true, %that is the default setting
      autocite = superscript,
      hyperref=true
      ]{biblatex}
      addbibresource{biblatex-examples.bib}


      NewDocumentCommandtestA{m}{%
      begingroupcolor{blue}autocite{#1}endgroup%
      }%

      NewDocumentCommandtestB{m}{%
      color{blue}autocite{#1}%
      }%


      begin{document}

      This is a normal test autocite{loh}. Things after.

      This is an inline with color test textcolor{blue}{autocite{loh}}. Things after.

      This is a macro test testA{loh}. Things after.

      This is a macro test testB{loh}. Things after.


      end{document}



      enter image description here









      share














      Biblatex by default (autopunct = true) moves punctuations around for superscript citation. However, changing the color of the superscript by textcolor or by color (need extra grouping) breaks this feature.
      I noticed this even happens also with fnpct.
      As can be seen in the MWE all attempts to have a colored superscript after punctuation failed (lines 2 to 4).
      Any idea how to solve this?




      documentclass{article}
      usepackage{xparse}
      usepackage{xcolor}
      usepackage[
      %autopunct = true, %that is the default setting
      autocite = superscript,
      hyperref=true
      ]{biblatex}
      addbibresource{biblatex-examples.bib}


      NewDocumentCommandtestA{m}{%
      begingroupcolor{blue}autocite{#1}endgroup%
      }%

      NewDocumentCommandtestB{m}{%
      color{blue}autocite{#1}%
      }%


      begin{document}

      This is a normal test autocite{loh}. Things after.

      This is an inline with color test textcolor{blue}{autocite{loh}}. Things after.

      This is a macro test testA{loh}. Things after.

      This is a macro test testB{loh}. Things after.


      end{document}



      enter image description here







      biblatex color punctuation fnpct





      share












      share










      share



      share










      asked 4 mins ago









      ShahryarShahryar

      14514




      14514






















          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%2f485549%2fin-biblatex-and-fnpct-the-feature-of-moving-around-punctuation-breaks-if-using%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%2f485549%2fin-biblatex-and-fnpct-the-feature-of-moving-around-punctuation-breaks-if-using%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

          Paper upload error, “Upload failed: The top margin is 0.715 in on page 3, which is below the required...

          Emraan Hashmi Filmografia | Linki zewnętrzne | Menu nawigacyjneGulshan GroverGulshan...

          How can I write this formula?newline and italics added with leqWhy does widehat behave differently if I...