-
Notifications
You must be signed in to change notification settings - Fork 58
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
Issues with new latex style #43
Comments
SSN/4 has trouble with Figure 2 as well (a latex diagram). |
I should rename this issue to track latex class file issues. SUN/92 has its Figure 1 messed up with the new class (also a latex diagram). Worked fine before I updated it. |
Many latex documents use a |
The subsections of the classified commands in SUN/95 are hard to see. The size of the SST parameter headings look too small in html. They are |
Are they the things that use |
No. I was going by the title. |
SUN/261(IRQ) is okay but @dsberry |
SUN/92: I think I've fixed the picture issue in commit eabdb70 |
Also @dsberry, Appendix P is not being created when |
SSN/4 is also fixed I believe (same fix as for SUN/92) |
PS @dsberry I'm explicitly not upgrading the AST documents. I'm leaving those ones to you. |
OK - I'll do AST. Do you have a list of standard changes that need to be made to each doc, or do I work it out by looking at the commits you've been making? A cursory glance suggests it's a fairly involved process. BTW - I've made the IRQ and KAPLIBS changes you pointed out. |
There's a perl script in latexsupport that attempts to remove the most common bits of the prologue and put the correct class and various fix ups in. I usually run that and then try to run pdflatex and see if it breaks anywhere. Most standard latex should be reasonable. The class file still needs some improvements though. |
regarding the script, you always have to clean up the prologue a bit when you are done and remove the abstract and stuff after scfrontmatter. Not hard though. Then you have to go and sort out any verbatim paragraphs and use small environments rather than |
@sfgraves we need to address the optional nature of |
This terminalv environment has turned each of my multi-line Fortran |
@MalcolmCurrie it does act exactly like a verbatim environment so I'm a bit confused. Can you send me an example of something that is not working. I've converted many documents by now and they all use terminalv. |
I've got the PCS docs ready to go pending resolution of the stardocversion and stardocmanual issue. SUN/61 (TRN) is also ported but the conversion to HTML doesn't work properly with the heavy math usage and latex diagrams. I can push what I have of TRN if people want to take a look (it does do the conversion, just not very well). |
I've added in a 'noabs' class option, and set stardocversion and stardocmanual to default to a space. If a lot of documents really shouldn't have an abstract, we could also do something more clever and detect if the content of \stardocabstract is blank. Not sure its worth it though. |
@timj |
@timj http://www.starlink.ac.uk/devdocs/sun114.htx/node13.html, |
Note that the old latex2html files are not deleted when you rerun with the new style. |
You want this URL: http://www.starlink.ac.uk/devdocs/sun114.htx/sun114se5.html#x6-140007 for that page. |
Yup -- if you are in an existing install, there's no process to clean out the old html pages. It looks odd because when you view them you pick up the css from the new version, but the html from the old version. |
Yes I hadn't noticed the old style last night, but it was obvious today but got We need the |
@sfgraves I'm looking at SUN/259 (in SMURF) and \begin{equation}
MAP\_WDTH \,=\, NO\_Y\_MAP\_PNTS \times CELL\_Y
\end{equation} The command just hangs there until I ctrl-C:
If I remove the
|
Damn, yes, I know what this is. Previously, we didn't use any hyperrefs inside the latex document, and Unfortunately, our routine titles have lots of escaped underscores in I got around this by putting in a line in starstyle.sty to force _ to I think I can fix this in this case easily by adding an 'ifmath' check I'm a bit worried we'll come up against other issues based on this |
SUN/259 now works for me. |
I haven't looked at the style file, to see what's happening where, but if you set If you can prepare a minimal test case, I might be able to work something out. |
As noted in commit 8b70ea0 the description lists and equations on pages 7/8 don't convert to HTML correctly. |
Also, |
In datacube SUN/237 the enumerated list at the start doesn't come out right in HTML. |
I'm not convinced that calling the standard Starlink figure display command Also, SC/16 has problems in section 5.2 with a terminalv environment suddenly changing itself into math mode when it sees a |
|
SC/9 has an issue with the figures and an issue with the first Display example. |
polka.tex is not a sun because it's not a note for users (as in sUN) - it's the source for the polka help system. |
@sfgraves did you change |
SUN/1 has raised a couple of issues with index creation and labeling of items. Regarding the labeling, it may well be easiest to replace the description lists with normal subsections. See 65bd8c8 |
Remaining documents are AST, TSP and SLALIB. The latter two have their own variants of SST. |
I'll add converting the AST docs to my list of things to do in the long David On 14 January 2015 at 16:26, Tim Jenness [email protected] wrote:
|
@dsberry I'm happy to make the attempt if it lets you focus on the AST A&C paper... 😄 |
The AST docs were done in 1759d0a but there are issues with the labels (essentially when the name includes parens since |
I was having a bit of trouble identifying all the issues I still need to fix up, so I think I've summarised below everything from this long issue. Please add if I've missed anything that hasn't been fixed already. Still To Do
|
Re support of angle modifiers to includegraphics in html output: I could try and do it using CSS, but from a quick attempt I think it might make the amount of space allocated for the image in html a bit weird. It would be a lot easier if people could rotate the images themselves rather than doing it in tex. There's only about 9 instances of it in our codebase I think, so my plan is to change those rather than support this with tex4ht. |
Noting it in the SUN is fine. I've been de-rotating them as I find them. Just needs a warning so that people don't look at the PDF and assume it's all going to be fine. |
In 289b69d SUN/209 was converted to use the new latex style but there are two outstanding problems:
The text was updated successfully, but these errors were encountered: