Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\rem should ignore markers to end of line #77

Open
mhosken opened this issue Sep 9, 2024 · 2 comments
Open

\rem should ignore markers to end of line #77

mhosken opened this issue Sep 9, 2024 · 2 comments

Comments

@mhosken
Copy link
Collaborator

mhosken commented Sep 9, 2024

\rem as a remark should ignore everything up to the end of the line, in USFM, rather than being treated as a paragraph style. This allows the \rem line to contain markers, etc. and for those to be ignored. It enables things to be \remmed out.

The difficulty is that in USX \rem is a element. We can still keep it as such, but it is a rather special paragraph.

Do we want to do the same with all the headers? Are there any muiltiline header elements?

@KentSpiel
Copy link
Collaborator

KentSpiel commented Sep 9, 2024

I do not see that is it practical for \rem to act as you suggest. I would like to see additional remark syntax added:

  • Inline remarks (I use \zrm . . .\zrm*)
  • Multi-line remarks using perhaps milestones \rems\* . . . . . . .\reme\*

No we do not have any multi-line header elements. We do not even have a table element containing all the rows of a table. The only well defined containers we have are sidebars and notes.

By the way, does the extension file allow us to define custom remark markers?

@mhosken
Copy link
Collaborator Author

mhosken commented Nov 18, 2024

The problem here is that it doesn't null out everything inside it, so any hiearchy inside the rem pair has to be closed inside the rem pair. Yes I agree that \rem could work well for text fragments within a paragraph if we introduce a true element that doesn't break the paragraph in USX. I would prefer us to go this way than start adding other markers just for remarks. \rem is bad enough (It must be one of the more obscure commenting mechanisms!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants