Comments (7)
I come up with 2 solutions for this issue
-
1 We can add
\begin{center} \href{https://github.com/sysprog21/lkmpg/releases/download/latest/lkmpg.pdf}{Download this page in pdf} \end{center}
At the end of
html.cfg
.
By this way, the information about PDF downloading can only be at the top of the page:
-
2 Using \ifdefined\HCode
By this way we can choose where to place the information about PDF downloading.
from lkmpg.
How about following Yocto Project Overview and Concepts Manual? We can put the hyperlinks to PDF download and GitHub in the upper right corner of the HTML page.
from lkmpg.
Add following code
--- a/html.cfg
+++ b/html.cfg
@@ -45,5 +45,15 @@
user-select: none;
}}
+\Css{.flushright:first-child {
+ position:absolute;
+ top:0;
+ right:0;
+}}
+
\begin{document}
\EndPreamble
+
+\begin{flushright}
+\href{https://github.com/sysprog21/lkmpg/releases/download/latest/lkmpg.pdf}{Download this page in pdf}
+\end{flushright}
into html.cfg
would be looked like:
You can check it in https://fennecj.github.io/lkmpg/
from lkmpg.
Change from "Download this page in pdf" to "Download PDF document"
from lkmpg.
You can check it in https://fennecj.github.io/lkmpg/
Can you reserve some spaces at the end of the line "Download PDF document"?
from lkmpg.
Did you mean something looks like this?
You can modify the space between word and right side through right
value, and modifiy the space between word and top side through top
value.
+\Css{.flushright:first-child {
+ position:absolute;
+ top: 10px;
+ right: 50px;
+}}
+
from lkmpg.
You can modify the space between word and right side through
right
value, and modifiy the space between word and top side throughtop
value.
It looks great to me. Please send the corresponding pull request.
from lkmpg.
Related Issues (20)
- 11.1 Sleep chapter. API module_interruptible_sleep_on HOT 1
- Reason to reset the offset HOT 2
- Smatch repository is unavailable HOT 1
- Build kernel module for Rpi3MB HOT 1
- Building kernel modules in RpiOS32bit/Rpi3MB platform HOT 2
- lkmpg on RpiOsLite/rpi3MB HOT 1
- Consistent usage of __init and __exit HOT 1
- About 16.2 Symmetric key encryption sample code HOT 2
- examples/kbleds.c:64:55: error: ‘struct tty_driver’ has no member named ‘magic’
- Building kbleds.ko on RpiOSLite64bit (Linux 6.1.21-v8+) HOT 4
- examples/sched.ko HOT 4
- Module parameters callback : be notified when a parameter is updated
- Little introduction to debugfs
- About /proc, try_module_get and python3 HOT 3
- If you want to build device drivers for an cross target (yocto build) ... HOT 1
- typo
- Linux HOT 1
- Talking to other subsystems
- Libro linux HOT 2
- The process of "seq_file" lacks some descriptions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lkmpg.