POV-Ray : Newsgroups : povray.off-topic : The other OS : Re: The other OS Server Time
30 Jul 2024 12:25:03 EDT (-0400)
  Re: The other OS  
From: andrel
Date: 4 Aug 2011 18:02:19
Message: <4E3B16F0.9090109@gmail.com>
On 4-8-2011 23:17, Orchid XP v8 wrote:
>>> Riiiiight. Tell me, how do I
>>
>> Use your brain?
>
> I fail basic English. :'{
>
>>> TeX does not "understand" colour or graphics.
>
>> indeed. Lots of packages to handle the most diverse needs. A reasonable
>> on-line index and books with examples.
>
> Like I say, after hacking away at it for years, they've got it to
> sort-of work, most of the time. That's not the same as TeX *actually*
> supporting these things.

of course not, that is not how it works. You use packages if you want to 
do something other than basic typesetting.

>>> The system is still fragile, however. Literally, the colour changing
>>> commands are classified as "fragile" LaTeX commands, and you're supposed
>>> to use /protect and so forth. If you, for example, change colour in a
>>> section heading, that works fine in the section heading, but breaks in
>>> the table of contents and page running headings.
>>
>> If you mean that you wanted to change global behaviour in a heading, you
>> deserve nothing better than a broken output.
>
> No. If you just want to change the colour of one word in a seciton
> heading. Pretty easy with CSS (you can even have it apply only to the
> section heading and not the TOC listing, for example), but does evil
> things to TeX.
>
>>> Oh, and I forgot to mention hyperlinks. But then, TeX is for /printing/,
>>> primarily, so that's excusible.
>>
>> I think I have even seen those.
>
> Yes. They're kludged in the same way as colour and graphics.

Kludged?
People spend a lot of time creating packages for you to use without you 
having to understand the details.

>>>> It most certainly does. Style files are are at the heart of the system.
>>>
>>> Sure. In theory.
>>>
>>> Now suppose that for some reason I wanted all the document to come out
>>> in a different typeface for some reason. The body text, section
>>> headings, table of contents, figure captions, everything. Do you have
>>> any idea how intractibly difficult that is?
>>
>> Bloody easy. My theses was in Garamont (IIRC my student decide that 9.5
>> points would be ideal). Noticed that too late in the process to change
>> it to something
>
> ...something...? Perhaps it is not only me that fails English. ;-)

sorry was distracted and didn't notice I didn't finish the sentence.


>>> Click a few of the stylesheets. Watch the entire page radically
>>> transform instantly. TeX can't do that. (Recent versions of Word almost
>>> can... but don't expect it to work properly.)
>>
>> ?? LaTeX can, haven't used plain TeX enough to have noticed any
>> instances where it didn't work. Unless instantly is your operative word.
>
> If I decided, for some insane reason, that I wanted section headings to
> be set vertically in the margin rather than how a sane person would set
> them... well, technically it's /possible/, but it would be damned /hard/
> to do it.

Not really. It would if you had to catch all circumstances including 
headings that would partially fall of the page

>>>> If you mean debugging your text or layout, that is more simple than
>>>> in a
>>>> wysiwyg editor.
>>>
>>> The page breaks look just fine. Then I write some more text, and the
>>> page breaks move. Wuh?
>>
>> Yes, what did you expect else? Somewhere I have this nagging feeling
>> that you try to treat TeX as a something similar to Word. Just a program
>> to convert raw text to nice output.
>
> Well, that's what it *is*. It's a program that converts your markup into
> something that looks nice.

nope. It is a programming environment that happens to create documents 
as a side effect. ;)


> (Word, of course, is more about *editing* text than actually making it
> look good...)
>
> It's just baffling when a seemingly unrelated change causes part of the
> page flow to change for the worse.

You clearly don't understand TeX's philosophy. It is totally to be 
expected, unless you are brainwashed by wysiwyg environments.

> Or when you say "put this figure
> HERE" so LaTeX puts it five pages later. Or whatever.

You can not say that. You just suggest that this might be a good place. 
It is totally op to Don to grant your wish or not, depending on what he 
thinks looks best. In practice he will be more far often right than you. 
You just remember the occasions where you though you knew better better.

>>> Do you have any idea how much trouble I had trying to get it so that any
>>> text put inside a "tabbing" environment comes out green? In the end I
>>> was forced to give up. It just WILL NOT work consistently.
>>
>> You mean messing with the standard tabbing environment or when creating
>> a new green environment.
>>
>>> If this was HTML I was talking about, changing the colour of one block
>>> of text would be laughably simple. But TeX just can't handle it.
>>
>> Correction: you can not handle it. If I understood what you wanted to
>> accomplish, I might feel tempted to try.
>
> I merely wanted to create a new tabbing environment where all the text
> comes out green, set one quad in from both margins. (Apparently there's
> no way to prevent it flowing off the right edge of the page though...)
>
> First I found that only the /first/ line came out green. So then I added
> a group around the body. That worked fine... until the environment went
> over a page break, at which point it broke again. Not to mention that by
> flipping from page to page, I actually managed to break the DVI viewer
> as well. (At one point the entire document turned green, just by me
> manipulating the view...)

So is TeX to blame or your DVI viewer?



-- 
Apparently you can afford your own dictator for less than 10 cents per 
citizen per day.


Post a reply to this message


Attachments:
Download 'test.tex.txt' (2 KB) Download 'test.pdf' (10 KB)

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.