Missing indentnext check in buff-ver.mkiv
Dear devs, \typebuffer does not obey the indentnext option from \setuptyping because the corresponding checks are missing in \buff_verbatim_type_buffer and \buff_verbatim_type_buffer_indeed. I have attached a possible patch. Cheers, Henri
On 5/26/2019 11:30 PM, Henri Menke wrote:
Dear devs,
\typebuffer does not obey the indentnext option from \setuptyping because the corresponding checks are missing in \buff_verbatim_type_buffer and \buff_verbatim_type_buffer_indeed. I have attached a possible patch.
ok, added, unless Wolfgang rejects it -) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Hans Hagen schrieb am 27.05.2019 um 09:42:
On 5/26/2019 11:30 PM, Henri Menke wrote:
Dear devs,
\typebuffer does not obey the indentnext option from \setuptyping because the corresponding checks are missing in \buff_verbatim_type_buffer and \buff_verbatim_type_buffer_indeed. I have attached a possible patch.
ok, added, unless Wolfgang rejects it -) No objections from my side but shouldn't \typefile also be changed.
Wolfgang
On 5/27/2019 10:33 PM, Wolfgang Schuster wrote:
Hans Hagen schrieb am 27.05.2019 um 09:42:
On 5/26/2019 11:30 PM, Henri Menke wrote:
Dear devs,
\typebuffer does not obey the indentnext option from \setuptyping because the corresponding checks are missing in \buff_verbatim_type_buffer and \buff_verbatim_type_buffer_indeed. I have attached a possible patch.
ok, added, unless Wolfgang rejects it -) No objections from my side but shouldn't \typefile also be changed. so like this:
\else \buff_verbatim_type_file_checked\v!file{#3}% \fi\fi \useindentnextparameter\typingparameter % needs checking \endgroup \dorechecknextindentation} % needs checking i assume Henry has some test file Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Henri Menke
-
Wolfgang Schuster