diff --git a/src/Seboettg/CiteProc/Rendering/Text.php b/src/Seboettg/CiteProc/Rendering/Text.php
index <HASH>..<HASH> 100644
--- a/src/Seboettg/CiteProc/Rendering/Text.php
+++ b/src/Seboettg/CiteProc/Rendering/Text.php
@@ -91,7 +91,12 @@ class Text implements Rendering
                 break;
             case 'variable':
                 if ($this->toRenderTypeValue === "citation-number") {
-                    $renderedText = $citationNumber + 1;
+                     $var = "citation-number";
+                    if (isset($data->$var)) {
+                        $renderedText = $data->$var;
+                    } else {
+                        $renderedText = $citationNumber + 1;
+                    }
                     break;
                 }
 
@@ -192,4 +197,4 @@ class Text implements Rendering
         }
         return $page;
     }
-}
\ No newline at end of file
+}
Update Text.php

Why do we need it? Cos when we are trying to render a citation and it is part of a number of bibliography but it's not the number 1 we will be able to send the field "citation-number" and render with it.