Skip to content

GATEOverflow/GO-PDFs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GO-PDFs

From 2021 onwards all PDFs of GATE Overflow will be released here.

Please check the Releases for the latest PDFs.

We are planning the following PDFs.

  1. GATE Overflow for GATE CSE 2025, 2 volumes
  2. TIFR CSE PDF
  3. GATE Overflow for UGC NET CSE
  4. GATE Overflow for ISRO CSE
  5. GATE Overflow for NIELIT Scientist A,B,C,D CSE
  6. Aptitude Overflow

GATE Overflow PDFs are made from the contents of GATE Overflow site which runs on Q2A software. For making the PDFs from HTML we make use of the Open Source tool wkhtmltopdf. We also rely on this wonderful plugin from Noah to convert Q2A content to PDF. The PDF generation pipeline is automated via CM.

PDF generation

The below PDF generation command works only with access to the relevant HTML files. We'll soon share some sample HTML files for testing the pipeline.

pip install cm4mlops
cm pull repo go-pdfs@gateoverflow
cm run script --tags=make,go,pdf,_go-cse,_vol1

Expected Output

(cm) arjun@hp-envy:~/GO-PDFs$ cm run script --tags=make,go,pdf,_go-cse,_vol2
INFO:root:* cm run script "make go pdf _go-cse _vol2"
INFO:root:  * cm run script "make pdf from-html _go-cse _vol2"
INFO:root:    * cm run script "get wkhtmltopdf _with-qt"
INFO:root:         ! load /home/arjun/CM/repos/local/cache/eb6c5132d9eb4b8b/cm-cached-state.json
INFO:root:         ! cd /home/arjun/GO-PDFs
INFO:root:         ! call /home/arjun/GO-PDFs/script/make-pdf-from-html/run.sh from tmp-run.sh
Running: 
wkhtmltopdf --javascript-delay 8880000 -T 20mm -B 20mm --header-spacing 6   --title 'GATEOverflow for GATECSE' --no-stop-slow-scripts   --load-error-handling ignore  --enable-local-file-access   toc  /home/arjun/go_books/gate_overflow_for_gate_cse/book_filter1_volume2.html  --enable-toc-back-links --zoom 1.0   /home/arjun/go_books/pdfs/filter1_volume2.pdf 

Loading pages (1/6)
Counting pages (2/6)                                               
Loading TOC (3/6)                                                           
Resolving links (4/6)                                              
Loading headers and footers (5/6)                                           
Printing pages (6/6)
[============================================================] Page 662 of 662