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

Some labels of examples contain "Example" so that their label in the list of examples contains "Example" (affects four examples) #286

Closed
neumannd opened this issue Jul 15, 2020 · 18 comments · Fixed by #417
Labels
defect Conventions text meaning not as intended, misleading, unclear, has typos, format or language errors

Comments

@neumannd
Copy link
Contributor

neumannd commented Jul 15, 2020

Title

Some labels of examples contain "Example" so that their label in the list of examples contains "Example" (affects four examples)

Moderator

@user

Requirement Summary

The list of examples lists all examples of the CF Conventions. The names/labels of all examples should be displayed in a consistent manner.

Technical Proposal Summary

Remove "_example X.Y, _" from the label of four examples listed in the list of examples.

Benefits

Consistency of the list of examples

Status Quo

In this list, four examples have "_example X.Y, _" in their label. All other examples do not have it.

Associated pull request

#417

Detailed Proposal

The list of examples lists all examples of the CF Conventions. The names/labels of all examples should be displayed in a consistent manner. In this list, four examples have "_example X.Y, _" in their label. All other examples do not have it. I suggest to remove "_example X.Y, _" from the label of four examples listed in the list of examples.

@neumannd neumannd added the defect Conventions text meaning not as intended, misleading, unclear, has typos, format or language errors label Jul 15, 2020
@davidhassell
Copy link
Contributor

This seems fine to me, as clearly seen in the "List of Examples" near the top of the conventions document.

@taylor13
Copy link

Mmmm.... do you mean the suggested edit "seems fine to me" or do you mean the document as it now stands seems fine. Like @neumannd I think all the entries in the List of Examples at the top of the conventions document should be consistent and not repeat the table number.

I would note that in the "List of Tables" (just above the "List of Examples"), one of the tables listed includes "Table D.1" in its title, which is also inconsistent with the other tables listed. I think this should also be made consistent.

@davidhassell
Copy link
Contributor

Ah - good point. I meant that the @neumannd's suggested edits are good. I also agree with updating the table titles, as @taylor13 suggests

@davidhassell
Copy link
Contributor

Hello @neumannd,

I think that there are no problems with your PR, but would you consider updating it as per @taylor13's suggestion regarding the table D.1 title?

I think we can then get this merged.

Thanks.

@neumannd
Copy link
Contributor Author

neumannd commented Dec 7, 2022

@taylor13 @davidhassell Excuse me that I did not react on the comments. Somehow this got lost. Instead of

  • changes from the old PR (Example H.1, Example H.8, Example 5.7, Example 5.13)
  • change proposed by @taylor13 (Table D.1)
  • new changes; removed these duplicate mentions of examples/table
    • Example I.1
    • Table I.1
    • Table I.2
  • other changes:
    • "Example 8.7" was not in the list of tables
    • _ replaced by - in label of Example 8.7

@davidhassell
Copy link
Contributor

Hi @neumannd - thanks for re-finding this! I shall try to generate a new copy of the doc to see how they look ...

@davidhassell
Copy link
Contributor

davidhassell commented Jan 5, 2023

Hi - I have built the html and pdf based on PR #418

and it looks good - thanks. There are a couple of things that I spotted:

Apart from the tables D.1, I.1, and I.2, which do not have those labels next to their captions. I presume that this was why they were hardwired into the captions before. I tried adding a [caption="Table D.1. "] line but that had no effect, presumably because tables are not caption-able entities (?). I'm sure there's something that can be done here, but I don't know what ...

Also, the modified examples in the summary have their title in quotes (e.g. 5.7. "Lambert conformal projection").

@neumannd
Copy link
Contributor Author

@davidhassell I added the captions in PR #419 which belongs to issue #418

@neumannd
Copy link
Contributor Author

The conventions document generated by PR #419 has duplicate labels and the PR to this issue (#417) has no labels for these tables. If both PRs are merged, the table captions should be correct.

I submitted to separate PR and issues for this because the changes in issue #418 do not fit the the title of this issue.

@neumannd
Copy link
Contributor Author

neumannd commented Jun 3, 2023

@davidhassell @taylor13 Can we proceed with this (and the other to issues solving related issues)?

@taylor13
Copy link

taylor13 commented Jun 3, 2023

I'm a little lost on status and PRs, but I think there was no disagreement on what should be done, so if @davidhassell signs off, yes, please proceed.

@JonathanGregory
Copy link
Contributor

@neumannd, your surname is Heydebreck, isn't it. I see that you are called "Daniel Neumann" in the list of contributors to the convention, because of your GitHub name. Sorry about that. I will correct it.

@neumannd
Copy link
Contributor Author

@taylor13 @JonathanGregory Please excuse me for the late reply. I overlooked the comments.

Regarding my name: I married in 2020 and changed my last name from "Neumann" to "Heydebreck". Did not think about mentioning it here ;-) .

If there are no objections, could someone merge #417 ?

@JonathanGregory
Copy link
Contributor

Dear @neumannd

Thanks for reminding us. Actually I looked at PR 417 and PR 419 just yesterday. It looks like they modify similar pieces of text. Are they compatible? Do they both need to be merged?

Cheers

Jonathan

@neumannd
Copy link
Contributor Author

@JonathanGregory I think that they do not contradict each other. When I created them I had the feeling that they should be slit in two parts. I am not sure why. That's too long ago. Maybe because someone might object #417 . Not sure.

@JonathanGregory
Copy link
Contributor

JonathanGregory commented Aug 25, 2023

Dear @neumannd

In #417, if you delete "Table D.1" from the caption of the table, it won't appear in the rendered text, unlike other tables - isn't that the case? It's apparently treated differently from other tables, which indeed don't have "Table XXX" in their caption, because it's "unusually" long, according to the comment in the asciidoc. Maybe we can fix the problem by putting some of the caption in ordinary text, and deleting the hack using a 1-pixel transparent image. For instance, the table caption could be just "Consistent sets of attributes", if it is possible to insert some text after the caption and before the table to say "These sets of attribute values are needed in defining the ocean sigma coordinate, the ocean s-coordinate, the ocean_sigma over z coordinate, and the ocean double sigma coordinate". Is that possible in asciidoc?

Cheers

Jonathan

PS. I see that in #419 you insert the table into the options where it normally goes. So the two PRs aren't independent. This is what confused me yesterday, I think.

@neumannd
Copy link
Contributor Author

neumannd commented Aug 25, 2023

@JonathanGregory : You are right. I forgot that. #417 seems to clean up the captions and #419 seems to use the caption field consistently. Both merge requests should be merged in combination. I do not remember why I did it this way.

edit: Reading the title of this issue, I realize that it does not fit to the changes done in #419 . Therefore, in PR #417 I performed only changes that fit the the original title and original description of this issue. For the other changes, that needed to be done, I created a new issue #418 and PR #419 . I should have done it different. Please excuse me for that.

@JonathanGregory JonathanGregory linked a pull request Aug 28, 2023 that will close this issue
4 tasks
@JonathanGregory
Copy link
Contributor

For the record, as well as deleting "Example whatever" from the titles of four examples, PR 417 also

  • Deletes "Title whatever" from the titles of three tables.
  • Inserts one example into the list of examples.
  • Inserts a missing . into the label of one example.

I will merge it and PR 419, since these are defects and no-one objects to the correction. Thanks, @neumannd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Conventions text meaning not as intended, misleading, unclear, has typos, format or language errors
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants