While I went through the tutorial on Latex I couldn't get how to print "Hello World" using command tex as illustrated in wikibooks.The command I would like to execute in terminal is:
tex '\empty Hello world!\bye'.
But the error I'm getting is:
! I can't find file Hello
<*> \empty Hello
Could anyone tell me is there anything else needed to print this(Hello World) statement in the terminal using the command tex.
tex '\empty Hello World!\bye'does not print the Hello World string on the terminal itself, but uses the standard output filetexput.dvithen. Are you using the correct'characters? (If pdftex is used, the file is called texput.pdf then) – Dec 09 '14 at 06:07textput.dvi.I first tried using the'character then tried using thebackslashcharacter but still can't get the output file.Could you help me. – justin Dec 09 '14 at 06:11"instead of', but I don't use Windows at all, so it's just a guess – Dec 09 '14 at 06:28texand you are in TeXs interactive mode. Insert nowhello World <enter>and then\bye. – Dec 09 '14 at 09:13hello World <enter>after enteringtexin command prompt in Windows 7 it says!I can't find file 'hello'.Even before entering\byeit produces the mentioned error and it ask to type another input file. – justin Dec 09 '14 at 09:29TeXwithtex <enter>and then inputHello World– Dec 09 '14 at 10:32\relaxwasn't specified for thetexcommand anyway I think that's a better method than the one specified in wikibooks. – justin Dec 09 '14 at 11:28