* avoid newline after definestartstop @ 2016-10-20 9:13 Michael Eidenbenz 2016-10-24 10:42 ` Michael Eidenbenz 2016-10-24 17:29 ` Wolfgang Schuster 0 siblings, 2 replies; 12+ messages in thread From: Michael Eidenbenz @ 2016-10-20 9:13 UTC (permalink / raw) To: mailing list for ConTeXt users hello, how can I put the footnote number right after the quotationmarks without having a newline? dontleavehmode does not work. thanks michael \definestartstop[Citation] [before={\startnarrower[left,right]\startquotation}, after={\stopquotation\stopnarrower\dontleavehmode}] \starttext \input tufte \startCitation \input knuth \stopCitation \footnote{This is a Quote of Donald Knuth} \stoptext ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: avoid newline after definestartstop 2016-10-20 9:13 avoid newline after definestartstop Michael Eidenbenz @ 2016-10-24 10:42 ` Michael Eidenbenz 2016-10-24 15:08 ` Otared Kavian 2016-10-24 17:29 ` Wolfgang Schuster 1 sibling, 1 reply; 12+ messages in thread From: Michael Eidenbenz @ 2016-10-24 10:42 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1938 bytes --] hello, I found this old mail below, that is related to my problem. is there still no workaround for this problem? putting a (foot)note after a quotation mark is quite common and I don't want to put the marks by hand. i was looking at spac-hor.mkiv and tried setupnarrower[after=]. but this did not work. any help is appreciated thanks michael > Am 21.08.2014 um 23:42 schrieb Gerben Wierda <gerben.wie...@rna.nl>: > >> Is it possible to use \startquotation..\stopquotation and have an endnote >> number follow the closing ''? If the \endnote is before \stopquotation, it >> ends up inside the '' character at the end. If it is after \stopquotation, it >> becomes the beginning of the next paragraph. > > > AFAIK this is only possible when you place the quotation marks by hand. > > Wolfgang > > On 20 Oct 2016, at 11:13, Michael Eidenbenz <eidenbenz@arch.ethz.ch> wrote: > > hello, > > how can I put the footnote number right after the quotationmarks without having a newline? > dontleavehmode does not work. > > thanks michael > > > > > \definestartstop[Citation] > [before={\startnarrower[left,right]\startquotation}, > after={\stopquotation\stopnarrower\dontleavehmode}] > > \starttext > \input tufte > \startCitation > \input knuth > \stopCitation > \footnote{This is a Quote of Donald Knuth} > \stoptext > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ [-- Attachment #1.2: Type: text/html, Size: 6404 bytes --] [-- Attachment #2: Type: text/plain, Size: 492 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: avoid newline after definestartstop 2016-10-24 10:42 ` Michael Eidenbenz @ 2016-10-24 15:08 ` Otared Kavian 2016-10-24 16:07 ` Michael Eidenbenz 2016-10-24 17:51 ` Thomas A. Schmitz 0 siblings, 2 replies; 12+ messages in thread From: Otared Kavian @ 2016-10-24 15:08 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 3517 bytes --] Hi Michael, Maybe what Wolfgang meant by « putting the marks by hand » is something like: you define \StartCitation and \StopCitation in the following way: % begin quotation-note.tex \define\StartCitation{\startnarrower[left,right]«~} \define[1]\StopCitation{~»\footnote{#1}\stopnarrower} \starttext \input tufte \StartCitation \input knuth \StopCitation{This is a Quote of Donald Knuth} \stoptext % end quotation-note.tex Indeed instead of the quotation marks « and » you can put whatever you wish. If you have quotations without footnotes, then you may define another start-stop. Best regards: OK > On 24 Oct 2016, at 12:42, Michael Eidenbenz <eidenbenz@arch.ethz.ch> wrote: > > hello, > > I found this old mail below, that is related to my problem. > is there still no workaround for this problem? > putting a (foot)note after a quotation mark is quite common and I don't want to put the marks by hand. > > i was looking at spac-hor.mkiv and tried setupnarrower[after=]. > but this did not work. > > any help is appreciated > > thanks michael > > >> Am 21.08.2014 um 23:42 schrieb Gerben Wierda <gerben.wie...@rna.nl <http://rna.nl/>>: >> >>> Is it possible to use \startquotation..\stopquotation and have an endnote >>> number follow the closing ''? If the \endnote is before \stopquotation, it >>> ends up inside the '' character at the end. If it is after \stopquotation, it >>> becomes the beginning of the next paragraph. >> >> >> AFAIK this is only possible when you place the quotation marks by hand. >> >> Wolfgang > > > >> >> On 20 Oct 2016, at 11:13, Michael Eidenbenz <eidenbenz@arch.ethz.ch <mailto:eidenbenz@arch.ethz.ch>> wrote: >> >> hello, >> >> how can I put the footnote number right after the quotationmarks without having a newline? >> dontleavehmode does not work. >> >> thanks michael >> >> >> >> >> \definestartstop[Citation] >> [before={\startnarrower[left,right]\startquotation}, >> after={\stopquotation\stopnarrower\dontleavehmode}] >> >> \starttext >> \input tufte >> \startCitation >> \input knuth >> \stopCitation >> \footnote{This is a Quote of Donald Knuth} >> \stoptext >> ___________________________________________________________________________________ >> If your question is of interest to others as well, please add an entry to the Wiki! >> >> maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context> >> webpage : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/> >> archive : https://bitbucket.org/phg/context-mirror/commits/ <https://bitbucket.org/phg/context-mirror/commits/> >> wiki : http://contextgarden.net <http://contextgarden.net/> >> ___________________________________________________________________________________ > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ [-- Attachment #1.2: Type: text/html, Size: 8876 bytes --] [-- Attachment #2: Type: text/plain, Size: 492 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: avoid newline after definestartstop 2016-10-24 15:08 ` Otared Kavian @ 2016-10-24 16:07 ` Michael Eidenbenz 2016-10-24 17:09 ` Pablo Rodriguez 2016-10-24 17:51 ` Thomas A. Schmitz 1 sibling, 1 reply; 12+ messages in thread From: Michael Eidenbenz @ 2016-10-24 16:07 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 4686 bytes --] Thanks! sometimes the moste obvious is hidden... although I would consider this a hack, it works perfectly. but I'm still wondering, if there is no soultion for the more "canonical" way. Regards Michael > On 24 Oct 2016, at 17:08, Otared Kavian <otared@gmail.com> wrote: > > Hi Michael, > > Maybe what Wolfgang meant by « putting the marks by hand » is something like: you define \StartCitation and \StopCitation in the following way: > > % begin quotation-note.tex > > \define\StartCitation{\startnarrower[left,right]«~} > \define[1]\StopCitation{~»\footnote{#1}\stopnarrower} > > \starttext > \input tufte > \StartCitation > \input knuth > \StopCitation{This is a Quote of Donald Knuth} > \stoptext > % end quotation-note.tex > > Indeed instead of the quotation marks « and » you can put whatever you wish. > If you have quotations without footnotes, then you may define another start-stop. > > Best regards: OK > >> On 24 Oct 2016, at 12:42, Michael Eidenbenz <eidenbenz@arch.ethz.ch <mailto:eidenbenz@arch.ethz.ch>> wrote: >> >> hello, >> >> I found this old mail below, that is related to my problem. >> is there still no workaround for this problem? >> putting a (foot)note after a quotation mark is quite common and I don't want to put the marks by hand. >> >> i was looking at spac-hor.mkiv and tried setupnarrower[after=]. >> but this did not work. >> >> any help is appreciated >> >> thanks michael >> >> >>> Am 21.08.2014 um 23:42 schrieb Gerben Wierda <gerben.wie...@rna.nl <http://rna.nl/>>: >>> >>>> Is it possible to use \startquotation..\stopquotation and have an endnote >>>> number follow the closing ''? If the \endnote is before \stopquotation, it >>>> ends up inside the '' character at the end. If it is after \stopquotation, it >>>> becomes the beginning of the next paragraph. >>> >>> >>> AFAIK this is only possible when you place the quotation marks by hand. >>> >>> Wolfgang >> >> >> >>> >>> On 20 Oct 2016, at 11:13, Michael Eidenbenz <eidenbenz@arch.ethz.ch <mailto:eidenbenz@arch.ethz.ch>> wrote: >>> >>> hello, >>> >>> how can I put the footnote number right after the quotationmarks without having a newline? >>> dontleavehmode does not work. >>> >>> thanks michael >>> >>> >>> >>> >>> \definestartstop[Citation] >>> [before={\startnarrower[left,right]\startquotation}, >>> after={\stopquotation\stopnarrower\dontleavehmode}] >>> >>> \starttext >>> \input tufte >>> \startCitation >>> \input knuth >>> \stopCitation >>> \footnote{This is a Quote of Donald Knuth} >>> \stoptext >>> ___________________________________________________________________________________ >>> If your question is of interest to others as well, please add an entry to the Wiki! >>> >>> maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context> >>> webpage : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/> >>> archive : https://bitbucket.org/phg/context-mirror/commits/ <https://bitbucket.org/phg/context-mirror/commits/> >>> wiki : http://contextgarden.net <http://contextgarden.net/> >>> ___________________________________________________________________________________ >> >> ___________________________________________________________________________________ >> If your question is of interest to others as well, please add an entry to the Wiki! >> >> maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context> >> webpage : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/> >> archive : https://bitbucket.org/phg/context-mirror/commits/ <https://bitbucket.org/phg/context-mirror/commits/> >> wiki : http://contextgarden.net <http://contextgarden.net/> >> ___________________________________________________________________________________ > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ [-- Attachment #1.2: Type: text/html, Size: 10592 bytes --] [-- Attachment #2: Type: text/plain, Size: 492 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: avoid newline after definestartstop 2016-10-24 16:07 ` Michael Eidenbenz @ 2016-10-24 17:09 ` Pablo Rodriguez 0 siblings, 0 replies; 12+ messages in thread From: Pablo Rodriguez @ 2016-10-24 17:09 UTC (permalink / raw) To: mailing list for ConTeXt users On 10/24/2016 06:07 PM, Michael Eidenbenz wrote: > Thanks! > > sometimes the moste obvious is hidden... > although I would consider this a hack, it works perfectly. > but I'm still wondering, if there is no soultion for the more > "canonical" way. > > Regards Michael Hi Michael, allow me two comments on your issue. The hack is also using a block element as span element (pardon my XML parlance). Either I’m missing something, or how would you do the same with <blockquote> in HTML? From a typographical point of view, do you really need the quotes with a narrower paragraph? I mean, do you think it isn’t clear enough that this is quote? Just in case it might be useful, Pablo -- http://www.ousia.tk ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: avoid newline after definestartstop 2016-10-24 15:08 ` Otared Kavian 2016-10-24 16:07 ` Michael Eidenbenz @ 2016-10-24 17:51 ` Thomas A. Schmitz 2016-10-25 16:43 ` Michael Eidenbenz 1 sibling, 1 reply; 12+ messages in thread From: Thomas A. Schmitz @ 2016-10-24 17:51 UTC (permalink / raw) To: mailing list for ConTeXt users On 10/24/2016 05:08 PM, Otared Kavian wrote: > Hi Michael, > > Maybe what Wolfgang meant by « putting the marks by hand » is something like: you define \StartCitation and \StopCitation in the following way: > > % begin quotation-note.tex > > \define\StartCitation{\startnarrower[left,right]«~} > \define[1]\StopCitation{~»\footnote{#1}\stopnarrower} > > \starttext > \input tufte > \StartCitation > \input knuth > \StopCitation{This is a Quote of Donald Knuth} > \stoptext > % end quotation-note.tex > > Indeed instead of the quotation marks « and » you can put whatever you wish. > If you have quotations without footnotes, then you may define another start-stop. Here would be my suggestion, which gives a syntax that is a bit more ConTeXt-like, I feel (but the coding can probably be improved): \def\startQuote% {\dosingleempty\dostartQuote} \def\dostartQuote[#1]% {\blank [line] \iffirstargument \getparameters[QQ][note=oops,#1] \def\stopQuote{\footnote{\QQnote}\stopnarrower\blank [line]}% \else \def\stopQuote{\stopnarrower\blank [line]} \fi \setupnarrower [left=1cm,right=2cm] \startnarrower} \starttext \input zapf \startQuote \input tufte \stopQuote \startQuote[note=Knuth] \input knuth \stopQuote \stoptext Thomas ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: avoid newline after definestartstop 2016-10-24 17:51 ` Thomas A. Schmitz @ 2016-10-25 16:43 ` Michael Eidenbenz 2016-10-26 14:30 ` Michael Eidenbenz 0 siblings, 1 reply; 12+ messages in thread From: Michael Eidenbenz @ 2016-10-25 16:43 UTC (permalink / raw) To: mailing list for ConTeXt users thanks everybody for their input. michael ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: avoid newline after definestartstop 2016-10-25 16:43 ` Michael Eidenbenz @ 2016-10-26 14:30 ` Michael Eidenbenz 2016-10-26 16:40 ` Wolfgang Schuster 0 siblings, 1 reply; 12+ messages in thread From: Michael Eidenbenz @ 2016-10-26 14:30 UTC (permalink / raw) To: mailing list for ConTeXt users after some readings in the TeX book I came up with the following solution that works for me without having to change all my instances of startstopCitation in the text. \definestartstop [Citation] [ before={\hangindent=20mm\hangafter=0\symbol[leftquotation]}, after={\removeunwantedspaces\symbol[rightquotation]}, ] \starttext \startCitation \input tufte \stopCitation \footnote{This is a Quote of Donald Knuth} \input tufte \stoptext ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: avoid newline after definestartstop 2016-10-26 14:30 ` Michael Eidenbenz @ 2016-10-26 16:40 ` Wolfgang Schuster 2016-10-26 21:03 ` Michael Eidenbenz 0 siblings, 1 reply; 12+ messages in thread From: Wolfgang Schuster @ 2016-10-26 16:40 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1087 bytes --] > Michael Eidenbenz <mailto:eidenbenz@arch.ethz.ch> > 26. Oktober 2016 um 16:30 > after some readings in the TeX book I came up with the following > solution that works for me without having to change all my instances > of startstopCitation in the text. This doesn’t work when you have more than one paragraph in the Citation environment. > \definestartstop > [Citation] > [ > before={\hangindent=20mm\hangafter=0\symbol[leftquotation]}, > after={\removeunwantedspaces\symbol[rightquotation]}, > ] > > \starttext > \startCitation > \input tufte > \stopCitation > \footnote{This is a Quote of Donald Knuth} > > \input tufte > \stoptext Here is a alternative version but you need a empty line or \par after \stopCitation. \define\startCitation {\startnarrower[left] \symbol[leftquotation]\ignorespaces} \define\stopCitation {\BeforePar{\removeunwantedspaces\symbol[rightquotation]}% \AfterPar {\endgraf\stopnarrower}% \GetPar} \starttext \startCitation \input knuth \stopCitation \footnote{This is a Quote of Donald Knuth} \input knuth \stoptext Wolfgang [-- Attachment #1.2: Type: text/html, Size: 2470 bytes --] [-- Attachment #2: Type: text/plain, Size: 492 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: avoid newline after definestartstop 2016-10-26 16:40 ` Wolfgang Schuster @ 2016-10-26 21:03 ` Michael Eidenbenz 2016-10-27 4:31 ` Wolfgang Schuster 0 siblings, 1 reply; 12+ messages in thread From: Michael Eidenbenz @ 2016-10-26 21:03 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 2282 bytes --] Dear Wolfgang, thanks for your mail, that led me to the source in syst-aux where I found the TeX approach, my final solution. \def\startCitation% { \startnarrower[left,right] \symbol[leftquotation] \removeunwantedspaces} \def\stopCitation#1\par% { \removeunwantedspaces \symbol[rightquotation] #1 \stopnarrower} \starttext \startCitation \input knuth \stopCitation \footnote{This is a Quote of Donald Knuth} \input knuth \stoptext > On 26 Oct 2016, at 18:40, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote: > >> Michael Eidenbenz <mailto:eidenbenz@arch.ethz.ch> 26. Oktober 2016 um 16:30 >> after some readings in the TeX book I came up with the following solution that works for me without having to change all my instances of startstopCitation in the text. > This doesn’t work when you have more than one paragraph in the Citation environment. >> \definestartstop >> [Citation] >> [ >> before={\hangindent=20mm\hangafter=0\symbol[leftquotation]}, >> after={\removeunwantedspaces\symbol[rightquotation]}, >> ] >> >> \starttext >> \startCitation >> \input tufte >> \stopCitation >> \footnote{This is a Quote of Donald Knuth} >> >> \input tufte >> \stoptext > Here is a alternative version but you need a empty line or \par after \stopCitation. > > \define\startCitation > {\startnarrower[left] > \symbol[leftquotation]\ignorespaces} > > \define\stopCitation > {\BeforePar{\removeunwantedspaces\symbol[rightquotation]}% > \AfterPar {\endgraf\stopnarrower}% > \GetPar} > > \starttext > > \startCitation > \input knuth > \stopCitation > \footnote{This is a Quote of Donald Knuth} > > \input knuth > > \stoptext > > Wolfgang > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ [-- Attachment #1.2: Type: text/html, Size: 5570 bytes --] [-- Attachment #2: Type: text/plain, Size: 492 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: avoid newline after definestartstop 2016-10-26 21:03 ` Michael Eidenbenz @ 2016-10-27 4:31 ` Wolfgang Schuster 0 siblings, 0 replies; 12+ messages in thread From: Wolfgang Schuster @ 2016-10-27 4:31 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 683 bytes --] > Michael Eidenbenz <mailto:eidenbenz@arch.ethz.ch> > 26. Oktober 2016 um 23:03 > Dear Wolfgang, > > thanks for your mail, that led me to the source in syst-aux where I > found the TeX approach, my final solution. > > \def\startCitation% > { \startnarrower[left,right] > \symbol[leftquotation] > \removeunwantedspaces} \unexpanded\def\startCitation {\startnarrower[left,right] \symbol[leftquotation]% \ignorespaces} > \def\stopCitation#1\par% > { \removeunwantedspaces > \symbol[rightquotation] > #1 > \stopnarrower} \unexpanded\def\stopCitation#1\par {\removeunwantedspaces \symbol[rightquotation]% #1% \stopnarrower} Wolfgang [-- Attachment #1.2: Type: text/html, Size: 2510 bytes --] [-- Attachment #2: Type: text/plain, Size: 492 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: avoid newline after definestartstop 2016-10-20 9:13 avoid newline after definestartstop Michael Eidenbenz 2016-10-24 10:42 ` Michael Eidenbenz @ 2016-10-24 17:29 ` Wolfgang Schuster 1 sibling, 0 replies; 12+ messages in thread From: Wolfgang Schuster @ 2016-10-24 17:29 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 638 bytes --] > Michael Eidenbenz <mailto:eidenbenz@arch.ethz.ch> > 20. Oktober 2016 um 11:13 > hello, > > how can I put the footnote number right after the quotationmarks > without having a newline? > dontleavehmode does not work. The quotation environments creates a separate paragraph for the content and anything after is belongs to a new paragraph. > thanks michael > > \definestartstop[Citation] > [before={\startnarrower[left,right]\startquotation}, > after={\stopquotation\stopnarrower\dontleavehmode}] You can do the same with a custom quote environment: \definedelimitedtext [Citation] [quotation] [leftmargin=standard] Wolfgang [-- Attachment #1.2: Type: text/html, Size: 1972 bytes --] [-- Attachment #2: Type: text/plain, Size: 492 bytes --] ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2016-10-27 4:31 UTC | newest] Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2016-10-20 9:13 avoid newline after definestartstop Michael Eidenbenz 2016-10-24 10:42 ` Michael Eidenbenz 2016-10-24 15:08 ` Otared Kavian 2016-10-24 16:07 ` Michael Eidenbenz 2016-10-24 17:09 ` Pablo Rodriguez 2016-10-24 17:51 ` Thomas A. Schmitz 2016-10-25 16:43 ` Michael Eidenbenz 2016-10-26 14:30 ` Michael Eidenbenz 2016-10-26 16:40 ` Wolfgang Schuster 2016-10-26 21:03 ` Michael Eidenbenz 2016-10-27 4:31 ` Wolfgang Schuster 2016-10-24 17:29 ` Wolfgang Schuster
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).