JavaScript is a scripting language commonly implemented as part of a web browser.

learn more… | top users | synonyms

1
vote
1answer
419 views

How to use listings with multiple languages?

I've got a HTML document with JavaScript inside that I want to show in my article. For that I would like to use my JavaScript and HTML formatting. How can I get the listings package to use two ...
0
votes
1answer
648 views

inlineMath \$…\$ not working but default \(…\) does [closed]

I am having issues getting a custom inlineMath format to work. I have included the MathJax CDN and then using the in-line configuration options. I can get all of the default formats to work $$...$$, ...
3
votes
1answer
378 views

Compiling my own mktexfmt

I'm trying to compile my own version of pdftex which works fine. However, I must compile my own format file (fmt) for that. This should be done with mktexfmt. My problem is that I don't know where to ...
15
votes
1answer
825 views

Beamer and JavaScript in a web browser

I have written a talk in Beamer and to illustrate one of my points I've written a program in JavaScript (well actually Processing). You can view it here (it seems to run ok in Chrome and Firefox, and ...
28
votes
2answers
2k views

pdftex and javascript forms with automatic calculations

I would like to create a PDF document in TeX with a form. Some of the fields in the form will be calculated based on the values of other fields. Here is a MWE, thanks to Victor Ivrii on the pdftex ...
6
votes
1answer
907 views

(La)TeX Web browser [closed]

I had an idea this morning and would like to share and to know if someone has already developed it somewhere! A Mozilla group is currently building a JavaScript Application able to transform any PDF ...
4
votes
1answer
902 views

How do I place a simple javascript in the resulting PDF?

I would like to use LaTeX to produce a PDF document with forms with the following features: -One or two user-modifiable text fields -One output text field -A "run" button that, when pressed, will take ...
12
votes
2answers
801 views

Insert web content dynamically (Javascript?)

This year in my field we have a large conference overlapping with the European soccer championship. Luckily my talk does not overlap with any match, but in case it will happen in the future I was ...
1
vote
1answer
434 views

How to obtain a high quality image from a web browser source [closed]

How to create high quality images from a Javascript/Dojo image presented in a browser which can be used by LaTeX?
5
votes
1answer
3k views

Two column layout with form

So here is the basic idea: 2 column Layout, 1 column with text and 1 column with a form you can fill in Acrobat Reader etc. I tried to use parallel and/or paracol package along with the hyperref ...
0
votes
1answer
855 views

JavaScript/HTML/SVG rendered inside a TeX PDF document, impossible?

I have a pretty general question. I have a report that is automatically created from HTML and Javascript and is output as a PDF. I'm using JavaScript because it's the best and easiest way I've found ...
9
votes
2answers
3k views

Example of Javascript form within pdflatex

Can someone please show me an example of how to include a simple Javascript form within a pdflatex document? Can someone please show me an example of accessing and modifying the PDF file's DOM from ...
14
votes
2answers
3k views

What is the best way to insert document-level JavaScript in LaTeX documents

I have been toying with the idea of converting some forms at work to interactive forms. I have tried some of the routines that come with insdljs, but they seem a bit dated. The idea is very ...