[texworks] Hard wrapping

Dohyun Kim nomosnomos at gmail.com
Wed May 6 04:34:44 CEST 2009


2009/5/5 Jonathan Kew <jfkthame at googlemail.com>:
>
> For people interested in this feature, r.294 of the code now includes a very
> basic version of Hard Wrap, with minimal options in the dialog. This is
> inspired by Stefan's patch (obviously), but deliberately simplified as far
> as seems reasonably possible.
>
> I have some ideas for how to enhance this, but would like to keep the user
> interface as simple as possible while providing enough functionality to be
> useful. Comments welcome.
>

If I check "Re-wrap paragraphs" checkbox,
line with comment sign at end becomes merged with
next line, which then is ignored while processing the document.

For example, a document like this:

    First line. %
    Second line.

becomes as follows when hard-wrapped with re-wrap option checked:

    First line. % Second line.

I think that lines with comment character should be treated as
an exception when re-wrapping.

Regards,
Dohyun Kim


More information about the texworks mailing list