Remove page numbering from a section break - openxml

Does anybody have a clue about how to remove the page numbering from a section break in a word 2007 doc?
I have to put 3 documents together
1st part contains the page numbering and the formatting
2nd part ends takes the numbering from the 1st part and continues it. It ends with a section break(next page)
3rd page also takes the numbering (the numbering starts from 1) and I don't want that.
The last part contains some covers and other info pages and I don't want any numbering on them.
The 2nd and 3rd parts were inserted using AltChunk. I've tried locking the 3rd part for editing, i've tried putting a white rectangle over the footer, in front of the text, i've tried putting a section break (continuous) at the beginning of the 3rd part...all for nothing. The 3rd part simply adopts the same footer as the previous parts.
Can you please give me any feedback, ideas on how to find a solution or a workaround?

Related

Force GitHub pages to render numerical lists sequentially instead of restarting?

I noticed that when GitHub pages with mkdocs have text or images in between numbers it ignores the numbering in the source document and instead restarts numbering. See here for an example of this.
Is there a way to force mkdocs to render the numbers in the original document instead of inventing its own?
If you add them all as 1. space and text, then sub item as image with a tab, it should work. As an example:
1. Option 1
imgage or next text
1. Option 2
You can check this documentation built using mkdocs as an example.
As Zoran mentioned above that was part of it. Things I figured out:
Code must be double tabbed - you cannot use ```
Indented lists must also be double tabbed - I wasn't able to get a single tab to work
Images do not have to be tabbed - they can be in line with the above text
There should not be an empty line when an image follows a numbered list item BUT FOR CODE there must.
I still haven't completely figured out. mkdoc's behavior is not as predictable as regular markdown

How to start a Paragraph always in a new page?

Let say I have 3 paragraphs in one page. Now if I add few new sentences in 1st Paragraph, all 2 Paragraphs below the first, will move downwards in a continuous fashion.
However I want all these 3 paragraphs will start in a new page. Let say, first Paragraph will start in page #1, second Paragraph in page #2 and third Paragraph in page #3. Now if I add new lines in the first paragraph, the other 2 paragraphs below it will stay in the same pages respectively, until the first paragraph eventually become large enough to occupy first 2 pages. When that would happen, the second paragraph will move to page #3 and third paragraph will move to page #4 i.e. all paragraph will move in a discrete fashion such that each of them will start from a new page.
Is there any way to achieve the same in Libre-office?
Any pointer will be highly appreciated.
To make LibreOffice insert a page break before every paragraph, you can modify the paragraph style (or the paragraph properties) accordingly.
To modify your paragraphs 1-3 as described, select them, then select menu Format -> Paragraph to open the paragraph options. Select the "Text Flow" tab and under "Breaks", select "Insert", Type "Page", Position "Before".
To modify the default paragraph style accordingly, hit F11 to open the styles list, right-click on "Default style" and select "Modify". Again, a paragraph properties window will appear, but the modifications will affect every paragraph in your document, so this approach may lead to strange results.
The best way would be to define a custom paragraph style with the Page Break set as described, and assign that style to your paragraphs 1-3.
This is called a Page Break and the easiest way to insert it is CTRL+Enter.

Jasper Hiding Page Break on Specific Pages

Hi I want a page break that goes after each group except for the last group. Currently my page breaks separates all the groups nicely, but I would like the last group to be connected to the last page. The page break separates my last page footer, leaving a huge amount of space on the last page. Is there any way to do this?
I'm thinking of hiding the last page break but I'm unsure of how to do it.
Attempts to do a put into $P{REPORT_PARAMATERS_MAP} within the print when expression band of the summary band have been unsuccessful.
I tried placing the following into the 'print when expression' band of the summary band:
new Boolean($P{REPORT_PARAMETERS_MAP}.put("LastPageNumber",new Integer($V{PAGE_NUMBER}.intValue()-1)).equals("dummyPrintWhen"))
And using this on 'print when expression' of the break:
new Boolean(!$V{PAGE_NUMBER}.equals($P{REPORT_PARAMETERS_MAP}.get("LastPageNumber")))
But it's not working the way I want. It still gives me the last page footer all by itself on another page while still leaving a large amount of space on the previous page.
By taking out "!" on the break's 'print when expression', the breaks don't happen and I get my last page footer on a page all by itself as there is no more space on the previous page.
----------------------------EDIT--------------------------------
Printing $P{REPORT_PARAMETERS_MAP}.get("LastPageNumber") for every page
gives me null.
----------------------------EDIT--------------------------------
What am I doing wrong?
I'm currently using iReport 3.0.0
What if you use ?
new Boolean(new Boolean($V{PAGE_NUMBER}.equals($P{REPORT_PARAMETERS_MAP}.get("LastPageNumber")))==false)
I think what I'm trying to do might not be possible simply because the last page number can only be compiled at the end of the report, while the page breaks happen as the report is compiled.
I think this can be confirmed by nobody answering the question on this page: http://www.coderanch.com/t/579950/open-source/Jasper-report-store-total-number

Markdown: Problems with numbered list paragraphs containing code element

I created a README.md file on GitHub and there are some markdown problems I can't find a solution to.
When I enter this (The dots represent space signs):
Instructions:..
....1. First sentence..
....2. Second sentence..
........This is some code.
....3. Third sentence..
....4. Fourth sentence
It renders to this:
Instructions:
1. First sentence
2. Second sentence
This is some code.
3. Third sentence
4. Fourth sentence
How can I separate the code block from the numbered list?
I would also like to know how I can tell Markdown to ignore Markdown syntax so I don't have to use dots as a representation of space signs.
How about this?
Instructions:
1. First sentence
2. Second sentence
`This is some code.`
3. Third sentence
4. Fourth sentence
It wouldn't indent each point, however your example with the dots doesn't do it either.
If the spacing between Instructions: and the rest is not what you want, you can use the double space after it and on the two following lines.
UPDATE:
After a little fiddling, if you want to keep the numbering of the list and put some code that's relative to a single item on the list you should indent the code block.
Also, have a new line before the first element of the list seems to help.

Vertical line problem in the detail section of Crystal report

I have a little problem with the vertical lines in Detail section. In detail section at the end there is horizontal line. Also I have Report Footer section which displays total number of records. I suppressed Page Footer section.
I would like end all the vertical lines to the last line of the records not to extend beyond the "Total"(Report Footer).
It works fine if everything on the same page. The problem starts when the last line of the detail is on the first page and the "Total" wouldn't fit on the first page. It displays "Total" on the second page and it draws vertical lines to the end of the page.
Thanks for any suggestion.
I faced the same problem recently and resolved it just now. Just want to share what I did to resolve this problem for those who are stuck in this CR dilemma :).
Create a detail section below the detail section with the vertical lines then suppress it.
That's it! worked like a charm. Hope this helps.
Usually Crystal displays lines properly, when they start and end in
matching group sections (1st header - 1st footer). If they start in
page header and end in details for example, then result is often
undefined. Or from detail to page footer - result is undefined again.
An old question but thought i would add my findings. Thanks to #Arvo explanation above this led me to figure out why i had this issue. A report i was amending had a line object about 2-3 pixels over the boundary of the detail and header section, this caused the line to repeat on every single detail section regardless of intervening suppressed sections (there where no groupings).
Moving the line object so it didnt cross the boundary meant it only appeared in the detail sections it went over :)
Do your vertical lines start and end in matching sections? Dou you have any groups defined?
Usually Crystal displays lines properly, when they start and end in matching group sections (1st header - 1st footer). If they start in page header and end in details for example, then result is often undefined. Or from detail to page footer - result is undefined again.