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

Bug 755174 Help Document Lots in Account window #71

Merged
merged 2 commits into from Nov 13, 2016
Merged

Bug 755174 Help Document Lots in Account window #71

merged 2 commits into from Nov 13, 2016

Conversation

goodvibes2
Copy link
Contributor

No description provided.

Copy link
Member

@jralls jralls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chris,
Looks pretty good aside from the two inline comments.


<para>These resizing bars can be hard to see, so move the mouse
pointer around until it changes to the resize pointer (<guilabel>
&lt;&mdash;&gt;</guilabel> in the case of the horizontal bar), then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The resize pointer is a graphic cursor that looks vaguely like <—> only on Linux and possibly only with some themes. On a Mac it's more like <-|-> and on Windows <-||->. It looks like that on the vertical bar; on the horizontal bar the arrows point up and down and the |s on Mac and Windows are horizontal. I think it would be best to inline the above image as well as this one and say that they're examples and that they might look a bit different depending on theme and OS, but I don't know how well that will work out.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you have something in mind how to 'inline' this? I don't remember seeing anything like this in the help or guide. I see there is a docbook inlinemediaobject http://docbook.org/tdg5/en/html/inlinemediaobject.html which I could try out. I'm tempted to just say it's the horizontal or vertical resize pointer (terminology I've seen on Windows) which looks something like a double ended arrow depending on your OS and theme.
inlinemediaobject is not used in the guide or help at the moment.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's too hard to do the inline image then sure, yield to temptation. It's not worth much time or effort.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found the inlinemediaobject works (html, pdf & mobi) but the images don't lineup well with the text.
I have add the 2 graphic cursor images you pointed me too as examples at the end of the paragraph.

<para><emphasis>Fields</emphasis></para>
<itemizedlist>
<listitem>
<para><guilabel>Title</guilabel> &mdash; Shows the title for the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see you've fallen in love with em-dashes. They shouldn't have spaces around them and using them at the beginning of a sentence like that isn't really appropriate, see http://www.thepunctuationguide.com/em-dash.html. While you're there you should study up on n-dashes and hyphens so that you know when to use each correctly. That aside, it's also inconsistent with the rest of the manual where a colon is (more correctly) used.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was just following Help, Setting Preferences where it is used many times. I don't really like the look of many colons but using a table is too much typing and too visually distracting. I'll change to colons.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I looked a bit deeper: A bit of grepping reveals that there are 98 instances that use &mdash; (all incorrectly wrapped with spaces), 157 that use ':' (4 after the </guilabel> and the rest as part of the label), and 194 that use only a space. I think we should change them all to ':' as part of the label so that the colon gets the guilabel styling—not all of them as part of this PR of course, just the ones it adds.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK I'll do that before I resubmit a new PR to replace this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you need to submit a new PR. Just make the changes, do a git commit --amend, and force-push (git push --force github bug755174DocViewLotsHelp) and this PR should automagically update.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to be clear, no guimenu/guimenuitem?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose to be pedantically correct it should be <guimenuitem> instead of <guilabel>, but I think both tags render the same so it doesn't really matter for our purposes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately "title" is needed for List of Figures so I see no point in adding caption here.
Also unfortunately, the title is all bold in html, pdf & mobi (same as guilabel and guimenuitem). I'm going with:

        <title>The <guimenuitem>Preferences</guimenuitem> window,
          <guilabel>Accounting Period</guilabel> tab
        </title>

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the mdash mods for guide be a different commit than help mdash mods?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't really matter as long as emdash mods are the only changes in the commit(s).

@goodvibes2
Copy link
Contributor Author

goodvibes2 commented Nov 9, 2016

I see we could also just use:
<guimenuitem>Preferences</guimenuitem><guilabel>Accounting Period</guilabel>
That sort of sidesteps the mac or Linux/Win issue for this case.

@goodvibes2
Copy link
Contributor Author

Mods finished and force pushed to my GitHub.

@code-gnucash-org code-gnucash-org merged commit 09b1333 into Gnucash:maint Nov 13, 2016
@jralls
Copy link
Member

jralls commented Nov 13, 2016

Thanks.

@goodvibes2 goodvibes2 deleted the bug755174DocViewLotsHelp branch November 14, 2016 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants