PDF-Express Error: Font symbol is not embedded - libreoffice

I am not sure it is the right place to ask such a question, sorry.
I have libre office, and a paper, which is written using a IEEE format.
Now when i try to export to PDF, and try to pass pdf-express it fails with error
Font Symbol is not embedded 10x
I do not know where is the problem, there is only 1 font: Times New Roman, of course different sizes.
I tried "Export as PDF..." and checked "Embed Fonts", but no chance so far.
A month ago, i tried the same paper with OpenOffice, and i do not remember such error, now i become to a situation that i have to change paper a bit, and try the same paper with LibreOffice i get this error. Is this error about LibreOffice?

Look at this answer, really simple!
How to repair a PDF file and embed missing fonts
Also, my comment as follows :)
On win32, if you have installed ghostScript, the command may look like:
gswin32c -sFONTPATH=C:\Windows\Fonts -o output-pdf-with-embedded-fonts.pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress input-pdf-where-some-fonts-are-not-embedded.pdf
(find the exe file on your system, maybe add it to PATH -- the environment variable, if necessary)

Open this PDF file with Adobe acrobat, then choose file->print. Use adobe PDF as the printer to print the file and save it as pdf file. All fonts will be embedded.

I also faced the same problem and I think simply by creating the PDF file using PDF express using your source file is the simplest and easiest solution. If you are using latest then just zip or rar your source file (dvi file, eps etc.) and then just build the pdf file using PDF Express. This will solve your problem. I have found one article IEEE PDF Express Error Message – Font is not Embedded Solution which can help you in this regard.

Generate ps from pdf using pdftops, using Xpdf.
Use Ghostscript to embed fonts:
gsWin64 -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sPAPERSIZE=a4 -dPDFSETTINGS=/printer
-dCompatibilityLevel=1.4 -dMaxSubsetPct=100 -dSubsetFonts=true
-dEmbedAllFonts=true -sOutputFile=d:\Output_filename.pdf Input_filename.ps

Related

How to open custom wikidata RDF dumps

I have created a custom wikidata dump from https://wdumps.toolforge.org/ . Can anyone please tell me how to open and read that dump file ? File comes in .nt format
You can find recent dump files here: https://wdumps.toolforge.org/dumps
Depends how you want to read it. With visual studio code you can just open the file and see inside it. Other text editors should also work I think. Or do you want to have a more specific app for it?
Also its handy to mention if you'r on windows or not.
update:
You first need to unzip it, you can do this with winzip on a command line or a library in any language that does this.
https://support.winzip.com/hc/en-us/articles/115011594767-How-to-extract-gzip-and-tar-files-on-the-command-line
then you will get a file with lines like this:
<http://wikiba.se/ontology#Property> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
from there you can parse it with regex to get the pages out of it, dunno what you want? property, type or class?

How to convert cgm to png on windows

I want to convert a .cgm file to an image file (.png) on windows.
Are there any freeware/opensource tools for this? I tried to ImageMagik but it does not support this operation. Commandline inteface will be an added advance if any of the tools provide it.
UniConvertor is open source, and the best choice in my opinion.
The windows binaries worked great for me, https://sk1project.net/uc2/download/
From a command line you'd simply type uniconvertor input.cgm output.png
You can try https://cortona3d.com/en/cortona2d-viewer-download. When installed it understand .cgm extension and directly opens in IE and you can view it/or take snapshot.
Other tool that you can try(but not free) is reaConverter(https://www.reaconverter.com/)
It has a nice command line interface that converts cgm to PNG directly
There is a free tool available XnView which is very handy when it comes to view, resize and edit your images. It supports more than 500 different formats. But you will have to download an additional plug-in https://www.cadsofttools.com/products/plugins-for-3d-party-programs/ It will enable your need to deal with CGM file formats.

Is there currently a way to get Emacs muse-mode to output rtf,odt or doc format?

Muse is a special mode in emacs that can be used as a wiki. It has multiple output formats like static HTML pages, LaTeX, PDF etc.
But sometimes I need to output something that less tech-savvy people can edit/correct and send back to me.
I think either RTF, ODT or DOC would do the trick.
My problem is that muse only supports HTML, LaTeX, TexInfo and XML out of the box.
Implementing an own output format is currently not an option as I cannot program in elisp and learning it would take too much time.
I searched for a way to convert to or use markdown as pandoc can convert to RTF. But I found only the following discussion that does not solve my problem.
My last resort would be to convert to HTML and then to RTF, ODT or DOC but AFAIK the results are far from great.
It would appreciate a solution that can be automated (with custom scripts).
I think, that importing of HTML into MS Word (or compatible processor) should work. As I remember, OpenOffice had some scripting support, so you can launch it, and perform some commands inside it.
Another way - writing RTF export backend, it shouldn't be too complicated, although it could be too much details to be taken into account. If you'll go this way, please write to muse mailing list, and I'll try to help you

Convert rtf files to chm files ? Convert hlp files to chm files?

We were shipping .hlp files to customers when development was in VC++. The process to create it was as follows:
1. Create rtf file
2. Create new project in WinHelp and then compile to get .hlp file.
Now development has moved to .net and also I found that we can no longer open .hlp files in windows 7 or vista.
I wanted to know if there are any free command line tools using which we can convert these .hlp files to a .chm file ?
Also I wanted to know if there are any free command line tools to convert .rtf file to .chm ?
Microsoft has a tool which can convert Win Help projects to HTML Help. It is called HTML Help Workshop. You can open the existing .hpj project file with it and choose the option to convert it to HTML Help project .hhp. You can then compile the .hhp project with the same tool to generate the .chm file.
There are however many shortcomings in the tool. It generates an HTML page for each page in the rtf file but the naming of these HTML pages is random causing future referencing to be difficult.
If you just have the .hlp file and not the original Win Help project files, you can use a decompiler to generate the .hpj and .rtf files first and then convert them using HTML Help Workshop.
I found the following link quite helpful:
http://www.help-info.de/en/Help_Info_WinHelp/hw_converting.htm
EDIT: there are some 3rd party convertors and Help Authoring Tools (HATs) also available which may do the job better than HTML Help Workshop but most of them are not free.
Keep in mind that CHM is compiled HTML, and not very related to html, so your main problem is conversion of rtf to html
I would try to convert RTF to HTML, but on a topic per file.
What you could try is to input the RTF into word and try to save as HTML, and then use a program/script to split out the various topics to individual files and fixup references.
Then compile the result with a CHM compiler (like MS htmlhelp workshop)

Is there a test suite for PDF files?

Is there a test suite for PDFs, preferably in Perl? What I want is some function to test positioning and existence of some text (and if possible a name of a grapic) in a PDF file. Is this theoritically possible with PDF markup?
Thank you for your help.
As jrockway said, there's not a 100% solution available today. With my CAM::PDF library, you can compute positions for any element in the document. See my answer to "How do I get character offset information from a pdf document?" which shows how to extract coordinates for all text on a page.
I don't think there is anything pre-built on the CPAN, but Test::Builder and CAM::PDF should allow you to write what you want.
Once you get it working, upload it to the CPAN... and then there will be a way to test PDFs on the CPAN :)