* Using a ~ in a text
@ 2000-05-26 11:33 Ed Roozendaal
2000-05-26 11:41 ` Taco Hoekwater
2000-05-26 11:57 ` Johannes Hüsing
0 siblings, 2 replies; 5+ messages in thread
From: Ed Roozendaal @ 2000-05-26 11:33 UTC (permalink / raw)
Hello
I am trying to insert a tilde (~) into my document, but I receive an
error message.
The log file says:
<snip>
! Missing $ inserted.
<inserted text>
$
<to be read again>
_
<argument> ...soft.com/library/backgrnd/html/msdn_
bldcli~1.htm}
\getpublicat...
\doifelse ...ngb {#2}\ifx \!!stringa \!!stringb #3
\else #4\fi
\complexstartpublicatie ...getpublicatie \@@pbna }
\egroup
l.249 \stoppublicatie
?
! Extra }, or forgotten $.
<argument> ...ary/backgrnd/html/msdn_bldcli~1.htm}
\getpublicatie \par
\doifelse ...ngb {#2}\ifx \!!stringa \!!stringb #3
\else #4\fi
\complexstartpublicatie ...getpublicatie \@@pbna }
\egroup
l.249 \stoppublicatie
?
! Missing $ inserted.
<inserted text>
$
<to be read again>
\par
\doifelse ...ngb {#2}\ifx \!!stringa \!!stringb #3
\else #4\fi
\complexstartpublicatie ...getpublicatie \@@pbna }
\egroup
l.249 \stoppublicatie
?
Overfull \hbox (234.92967pt too wide) in paragraph at lines 249--249
[][] \font\
http://msdn.microsoft.com/library/backgrnd/html/msdn$[]\font\ ldcli
\font\ 1\font\ :htmB:Vaughn; []:\font\ (1997)\font\
:MicrosoftCorporation:$
\hbox(10.48323+4.07678)x369.88583, glue set - 1.0
.\hbox(10.48323+4.07678)x0.0
..\rule(10.48323+4.07678)x0.0
..\glue 0.0 plus 1.0fil minus 1.0fil
.\hbox(10.48323+4.07678)x0.0
..\rule(10.48323+4.07678)x0.0
..\glue 0.0 plus 1.0fil minus 1.0fil
.\penalty 10000
.\glue 0.0
.\font\ h
.etc.
[13.10]
<end snip>
I am trying to insert an url, but it has that thing in the filename. How
do I insert that character?
Tia
Ed
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Using a ~ in a text
2000-05-26 11:33 Using a ~ in a text Ed Roozendaal
@ 2000-05-26 11:41 ` Taco Hoekwater
2000-05-26 11:57 ` Johannes Hüsing
1 sibling, 0 replies; 5+ messages in thread
From: Taco Hoekwater @ 2000-05-26 11:41 UTC (permalink / raw)
>>>>> "Ed" == Ed Roozendaal <erooze@conceptsfa.nl> writes:
Ed> Hello I am trying to insert a tilde (~) into my document, but
Ed> I receive an error message.
Ed> The log file says:
Ed> <snip> ! Missing $ inserted. <inserted text> $ <to be read
Suit you right that you get "$ inserted" errors if you try to link to a
Microsoft site :)
But seriously, use \tildeletter.
Greetings, Taco
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Using a ~ in a text
2000-05-26 11:33 Using a ~ in a text Ed Roozendaal
2000-05-26 11:41 ` Taco Hoekwater
@ 2000-05-26 11:57 ` Johannes Hüsing
2000-05-26 12:02 ` Taco Hoekwater
2000-05-26 14:05 ` Hans Hagen
1 sibling, 2 replies; 5+ messages in thread
From: Johannes Hüsing @ 2000-05-26 11:57 UTC (permalink / raw)
On Fri 2000-05-26 (13:33), Ed Roozendaal wrote:
> Hello
>
> I am trying to insert a tilde (~) into my document, but I receive an
> error message.
>
> The log file says:
>
> <snip>
> ! Missing $ inserted.
> <inserted text>
> $
> <to be read again>
> _
> <argument> ...soft.com/library/backgrnd/html/msdn_
> bldcli~1.htm}
As TeX's error log linebreaks at the point where it fails to
treat a token accordingly, it can be seen from the log that the
underscore poses the problem. This is because the underscore is
interpreted by TeX as "set the following character or group as
subscript". This can only be done in math mode. Hence, the
"Missing $ inserted" message as the dollar sign signifies a switch
to math mode.
The "~" wouldn't have caused a problem by itself, as it is interpreted
as a non-breakable space in text mode -- certainly not what you want :).
Both "~" and "_" are not encoded in many text fonts except the
typewriter fonts. Yet, \type{http://www.micros~1.com/} should do
what you want.
Greetings
Johannes
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Using a ~ in a text
2000-05-26 11:57 ` Johannes Hüsing
@ 2000-05-26 12:02 ` Taco Hoekwater
2000-05-26 14:05 ` Hans Hagen
1 sibling, 0 replies; 5+ messages in thread
From: Taco Hoekwater @ 2000-05-26 12:02 UTC (permalink / raw)
iso-8859-1> As TeX's error log linebreaks at the point where it
iso-8859-1> fails to treat a token accordingly, it can be seen
iso-8859-1> from the log that the underscore poses the
iso-8859-1> problem. This is because the underscore is interpreted
Totally missed that. I should read better. If the \type{...} doesn't
work (because of the way the bib module works this is actually quite
likely), you can use \underscoreletter.
--
Taco
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Using a ~ in a text
2000-05-26 11:57 ` Johannes Hüsing
2000-05-26 12:02 ` Taco Hoekwater
@ 2000-05-26 14:05 ` Hans Hagen
1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2000-05-26 14:05 UTC (permalink / raw)
Cc: ntg-context
At 01:57 PM 5/26/2000 +0200, Johannes Hüsing wrote:
>typewriter fonts. Yet, \type{http://www.micros~1.com/} should do
>what you want.
or \url or \hyphenatedurl
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-05-26 14:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-26 11:33 Using a ~ in a text Ed Roozendaal
2000-05-26 11:41 ` Taco Hoekwater
2000-05-26 11:57 ` Johannes Hüsing
2000-05-26 12:02 ` Taco Hoekwater
2000-05-26 14:05 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).