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

Display of many sections goes off the end ofthescreen #3

Open
berwynhoyt opened this issue Feb 26, 2025 · 1 comment
Open

Display of many sections goes off the end ofthescreen #3

berwynhoyt opened this issue Feb 26, 2025 · 1 comment

Comments

@berwynhoyt
Copy link
Owner

berwynhoyt commented Feb 26, 2025

David Timmsdale said:

  • I really like Wordcounter, but when I get to about 11 chapters, each of 2000+ characters, the display goes off the edge of the screen and I can only see the first 10 word counts. When it reaches the edge of the window, it needs to either create a second row or scroll to the left.
    I've included a screen grab to illustrate the issue:
    Image
@berwynhoyt
Copy link
Owner Author

Here's an option that you can do yourself using existing addon features. Create a footer that lists all the chapters and their word counts (you can always remove the footer after you've finished writing your document). You do that as follows:

  • First add all your bookmarks into the document and press the addon hotkey (Ctrl-Alt-w). This will create "User Field" variables internal to the document -- one for each section -- that contain the w-word count for that section. Now all you need to do is display these fields.
  • Create a footer to show these on every page (menu Insert/Header and Footer/Footer/All). For example, the footer could look like the following:
  ch1= ch2=
  ch3= ch4=
  • Then put your cursor after each = sign in turn and go to Insert/Field/More Fields (or press Ctrl-F2). The Fields window shown below will pop up. Select Type User Field which will display a list of fields called Wordcount_xxx where xxx is your section name. Select the wordcount for the section that you want to insert after that particular = sign, and click Insert at the bottom:

InsertingWordcountField

Each time you press the addon hotkey Ctrl-Alt-w, the field numbers will automatically update.

If you want to be able to see these fields on every page, insert the fields into a footer instead of a cover page as I have shown above. You can always remove the footer when you're finished writing your document.

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

1 participant