I don't know how appropriate it is to ask a question about MS Word here but I'll do so anyway..
I have a word document and I am exporting it to html, I have a table of contents, with links to the appropriate headings. The issue is that when I click on a link, it gives me something like a #Toc_81682617 in the url. Is it possible to instead have a #Summary or #1.1Summary
Thanks in advance to any enlightened souls out there
This should be in a comment but I am not allowed to comment because too new.
This would be better posted in the Word Answers forum hosted by Microsoft. This forum is about programming.
That said, as far as I know, this is the nature of automatic bookmarks generated by Word. I know of no way of automatically modifying them.
Related
There is a similar question here but the person answering said it is not possible. I have to believe he did not understand the question...
So I apologize for asking again... I can paste an entire url into a description field in asana and it will render as a link. But I can't figure out how to shorten it to something like short text or [short text](myurl)
Unfortunately, he's right: we don't let there be different text for the link than the text in the url, so it's not possible to have a link to short text, only things like http://myurl.com. This is somewhat mitigated by the fact that we'll truncate the url when displaying in an Asana text box (it will run on for some characters, then terminate with "..."), so extremely long urls shouldn't cause too many text layout issues. This is enforced at render time, so there's not a way to do this with the API either.
There are a number of reasons for this - security, as he mentioned, is one; more clarity is better here. We've got some customers that don't want to enable, for instance, <a href="http://hijacker.com/pwned">example.com<\a> links that their non-technical users might encounter without thinking about it - basically, they don't want the same level of paranoia in Asana as is required to be a responsible email user, so we went WYSIWYG here.
I'd be interested, however, if you could come up with a compelling use case for why this is necessary. We're always up for getting feedback!
Given an issue in JIRA with multiple comments, is there an easy way to link from one comment to another?
I can use the permalink, but that's a very long and ugly URL. I can also link to e.g. http://jira.example.com/browse/ISSUE-999#action_555213, but that's also rather cumbersome.
Is there a more convenient way? I remember being able to write "#12" in bugzilla to link to comment#12 in a bugzilla issue, but I can't find something similar in Jira.
AFAICT this is unsupported. This was requested by a (paying?) Jira customer a couple of years ago and was shot down: https://jira.atlassian.com/browse/JRA-19537. More recently this was requested again: https://jira.atlassian.com/browse/JRA-28976 and has yet to be addressed by Atlassian.
For now the best you can do is take mliebelt's advice and use the permalink.
Not sure if this is standard, but in the Jira we are using, in the permalink for the comment you want to link to there is a "#comment-NUMBER" part.
When I just used this within the same Jira issue in a comment as a link (e.g. [#comment-NUMBER]), this linked correctly to the other comment without reloading the whole page.
Hope that helps.
Try to add in the comment something like that (hope it works with the wiki syntax here):
This is the text of the comment.
The [comment #5|http://jira.example.com/browse/ISSUE-999#action_555213] bla bla ...
Some more comment.
This is then shown as:
This is the text of the comment.
The comment #5 bla bla ...
Some more comment.
That should be possible if the wiki syntax is allowed for JIRA. See the documentation at Atlassian. The description and comment field are normally shown with the wiki style renderer, so you can hide the ugly URL under a more readable one.
And yes, it uses an absolute URL because JIRA does not allow anything else. I stick to solutions that work now sometimes, even if they may break in the future ... ;-)
Need to add link to hashtag comment number. So basically for any text, insert link and type hash+comment number link this.
So link will not be full link but only hash+comment number.
Tl;dr: find out the comment id attribute and add it prefixed by the "#" symbol to the issue URL. There seems to be no clickable solution right now. Also this solution only semi-works.
Jira comments at the time of writing have an id attribute which contains the comment number. As you may know, you can add an element id attribute as the fragment identifier to jump to it after loading the page.
Hence, URLs like
https://YOUR_JIRA_HOST/browse/ISSUE_NUMBER#COMMENT_ID_ATTRIBUTE
for example
https://myjira.com/browse/Issue-1234#comment-987654
will link to the comment.
From my tests, this only sometimes works. Seems like it's the best option available right now though.
I just discovered today:
There is the "new Jira issue view" which seems to be active by default at least for recent registrations, it doesn't support links to comments.
But if you deactivate the "new issue view" under your accounts Jira Settings ( https://[subdomain].atlassian.net/secure/ViewPersonalSettings.jspa ) > Jira Labs:
You will get the "old jira issue view" that offers a "Permalink" for every comment.
Those permalinks work for everybody, since it renders the issue in the "old jira issue view" even for people that have the "new Jira issue view" enabled.
The link looks like this:
https://[subdomain].atlassian.net/browse/[issueKey]?focusedCommentId=[commentId]&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-[commentId]
Update: Currently if I just add the title of the issue to the body, it will automatically be converted to a link.
i.e. "This is the body of an issue that relates to SAVE-10139 and needs to be completed"
Just using [issueid-nnn] seems to work now (at least in onDemand)
I have the following problem: I have a lot of papers in pdf format and I have to extract information from the first page of each one and then save it into a database
I just need to extract, the title, the abstract, keywords, authors list, universities list, emails. I want to do a script to get a string for each one of that fields, for each paper.
How can I do that? Does anyone already did that? What languages and tools do you recommend me?
and Does exist a paper repository that already do that database feeding?
Considering the pdfs could be with different encodings, I have to deal with this problem too. Any help with this would be great.
An example of a paper its here
Greetings!
http://pdfbox.apache.org/
You have to check about the security of the pdf, that it's really text and not an image. Check the command line application of pdfbox if it works extracting the text, then you can use the jar and use http://pdfbox.apache.org/apidocs/org/apache/pdfbox/examples/util/ExtractTextByArea.html
Hope it helps....
By the way it's java...
edit.
I have not used this as a jar library http://www.qoppa.com/pdftext/, but I used the example application and it works, but I decided to go with pdfbox...
You need a API to read your pdf.
Seems fine (I never try it though)
You can probably find others with this link :-)
I'd like to format maths equations using MathML, with LaTeX-like syntax, in my blog posts hosted by Google Blogger; but references, on Google's site and elsewhere, to articles on how to conveniently do this seem non-existent.
The few articles I've found, on MathML generally, presupposes one can control the contents of an entire page, for example putting tokens in the "<html>" tag, which I don't think applies to Google Blogger.
The best site I've found is Ionel Alexandru's code at http://www.fmath.info/ But even there the documentation is very sparse and it isn't obvious how one would use his
scripts/packages for this.
Maybe I'm just being thick. But surely people must be using MathML in Google Blogger, and if so I'd be very interested in references to how it can best be done (preferably via an XML solution rather than dozens of little inline images in the text !)
Failing that, are there standard "register and start blogging" facilities/sites other than Google Blogger that make it easy to use MathML or where it is available as standard?
Cheers
John R Ramsden
I've written a javascript module, jqmath, to do what you want. See http://mathscribe.com/author/jqmath.html.
Instructions on how to use it in Google Blogger are at http://mathscribetheblog.blogspot.com/2011/03/jqmath-in-blogger.html.
By the way, those instructions do have you edit your <html> tag, which Google Blogger happily let me do. (I just did it to add a MathML namespace prefix for the MathPlayer plugin for Internet Explorer, so actually things would work ok, but less well, without it.)
I hope you like this. If you have any problems, post the link to your blog, and I'll take a look at it.
I use Peter Jipsen;s script, modified a bit, to get mathml into blogger
http://dpcarlisle.blogspot.com/2007/04/testing-interface.html
It seems the most wellknown is Math jax? MathJax
I am unlucky to be in charge of maintaining some old Yahoo! Store built using their RTML-based platform.
Recently I've noticed that HTML code generated by some RTML functions is sprinkled all over with "padding images" (or whatever is the conventional name for those 1x1 pixel images used to enforce layout). I have nothing against using such images, but... all those images are supplied with an ALT attribute like this:
<img href="http://.../image1x1.gif" alt="pad">
With all due respect to the original authors of RTML, but they must have been smoking something when they came up with this "accessibility enhancement"... :-(
Anyway, here are my questions:
Does anybody know a list of all RTML functions that generate HTML with all these "pad" images?
Is there any way to get rid of all those alt="pad" attributes without rewriting a lot of RTML code?
NB: This may sound a little cynical, but improved accessibility is not the main goal here. The main goal is to stop exposing those moronic alt="pad" attributes to Google and other smart search engines. So client-side scripting is not going to help, as far as I know.
Thank you!
P.S. Probably, most of you are really lucky and never heard of RTML. Because if somebody would establish a prize for software products based on
commercial success
------------------
usability
ratio, this RTML-based "platform" would probably win the first place.
P.P.S. Apparently someone from Yahoo! finally listened, because I can no longer find those silly "pad" tags in the RTML generated for our store. Nevertheless, one of the ideas offered in response to my original question does provide a very practical solution - not just to the original problem but to any similar problem with RTML platform. See the winning answer - it's really good.
The only way I see is to have your own website front-end that will filter whatever you want from the RTML site....
for example, your rtml site is at http://rtmlusglysite.yahoo.com/store/XYZ01134 , you could host a simple PHP front-end at http:://www.example.com that would be acting like a "filtering" HTTP web proxy, so http://rtmlusglysite.yahoo.com/store/XYZ01134/item1234.rtml would be accessed by http://www.example.com/item1234.html
It's not an ideal solution, but it should work, and you could do some more fancy stuff.
Nice try from the other posters, but there is a very simple RTML command that will do it. . .
TEXT PAT-SUBST s GRAB
MULTI
HEAD
BODY
TEXT #var-with-alt-tag-equals-pad-in-it
frompat "alt=\"pad\""
topat ""
The above RTML will find all instances of alt="pad" and replace it with nothing.
Well you're right on RTML being relatively untraveled :)
Do you have a way to add your own attributes to these images tags? If so, would it be possible to override the alt attribute? If you specify alt="", I would think that would override Yahoo's... Otherwise consider putting a useful alt tag in there for the blind and dialup types.
It's the first time I'm hearing about this platform, but here is an idea: if you can add javascript to the pages, you could write a function that will run after the page has loaded and remove all the alt="pad" attributes from the page.
Unfortunately this solutions works only with browsers that know about scripting, so lynx or some other text based browsers might not support it.
I have shared a link official RTML guide from yahoo. Hope it will help. Thanks!
List of available RTML books and resources