I am trying to import svg images to the IEEEAccess template
which can be found on the link under the IEEE Access Required Article Templates.
My problem is that when i use the command:
\usepackage{svg}
the document loses it's title, Section titles, annotation of Figures etc.
All of these are custom for the current template.
Why is this happening?
Does anybody know a workaround?
I am also using Overleaf.
Related
I am using PDFKit to display my pdf files. I've integrated the searching functionality but I want to search only bold texts/words.
I'm wondering is it possible to do what I'm looking for or does Apple don't allow it? Because String data type is from Foundation class and UIFont is from UIKit.
I can search text only on the basis of lowercase, uppercase or text color. I've googled a lot. And I found that pdf files are made up of vectors. So, sometimes its difficult to extract the font-family of the text.
hm.. I guess you want to show all pdf files from your device's storage.
Generally.. if you want to show pdf file on your app, you should mapped the path and file name of the special folder into your code.
But I think you can't get the result you want with this method.
I am not sure In case this but probably you should use "UIDocumentPickerViewController".
I think also you need to set the value of documentTypes by [String(kUTTypePDF)] because you want to only show all the pdf.
Please check the following link for more details:
How to open the Document files e.g(.pdf,.doc,.docx) in ios mobile when a button action using swift3.0?
The attributed string has the font attributes, using which you can achieve what you want.
pdfDocument.page(at: 0)?.attributedString
According to the JIRA documentation you can custommise the Word export by modifying the velocity templates in atlassian-jira-webapp.war/WEB-INF/classes/templates/plugins/issueviews
https://confluence.atlassian.com/jirakb/customise-word-export-template-for-jira-applications-296094716.html
How do I embed an image in the document so that it is portable and doesn't have any image links to the JIRA webpage since sometimes they don't render if you don't have access.
Embedding an image inside HTML is possible, using the data URI feature. Here is a short tutorial. But there are browser-dependent size limits... and one has still to check that this data URI image will be preserved through the JIRA Word export.
Need help on rendering PDF using CGPDFContext. I am currently using UIWebView to display PDF but would like to perform much more operation rather than just reading like Highlight Text, Search PDF, Annotate PDF. Not looking for using any Framework or library.
Any help will be beneficial. For a start, code on how to render PDF using CGPDF and displaying it instead of using UIWebView.
PDF annotations are a rabbit hole. I've been working on them since 2010. The spec is thousands of pages. It's easy to get started but it takes forever to get right with all the PDFs and variations out there. Even a simple feature like bookmarks are harder than you would think.
To date there's no open source framework that implements PDF annotations. The above linked one can be a good starting point. If you don't have months/years to build something on your own, there are a few commercial options available - like PSPDFKit, available for iOS, Android and Web, which I am building.
We have a guide article listing the most important PDF spec documents.
Searching is another tricky topic. It's quite hard to convert the PDF text data to unicode. The Adobe CIDFont spec is a good starting point.
You shoud try VFReader, it is an open source project for rendering PDF files on iOS. It can be a good starting point.
I want to show a simple list of image titles, then be able to touch each and see the image. The list is in an XML doc with title, URL, and unique integer identifier for each image.
I found this excellent tutorial by Rafael Garcia for anyone who has the same problem. Still working out the logic of it so I can adapt it to my project, but I've copied his code and got a working prototype.
http://www.appcoda.com/ios-programming-rss-reader-tutorial/
My clients can enter text into textarea and have the option to use the markdown or textile filters for each textarea.
With some models (articles, newsletter, etc) they can upload images to associate with the model, which are displayed in a column next to the text of the text.
This worked fine for a while, but they have now told me that the want the ability to put the images INSIDE the text a specific positions.
What is the best way to go about this? I suppose I may have to use a wysiwyg for this, but would rather not. And how would this work for images which are not yet on the server, etc?
There are different directions you could go to:
Follow the path of Confluence, which released in their new version 4.0 a rewritten WYSIWYG editor, that stores as source XHTML, not any more wiki markup.
Leads to an update of all pages when migrating.
Was pretty difficult to implement. I do not know if they use any more the TinyMCE editor of previous versions.
Follow the format of markdown how to include images in your source format. So by typing: This is my text. !image.png! The inline image shows ..., you will have a format that is understandable.
You have to expand the interpretation, so that the !<filename>! will be mapped that is stored locally anyway.
You have to add clear-up dialogs for the images that are yet not known, so doing bulk uploads ...
You may provide a drag area on your view, that then shows the filename and gives examples how to include that inside the text area.
Go for something in between, by allowing users to drag images inside the editor. There are plugins written in Javascript that allow you to do that, e.g. UI Draggable for jquery
I have no idea how to integrate that image inside the text editor. Overlay?
So the second one is the easiest, and the user knows how to do it. If they only decide that this is the solution they want to have :-)
I think I'm going to use a combination of #2 above, and the Liquid templating engine.