Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
0 votes
0 answers
32 views

Getting remote data from rest API

Is there any way to get remote data from rest API and use it inside the document or beamer presentation? I would like to create pdf with variable content which would be downloaded every time when ...
user avatar
4 votes
0 answers
89 views

How to create docker environment for Pascal to WASM compiler web2js?

What is web2js? This is a Pascal compiler that targets WebAssembly, designed specifically to compile TeX so it can be run inside the browser. More specifically, this repository includes a TeX engine ...
user avatar
2 votes
1 answer
172 views

The hash function used by new_trie_op

In §944 of TeX, The Program (Volume B of Computers & Typesetting) DEK describes the hash function used by new_trie_op in order to store hyphenation tables efficiently. Quoting him: The hash ...
user avatar
  • 1,750
4 votes
1 answer
759 views

How to write LaTeX on a static blog smoothly?

I want to write some of my notes in blog format. I want to use my own domain with an github.io-provided static website. I don't know whether I can setup Wordpress there, so Trevisan's latex2wp is ...
user avatar
4 votes
2 answers
382 views

Can someone explain what is labxx in the source code of tex

As shown above, I saw many labXXX in the source code of tex and pdftex. I'm really confused about them and there is no comments at all. Is there any doc that demonstrate the meaning of every labXXX? ...
user avatar
  • 471
1 vote
0 answers
31 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 ...
user avatar
  • 2,603
1 vote
1 answer
132 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/...
user avatar
1 vote
0 answers
77 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 ...
user avatar
  • 261
21 votes
2 answers
3k 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 ...
user avatar
  • 323
5 votes
1 answer
229 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 ...
user avatar
0 votes
1 answer
129 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 ...
user avatar
4 votes
0 answers
139 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 ...
user avatar
0 votes
0 answers
42 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
user avatar
0 votes
1 answer
615 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?. ...
user avatar
0 votes
1 answer
72 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 ...
user avatar
0 votes
1 answer
39 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 ...
user avatar
2 votes
0 answers
40 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 ...
user avatar
9 votes
1 answer
231 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 "...
user avatar
8 votes
3 answers
584 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 ...
user avatar
3 votes
1 answer
127 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 ...
user avatar
6 votes
2 answers
1k 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 ...
user avatar
1 vote
1 answer
63 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} @ ...
user avatar
1 vote
0 answers
60 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 ...
user avatar
2 votes
1 answer
70 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 ...
user avatar
4 votes
1 answer
236 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 ...
user avatar
2 votes
1 answer
3k 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: ...
user avatar
  • 1,923
6 votes
0 answers
565 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 ...
user avatar
  • 275
1 vote
0 answers
176 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 ...
user avatar
1 vote
0 answers
1k 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)), ...
user avatar
  • 111
0 votes
0 answers
75 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 ...
user avatar
  • 101
17 votes
2 answers
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 ...
user avatar
  • 3,278
3 votes
0 answers
806 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. ...
user avatar
  • 1,587
1 vote
1 answer
3k 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: ...
user avatar
  • 407
4 votes
4 answers
3k 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. ...
user avatar
  • 143
1 vote
0 answers
60 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. ...
user avatar
  • 11
6 votes
1 answer
463 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 ...
user avatar
  • 26.7k
2 votes
1 answer
396 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 ...
user avatar
  • 165
1 vote
1 answer
103 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 ...
user avatar
  • 155
4 votes
1 answer
94 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 ...
user avatar
2 votes
1 answer
190 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?
user avatar
  • 587
55 votes
2 answers
8k 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?
user avatar
10 votes
2 answers
2k 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 ...
user avatar
  • 2,352
1 vote
0 answers
114 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 ...
user avatar
2 votes
1 answer
175 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, ...
user avatar
7 votes
2 answers
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 (...
user avatar
  • 275
13 votes
2 answers
653 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 ...
user avatar
8 votes
1 answer
425 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?
user avatar