Comments (5)
I am planning to add a solution as an alternative to the current behavior. I do not have as much time as I used to for (La)TeX currently.
This will come one time…
from xsim.
I close this as a duplicate of issue #9
from xsim.
Hooo, I hadn't read (#9) when I wrote this. I wrote a comment on the previous commit 5ccf34d . Waiting for the new version :). Thank you for everything.
The best.
Pablo
from xsim.
I have seen the comment and I've noticed the scontents
package. For the time being the switching-off of the external files will disable using verbatim material, though… scontents
does
\NewDocumentCommand { \__scontents_verb_arg:w } { +v }
which is a little bit of cheating ;) \NewDocumentCommand
is meant to define user commands while \__scontents_verb_arg:w
clearly is an internal command for the package… I've misused \NewDocumentCommand
, too, but not in xsim
where I want to keep the code as clean as I can.
I might find another way, though :)
from xsim.
Yes, the truth is that \scontents_verb_arg:w
is a bit misleading ... there was no other way out since \tl_rescan
does not work properly with verbatim
material, only the old \scantokens
has that ability :) (for now) .
The code of xsim
is pure and clear, we appreciate the comments you leave in source codes, otherwise I would never have understood how xsimverb
worked.
The comment left it for the scontents
environment rather than for the \Scontents
command, basically it is the same idea as xsimverb
, but, saving the content in \tl
and modifying the blessed end of line ^^M
:) (a headache) and stored this in a sequence.
With your new version I think I can move (at last) from exsheets
to xsim
.
Maybe an idea of the "star" type in environments not to write in external files?
I see something like that in my mind:
\usepackage[no-files]{xsim}
\begin{exercise*}[...]
\scantokens{body} and save in prop list
\end{exercise*}
\begin{solution*}[...]
\scantokens{body} and save in prop list
\end{solution*}
and for xparse
, solution
of solution*
are different (I don't mean the s
argument) . maybe you could try something, I repeat, it's just an idea, and it's not that this against writing external files, it's just that, one of the things I liked most about exsheets
was that.
Saludos
from xsim.
Related Issues (20)
- Solutions not printed HOT 2
- Allow printcollection to filter by tags
- match-all and match-any option for collection may be redundant.
- xsim, babel and tikz; problem with quotation marks
- Request: pointssum of an exercise behind the last line
- Possible Bug when combining a tabular and an exercise environment HOT 3
- double vertical line in array HOT 1
- Cloze-Tests, blanks not filled with solution/print = true HOT 1
- Wrong documentation for `AddtoExerciseTypeGoal` and `AddtoExerciseTypeGoalPrint`
- Points question xsim package precision decimal HOT 2
- Strange distancing when starting with a bulleted enviroment. HOT 1
- solution HOT 4
- Problem with two ExerciseType HOT 3
- Wording of warning message HOT 4
- Printcollection outputs questions without question number HOT 1
- Pre-hook is not applicable to exercise environment HOT 1
- Buffer problem HOT 4
- Usint \lstinline{#include <iostream>} display one more # HOT 4
- mcq with more than one correct choice
- xsim.description-list.tex does not compile HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xsim.