Dear Taran,
I do not think we have ever had a false positive with that error message. ;-)
1. Might you have included some particular chapter/section *twice* someplace?
2. Can you do a search across multiple files in your "source" directory on
those strings? "grep" or something like it in VSCode?
3. Last resort: comment out huge chunks of your source and slowly add them back
in until you get the error again and look closer.
Let us know what you find.
Rob
On 5/16/25 10:19, Taran Funk wrote:
> Hello again,
>
> I'm working with the following exercise below and getting the error:
>
> error: * PTX:ERROR: the @xml:id value "RWT-Evaluating-Functions-figure2" should
> be unique, but is authored multiple times.
> error: * PTX:ERROR: the @label value "RWT-Evaluating-Functions-prefigure2"
> should be unique, but is authored multiple times.
>
> The figure and prefigure do not show up anywhere else in the document. The
> prefigures also do not show up in my generated assets.
>
> <exerciselabel="RWT-Evaluating-Functions-exercise2">
> <statement>
> <p>
> Test text.
> </p>
> <figurexml:id="RWT-Evaluating-Functions-figure2a">
> <imagewidth="60%">
> <prefigurexmlns="
https://prefigure.org"label="RWT-Evaluating-Functions-prefigure2">
> <description>Points on Graph</description>
> <diagramdimensions="(300,300)"margins="5">
> <coordinatesbbox="(-5,-5,5,5)">
> <grid-axesxlabel="x"ylabel="y"/>
> <pointp="(2,-1)"size="4"></point>
> <pointp="(-2,1)"size="4"></point>
> <pointp="(0,3)"size="4"></point>
> <pointp="(1,2)"size="4"></point>
> <pointp="(3,-4)"size="4"></point>
> </coordinates>
> </diagram>
> </prefigure>
> </image>
> <!-- </figure> -->
> <p>
> Complete the input/output table using the graph above.
> </p>
> <table>
> <title>Input/Output Table</title>
> <tabulartop="major"left="medium"bottom="medium"right="medium">
> <rowhalign="center">
> <cell>Input</cell>
> <cell>Output</cell>
> </row>
> <rowhalign="center">
> <cell><m>-2</m></cell>
> <cell><fillinwidth="5"mode="math"answer="1"name="response1"/></cell>
> </row>
> <rowhalign="center">
> <cell><fillinwidth="5"mode="math"answer="0"name="response2"/></cell>
> <cell><m>3</m></cell>
> </row>
> <rowhalign="center">
> <cell><m>2</m></cell>
> <cell><fillinwidth="5"mode="math"answer="-1"name="response3"/></cell>
> </row>
> </tabular>
> </table>
> </statement>
> <evaluation>
> <evaluatesubmit="response1">
> <testcorrect="yes">
> <numcmpuse-answer="yes"/>
> </test>
> </evaluate>
> <evaluatesubmit="response2">
> <testcorrect="yes">
> <numcmpuse-answer="yes"/>
> </test>
> </evaluate>
> <evaluatesubmit="response3">
> <testcorrect="yes">
> <numcmpuse-answer="yes"/>
> </test>
> </evaluate>
> </evaluation>
> </exercise>
>
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to
pretext-suppo...@googlegroups.com <mailto:
pretext-
>
support+u...@googlegroups.com>.
> To view this discussion visit
https://groups.google.com/d/msgid/pretext-
> support/311fd325-f674-4816-8559-81ae7c5040a1n%
40googlegroups.com <https://
>
groups.google.com/d/msgid/pretext-support/311fd325-
> f674-4816-8559-81ae7c5040a1n%
40googlegroups.com?utm_medium=email&utm_source=footer>.