Questions tagged [web]

WEB is a computer programming system created by Donald E. Knuth. TeX and Metafont are written in WEB. This tag covers WEB and related tools (CWEB, web2c).

Filter by
Sorted by
Tagged with
1
vote
0answers
18 views

Apply specific color to !important in CSS using listings

Problem: I wish to apply a gray color to !important in CSS when using listings. I have managed to modify so that the color is different after : but how can I modify the code below so only !important ...
0
votes
0answers
34 views

How do you cite several documents of one website?

I'm currently using this biblatex-code to cite a website: @misc{google1, author = {Google Developers}, title = {Distribution dashboard - Android Developers}, year = {2019}, url = {...
1
vote
1answer
36 views

How to reference websites in the Bibliography

I have used the following code: \documentclass[12pt,reqno]{book} \begin{thebibliography}{99} \addcontentsline{toc}{chapter}{Bibliography} \bibitem{lecture11}http://math.mit.edu/classes/18.745/...
0
votes
0answers
62 views

liabilities of web fonts for tex printing

The below expands on the themes briefly represented in a question from several years ago. Historically, TeX and its descendants have distinguished themselves as being accessible to non-commercial ...
20
votes
2answers
2k views

How many lines of code does the original TeX contain?

I am currently implementing a non-trivial software component (not related to typesetting), and would like to compare it to other components both from the same field and from other fields, including ...
4
votes
1answer
129 views

Testing TeXLive 2019 (MacTeX) with TRIP.TEX

While browsing through Don Knuth's publications on TeX, I was referred to the file tripman.pdf on my MacTeX distribution. As TeXnicians may know, this file explains the purpose of the TRIP test and ...
0
votes
1answer
86 views

Example of “babel-\bbl@format.cfg” i.e. “babel-*.cfg”? Typical content? Where do I have to store “babel-latex.cfg” so “kpsewhich” can find it?

An e-TeX generated with Jim Fowler's WEB/TeX Pascal to WebAssembly Compiler web2js should dump a LaTeX format from latex.ltx and stumbles over the babel-latex.cfg, see ShreevatsaR's instructions to ...
3
votes
0answers
72 views

Is there a specialized literate programming web-file editor that supports navigating in a Knuth's web file e.g. “tex.web”?

What do I mean by that? displaying starred and unstarred sections of cursor position displaying title of starred section displaying See also sections if exists displaying This code is used in ...
0
votes
0answers
34 views

Where to find Kevin Borden's WEB structure viewer web-view and Texbraces from David Ness?

Does anybody know how to get these programs / source codes? At TeXbraces, I'm referring to Diagnosing TeX Errors with a Preprocessor
0
votes
1answer
146 views

TeX initex error “TeX capacity exceeded, sorry [pool size=8563]” while constant pool_size is set to 350000. What can I do?

Attention: This TeX is generated by web2js Jim Fowler's WEB/TeX Pascal to WebAssembly compiler. This is a follow-up question to Is it possible to output a WEB constant with a TeX (or WEB) command?. ...
0
votes
1answer
50 views

Is it possible to output a WEB constant with a TeX (or WEB) command?

tex.web defines several constants which are changed at compile time. How can I get the values of the current TeX or eTeX instance? I'm about to put a TeX or eTeX generated by web2js Jim Fowler's ...
0
votes
1answer
35 views

How can I output another page “** I'm the new first page**” in/with pdfwebmac.tex (or webmac.tex) before the document?

I got it here: pdfwebmac.tex It's the hyperlink version of webmac. In principle, the question should also apply to webmac. My Tex Live 2019 distribution only contained the webmac. With weave tex.web ...
2
votes
0answers
33 views

How to add a second table of content to “tex.pdf” with a LaTeX package by using the “contents.tex” generated by 'pdfwebmac'?

This is a follow up question to How to change table of content layout for a pdf document created from a web source file? I input the following commands: weave tex.web pdftex tex.tex and create ...
9
votes
1answer
202 views

Where to find an interactive PDF or HTML version of the tex.web documentation?

I have problems with the memory management of an eTeX created with Jim Fowler's TeX's pascal to javascript compiler web2js as soon as I want to dump the eTeX format etex.src with more than only "...
8
votes
3answers
394 views

Rather simple, instructional, educational and illustrative web program source codes in Knuth's WEB literal programming language?

Can someone please provide (or write) such programs in DEK's WEB? I want them to test Jim Fowler`s WEB/TeX's pascal to javascript compiler web2js and I think such a collection is also a good ...
2
votes
1answer
68 views

How to prepare a chg file, tie and tangle: tex.web tex.ch etex.ch and etex.sys to a new etex.web?

I need the following changes for tex.web in tex.ch. The section begins line 707. The actual change concerns the last two lines. @ The ASCII code is ``standard'' only to a certain extent, since many ...
3
votes
2answers
574 views

How to make an e-TeX WebAssembly with Jim Fowler's WEB/TeX pascal to WASM compiler web2js?

I have a TeX Live 2019 distribution installed on Windows 10 and want to run a preloaded LaTeX based on e-TeX (with these packages among others: Calculator, Calculus, TikZ, CircuiTikZ) under ...
1
vote
1answer
56 views

Cweb: why are my chunk names not inserted with a newline?

I am using cweb from TeX Live as installed with macports, and I am using the LaTeX document class cweb. When I insert a named chunk in my code, as such \documentclass{cweb} \begin{document} @ ...
0
votes
0answers
45 views

Compiling Tex from website userinterface

I am building a wordpress website which has a user interface where one can input information on project experiences. This information is saved on the server of the website. I would like to save the ...
2
votes
1answer
35 views

Crash \@undeclaredcolor when citing a website with @misc and natbib

I am having troble when citing a website through the entry @misc with natbib, style unsrtnat. For old versions of TexLive (2012) all works fine, but for more recent ones the entry url makes the ...
3
votes
1answer
190 views

How to run CXTeX?

In the spirit of questions like this, I'm trying to build a C version of TeX-the-program; specifically Taco's CXTeX (part of MetaTeX). On Ubuntu 14 I can get it to compile, which results in a binary ...
2
votes
1answer
2k views

Reference a web source using ACM reference style in WinShell

I am a Windows user. I use MikTex and Winshell editor to edit my latex script. I am working on ACM conference style. I want to reference a web source in the following format as in their template: ...
5
votes
0answers
473 views

Which language would Knuth use to (re-)write TeX today? [closed]

[ yes, this is "primarily opinion based;" VTC if you must ] In Literate Programming Knuth wrote: ... I chose PASCAL as the programming language ... ; it is not my favorite language for system ...
1
vote
0answers
124 views

Randomly generate pdf on website [closed]

I have created a latex file which creates a pdf by randomly selecting 10 subfiles from a pool of files. This works fine, and I am able to generate a random PDF every time I run my script. A breakdown ...
1
vote
0answers
865 views

Like MathJax, can TikZ be used in drupal site(website)? [closed]

Why I am writing this question here that If I came to know that whether TikZ can be used directly on website or not. If you are aware with Drupal websites(Drupal is a content management system(CMS)), ...
0
votes
0answers
68 views

What your preferred workflow for creating data for print, web and presentations an efficient way?

I'm writing a businessplan in LaTeX including tables and graphs. From the paper I'm creating presentations in reveal.js, and later some of the informasjon will go on website. I can't help but feel ...
17
votes
2answers
3k views

Why using character ^^ff before every chapter in the TeXBook source

When viewing the source code of the TeXBook, I find that there is a character ^^ff before every chapter in it. I am wondering why using this ^^ff character which seems useless? The following ...
3
votes
0answers
770 views

Convert Latex with lots of math to web-friendly format [closed]

My math notes have a bunch of align environments (proofs) and I hope to post them on the Web. Currently I'm thinking about using pandoc to convert tex to markdown, then use jekyll to build my site. ...
1
vote
1answer
2k views

Electronic citation alignment in IEEE

@electronic{IntelNode, title = "Intel Intelligent Power Node Manager", url = "http://download.intel.com/support/motherboards/server/sysmgmt/sb/node_manager_white_paper.pdf", note = "Accessed: ...
4
votes
4answers
2k views

Compile LaTeX to HTML/CSS with kept typography

I have put lots of effort in the past to align, set and layout LaTeX documents as PDFs. Is there any reasonable converter, which uses CSS3, HTML, and so on to create a beautiful website from LaTeX. ...
1
vote
0answers
58 views

media9 and remote web image

Hi guys I need to put a remote image on a pdf. Such that if the remote picture changes then also the pdf when opened changes its content. I am trying to use media9 package but I am getting nowhere. ...
6
votes
1answer
379 views

Is there an implementation of WEB/NOWEB for LaTeX?

The WEB system is great, but it's a little cumbersome sometimes and very much rigid in its design. Is there a LaTeX document class for WEB-style documents? I'd like to program in other languages than ...
2
votes
1answer
298 views

displaying TeX in web app

First I tried to ask this question on stackoverflow but it looks like that it's TeX specific. I'm having a TeX file on server, and need to display it in web page. The first thing I was thinking about ...
1
vote
1answer
98 views

Adding picture to a CWEB document

The CWEB docs make no mention of how to include pictures. The tools I'm familiar with for including or generating graphics are designed for use in LaTeX, but CWEB outputs plain TeX. Pointers to ...
4
votes
1answer
90 views

How to use tangle to merge to get a single merged file from original source and change files

I'm trying to read and understand the TeX source, but it is difficult to keep track of when I should be reading code from the original file and when I should be reading code from the change file. I ...
2
votes
1answer
155 views

Tool for merging WEB file with its change file

Is there any tool that can take a sample.web and sample.ch file and produce a merged.web file as output?
55
votes
2answers
6k views

What language is TeX implemented in?

I read on Wikipedia that the first version of TeX was written in SAIL. However, does anyone know what language later versions (i.e the current one) are implemented in?
9
votes
2answers
1k views

About web2c, c code conversion

I'd like to convert some Tex-and-friends code to C, so that I can play with modifying it. As I understand it, the process is: (1) The tangle utility converts foo.web to a foo.p (Pascal) file, and ...
1
vote
0answers
111 views

TeX typesetting algorithms for web sites [duplicate]

Possible Duplicate: Tex like formatting on blog posts I wonder if there are any solutions for using TeX typesetting algorithms for web sites publishing to make pages as beautiful and readable as ...
2
votes
1answer
171 views

Producing Generic or Portable TEX Source Codes Using - the World Wide Web- Standards [closed]

Is it possible to write or produce a(n) -ultimate- standard coding pattern for TEX source codes those might work well enough across the "World Wide Web" on almost every each of platforms available, ...
7
votes
2answers
2k views

rewrite tex.web in C++? [closed]

A few weeks ago I read this (now here) article about some difficultites bring TeX to the iPad. It made me wonder: why not rewrite TeX.web in C++11? The codebase itself is now quite stable, and (...
12
votes
2answers
522 views

How can I make a PDF of the source of pdftex?

I got the files tex.web and pdftex.web from the texlive svn repo. I ran weave tex.web pdftex tex.tex which produced a file tex.pdf with a nicely typeset, cross-referenced listing of the WEB source ...
8
votes
1answer
387 views

What macros are defined in a Web2c format file?

Web2c defines its format style using Pascal strings, so there are no separator characters between csnames. Is there a straightforward way of listing all csnames bound in a .fmt file?