Code Monkey home page Code Monkey logo

web's People

Contributors

ascherer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

web's Issues

Corrupt PDF output from any WEB input with pdfTeX 1.40.

On MacOS 10.15.7 with Adobe Acrobat Reader 2021.001.20135 we get an error popup with any PDF file created with the \ifpdftex code in pwebmac.tex and if we don't kill this dialog and close the offending PDF view then the whole system freezes dead and reboots due to the crash.

Also, the online PDF validator reports many errors like "The operator has an invalid number of operands" and "The value of the key Last is 2457 0 R but must be 2091 0 R".

Fix non-Knuthian WEB codes.

According to @kberry, 'we' are free to modify dvicopy, patgen, pktogf, and pktype, because they are not maintained by DEK. bibtex will not be changed by OP anytime soon.

Fix page break in tex.web.

The "new" webmac.tex produces 536 pages instead of 535 with the original webmac.tex. Section §585 is broken differently.

Total size of knuth-pdf and knuth-hint

TeX engine wc *.pdf +changes
pdftex 40.113.319 24.597.529
luatex 44.222.150 26.666.042
xetex 30.426.423 18.255.312
hitex 36.358.515 17.675.864
(wc xetex.pdf) +106.915 +2.322.956

Bug in PLtoTF.

pdfwebtocfront.tex starts the PDF output for pltotf.web on page '302' with Property list description of font metric data (in small caps) from starred section 5, instead of with Introduction from starred section 1. There seems to be a page shift, because all headlines start one page early.

Fix headers of TOC pages of KNUTHware WEBs.

First, we want to reproduce the "original" form of the tables-of-contents pages for the 19 WEB programs with plain old DVI-producing TeX. ✔️

Next, we use various PDF-producing variants of the TeX engine. ✔️

Last, with pdfwebtocfront.tex added, {pdf,xe}TeX picks up the incorrect \topmarks or \rheader text for most of the WEB sources.

ICC color profiles

weave weave; pdftex weave produces weave.pdf that gives tons of warnings à la

{Path|Text} object uses {Gray|RGB} based color space.
No PDF/A Output Intent specified

on https://freepdfonline.com/verifypdfa/

TeX Stackexchange knows an answer for pdfTeX: https://tex.stackexchange.com/questions/61217/latex-color-and-icc-color-profile

Downloading ICC profile sRGB2014.icc from http://www.color.org/srgbprofiles.xalter#v2 and adding the relevant PDF code in \ifpdftex purges all of these color warnings.

All that's left are these 'Preflight Results':

Document Results
XRef cannot be an object stream (not a PDF 1.4 compatible feature)
Metadata key missing in root catalog
MarkInfo dictionary is not present
Structure Tree Root missing.

Page 1 Results
Link Annotation's F key is missing
Unicode info not available for font -- tons of these on every page

Work has started in branch https://github.com/ascherer/web/tree/pdf-icc-color-profiles

Support LuaTeX

pwebmac should use cwebacromac and permit processing with LuaTeX.

Merge TeX macros.

CWEB's cwebmac.tex supports

  • Plain TeX with/out \let\pdf+ to create clickable links in PDF output, using xdvipdfmx manually
  • pdfTeX to create clickable links in PDF output
  • XeTeX with/out \let\pdf+ to create clickable links in PDF output, using xdvipdfmx in the background

Goal of this issue is to amend webmac.tex with the separate PDF functionality from pdfwebmac.tex and xewebmac.tex.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.