I'm using ASCIIDOC for the first time , the problem is that after generating the pdf file, the admonition icons are no more rendered.
PS: it's rendered in the html file.
Here's an example:
IMPORTANT: Tout fichier utlisé doit être ajouté dans le Makefile sinon le compilateur ne le voit pas lors de la compilation.
THis is the command i used :
a2x -f pdf --fop myfile.xml
a2x calls dblatex, you have to set the path for the icons as a dblatex-option, f.ex:
a2x -f pdf --icons --dblatex-opts='-V -T db2latex -I /etc/asciidoc/images/icons' test.txt
(When you use Apache FOP instead of dblatex you can set the icons path as described in the book "DocBook XSL: The Complete Guide".)
Related
I am trying to add text on image using the code below
RNFFmpeg
.execute(`-y -i ${input} -vf "drawtext=text='Hello World':fontcolor=white:fontsize=75:x=0:y=0" ${output}`);
I am not using any custom font but still get this error.
Error:
[Parsed_drawtext_0 # 0x7f87a1ce40] Cannot find a valid font for the family Sans
index.js:115 [AVFilterGraph # 0x7f6765e760] Error initializing filter 'drawtext'
index.js:115 [AVFilterGraph # 0x7f6765e760] with args 'text=Hello World:fontcolor=white:fontsize=75:x=0:y=0'
index.js:115 [AVFilterGraph # 0x7f6765e760]
index.js:115 Error reinitializing filters!
index.js:115 Failed to inject frame into filter network: No such file or directory
index.js:115 Error while processing the decoded data for stream #0:0
Note:
I also tried using a custom font but not able to do it.
When I use RNFFmpegConfig.setFontDirectory('../../assets/fonts') function and with it the following code to add text on image
RNFFmpeg
.execute(`-y -i ${input} -vf "drawtext=text='Hello World':fontfile='../../assets/fonts/MyFont.ttf':fontcolor=white:fontsize=75:x=0:y=0" ${output}`);
It gives me the same error.
How can I fix this issue.
according to this
https://github.com/tanersener/ffmpeg-kit/wiki/Tips
you should registering the fonts under a directory using the FFmpegKitConfig.setFontDirectory methods or by specifying your own fontconfig configuration using FFmpegKitConfig.setFontconfigConfigurationPath
System fonts on Android are stored under the /system/fonts folder
and on iOS are stored under the /System/Library/Fonts
I am trying to set the font for a pdf document created in rMarkdown
---
title: "Intro"
date: "10/07/2020"
output:
pdf_document:
latex_engine: xelatex
mainfont: Arial
---
This doesn't work. I get the following error
tlmgr.pl: Local TeX Live (2019) is older than remote repository (2020).
Cross release updates are only supported with
update-tlmgr-latest(.sh/.exe) --update
See https://tug.org/texlive/upgrade.html for details.
! LaTeX Error: File `unicode-math.sty' not found.
! Emergency stop.
<read *>
What am I doing wrong?
I'm making a RIDE test projet to exécute the following test:
- open chrome browser at a URL than to make a screen shot to compare it with an other image.
here is the test cass:
*** Settings ***
Library Selenium2Library
*** Test Cases ***
TC1
[Documentation] Ouvrir extremeexcelsolutions.weebly.com \ \ sur chrome et vérifier les éléments.
Open Browser https://extremeexcelsolutions.weebly.com chrome
Click Element xpath=//li[#id='pg224152549677137323']
Sleep 10s
${text}= Get Text xpath=//*[#id="wsite-content"]/div[2]/div/div/table/tbody/tr/td[2]/div[2]
Log ${text}
CT2
Library Screenshot
I'm wonderng how to make the scren shot.
thank you.
When I build with Flash Builder 4.6 with Apache Flex 4.9.1 and Air 3.7, I get an error indicating a problem with my "supportedLanguages" node.
I have tried all of the following and all have failed:
This way worked in previous versions of the flex sdk:
<supportedLanguages>en es de fr ja ko pt ru zh ar pl</supportedLanguages>
Second attempt was to add local code:
<supportedLanguages>en_US es_ES de_DE fr_FR ja_JP ko_KR pt_BR ru_RU zh_CN ar_SA pl_PL</supportedLanguages>
I tried adding commas:
<supportedLanguages>en_US,es_ES,de_DE,fr_FR,ja_JP,ko_KR,pt_BR,ru_RU,zh_CN,ar_SA,pl_PL</supportedLanguages>
I have local directories for each locale specified in:
E:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks\4.9.1_3.7\frameworks\locale
E:\dev\myapp\src\locale
I also use this line for the compiler:
-swf-version=20 -locale=en_US,es_ES,de_DE,fr_FR,ja_JP,ko_KR,pt_BR,ru_RU,zh_CN,ar_SA,pl_PL -allow-source-path-overlap=true -source-path=locale/{locale}
If I can avoid it, I'll never develop in Flex again. Consider this question no longer valid due to the lack of support from Adobe.
With the version 1.4.9 of Prestashop, I'm trying to install the PayPal module; downloaded from the official PS module repository, the installation ends successfully; but when I refresh the modules list it doesn't appear...
I've tried to install the module using the backend interface and also uploading the unzipped plugin to the /modules/ folder of the shop.
There are no errors shown and no disk space limitations.
Someone having/had same problem? I'm not new to PS and I've never had this problem..
Prestashop continued to alert me "All the modules cannot be loaded due to memory limit restriction, please increase your memory limit value on your server configuration"; searching on Prestashop Forum, I found this:
http://www.prestashop.com/forums/topic/185375-solucionado-instalar-paypal/
And doin' this
Contacta con tu hosting, para que te aumenten el memory limit, puedes intentarlo tu, por ejemplo añadiendo esto:
ini_set('memory_limit','128M');
en el fichero /config/config.inc.php.
saved my day! In fact, Prestashop didn't load all modules and I didn't see PayPal after installation, while now is there :)