Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a reference to copy-pasted exercise in \copypaste #782

Open
Jimvy opened this issue Jan 17, 2020 · 0 comments
Open

Add a reference to copy-pasted exercise in \copypaste #782

Jimvy opened this issue Jan 17, 2020 · 0 comments

Comments

@Jimvy
Copy link
Collaborator

Jimvy commented Jan 17, 2020

{\newcommand{\copypaste}[2]{\begin{solution}\IfLanguageName{english}{See}{Voir} \QAlabel~#2 \IfLanguageName{english}{of }{de l'}APE#1.\end{solution}}}

It would be great if this command (which currently creates a solution environment saying to look at another exercise) inserted a link to this other exercise.
Also, maybe it could also copy-paste the statement, if it is not already present.
And, let's dream even more: we could make it applicable to any Q/A, even in exams, and it would then link to the question in the other exam! (Well, I'm probably dreaming too much.)

But the first two are interesting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant