WYSIWYG pretext/docbook editors?

99 views
Skip to first unread message

Kenan Ince

unread,
Feb 25, 2022, 3:59:54 PM2/25/22
to PreTeXt support
At the risk of this being a silly question, has anyone ever successfully used a WYSIWYG editor for pretext, and/or do existing WYSIWYG docbook editors also work on pretext? As someone just getting started, I could probably figure out the XML formatting, but I know I would work a lot faster with a WYSIWYG editor if possible. Thanks!

Rob Beezer

unread,
Feb 26, 2022, 12:36:14 AM2/26/22
to pretext...@googlegroups.com
Dear Kenan,

David Farmer has been working on this problem, and has a great prototype. Doing
it right may require funding for a dedicated programmer.

XML editors like the one you pointed to often are "schema-aware", and we do have
such a schema for PreTeXt. Just know it is still evolving so should not be
taken as gospel.

Chapter 6: PreTeXt Vocabulary Specification
https://pretextbook.org/doc/guide/html/schema.html

There is an emacs mode some folks find very helpful.

Section D.3: emacs
https://pretextbook.org/doc/guide/html/emacs.html

Sorry we do not yet have better answers. Thanks for your interest in PreTeXt.

Rob


On 2/25/22 12:59, Kenan Ince wrote:
> At the risk of this being a silly question, has anyone ever successfully used a
> WYSIWYG editor for pretext, and/or do existing
> <https://www.xmlmind.com/xmleditor/docbook_editor.html> WYSIWYG
> <https://www.oxygenxml.com/xml_editor/docbook_editor.html> docbook editors
> <https://www.nongnu.org/thotbook/screenshots.html> also work on pretext? As
> someone just getting started, I could probably figure out the XML formatting,
> but I know I would work a lot faster with a WYSIWYG editor if possible. Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "PreTeXt support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to pretext-suppo...@googlegroups.com
> <mailto:pretext-suppo...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pretext-support/94270021-a063-4c2c-895a-1fb0419331b7n%40googlegroups.com
> <https://groups.google.com/d/msgid/pretext-support/94270021-a063-4c2c-895a-1fb0419331b7n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Steven Clontz

unread,
Feb 26, 2022, 12:16:19 PM2/26/22
to PreTeXt support
I think the success of Overleaf and CoCalc's LaTeX editors, as well as many Markdown editors such as GitHub's, demonstrate that WYSIWYG is not necessary (and I suspect, not ideal, given the terrible quality of source generated from most WYSIWYG editors). Instead what the author really needs is live previews and hinting/autocompletion.

Kenan, if you installed pretext using `pip install pretextbook`, you should be able to `pretext new` to create a new sample document. I recommend you `pretext view --watch` to spin up a local web address that updates live (just refresh your browser) as you play with the source code of our template document, which should help you get a feel for how things can be written. It's not perfect but it's a start (and avaliable to try right now).

Kenan Ince

unread,
Mar 3, 2022, 1:55:00 PM3/3/22
to PreTeXt support

Oops, sent the previous reply only to Steven—

 

Thanks all--live previews and/or something similar to Overleaf's Rich Text mode would both be immensely helpful. I'll definitely try the --watch flag next time I'm on my personal computer, and things have been working relatively smoothly in raw XML this week!”

 

Best, 

 

 

Kenan Ince, Ph.D. (pronouns: they/them/theirs)
Chair & Associate Professor of Mathematics, Westminster College
Office: Foster Hall 311 | Current office hours | Book a meeting
Mentor, Math Alliance | Partner, QSIDE Institute
I acknowledge I live and work on the ancestral lands of the Ute, Goshute, and Shoshone peoples.

--
You received this message because you are subscribed to a topic in the Google Groups "PreTeXt support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pretext-support/IBcOuKR-8Io/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pretext-suppo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/865ca43e-c8fe-45dd-ac15-ae8f37dcc951n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages