[NTG-context] \limitatefirstline (or slave to the wiki)
Hi all, I've tested the latest version of \limitatefirstline and it still doesn't work as expected. This is really a complex story (problem). - the clip mechanism cuts off the lowest part of some special chars (clipping graphics is easy, but I don't understand what happens here) - text is sometimes cropped at word boundaries (example 110pt), instead of beeing clipped The example file is appended and I use the latest beta. There is no timeline, so fixing is not that urgent. And yes, I've cancelled my hollidays and will live for the wiki only from now on :) wiki, wiki, wiki, Greetings, Peter % interface=en output=pdftex % Time-stamp: Freitag, 09 September 2005 11:40:17; crop.tex % \setupcolors[state=start] \unprotect \def\limitatefirstline#1#2#3% {\hbox\bgroup\strut \setbox\scratchbox\hbox{#1}% \ifdim\wd\scratchbox#2\relax \setbox\scratchbox\hbox{#3}% \hsize#2\relax \advance\hsize-\wd\scratchbox \setbox\scratchbox\vbox{\forgetall\veryraggedright#1}% \setbox\scratchbox\vsplit\scratchbox to \lineheight \vbox {\unvbox\scratchbox \global\setbox\plusone\lastbox \global\setbox\plusone\hbox{\unhbox\plusone}% \hbox to #2 {\ifx\clip\undefined \box\plusone \else\ifdim\wd\plusone\hsize \clip[\c!width=\hsize,\c!height=\lineheight,\c!voffset=-4pt]{\box\plusone}% \else \box\plusone \fi\fi \removeunwantedspaces\hss#3}}% \else #1% \fi \egroup} \protect \def\CropSymbol{\red...}% \starttext % blue for the limitatetext case \setupframed[offset=overlay, framecolor=lightgray] \framed[width=8ex,height=\struttotal,background=color,backgroundcolor=black]{\white 8ex} \framed{\limitatefirstline{\underbar{WqTextdummy}}{8ex}{\CropSymbol}} \framed{\limitatetext{\blue\underbar{WqTextdummy}}{8ex}{\CropSymbol}} \blank \framed[width=120pt,height=\struttotal,background=color,backgroundcolor=black]{\white 120 pt} \framed{\limitatefirstline{\textbar \_\textcircumflex\texttilde \%\$\#\textbraceleft \textbraceright \textpm \copyright \registered \pi \textdegree \}{120pt}{\CropSymbol}} \framed{\limitatetext{\blue\textbar \_\textcircumflex\texttilde \%\$\#\textbraceleft \textbraceright \textpm \copyright \registered \pi \textdegree \}{120pt}{\CropSymbol}} \blank \framed[width=110pt,height=\struttotal,background=color,backgroundcolor=black]{\white 110 pt} \framed{\limitatefirstline{\textbar \_\textcircumflex\texttilde \%\$\#\textbraceleft \textbraceright \textpm \copyright \registered \pi \textdegree \}{110pt}{\CropSymbol}} \framed{\limitatefirstline{This text is definitely too long to fit this frame.}{110pt}{\CropSymbol}} \framed{\limitatetext{\blue This text is definitely too long to fit this frame.}{110pt}{\CropSymbol}} \blank \framed[width=100pt,height=\struttotal,background=color,backgroundcolor=black]{\white 100 pt} \framed{\limitatefirstline{\textbar \_\textcircumflex\texttilde \%\$\#\textbraceleft \textbraceright \textpm \copyright \registered\space \pi \textdegree \}{100pt}{\CropSymbol}} \stoptext %%% Local Variables: %%% mode: context %%% TeX-master: %%% End: ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Linux and Context on 64 bit
Hi, I need some help in installing linux and context on a DellPowerEdge 1850 with IntelXEON (64 bit) I see something on mailing list about linux64inst.tar.bz2 (a broken link http://tex.aanhet.net/temp/linux64inst.tar.bz2 (7247788bytes) ) but it's unclear to me how to go on (well, it's friday) Thanks in advance luigi ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Linux and Context on 64 bit
luigi.scarso wrote: Hi, I need some help in installing linux and context on a DellPowerEdge 1850 with IntelXEON (64 bit) I see something on mailing list about linux64inst.tar.bz2 (a broken link http://tex.aanhet.net/temp/linux64inst.tar.bz2 (7247788bytes) ) Those executabless are now part of the minimal distribution: http://context.aanhet.net/context/install/linux64tex.zip Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Some Footnote Questions (from the Wiki)
Brooks Moses wrote: Not quite, as it doesn't generate a number I can reference. What I'm thinking of is something that does what \nomarkfootnote does in the following example: A sentence\footnote{With a note\note[footB].}.\nomarkfootnote[footB]{And another.} \starttext A sentence\footnote{With a note.\note[footB]}\footnotetext[footB]{And another.} \stoptext works for me, assuming I interpreted your wish correctly. Christopher ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Linux and Context on 64 bit
luigi.scarso wrote: Taco Hoekwater wrote: Those executabless are now part of the minimal distribution: http://context.aanhet.net/context/install/linux64tex.zip downloaded (many thanks taco!!) The last thing: what linux distro (SUSE, Mandriva , RH, Fedora..) ? Executables are generated on Mandrake^H^H^H^Hiva 10.2. But I only created the binaries for the TeXLive source, I have no experience with the actual use of the linux64tex.zip file (the x86_64 machine is a network database server, not an application server so I don't use it for TeX work anyway). Good luck, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Using newly defined sections
Elliot Clifton wrote: sectioning. I understand that it is possible to create a new type of section using \definesection and setup section but how do I insert an instance of my new section into my documents? With predefined sections I can use commands such as \section, \chapter, etc.. You do exactly the same thing with your new section types: \definesection[Abschnitt][section] \Abschnitt{whatever the title is supposed to be} http://wiki.contextgarden.net/Titles contains some examples; also see http://archive.contextgarden.net/message/20030115.202301.b3898ec2.en.html and note that you can define a command for both the actual title and the toc entry formatting, so you can get the authors' names to there, too. Christopher ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Problem following OpenType installation basics for ConTeXt article
Gavin Sinclair wrote: Greetings (first post), Adam Lindsay's recent article OpenType installation basics for ConTeXt in The PracTeX Journal (http://www.tug.org/pracjourn/2005-2/lindsay) is very well written. Unfortunately, I was unable to perform the first step. As the article specified, I ran the command: $ texfont --ma --in --ve=public --co=torunska --lcdf --pre --va=liga,kern It started off OK, but failed to properly create the map file. After playing a bit with TeXfont I figured out that it is pretty hopeless to try to use TeXfont under windows (esp. under MikTeX) until some code portions get fixed. You can replace single quotes by double quotes in line 900 of TeXfont, but that won't lead you much further. There are problems with slashes/backslashes as well (the developers use linux mac and probably nobody ever checked the functionality under windows besides the fact that I had problems with otftotfm alone). In the mean time, it's perhaps possible to use linux to make font metrics/map files and copy them to windows partition again or to manually call the otftotfm program and make a map file by yourself. Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Some Footnote Questions (from the Wiki)
At 10:40 AM 9/9/2005, Christopher Creutzig wrote: Brooks Moses wrote: Not quite, as it doesn't generate a number I can reference. What I'm thinking of is something that does what \nomarkfootnote does in the following example: A sentence\footnote{With a note\note[footB].}.\nomarkfootnote[footB]{And another.} \starttext A sentence\footnote{With a note.\note[footB]}\footnotetext[footB]{And another.} \stoptext works for me, assuming I interpreted your wish correctly. You did, indeed, interpret my wish correctly. Thanks! Unfortunately, this is buggy when faced with a more complicated example -- though I'm not sure whether the bug is in ConTeXt, or if it's because we're not using \footnotetext correctly. Consider the following: \starttext This% \footnote(Or that\note[footB], if you prefer.}% \footnotetext[footB]{Or possibly even the other\note[footC].}% \footnotetext[footC]{It could be something entirely different.} is a sentence with nested footnotes\note[footB]\note[footC]. \stoptext The footnotes themselves are numbered properly: 1, 2, 3. However, the references are not -- the \note[footC] reference within the second footnote produces a superscript 2 rather than a superscript 3 -- and the references to \note[footB] and \note[footC] at the end of the text both produce superscript 3's! - Brooks ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Linux and Context on 64 bit
On 9/9/05, luigi.scarso [EMAIL PROTECTED] wrote: Hi, I need some help in installing linux and context on a DellPowerEdge 1850 with IntelXEON (64 bit) I see something on mailing list about linux64inst.tar.bz2 (a broken link http://tex.aanhet.net/temp/linux64inst.tar.bz2 (7247788bytes) ) but it's unclear to me how to go on (well, it's friday) I build/install and run teTeX 3.0 on RHEL 3 IA64 SUSE 9.0 AMD64 without any problem. And of course ConTeXt (standard with teTeX or updated for latest release) works very well too. FYI -- http://vnoss.org Vietnamese Open Source Software Community ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context