Thank you very much, I am sorry to waste your time with such an easy mistake. 

I haven't worked with files like this ever (I didn't even know they existed) so it overwhelmed me when searching through it.

On Tuesday, 27 June 2023 at 19:23:46 UTC+1 John MacFarlane wrote:
OK, here's where it seems to have trouble:

% pandoc -f man
.ie n \l'\\n(^lu\(ul'
.el \{\
.\" Draw four-sided box normally, but don't draw top of
.\" box if the box started on an earlier page.
.ie !\\n(^b-1 \{\
\h'-1.5n'\L'|\\n(^yu-1v'\l'\\n(^lu+3n\(ul'\L'\\n(^tu+1v-\\n(^yu'\l'|0u-1.5n\(ul'
.\}
.el \}\
\h'-1.5n'\L'|\\n(^yu-1v'\h'\\n(^lu+3n'\L'\\n(^tu+1v-\\n(^yu'\l'|0u-1.5n\(ul'
.\}
.\}
.fi

Error at (line 8, column 6):
unexpected '}'
.el \}\
^
I THINK this is a bug in macros.man
At line 8, it should be
.el \{\

The meaning of this is:

if ...
else {
if .. {
}
else { <- thing I fixed
...
}
}
endif



> On Jun 27, 2023, at 7:59 AM, Shaun Kulesa <shaun...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> Hello, thank you for testing.
>
> The error seems to originate from man.macros which the files import.
>
> I am no expert with man files so if you or anyone else here could have a look then I would appreciate it very much.
>
> pandoc --from man --to html < tclsh.1 > output.html
>
> On Sunday, 25 June 2023 at 18:09:25 UTC+1 John MacFarlane wrote:
> I tried both files and pandoc had no problems with them. Perhaps you're using an old version of pandoc?
>
> > On Jun 24, 2023, at 4:49 PM, Shaun Kulesa <shaun...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> >
> > <tclsh.1>
>
>
> --
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discus...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/c826178b-53c9-4a8a-9da1-68d78510e5fen%40googlegroups.com.
> <tclsh.1><man.macros>

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/4148511d-7db0-4f0d-ba3d-c597eff7d7f7n%40googlegroups.com.