A basic example seems to work actually.No, really not by hand, never, please, use
weaveand get the description of the pascal from the TeX sources, then you will understand what I am saying. The translation is not the source of bloat.
TeX is good, very good, no rewrite is necessary. But it would be nice if someone write an alternative, a new typography program, and the best would be to generate postscript directly.
Just in C - it is easy to convert a Tex (basics \section(),...) to PS format.Postscript is an elegant language, like forth, but it seems it is not comfortable enough to write everyday text like TeX. Perhaps this can be solved writing a "postscript editor" that helps writing everyday texts with postscript, helps drwaing with postscript and also helps learning postscript. Perhaps it can be done with Tcl/Tk?
No, the idea is not to make a TeX interpreter / compiler. Input is not TeX, but postscript plus some GUI actions to generate further editable postscript.to convert a Tex (basics \section(),...) to PS format.
We maybe would like terminalNo, the idea is not to make a TeX interpreter / compiler. Input is not TeX, but postscript plus some GUI actions to generate further editable postscript.
BTW: what you wrote above is not TeX, but something like LaTeX.
And you do not need PS2PDF for viewing or printing: postscript is enough.
Well, with TeX one writes on terminal with any text editor text that is to be seen on GUI. You cannot mess, you must give numbers (coordinates), you have no help from the computer to get the numbers (eg click here and see the numbers). To do a more or less trivial page layout with TeX is a lot of work.We maybe would like terminal
%!PS /Courier 10 selectfont 10 10 moveto (HERE) show 1 1 moveto (-) show 588 835 moveto (-) show 588 835 moveto (|) show 588 1 moveto (|) show 588 1 moveto (-) show 1 835 moveto (-) show 1 835 moveto (|) show 1 825 moveto (L) show /Courier-Bold 10 selectfont 100 730 moveto (1. Introduction Section) show /Courier 10 selectfont 100 710 moveto (Location: X:100 Y:710) show 100 700 moveto (Hello This is the first line) show 100 690 moveto (Hello This is the 2. line) show 100 680 moveto (Hello This is the 2. line) show /Courier 10 selectfont 100 670 moveto ( ) show /Courier-Bold 10 selectfont 100 660 moveto (2. Second Section) show /Courier 10 selectfont 100 650 moveto () show /Courier 10 selectfont 100 640 moveto (Text Text Tex) show /Courier 10 selectfont 100 630 moveto (Text Text Tex) show showpage
Well, one must be very desesperated in order that this be an alternative to TeX.here a cool alternative to TeX:
Just plain C is fair enough for a primitive first code.Well, one must be very desesperated in order that this be an alternative to TeX.
But as you see, the "primitives" are just in postscript, it is not necessary to program them as in TeX and Metafont, but some construct above it is necessary. I would say, one can begin doing a prototype with Tcl/Tk, of course with C extensions, for example for text parsing.
I would propose to think about what the program must exactly do be before programming.Are you ready to see the resulting C code (clang compilable)?
I do not need to install git. How much disk space will it require to install git ?
Spartrekus learns by doing, by trial and err, not by first studying. If he get things uploaded and reachs his only goal in the matter: what is the problem of uploading in the "false" way?Are you trying to outdo @Spartrekus at his own game?
Nothing really, it's just that uploading files via browser ui is the most cumbersome and labor intensive method available, which makes 600 repos achievement more impressive. I feel successfully trolled even thinking about it.what is the problem of uploading in the "false" way?
Too much lines. With tcl would be perhaps 3 lines. And TeX does much more: align lines, breaks on the right place, adds "glue" to make length of lines flexible. Just see in TexBook what it does. Also the input of formulae.Here it is - about less than 100 lines for making a first prototype.
char *fortran(char *frm)that takes a formula like in TeX input and gives postscript code.
That is a completely ridiculous notion. Sorry, but Don Knuth does not use turbo pascal. Don uses real computers. Turbo Pascal runs on crappy toys.Did he write it with fp (fp-ide) turbo pascal originally?
Please excuse me for being blunt, but that's a completely clueless statement. It's not even funny.No, no, no!!!! He is a mathematician.
Do you really think that I do not know Knuths "The Art of Computing Programming"? If you read it carefully, you note that Knuth is not a computer scientist, but a mathematician.I invite you to look up TAOCP on Wikipedia.
Reaction score: 1,037
I have MiKTex installed (also SEE) with less than a third of that and you can still make it smaller if you really want to, its all depends on how you build it.Miktex runs on about 150 mb
Actually he is both (read his CV), but the field he works in and he is most famous for is computer science. TAOCP is about computer science, TeX and MF are works of computer science. Of course, all of that requires some mathematical background, too, but that's actually typical of computer science. You can hardly do computer science without mathematics.Do you really think that I do not know Knuths "The Art of Computing Programming"? If you read it carefully, you note that Knuth is not a computer scientist, but a mathematician.