footnotes are lost!! endnotes don't work ? (URGENT)
Hi, as the commands "location=text" and "\placefootnotes" seemed to be unproblematic I decided to edit a book in ConTeXt with footnotes as endnotes - at the end of each chapter. Unfortunately there seems to be a bug: My first chapter has 57 footnotes. The first 17 footnotes fit (touching the bottom edge) on the first page (after the chapters end) and the following 40 are lost! Is this a known bug? Does anybody know what to do? Thank you very much, Steffen P.S. This is urgent - because when endnotes doesn't work properly I can't make the book in ConTeXt and so I have a big problem ...
At 18:23 09/01/2004, you wrote:
Hi,
as the commands "location=text" and "\placefootnotes" seemed to be unproblematic I decided to edit a book in ConTeXt with footnotes as endnotes - at the end of each chapter.
Unfortunately there seems to be a bug: My first chapter has 57 footnotes. The first 17 footnotes fit (touching the bottom edge) on the first page (after the chapters end) and the following 40 are lost!
Is this a known bug?
Does anybody know what to do?
For the moment use: \setupfootnotes[location={text,none}] \starttext \dorecurse{100}{test \footnote{test} \endgraf} \placefootnotes \stoptext else the notes get boxed and treated as a whole (so that they can have backgrounds and so). Hans
Dear Listmembers, Is there a command or work-around in ConTeXt that's comparable to Plain TeX's \vfootnote, to generate a footnote without a reference mark in the text? I found options for marks with numbers, Roman numerals, and letters (cont-enp.pdf, p. 83/99) but nothing for an invisible mark. I apologize for what might be a very obvious question, but I don't find an answer in the manual nor via a Google advanced search of the Pragma-ADE domain. I checked the archives and found a discussion from last February in which Idris Hamid asked about changing symbol options, to which Hans Hagen helpfully responded with a sample set-up: \setupfootnotes [conversion=HowAboutIt] \defineconversion [HowAboutIt] [One,Two,Three] I tried substituting both \null and {} for the "One,Two,Three" but neither worked. There was also some discussion of a proposed command \setupfootnotemarker early and late last year, but I wasn't clear on whether or how it had been implemented. I've also been following the French hyphenation thread with some interest; my outputs of all the samples posted so far (with TeXShop 1.34) have unfortunately displayed <A-macron><copyright symbol> for the original <e-aigue>, and the word at the line end doesn't hyphenate (the console reports an overfull \hbox, as I would expect). I'm very new to *TeX, have always worked with Macs (since OS 7.1), and have essentially no Unix experience, so answers that assume wholesale ignorance will be best appreciated and understood. :-) Thanks very much! John -- *** John McChesney-Young ** panis@pacbell.net ** Berkeley, California, U.S.A. ***
John McChesney-Young said this at Sat, 10 Jan 2004 09:18:07 -0800:
I've also been following the French hyphenation thread with some interest; my outputs of all the samples posted so far (with TeXShop 1.34) have unfortunately displayed <A-macron><copyright symbol> for the original <e-aigue>, and the word at the line end doesn't hyphenate (the console reports an overfull \hbox, as I would expect).
I'm very new to *TeX, have always worked with Macs (since OS 7.1), and have essentially no Unix experience, so answers that assume wholesale ignorance will be best appreciated and understood. :-)
Hi, John. As you're on a mac, you're probably cut/pasting from your mail client into your editor of choice (TeXShop? iTeXMac?). Most likely that client is saving your source file in Mac encoding. Therefore, you should be using: \useregime[mac] Instead of win or il1. Hope that solves the A-macron problem, at least. adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay atl@comp.lancs.ac.uk Computing Dept, Lancaster University +44(0)1524/594.537 Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Adam kindly suggested:
As you're on a mac, you're probably cut/pasting from your mail client into your editor of choice (TeXShop? iTeXMac?).
Yes I did, into TeXShop. Most likely that client
is saving your source file in Mac encoding. Therefore, you should be using: \useregime[mac] Instead of win or il1. Hope that solves the A-macron problem, at least.
I was experimenting with the example posted by Peter Münster, with a few more accented évolutions to put them well into another line: \fr \useencoding[ec] \enableregime[il1] \starttext évolution évolution évolution évolution évolution évolution évolution évolution évolution évolution évolution évolution évolution évolution evolution evolution evolution evolution evolution evolution evolution evolution evolution \stoptext When I replaced the \enableregime[il1] with \useregime[Mac] and saved the document in TeXShop with MacOSRoman encoding the problem is ... um ... solved by the output completely ignoring the first letter and turning the first word into "volution"! However, when I change the command sequence to \enableregime[Mac] instead of \useregime the e-aigue *does* work, so thank you very much! It still doesn't hyphenate, but it's a step in the right direction. Here's the Overfull \hbox message from the console, on the off-chance it's relevant for the hyphenation problem: Overfull \hbox (17.09685pt too wide) in paragraph at lines 5--7 []/cmr12/^^Sevolution ^^Sevolution ^^Sevolution ^^Sevolution ^^Sevolution ^^Sev olution ^^Sevolution ^^Sevolution ^^Sevolution [1.1{/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/updmap/pdftex.map}] systems : end file frenchtest at line 10 (end quote) Thank you very much for the solution to the diacritical problem! Now I'm going to have to look in the manual for the difference between \useregime and \enableregime... John -- *** John McChesney-Young ** panis@pacbell.net ** Berkeley, California, U.S.A. ***
On Sat, 10 Jan 2004, John McChesney-Young wrote:
right direction. Here's the Overfull \hbox message from the console, on the off-chance it's relevant for the hyphenation problem:
Hello John, if I understand it right, the hyphenation problem is related to the font: to get correct hyphenation, the accented characters have to be in the font, as they are in Latin Modern or EC. In CM the é is a composition of an e and the accent. * Latin Modern: works out of the box with the latest ConTeXt, but is still in development, the kerning for example has to be improved (see http://pc52.ifw.ing.tu-bs.de/~harders/latex/lmodern.html). It's a PS Type 1 font. * EC: seems to be difficult to support with ConTeXt, but I'll try it. It's a MetaFont font (bitmap).
Thank you very much for the solution to the diacritical problem! Now I'm going to have to look in the manual for the difference between \useregime and \enableregime...
It's not in the manual, but it seems that \useregime does nothing, it only pre-loads a "regime" to make it available for an \enableregime command. Since there is already a "\useregime[def,uni,ibm,win,il1,mac]" in regi-ini.tex, you'll need an extra \useregime only for other regimes. Cheers, Peter -- http://pmrb.free.fr/contact/ ------------------------------------ Film Search site: http://f-s.sf.net/
Dear Peter, Thank you very much for your clear and simple response. You wrote:
to get correct hyphenation, the accented characters have to be in the font, as they are in Latin Modern or EC. In CM the é is a composition of an e and the accent.
Now I understand. That makes a great deal of sense. I followed the installation instructions at: http://www.uoregon.edu/~koch/texshop/texshop.html for i-Installer and that included downloading (and I assume i-Installer installing) the CM-Super fonts. Since the readme says: http://www.ctan.org/tex-archive/fonts/ps-type1/cm-super/README "All European and Cyrillic writings are covered," would that mean that using CM-Super rather than CM would solve the problem? How do I get ConTeXt to switch to Super? Or am I missing something painfully obvious (as with composite vs. unitary symbols)? The readme also says, "The goal was to provide full support for a wide number of fonts used in LaTeX," which makes me suspect that I'll either have to move files around or somehow convert them for use by ConTeXt, but if someone could explain exactly how (and your saying that EC seems to be difficult to support with ConTeXt makes me think this process might not be trivial) I'd appreciate it, although if necessary I can just try to figure it out from the CM-Super FAQ and readme and Installation documents. I expect it would improve my character to do so, but I'm not sure I want it improved quite that much.
It's not in the manual, but it seems that \useregime does nothing, it only pre-loads a "regime" to make it available for an \enableregime command. Since there is already a "\useregime[def,uni,ibm,win,il1,mac]" in regi-ini.tex, you'll need an extra \useregime only for other regimes.
Thank you for explaining this as well, and for saving me a fruitless search in the manual. Best, John -- *** John McChesney-Young ** panis@pacbell.net ** Berkeley, California, U.S.A. ***
Hi contexers, I am trying to make context do what I want. What I needed this weekend, are address labels, which I want to fill with my own logo (not the addresse's). Making one label is no problem, but I rather would like to have context make and typeset a large number of them on a sheet, to be precise: 9x3 (sizes: 7mm x 32mm). Does anyone have a clue how this can be done? Kind regards, Robert Ermers
At 11:37 11/01/2004, you wrote:
Hi contexers,
I am trying to make context do what I want. What I needed this weekend, are address labels, which I want to fill with my own logo (not the addresse's).
Making one label is no problem, but I rather would like to have context make and typeset a large number of them on a sheet, to be precise: 9x3 (sizes: 7mm x 32mm).
Does anyone have a clue how this can be done?
\definepapersize [label] [width=10cm, height=3cm] \setuppapersize [label] [A4] % either use: % \setuplayout [nx=2,ny=8] % or use \setuppapersize [nx=2,ny=8] \setuparranging [XY] % sample \starttext \showframe \startstandardmakeup test test \stopstandardmakeup \startstandardmakeup more more \stopstandardmakeup \stoptext (there is also an interactive interface to this, but i've no time to explain that now) Hans
Hi Robert, while composing my solution to your question Hans was of course faster and gives immediately multiple approaches. You might want to have a look at my solution because it is basically intended to print addres-labels. Because of restriction of the meilinglist the picture is not included, but you can simply replace the picture in the logo definition ... Success! Kind regards Willi R. Ermers wrote:
Hi contexers,
I am trying to make context do what I want. What I needed this weekend, are address labels, which I want to fill with my own logo (not the addresse's).
Making one label is no problem, but I rather would like to have context make and typeset a large number of them on a sheet, to be precise: 9x3 (sizes: 7mm x 32mm).
Does anyone have a clue how this can be done?
Kind regards,
Robert Ermers
% Etiketten for address labels format 45 by 100mm % Context file % filename: logos.tex % Willi Egger % january 2004 \setupoutput[pdftex] \mainlanguage[nl] \language[nl] \setuppagenumber[state=stop] \setupcolors[state=start] \usetypescript[modern][texnansi] \setupbodyfont[modern,ss,12pt] \definepapersize[Etiket][height=42.3mm,width=105mm] \setuppapersize [Etiket][A4,portrait] \setuppaper [topspace=0mm, backspace=0mm, dx=2mm, dy=0mm, nx=2, ny=7, margin=0, width=210mm, height=297mm] \setuplayout [topspace=4mm, backspace=8mm, margin=0mm, width=96mm, height=34mm, header=0mm, footer=0mm] \setuparranging[XY] \definelayer[Etiket][width=\textwidth, height=\textheight] \setupframedtexts[frame=off,width=\textwidth] \def\Logo% {\externalfigure[wooden_coptic][height=\textheight]} %\input adreslist %Contains the addresses as given below: % \startbuffer[Adr1] % \framedtext{% % \startlines % Mr. Robert Ermers \\ % \CONTEXT-technician\\ % Whereeverstreet 5\\ % 7000 \TEX land % \stoplines} % \stopbuffer \def\Addresses{10} \showframe \starttext \dorecurse{\Addresses}{% \setlayer [Etiket] [preset=leftbottom,location={right,top},y=-3mm,x=-3mm] {\switchtobodyfont[10pt]\getbuffer[Adr\recurselevel]} \setlayer [Etiket] [preset=lefttop,location={right,bottom}] {\switchtobodyfont[5pt]\Logo} \placelayer[Etiket]} \stoptext
Thank you, Hans and Willi, for your replies!
Kind regards,
Robert Ermers
----- Oorspronkelijk bericht -----
Van: Willi Egger
Hi Robert,
while composing my solution to your question Hans was of course faster and gives immediately multiple approaches. You might want to have a look at my solution because it is basically intended to print addres-labels. Because of restriction of the meilinglist the picture is not included, but you can simply replace the picture in the logo definition ...
Success! Kind regards Willi
R. Ermers wrote:
Hi contexers,
I am trying to make context do what I want. What I needed this weekend, are address labels, which I want to fill with my own logo (not the addresse's).
Making one label is no problem, but I rather would like to have context make and typeset a large number of them on a sheet, to be precise: 9x3 (sizes: 7mm x 32mm).
Does anyone have a clue how this can be done?
Kind regards,
Robert Ermers
---------------------------------------------------------------------------- ----
% Etiketten for address labels format 45 by 100mm % Context file % filename: logos.tex % Willi Egger % january 2004
\setupoutput[pdftex]
\mainlanguage[nl] \language[nl] \setuppagenumber[state=stop] \setupcolors[state=start] \usetypescript[modern][texnansi] \setupbodyfont[modern,ss,12pt]
\definepapersize[Etiket][height=42.3mm,width=105mm] \setuppapersize [Etiket][A4,portrait] \setuppaper [topspace=0mm, backspace=0mm, dx=2mm, dy=0mm, nx=2, ny=7, margin=0, width=210mm, height=297mm] \setuplayout [topspace=4mm, backspace=8mm, margin=0mm, width=96mm, height=34mm, header=0mm, footer=0mm] \setuparranging[XY]
\definelayer[Etiket][width=\textwidth, height=\textheight] \setupframedtexts[frame=off,width=\textwidth]
\def\Logo% {\externalfigure[wooden_coptic][height=\textheight]}
%\input adreslist %Contains the addresses as given below:
% \startbuffer[Adr1] % \framedtext{% % \startlines % Mr. Robert Ermers \\ % \CONTEXT-technician\\ % Whereeverstreet 5\\ % 7000 \TEX land % \stoplines} % \stopbuffer
\def\Addresses{10}
\showframe
\starttext \dorecurse{\Addresses}{% \setlayer [Etiket] [preset=leftbottom,location={right,top},y=-3mm,x=-3mm] {\switchtobodyfont[10pt]\getbuffer[Adr\recurselevel]} \setlayer [Etiket] [preset=lefttop,location={right,bottom}] {\switchtobodyfont[5pt]\Logo} \placelayer[Etiket]} \stoptext
At 18:18 10/01/2004, you wrote:
Dear Listmembers,
Is there a command or work-around in ConTeXt that's comparable to Plain TeX's \vfootnote, to generate a footnote without a reference mark in the text? I found options for marks with numbers, Roman numerals, and letters (cont-enp.pdf, p. 83/99) but nothing for an invisible mark.
\starttext test \footnote[-]{whatever} \stoptext
I had asked:
Is there a command or work-around in ConTeXt that's comparable to Plain TeX's \vfootnote, to generate a footnote without a reference mark in the text? >>
and Hans kindly responded with:
\starttext
test \footnote[-]{whatever}
\stoptext
Thank you very much, Hans! It worked perfectly. I also discovered that the Plain TeX sequence: test \footnote[-]{{${}^1$}whatever} can be used with the bracketed hyphen to number the note itself while leaving the text unsullied (which I mention in case it's not obvious to some current or future reader of this thread); the superscript math snippet can also be put elsewhere in the footnote than the beginning, if one is so inclined. Thanks again. John -- *** John McChesney-Young ** panis@pacbell.net ** Berkeley, California, U.S.A. ***
participants (7)
-
Adam Lindsay
-
Hans Hagen
-
John McChesney-Young
-
Peter Münster
-
R. Ermers
-
Steffen Wolfrum
-
Willi Egger