Блог пользователя Erfan.aa

Автор Erfan.aa, 5 лет назад, По-английски

Hello!

As you know, each team can have a notebook for their reference in any ACM-ICPC official contest. Actually, this is a rule of regional and World Finals ACM-ICPC contests, that you can bring some papers with yourself. Usually, each team put some source codes of different algorithms in their cheatsheet.

Generating this cheatsheet would be a little hard, because you may want to put many source codes in a few pages. Also, you may want to add a table of contents to it. And the most important part is to have syntax highlighting for your codes.

I just wanted to introduce you a tool for this purpose. Its name is "codes2pdf" and it's here: https://github.com/Erfaniaa/codes2pdf

(Actually, it's forked from pin3da/notebook-generator and it has been improved.)

Just give your cpp, py, java, and tex files as an input to it; it will generate a PDF file for you. Sample PDF file

I hope it will be helpful to you, even in fields which are not related to ACM-ICPC.

  • Проголосовать: нравится
  • +81
  • Проголосовать: не нравится

»
5 лет назад, # |
  Проголосовать: нравится +3 Проголосовать: не нравится

That's great!

»
5 лет назад, # |
Rev. 2   Проголосовать: нравится -35 Проголосовать: не нравится

ignore

»
5 лет назад, # |
  Проголосовать: нравится +5 Проголосовать: не нравится

What will be the Font size in generated PDF ?

»
5 лет назад, # |
  Проголосовать: нравится +6 Проголосовать: не нравится

It would be great if you put the link to the original repo https://github.com/pin3da/notebook-generator (;