f



program to display text files with imbedded TeX Math expressions.


I am reading a mailing list. Some of the messages contain embedded TeX
math expressions (escaped with $).  The messages themselves are not
valid TeX or LaTeX; they do not have the proper headers.

Are there programs to properly display these math expressions?

-- 
Paul Elliott                       1(512)837-1096
pelliott@io.com                    PMB 181, 11900 Metric Blvd Suite J
http://www.io.com/~pelliott/pme/   Austin TX 78758-3117
0
pelliott (5)
1/13/2006 6:49:25 PM
comp.text.tex 39029 articles. 3 followers. Post Follow

4 Replies
1058 Views

Similar Articles

[PageSpeed] 54

Under Plain TeX you dont need any headers. Just an ending \bye.

0
carlos151 (336)
1/13/2006 9:42:07 PM
On NeXTstep you could use TeXview.app's TeX eq -> eps Service to
convert them inline to eps and view them using Display PostScript.

For Mac OS X there's Doug Rowland's Equation Service and some others:

http://www.esm.psu.edu/mac-tex/EquationService/

and other options for other platforms / systems.

William

0
willadams (1425)
1/13/2006 11:17:56 PM
Paul Elliott wrote:
> I am reading a mailing list. Some of the messages contain embedded TeX
> math expressions (escaped with $).  The messages themselves are not
> valid TeX or LaTeX; they do not have the proper headers.
>
> Are there programs to properly display these math expressions?

Well, you could "copy and paste" the expressions into a blank file and
TeX it. Or you could learn TeX and read it directly.

     --- Christopher Heckman

0
CCHeckman (99)
1/14/2006 8:00:08 AM
On Fri, 13 Jan 2006 12:49:25 -0600, Paul Elliott
<pelliott@hrnowl.io.com> wrote:

Posting a message to sci.math with followups set to comp.text.tex
doesn't make much sense that I can see - I can't see any replies
that already exist and if I don't happen to notice the funny
followup I won't see my reply appear either...

>I am reading a mailing list. Some of the messages contain embedded TeX
>math expressions (escaped with $).  The messages themselves are not
>valid TeX or LaTeX; they do not have the proper headers.

There is no "header" required for a file to be valid TeX;
for example the text between the quote marks below is
a perfectly valid TeX file.

"Hello. \bye"

>Are there programs to properly display these math expressions?

Wouldn't be hard to cook up a little script that appends
"\bye" to a bit of text, saves it to a file, has TeX tex
the file and then has whatever display the dvi.

************************

David C. Ullrich
0
ullrich (437)
1/15/2006 1:39:17 PM
Reply:

Similar Artilces:

Reading Text File, Text Scrolling and erase line from a text file
Hi , How can I Reading Text File, then Text Scrolling by means of keys "page UP" "page Down" and erase a specific line from a text file , when press "F2" key? Best Regards, Lidia from Poland -- ========================================= Pozdrawiam Lidiaa Lidiaa schrieb: > Hi , > > How can I Reading Text File, then Text Scrolling by means of > keys "page UP" "page Down" and erase a specific line from a text > file , when press "F2" key? > > ...

Read and display Japanese text from text file
Hi there, a while ago, I posted a question regarding reading japanese text from a text file. Well, since I solved the problem, I thought I'd post my solution for the benefit of other people with the same problem. The plan was to make a script to read and display japanese text. I will use it for making a japanese proverb script and for a japanese language study script. Method : I wrote a simple kanji text file (saved with UTF-8 encoding) I wrote a simple PHP script to display the file contents (saved with UTF-8 encoding) I specified the content-type header for the HTML page : <meta h...

text-text
Wondering how what I input to my UTF-8 terminal gets passed along through my patched [1] trn ... Cyrillic: А Б В Г Д Е Ж З И Й К Л М Н О П а б в г д е ж з и й к л м н о п IPA: ᴀ ᴁ ᴂ ᴃ ᴄ ᴅ ᴆ ᴇ ᴈ ᴉ ᴊ ᴋ ᴌ ᴍ ᴎ ᴏ ɀ Ɂ ɂ Ƀ Ʉ Ʌ Ɇ ɇ Ɉ ɉ Ɋ ɋ Ɍ ɍ Ɏ ɏ [1] https://groups.google.com/d/msg/comp.sys.raspberry-pi/7Z37Hdrm0DM/6aqD-reXFzAJ ...

How to generate tex file that includes other tex files?
I have a LaTeX document that I organized by separating sections into independent tex files and grouping them all with calls to \include and \input, but now I need to generate a version of this document that is contained in a single tex file. I've gave some text macro languages a try (the C preprocessor, and M4), but it appears that they require some sort of text mangling and introduce comments on the output file. Does anyone know of a better, or effective, way of generating a single tex document where all calls to \input and \include are replaced with the contents of those files? ...

text + text
What is "text + text" supposed to do right now? It doesn't seem very useful to me. What about making "text + text" as an equivalent for "text || text"? Most strongly-typed programming languages do this. And MS SQL Server too, I think (CMIIW). -- dave ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org Am Freitag, 8. Oktober 2004 12:57 schrieb David Garamond: > What is "text + text" supposed to do right now? Nothing. > What about making "text + text" as an equivalent for "text > || text"? Most strongly-typed programming languages do this. And MS SQL > Server too, I think (CMIIW). What would this gain except for bloat? It's not like SQL is utterly compatible with any programming language; users will still have to learn all the operators anyway. -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match Peter Eisentraut wrote: >>What is "text + text" supposed to do right now? > > Nothing. Then are these bugs? (7.4.5 and 8.0.0beta1 give same results). Frankly, the current behaviour is quite strange to me. ------------------ =...

concatenating multiple text files into one text file
Hello all, I have a huge number of text files like : spectrum1_300_315.csv spectrum1_315_331.csv spectrum1_331_364.csv spectrum1_364_386.csv spectrum1_386_401.csv ...................................... ....................................... each file contains some headerlines at the beginning and data in 2 columns. I want to concatenate the data of the files into one text file .Can anyone hel me pls?thank u in advance. ...

Converting A Unicode Text File to An ASCII Text File
We have a large number of text files built in Unicode that we need to be read by SAS. SAS does not read Unicode text. To convert the Unicode text to ASCII text we did the following: A Unicode text file adds an additional blank space to each character. To remove this blank character, you can use the code below. The hexidecimal value '00' is a blank character. So remove it using the SAS statement '00'x. The 'x' tells SAS you are reading hexidecimal. Use RECFM=N to tell SAS that you are reading a stream of data that will not conform to a typical file structure. SAS will ...

matrix and text to a text file
Hi, I know some similar question have been solved before but I have been reading for a while and I didn't find the answer of my question so, I ask you. I want to create a text-file (.txt) where I will have some text and some matrixs. The format that i want is something like that: -Title- Name1. Name2. power(dbm): big matrix (12000X400) aprox frequency(hz) vector(1x12) aprox So, i created a m-file that can do this writing with fprintf every single character on the file using lots of for loops. It works good but if the matrix is that size it could take a time (about 7 min...

text file not mac text
please remind me of the difference. An 8-bit prog. I have needs ASCII text. if I save a file as TEXT or simpletext on a mac, it isnt accepted. I remember 'forked files' but no details...... Is there a II utilty to 'convert' a mac text file to acceptable II ascii text? thanks. cornelio <cornelio@san.rr.com> wrote: > please remind me of the difference. An 8-bit prog. I have needs ASCII > text. if I save a file as TEXT or simpletext on a mac, it isnt accepted. > I remember 'forked files' but no details...... > > Is there a II utilty to '...

TeX programming for XML TeX
Dear TeX programmers, Kindly guide me how to develop the XML TeX work flow. Regards, Ganesh On 04/07/11 06:20, Ganesh Loganathan wrote: > Dear TeX programmers, > > Kindly guide me how to develop the XML TeX work flow. You have asked this several times. Have you done any work on finding out what to do? Do you mean XMLTeX (the program) or "XML and TeX" as a generic platform? Transforming XML to LaTeX requires learning a transformation scripting language such as XSLT. This should be your first task. The workflow looks something like this: 1. Author's text (usually in Word OOXML or OpenOffice ODT. but maybe in TEI or DocBook or a house XML schema): a. parse and validate b. (OOXML and ODT only) apply named styles to every object that requires formatting. c. add missing markup where required (editorial task). 2. Write XSLT (or equivalent) for first transformation to your required style in LaTeX (in a production environment, this would mean modifying your internal standard template, not writing it anew). 3. First proof formatted in LaTeX sent to editor and author for correction. 4. Repeat 1-3 as needed. 5. Penultimate proof to designer for corrections to styling. 6. Apply corrections, produce final proof; repeat 5-6 until correct. 7. Add PDF/x metadata and colourspacing if needed. If colour is used, colour correction and scoping will be needed at some stage, but this is a non-XML, non-LaTeX task, so it&#...

Text in images to a text file
Hello, Does anyone know of any software for Linux which converts text in images to a text file. I have loads of paper documents that I intend to scan. The contents of these documents needs to eventually end up on a web site but as text. Darren <bobblebob@gmail.com> wrote in message news:1151612491.407262.124690@75g2000cwc.googlegroups.com > Does anyone know of any software for Linux which converts text in > images to a text file. I have loads of paper documents that I intend > to scan. The contents of these documents needs to eventually end up > on a web site but as text....

(La)TeX math -> fixed width text
Hello ctt, I was playing around with Unicode and I made a HTML page with some mathematical expressions using fixed-width characters: http://wiki.auf-trag.de/textmath.html Is there a program that would make something like that automatically from LaTeX math code? (I know it's ugly, I'm just asking out of curiosity) Regards, Stephan Stephan Walter wrote: > Hello ctt, > > I was playing around with Unicode and I made a HTML page with some > mathematical expressions using fixed-width characters: > > http://wiki.auf-trag.de/textmath.html > > Is there a program that would make something like that automatically > from LaTeX math code? Yes tth http://hutchinson.belmont.ma.us/tth/ check out the -u switch if you really want unicode. Ian Hutchinson. ...

setting TeX text variable depending on keyval-generated param? (low-level TeX question)
I am using keyval to set a "scaled" parameter and am having trouble getting the right behavior, which is: If I \usepackage{package} with no [scaled] option, I want to set a variable to a compile-time-specified default, say "s*[a.b]". If I \usepackage[scaled]{package}, same thing. And if I \usepackage[scaled=x.y], I want to set the variable to "s*[x.y]". (This is for font scaling, and I've used as my model the Helvetica scaled parameter.) The variable name (for the purposes of this conversation) is pnm@scaled. What I have that's not working correctly is: \expandafter\ifx\csname pmn@scaled\endcsname\relax \let\pmn@scaled\@empty \else \edef\pmn@scaled{s*[1.2]}% \fi I think what this says is "if pnm@scaled is not defined (case 1), leave it empty, otherwise set it to "s[1.2]". But the else clause is not working correctly, and I don't know how to differentiate between "defined by keyval but with no value" and "defined by keyval but with a value". Also I'm pretty sure I don't really know the difference between \let and \edef. Any help gratefully appreciated. Thanks. JDO john_owens@yahoo.com schrieb: > I am using keyval to set a "scaled" parameter and am having trouble > getting the right behavior, which is: > > If I \usepackage{package} with no [scaled] option, I want to set a > variable to a compile-time-specified default, say "s*[a.b]". > ...

Read a non text file
How can i convert a weird looking file to text file. I know the main info is stored in the file which looks like below. "����<t���Jч�ĉTV��y�rr��Ph"e~Wm>�E�0Y'p�=C�&�rؙ�<t�Fx�Zo$�+T��=���H Or�r6�S��m&7<�p�q��� u����w}�jlꥎ+_�����Z�?��v��ȉ�XC R�}�_�׍�:�$)�o}��NʨW\&���I@b�#T�B��8���J��CL�ypr\�]R���p\��S�XRҏ�f&?/��� 2�t�_��x���bG���Z�D�v�s [�"��N�# Ѡ�@)�����h'&%�(�)��c�ͼA ���zUZjLRyu�P̤� ��� �W��e�@1'�(��u-nG��p��2_�� T&�6+� _� d�(1Z�E@���h�F�z �~x�fG���s�b�/-+�@��0�%��6�wu�=��z���Y�0...

How to format a text file just like the RFC-text files?
I want to make some document go like these, what tools can help? Any help would be nice, thanks! BLIOGRAPHY ........................................... 34 APPENDIX A. EXAMPLES ............................................... 36 B. SIMPLE FIELD PARSING ................................... 40 C. DIFFERENCES FROM RFC #733 .............................. 41 D. ALPHABETICAL LISTING OF SYNTAX RULES ................... 44 August 13, 1982 - i - RFC #822 ^L Standard for ARPA Internet Text Messages PREFACE By 1977, the Arpanet employed several informal standards for the text messages (mail) sent among its host computers. It was felt necessary to codify these practices and provide for those features that seemed imminent. The result of that effort was Request for Comments (RFC) #733, "Standard for the Format of ARPA Network Text Message", by Crocker, Vittal, Pogran, and Henderson. The specification attempted to avoid major changes in existing software, while permitting several new features. The framework severely constrains document tone and appear- ance and is primarily useful for most intra-organization communi- cations and well-structured inter-organization communication. It also can be used for some types of inter-process commun...

Reading from text file and displaying after formatting-Suggestions on program design
Hi All, &nbsp; I have a file with .DAT extension. &nbsp; &nbsp; Sample data from the file is as follows. &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 22130&nbsp;&nbsp;&nbsp;&nbsp; 1070404&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 22130&nbsp;&nbsp;&nbsp;&nbsp; 1070404&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 00011&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 22120&nbsp;&nbsp;&nbsp;&nbsp; 10704...

What is "Text Display"? Text Display vs. Label
What is the difference between the text display vs label? They would seem to be different "objects" in Cadence?? I am not sure how to think about each of them. They both seem to be capable to have the same layer-purpose pair. I was also curious once I stream out my database to a gds if they both continue to retain a difference or if they both became text in gds. Just wondering, thanks for any insight. On Nov 6, 10:35 pm, vlsidesign <ford...@gmail.com> wrote: > What is the difference between the text display vs label? They would > seem to be different "objects"...

Reading a text file into a Matlab Matrix
Hello there, I have a text file that contains the following; word11 word12 word13 word14 word21 word22 word23 word24 word31 word32 word33 word34 I want to read it into a 3x4 matrix (each word in a separate cell) I tried to use; data = textread('fileName.txt', '%s', 'delimiter', '\n') - puts each line in one cell data = textread('fileName.txt', '%s', 'delimiter', ' ') - puts each word in one cell but in a 12x1 matrix/array [col1 col2 col3 col4] = textread('tE.txt', '%s %s %s %s', 'delimit...

Writing a String (text) to a text file
I'm trying to write a string to a text data file. I want the text to appear as sort of a header in the file, to provide a description for the data appearing in the file. When I use the 'save' command, however, it doesn't write text to the file, but instead writes the numeric codes for the characters. (A string is actually a vector whose components are numeric codes for teh characters.) How do I get the string's text to appear in the .txt file as opposed to the numeric codes? Thanks! "I H" <NOSPAM_ibh7@cdc.gov> wrote in message news:<eecc7c9.-1...

Insert text file in a text field ...
Hallo, I have 2 questions: 1) How can I insert a text file into a TEXT field of a table (by an sql instruction) ? 2) How can I insert a microsoft word file into a BLOB field of a table (by an sql instruction) ? Please, could you help me ? Thank you . Fab. On Thu, 18 Oct 2007 06:41:52 -0700, electric_r@yahoo.it wrote: > Hallo, > > I have 2 questions: > > 1) How can I insert a text file into a TEXT field of a table (by an > sql instruction) ? > > 2) How can I insert a microsoft word file into a BLOB field of a table > (by an sql instruction) ? > > Please, could you help me ? This is a task for the application program, not the database itself. -- A way of life that is odd or even erratic but interferes with no rights or interests of others is not to be condemned because it is different. -- Chief Justice Warren E. Burger electric_r@yahoo.it wrote: > Hallo, > > I have 2 questions: > > 1) How can I insert a text file into a TEXT field of a table (by an > sql instruction) ? > > 2) How can I insert a microsoft word file into a BLOB field of a table > (by an sql instruction) ? > > Please, could you help me ? > > Thank you . > > Fab. Look at the LOAD_FILE() function in the manual On 18 Oct, 14:41, electri...@yahoo.it wrote: > Hallo, > > I have 2 questions: > > 1) How can I insert a text file into a TEXT field of a table (by an > sql instruction) ? > > 2) How can...

Loading text files into a text attribute
Hello folks, I have the following problem: I have a bunch of text files, I want to load them into a table where each file will be stored in one row. Question 1: Is there any way how to do this in psql? AFAIK the \copy command interprets \n as a new line and so I can't get it done what I want. So I wrote a C program that parses my text files and anywhere it sees a \n it puts \\n and then concatenates the files, etc. - quite complicated. Question 2: Is there a simpler way of doing this? Thanks in advance Zoltan ---------------------------(end of broadcast)------...

how to separate datas and text from a text file
Dear Sir/madam, I am doing a simulation. I got a output file which has alternate text and datas. The file is very huge(12 laks line). I want to remove all the text and i want to save only the datas into a file. Can any one suggest me how to do it in matlab. This is the kind of output file i have EATOM 1 # type x y z epot ( eV) ekin ( eV) #----- ---------- ---------- ---------- ------------- ------------- 2 14.3300 15.7630 15.7630 -1.409238e+01 +1.378315e-01 EATOM 1 # type x y z epot ( eV) ekin ( eV) #----- ----...

Pulling out lines of text from a text file
Hi everybody, I'm looking to write a Catalyst model to basically use a newline delimited database, so that each line of the text file corresponds to a datum. My question isn't about the module per se, but on smart algorithms to pull a single line of text from an arbitrary text file. I know the following would work: #!/usr/bin/perl use warnings; use strict; print "Enter a file\n"; my $file = <STDIN>; print "Enter a number\n"; my $number = <STDIN>; my @array; open FILE, "$file"; while (<FILE>) { push @array; } close FILE; print $a...

redirect text to file from text widget
I'm looking for a handle for the text widget so that I can redirect edited text orginally loaded from a file back into a file. If there was an attribute like the "-textvariable" option in label and entry widgets, I could simply echo it into a file from another widget (button, etc.). Thanks John Peters wrote: > I'm looking for a handle for the text widget so that I can redirect > edited text orginally loaded from a file back into a file. If there > was an attribute like the "-textvariable" option in label and entry > widgets, I could simply echo it into...

Web resources about - program to display text files with imbedded TeX Math expressions. - comp.text.tex

Expression (sign language) - Wikipedia, the free encyclopedia
Signs with two different expressions. The pursed lips and partly closed eyes on the left, and raised lip on the right, are necessary for proper ...

Turkey setting ‘poor example’ for freedom of expression: Biden
Turkey setting ‘poor example’ for freedom of expression: Biden

Christie’s Expressions At Trump Event Under Scrutiny
Donald Trump Holds Super Tuesday Election Night Press Conf. In Palm Beach PALM BEACH, FL - MARCH 01: Republican Presidential frontrunner Donald ...

Facial Expressions and Tail Expressions
Submitted by: (via Daniel J Farrell ) Tagged: dogs , face , expression , tail , wag Share on Facebook

US: Joe Biden slams Turkey for ‘poor example’ of freedom of expression
US Vice President Joe Biden has criticised Turkey for “setting a poor example” in the region concerning freedom of expression. The damning comments ...

Decoding The Facial Expressions Of The GOP Candidates
Trump's "crooked contemptuous" smile, Rubio's sheepish grin, and Cruz's upper lip of disgust dominated the debate. For tonight's Republican ...

You enjoy freedom of expression only because army guards borders: Delhi HC to Kanhaiya Kumar
The bail granted to Kanhaiya Kumar comes with several conditions, directives to JNU faculty and some serious observations

Bernie Sanders Brought His Finest Facial Expressions to the Democratic Debate
You may not like Bernie Sanders as a presidential candidate, but you’ve gotta admit, this man’s got some pretty expressive peepers. Read more... ...

Crosswords Help You Learn Regular Expressions
Regular expressions might seem arcane, but if you do any kind of software, they are a powerful hacker tool. Obviously, if you are writing software ...

Security, the Greatest Threat to Free Expression?
Like it or not, today we are all, in one way or another, engaged in a battle between perceived security and freedom of expression. And far too ...

Resources last updated: 3/11/2016 1:21:10 PM