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

Refactor: use code/ dirs and lstinputlisting{} #10

Open
chrissprague opened this issue Oct 26, 2014 · 0 comments
Open

Refactor: use code/ dirs and lstinputlisting{} #10

chrissprague opened this issue Oct 26, 2014 · 0 comments

Comments

@chrissprague
Copy link
Member

To be more specific, each exam should have a code/ dir.

All "fully-fledged" (stand alone, etc.) src files should be included in that directory.

Instead of doing \lstlisting and putting the code itself into the questions, we can cut down the clutter significantly by keeping the programs as separate files, and use \lstinputlisting{code/[file]}.

An added benefit is that github will recognize that our exam covers several different languages.

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

No branches or pull requests

1 participant