New answers tagged

1 vote

Converting Wolfram Language Scripts (.wls) into PDFs

another method, use player :) : take your code as an example: comment can be TextCell with style. ...
AsukaMinato's user avatar
  • 8,940
0 votes

Converting Wolfram Language Scripts (.wls) into PDFs

I found a solution using the low-level cell representation Cell[]. Using Jupyter front-end This code works using the free (as in free-speech) Jupyter front-end with ...
antonio's user avatar
  • 111
1 vote

Converting Wolfram Language Scripts (.wls) into PDFs

Load the script as text. Replace all (* ... *) with cOmMeNt["..."], eventually with proper escaping. Put text into a ...
Kuba hasn't forgotten Monica's user avatar
4 votes
Accepted

Problems that occur when converting to PDF files using NotebookPrint

Turn the comment to an answer: NotebookPrint[str // MakeExpression // Apply@HoldForm, "tset1.pdf"] "tset1.pdf" // SystemOpen
xzczd's user avatar
  • 63.8k

Top 50 recent answers are included